mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00: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:
committed by
GitHub
parent
18214a8486
commit
ab7ac51ac6
@@ -11,6 +11,11 @@
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
var/worth = 100
|
||||
|
||||
/obj/item/salvage/Initialize(mapload) //CHOMPEdit Start - Selling Salvage
|
||||
. = ..()
|
||||
if(worth)
|
||||
AddElement(/datum/element/sellable/salvage) //CHOMPEdit End - Selling Salvage
|
||||
|
||||
/obj/item/salvage/examine(mob/user)
|
||||
. = ..()
|
||||
. += span_notice("This could fetch a good price...")
|
||||
|
||||
Reference in New Issue
Block a user