idk why I dont have a cursor
This commit is contained in:
parent
701d55c01f
commit
cda3acdcea
349 changed files with 78627 additions and 7804 deletions
30
common/scripted_triggers/00_military_triggers.txt
Normal file
30
common/scripted_triggers/00_military_triggers.txt
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#Triggers handling questions of military and warfare
|
||||
|
||||
#Checks whether scope character has greater military strength than the ratio specified
|
||||
military_strength_greater_than_ratio_trigger = {
|
||||
save_temporary_scope_value_as = {
|
||||
name = ratio
|
||||
|
||||
value = {
|
||||
value = max_military_strength
|
||||
divide = $TARGET$.max_military_strength
|
||||
}
|
||||
}
|
||||
|
||||
scope:ratio > $RATIO$
|
||||
}
|
||||
|
||||
valid_for_maa_trigger = {
|
||||
OR = {
|
||||
AND = {
|
||||
is_landless_adventurer = yes
|
||||
has_perk = planned_cultivation_perk
|
||||
location.county.culture ?= { has_cultural_parameter = $PARAMETER$ }
|
||||
}
|
||||
culture = { has_cultural_parameter = $PARAMETER$ }
|
||||
}
|
||||
}
|
||||
|
||||
valid_for_nomadic_riders_trigger = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue