Files
Yogstation/code/datums/components/refundable.dm
Lucy dcab94dbc0 Stand-o-rama - rebalances a bunch of holoparasite stuff (#12774)
* Stand-o-rama!

* Fix ESLint stuff

* Dust on death.

* minor code tweaks

* Fix spans

* use defines to make bibby happy

* whatever there'll only be one anyways
2021-12-09 19:43:08 +00:00

10 lines
333 B
Plaintext

/// A very basic component saying that this item is TC-refundable in an uplink.
/// Refundable items are expected to register COMSIG_ITEM_REFUND themselves.
/datum/component/refundable
var/datum/mind/buyer
var/tc_cost = 0
/datum/component/refundable/Initialize(datum/mind/buyer, tc_cost)
src.buyer = buyer
src.tc_cost = tc_cost