[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:
CHOMPStation2StaffMirrorBot
2025-07-29 00:45:12 +02:00
committed by GitHub
co-authored by Will C.L.
parent 18214a8486
commit ab7ac51ac6
11 changed files with 177 additions and 92 deletions
@@ -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)