Stellaris

Stellaris

FP's Generic Ascension Perks
6 条留言
A-Sartek 12 月 6 日 上午 8:00 
Awesome! Alright, I see the variable there, just one last thing (I promise, I won't bother you after this), scripted variable files require an empty line at the end or funky stuff could happen, just helping you out with that, so you don't receive weird and hard-to-trace bug reports in the future.

You can copy and paste this to your is_fp_generic_ap_mod.txt file:

@is_fp_generic_ap_mod = 1

# The last line of this file must contain this comment
FrozenParagon  [作者] 12 月 4 日 下午 7:44 
ok, that should do it
A-Sartek 12 月 4 日 下午 2:00 
That sounds good, but is it possible to have a scripted variable as well? That way I can parse it with inline math and merge compatibility in a more performance friendly way. Please, I'd greatly appreciate it! :Blessing:
FrozenParagon  [作者] 12 月 4 日 下午 1:48 
I added triggers to my other two AP mods too. i should probably just do it for all my mods
FrozenParagon  [作者] 12 月 4 日 下午 1:36 
added has_fps_generic_ascension_perks = { always = yes } scripted trigger
A-Sartek 12 月 3 日 下午 4:08 
Hey FP! Neat mod.
I wanted to ask... Is it possible to add a scripted_variable for detection? A mod user wanted me to add compatibility for this mod in my AP merger mod but I need a way to detect it.

Something like @is_fp_generic_ap_mod = 1 should be sufficient. Just remember to add an empty line or a commented out line at the end of that file, otherwise the game might not read it consistently.