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

market

Vars

available_itemsItems available from this market, populated by SSblackmarket on initialization. Automatically assigned, so don't manually adjust.
categoriesItem categories available from this market, only items which are in these categories can be gotten from this market. Automatically assigned, so don't manually adjust.
nameName for the market.
shippingAvailable shipping methods and prices, just leave the shipping method out that you don't want to have.

Procs

add_itemAdds item to the available items and add it's category if it is not in categories yet.
purchaseHandles buying the item, this is mainly for future use and moving the code away from the uplink.

Var Details

available_items

Items available from this market, populated by SSblackmarket on initialization. Automatically assigned, so don't manually adjust.

categories

Item categories available from this market, only items which are in these categories can be gotten from this market. Automatically assigned, so don't manually adjust.

name

Name for the market.

shipping

Available shipping methods and prices, just leave the shipping method out that you don't want to have.

Proc Details

add_item

Adds item to the available items and add it's category if it is not in categories yet.

purchase

Handles buying the item, this is mainly for future use and moving the code away from the uplink.