/tg/ Station 13 - Modules - TypesVar Details - Proc Details

opposing_force_equipment

OPFOR EQUIPMENT DATUM

The OPFOR subsystem will gather all of these on initialisation and populate a list, which is then passed into the OPFOR UI, which can be selected by the user.

The User will be equipped with whatever they have selected if the approving admin authorises it.

Vars

admin_noteNote to admins, useful if the item is extraordinarily strong
categoryCategory of the item. See opposing_force_defines.dm for a list of categories.
descriptionThe description of the equipment used in the listing, if not set, it will use the items description.
item_typeThe item path that we refer to when equipping.
max_amountHow many at most can we order of a specific item?
nameThe name of the equipment used in the listing, if not set, it will use the items name.

Procs

on_issueCalled when the gear is issued, use for unique services (e.g. a power outage) that don't have an item

Var Details

admin_note

Note to admins, useful if the item is extraordinarily strong

category

Category of the item. See opposing_force_defines.dm for a list of categories.

description

The description of the equipment used in the listing, if not set, it will use the items description.

item_type

The item path that we refer to when equipping.

max_amount

How many at most can we order of a specific item?

name

The name of the equipment used in the listing, if not set, it will use the items name.

Proc Details

on_issue

Called when the gear is issued, use for unique services (e.g. a power outage) that don't have an item