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

huh?

Vars

available_itemsItems available from this market, populated by SSblackmarket on initialization.
categoriesItem categories available from this market, only items which are in these categories can be gotten from this market.
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.

categories

Item categories available from this market, only items which are in these categories can be gotten from this market.

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.