forked from OpenRA/OpenRA
-
Notifications
You must be signed in to change notification settings - Fork 1
Inherits: basics
Petrenko edited this page Jun 30, 2011
·
3 revisions
This site provides information about inherits.
Inherits are made to give basic-traits to unique objects. For example Sandbags and Concretewalls have both the ^Wall inherit.
SBAG:
Inherits: ^Wall
Inherits are defined in mods/cnc(or/ra)/rules/defaults.yaml
An Inherit starts with
^Name:
Afterwards any kind of trait can be added.
^Name:
RevealsShroud:
Range: 4
Valued:
Cost: 50
If you add a inherit but don't want certain traits he comes with you can just type the trait and change its value or simple let the trait be ignored by adding a - infront of the trait
-EmitInfantryOnSell:
This building won't emit infantry on sell anymore.