mod参数/canBuild
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. |