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

choice_beacon

Vars

company_messageUsed inthe deployment message - What is the company saying with their message, flavor
company_sourceUsed in the deployment message - What company is sending the equipment, flavor
usesHow many uses this item has before being deleted

Procs

can_use_beaconChecks if this mob can use the beacon, returns TRUE if so or FALSE otherwise.
consume_useConsumes a use of the beacon, sending the user a message and creating their item in the process
generate_display_namesReturn the list that will be used in the choice selection. Entries should be in (type.name = type) fashion.
open_options_menuOpens a menu and allows the mob to pick an option from the list
spawn_optionActually spawns the item selected by the user

Var Details

company_message

Used inthe deployment message - What is the company saying with their message, flavor

company_source

Used in the deployment message - What company is sending the equipment, flavor

uses

How many uses this item has before being deleted

Proc Details

can_use_beacon

Checks if this mob can use the beacon, returns TRUE if so or FALSE otherwise.

consume_use

Consumes a use of the beacon, sending the user a message and creating their item in the process

generate_display_names

Return the list that will be used in the choice selection. Entries should be in (type.name = type) fashion.

open_options_menu

Opens a menu and allows the mob to pick an option from the list

spawn_option

Actually spawns the item selected by the user