UFO-Scripts/inventory.ufo
From UFO:AI
[edit]
General
- out V_INT
- time units for moving something out
- in V_INT
- time units for moving something in
- shape V_SHAPE_BIG
- this value defines a rectangle given by the upper left corner and dimensions
- a container can have several shapes that are added to the final container form
- single V_BOOL
- only a single item
- armor V_BOOL
- this is the armor container
- all V_BOOL
- allow everything to be stored in this container (e.g armor and weapons)
- temp V_BOOL
- a temporary container - such a container is not cleared - it's just a pointer to another one
- headhear V_BOOL
- headgear slot - only useable for headgear
- extension V_BOOL
- the extension slot - only weapon or item extension can be places here
[edit]
Example
inventory belt
{
shape "0 0 3 1"
shape "0 1 1 1"
in 2
out 1
}
inventory holster
{
shape "0 0 3 2"
in 2
out 1
}
inventory armor
{
shape "0 0 6 6"
single true
armor true
in 200
out 200
}
[edit]

