Reduces the amount of guns in PoIs, adds salvage items (#9198)

This commit is contained in:
Guti
2024-10-14 14:31:38 -04:00
committed by GitHub
parent 2d5d3801f1
commit 8e6b360d0d
84 changed files with 1120 additions and 1485 deletions
+5
View File
@@ -121,6 +121,11 @@ SUBSYSTEM_DEF(supply)
EC.contents[EC.contents.len]["quantity"] = cashmoney.worth
EC.value += EC.contents[EC.contents.len]["value"]
// CHOMPAdd Start - Sell salvage
if(istype(A, /obj/item/salvage))
var/obj/item/salvage/salvagedStuff = A
EC.contents[EC.contents.len]["value"] = salvagedStuff.worth
// CHOMPAdd End
// Make a log of it, but it wasn't shipped properly, and so isn't worth anything