uplink_item 
Vars | |
can_discount | Whether item can be on sales category. |
---|---|
category | Uplink category. |
cost | Item cost in TC. |
desc | Uplink description. |
excludefrom | Empty list does nothing. Place the name of uplink type you don't want this item to be available in here. |
hijack_only | Can this item be purchased only with hijack objective? |
item | Item object, must be defined in every datum entry and must be /obj path. |
item_to_refund_cost | Associative list UID - refund cost |
job | Empty list means it is available for every job assignment. |
limited_stock | Can you only buy so many? -1 allows for infinite purchases. |
name | Uplink name. |
race | Empty list means it is available for every in game species. |
refund_path | Alternative path for refunds, in case the item purchased isn't what is actually refunded (ie: holoparasites). |
refundable | Is this item refundable? |
surplus | Chance of being included in the surplus crate (when pick() selects it). |
uplinktypes | Empty list means it is in all the uplink types. Otherwise place the uplink type here. |
Procs | |
buy | Handles buying an item, and logging. |
description | Actulizes datum description. |
spawn_item | Spawns object item contained as path in datum item variable if possible. |
Var Details
can_discount 
Whether item can be on sales category.
category 
Uplink category.
cost 
Item cost in TC.
desc 
Uplink description.
excludefrom 
Empty list does nothing. Place the name of uplink type you don't want this item to be available in here.
hijack_only 
Can this item be purchased only with hijack objective?
item 
Item object, must be defined in every datum entry and must be /obj path.
item_to_refund_cost 
Associative list UID - refund cost
job 
Empty list means it is available for every job assignment.
limited_stock 
Can you only buy so many? -1 allows for infinite purchases.
name 
Uplink name.
race 
Empty list means it is available for every in game species.
refund_path 
Alternative path for refunds, in case the item purchased isn't what is actually refunded (ie: holoparasites).
refundable 
Is this item refundable?
surplus 
Chance of being included in the surplus crate (when pick() selects it).
uplinktypes 
Empty list means it is in all the uplink types. Otherwise place the uplink type here.
Proc Details
buy
Handles buying an item, and logging.
Arguments:
- target_uplink - uplink we are buying from.
- buyer - mob who performs the transaction.
description
Actulizes datum description.
spawn_item
Spawns object item contained as path in datum item variable if possible.
Arguments:
- buyer - mob who performs the transaction.
- target_uplink - uplink we are buying from.