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

market

Vars

admin_items_spawnedHow many admin items have been spawned this round? Used to iterate the identifier of admin-created market items.
marketsList of all existing markets.
queued_purchasesCurrently queued purchases.
shipping_method_descriptionsDescriptions for each shipping methods.
telepadsList of existing ltsrbts.

Procs

fake_teleportUsed to make a teleportation effect as do_teleport does not like moving items from nullspace.
initialize_admin_itemAdds an admin polled item to the market, expecting a market_item object having been created.
initialize_itemFollows the standard process for adding an item to the market from a path. @param path The path of the market datum to initialize and add to the market. @param market_whitelist A list of markets to which the item should be added. If null, the item is added to all markets.
queue_itemUsed to add /datum/market_purchase to queued_purchases var. Returns TRUE when queued.
restockA proc that restocks one or more markets, or all if the market_whitelist is null.

Var Details

admin_items_spawned

How many admin items have been spawned this round? Used to iterate the identifier of admin-created market items.

markets

List of all existing markets.

queued_purchases

Currently queued purchases.

shipping_method_descriptions

Descriptions for each shipping methods.

telepads

List of existing ltsrbts.

Proc Details

fake_teleport

Used to make a teleportation effect as do_teleport does not like moving items from nullspace.

initialize_admin_item

Adds an admin polled item to the market, expecting a market_item object having been created.

initialize_item

Follows the standard process for adding an item to the market from a path. @param path The path of the market datum to initialize and add to the market. @param market_whitelist A list of markets to which the item should be added. If null, the item is added to all markets.

queue_item

Used to add /datum/market_purchase to queued_purchases var. Returns TRUE when queued.

restock

A proc that restocks one or more markets, or all if the market_whitelist is null.