/datum/export
Procs | |
sell_object | Calculates the exact export value of the object, while factoring in all the relivant variables. |
---|---|
total_printout | This is the value of the object, as derived from export datums. Quantity of the object in question. Utilized in the pricetag component. Splits the object's profit when it has a pricetag by the specified amount. |
Proc Details
sell_object
Calculates the exact export value of the object, while factoring in all the relivant variables.
Called only once, when the object is actually sold by the datum. Adds item's cost and amount to the current export cycle. get_cost, get_amount and applies_to do not neccesary mean a successful sale.
total_printout
This is the value of the object, as derived from export datums. Quantity of the object in question. Utilized in the pricetag component. Splits the object's profit when it has a pricetag by the specified amount.