mod参数/canBuild

来自RustedWarfare Wiki
name:
string(s)
描述"List of unit identifiers this unit can create. Can be buildings or units. Add ""setRally"" to create a rally button"
pos:
float
描述Order build link appears in this unit UI.
tech:
int
描述Tech level. Mostly just affects build link colour in this unit UI. Defaults to 1.
forceNano:
bool
描述Builds target as if it was a building if true. (even if it's a unit)
isVisible:
LogicBoolean
描述Hide this build link if true in this unit UI.
isLocked:
LogicBoolean
描述Dynamically locks this build option and shows isLockedMessage if true.
isLockedMessage:
string
描述Set to tell to players why a unit is locked.
isLockedMessage_{LANG}:
string
描述isLockedMessage_es: -Necesita 2 Cuarteles
isLockedAlt:
LogicBoolean
描述Another reason for this to be locked. Just allows a different message to be shown.
isLockedAltMessage:
string
描述Message for isLockedAlt.
isLockedAlt2:
LogicBoolean
描述Like isLockedAlt but to show one more message.
isLockedAlt2Message:
string
描述Message for isLockedAlt2.
addResources:
price(s)
描述Adds these resources to self when placing the building or producing the unit.
price:
price(s)
描述Overrides builded units/buildings price. Defaults to target unit prices.
isGuiBlinking:
LogicBoolean
描述Generates a blinking effect in UI if true.