Skip to content
aubergine10 edited this page Oct 20, 2015 · 2 revisions

Were you looking for .Equipment (scripting property) or a list of all Equipments in the base game?

##Overview

The Equipment setting defines what equipment an Entity is carrying.

##Syntax

This optional setting is used in materials.txt and must be within a definition block. It can be used only once per definition block.

    Equipment <id>

Where <id> is a reference to the a piece of Equipment defined elsewhere in materials.txt.

If not specified the entity defaults to having no equipment.

It can only be used in definitions which also include the Properties Entity setting.

##Example

    Equipment Shotgun

##Notes

If the entity becomes unconscious or is killed, they will drop the equipment on the floor at which point it can be picked up by another entity (usually a Prisoner or Workman).

###data/scripts/

The property is exposed in scripts as .Equipment.

##See Also

^ Open "Pages" to Search



Settings:

* = multi-use per block
... = BEGIN...END block

Equipment:

Name Sprite AttackPower num RechargeTime num Properties Weapons Properties NoImport Properties Improvised Properties Metal Properties Tools Scale TwoHanded true|false Range num Rotatable true|false - eg. book

Callouts:

Name Cost num MaxNumber num Vehicle vehicleId Entity entityId NumEntities Sprite

Clone this wiki locally