Stellaris

Stellaris

Galactic Market Expansion
Add installed Mod Check
It would maybe be nice if you add a mod check, that if u don't have the specific mod installed, it wont show the Resource (at the Exceptional Resource spot, where extra Resources are also the "tb_other_resource" section)

For me personally i don't have Gigastructure installed and basically changing the
visibility_prerequisite
inside
giga_amb_strategic_resources.txt
from
always = yes
to
has_global_flag = @giga_amb_flag
(i think that you get the global flag if you have the mod installed. I don't have that much experience with mods) At least when i changed it, it did hide the Resources (could be because i broke the code too idk)

But since this is a Mod specifically for other Mods i guess it makes sense that you have both installed?

anyway thank you for your work <3
Last edited by ✿ Mugi◞♡; 11 May, 2024 @ 2:24pm
< >
Showing 1-5 of 5 comments
Teaer  [developer] 13 May, 2024 @ 10:50am 
Thanks for telling me about this. I had no idea, i am extremely new to modding myself. I will try and implement your idea here and do some testing on it to make sure it works just fine. Plus i have a few more changes that i need to make, which should help with mod compatibility should any other mods make changes to the base game strategic resources files. Thanks!
✿ Mugi◞♡ 13 May, 2024 @ 1:08pm 
Originally posted by Teaer:
Thanks for telling me about this. I had no idea, i am extremely new to modding myself. I will try and implement your idea here and do some testing on it to make sure it works just fine. Plus i have a few more changes that i need to make, which should help with mod compatibility should any other mods make changes to the base game strategic resources files. Thanks!


you welcome! and sounds nice, i patiently wait for the new update :D whole time i was kinda missing such mod kinda but never really though about it to do smth. Then found your mod and man i love it :D
Teaer  [developer] 13 May, 2024 @ 1:45pm 
I made the changes slightly differently from what you recommended. First, i couldn't replicate what you were experiencing when i turned off gigastructures, but regardless i made changes to the visibility_prerequisite from { always = yes } to { has_global_flag = giga_game_start }. I found i couldn't use the @ symbol as it seemed to just block the flag check, thus making all resources invisible on the top bar (could be traded still lol). I also didn't want to use the @giga_amb_flag, as that flag is created should you choose on gigastructures menu to enable those particular resources. But, everyone that wants to play gigas has to have a giga_game_start event. I changed ACOT as well to acot_activated, as that is what ACOT uses for there game start flag. (Of course i could be wrong still, lol. I am new myself to all of this, and i have learned it is much more complicated then i thought it would be.) With the changes, hopefully you aren't seeing those resources on the top bar any more. With the visibility changes i was able to see everything with both mods installed just fine. Thanks for your idea and your help!
Teaer  [developer] 13 May, 2024 @ 1:46pm 
Thanks for the mod love!
✿ Mugi◞♡ 14 May, 2024 @ 6:54am 
thank you for the information, changed it accordingly!
< >
Showing 1-5 of 5 comments
Per page: 1530 50