mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
[MIRROR] bunch of global vars (#12325)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
f55947089b
commit
8528d1dbcb
@@ -343,7 +343,7 @@
|
||||
qdel(src)
|
||||
return
|
||||
else if(D.has_tool_quality(TOOL_WIRECUTTER))
|
||||
balloon_alert(user, "you cut a big hole in \the [src] with \the [D]. It's kinda useless now.")
|
||||
to_chat(user, span_notice("You cut a big hole in \the [src] with \the [D]. It's kinda useless as a bucket now."))
|
||||
user.put_in_hands(new /obj/item/clothing/head/helmet/bucket)
|
||||
user.drop_from_inventory(src)
|
||||
qdel(src)
|
||||
@@ -353,16 +353,16 @@
|
||||
if (M.use(1))
|
||||
var/obj/item/secbot_assembly/edCLN_assembly/B = new /obj/item/secbot_assembly/edCLN_assembly
|
||||
B.loc = get_turf(src)
|
||||
balloon_alert(user, "armed the robot frame.")
|
||||
to_chat(user, span_notice("You armed the robot frame."))
|
||||
if (user.get_inactive_hand()==src)
|
||||
user.remove_from_mob(src)
|
||||
user.put_in_inactive_hand(B)
|
||||
qdel(src)
|
||||
else
|
||||
balloon_alert(user, "one sheet of metal is needed to arm the robot frame.")
|
||||
to_chat(user, span_warning("You need one sheet of metal to arm the robot frame."))
|
||||
else if(istype(D, /obj/item/mop) || istype(D, /obj/item/soap) || istype(D, /obj/item/reagent_containers/glass/rag))
|
||||
if(reagents.total_volume < 1)
|
||||
balloon_alert(user, "\the [src] is empty!")
|
||||
to_chat(user, span_warning("\The [src] is empty!"))
|
||||
else
|
||||
reagents.trans_to_obj(D, 5)
|
||||
to_chat(user, span_notice("You wet \the [D] in \the [src]."))
|
||||
|
||||
Reference in New Issue
Block a user