mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Final tweaks and fixes
This commit is contained in:
@@ -124,6 +124,13 @@
|
||||
reagents.reaction(M, REAGENT_TOUCH)
|
||||
reagents.clear_reagents()
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/bottle/decompile_act(obj/item/matter_decompiler/C, mob/user)
|
||||
if(!reagents.total_volume)
|
||||
C.stored_comms["glass"] += 3
|
||||
qdel(src)
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
//Keeping this here for now, I'll ask if I should keep it here.
|
||||
/obj/item/broken_bottle
|
||||
name = "Broken Bottle"
|
||||
|
||||
@@ -368,8 +368,8 @@
|
||||
|
||||
to_chat(D, "<span class='warning'>You carefully and thoroughly decompile your downed fellow, storing as much of its resources as you can within yourself.</span>")
|
||||
|
||||
qdel(src)
|
||||
new/obj/effect/decal/cleanable/blood/oil(get_turf(src))
|
||||
qdel(src)
|
||||
|
||||
C.stored_comms["metal"] += 15
|
||||
C.stored_comms["glass"] += 15
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
var/grabbed_something = 0
|
||||
|
||||
for(var/atom/movable/A in T)
|
||||
if(A.decompile_act(src)) // Each decompileable mob or obj needs to have this defined
|
||||
if(A.decompile_act(src, usr)) // Each decompileable mob or obj needs to have this defined
|
||||
grabbed_something = 1
|
||||
|
||||
if(grabbed_something)
|
||||
|
||||
@@ -42,6 +42,13 @@
|
||||
var/image/lid = image(icon, src, "lid_bottle")
|
||||
overlays += lid
|
||||
|
||||
/obj/item/reagent_containers/glass/bottle/decompile_act(obj/item/matter_decompiler/C, mob/user)
|
||||
if(!reagents.total_volume)
|
||||
C.stored_comms["glass"] += 3
|
||||
qdel(src)
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
/obj/item/reagent_containers/glass/bottle/toxin
|
||||
name = "toxin bottle"
|
||||
desc = "A small bottle containing toxic compounds."
|
||||
|
||||
Reference in New Issue
Block a user