Code: Select all
Invalid requirement ExtraFlag | Local | | present | ParadropFrom: bad type or name
"data\SIM30\game.ruleset" [actionenabler_paradrop_not_forest_base] has invalid or unknown req: "ExtraFlag" "ParadropFrom".
fame.ruleset:
Code: Select all
[actionenabler_paradrop_not_forest_base]
action = "Paradrop Unit"
actor_reqs =
{ "type", "name", "range", "present"
"UnitFlag", "Paratroopers", "Local", TRUE
"UnitState", "Transporting", "Local", FALSE
"ExtraFlag", "ParadropFrom", "Local", TRUE
}
target_reqs =
{ "type", "name", "range", "present"
"TerrainFlag", "DifficultLanding", "Local", FALSE
}
Code: Select all
extra_flags =
{ "name", "helptxt"
_("ParadropFrom"), _("Units can paradrop from this tile.")
_("DiplomatDefense"),
; /* xgettext:no-c-format */
_("Diplomatic units get a 25% defense bonus in diplomatic fights.")
_("IrrigationSource")
_("AllowsFarmlandOnDesert")
}
Of course, the Sandbox ruleset I coped this from works fine.