Effect
Random list
randomly choose effects from a list
random_list = {
10 = { # defines an option with base chance 10
trigger = { ... } # optional trigger to enable/disable this option
modifier = { ... } # optional MTTH-style modifier for the chance. Any special modifiers work here as well
min = 5 # optional number to constrain this option's chance after applying modifiers
max = 20 # optional number to constrain this option's chance after applying modifiers
desc = loc_key # optional loc key to insert into this option's effect description
show_chance = yes/no # whether to show this option's chance in the effect description, default is yes
effects... # effects to run if this option is picked
}
5 = { ... } # another option with base chance 5, so half as likely as the first one
desc = loc_key # optional way to override the default header for the effect description
pick = 3 # how many options to pick, default is 1
unique = yes/no # require picked entries to be unique, if pick > 1, default is no
}