mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 05:07:51 +01:00
[MIRROR] Cargo sale element (#11263)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
co-authored by
Will
C.L.
parent
18214a8486
commit
ab7ac51ac6
@@ -6,6 +6,11 @@
|
||||
|
||||
var/supply_conversion_value = 0 //CHOMPedit Selling Engineered Organs
|
||||
|
||||
/obj/item/organ/internal/Initialize(mapload, internal) //CHOMPEdit Start - Selling Engineered Organs
|
||||
. = ..()
|
||||
if(supply_conversion_value)
|
||||
AddElement(/datum/element/sellable/organ) //CHOMPEdit End - Selling Engineered Organs
|
||||
|
||||
/obj/item/organ/internal/die()
|
||||
..()
|
||||
if((status & ORGAN_DEAD) && dead_icon)
|
||||
|
||||
Reference in New Issue
Block a user