Talk:Edicts modding
Jump to navigation
Jump to search
Scripted effects[edit source]
I am going to share my about how to add a scripted effect. Note that this is not a copy paste from a working code so it can contain typos and syntax erros. That is why I am not adding it to the article
(inside of the planet edict)
effect = { #adds scripted effects add_modifier={modifier = dummy_planetary_modifier #this modifier has to be created in the static_modifiers days= 360 #duration of the planetary modifier } log ="edict of [This.GetName] " #writes to the log file and adds name of the planet hidden_effect = { #this is supposedly about unshown effects but I don't know the difference. set_planet_flag = dummy_flag # adds a planet flag } }
— Preceding unsigned comment added by 95.0.194.132 (talk) 07:39, 4 June 2017 (CEST)