mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
Removed snowflake.
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
/obj/item/weapon/watertank/verb/toggle_mister()
|
||||
set name = "Toggle Mister"
|
||||
set category = "Object"
|
||||
if (usr.get_item_by_slot(slot_back) != src && usr.get_item_by_slot(slot_drone_storage) != src)
|
||||
usr << "<span class='warning'>The watertank needs to be on your back to use!</span>"
|
||||
if (usr.get_item_by_slot(usr.getWatertankSlot()) != src)
|
||||
usr << "<span class='warning'>The watertank must be worn properly to use!</span>"
|
||||
return
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
@@ -75,8 +75,8 @@
|
||||
..()
|
||||
|
||||
/obj/item/weapon/watertank/MouseDrop(obj/over_object)
|
||||
if(ishuman(src.loc) || isdrone(src.loc))
|
||||
var/mob/living/carbon/human/H = src.loc
|
||||
var/mob/H = src.loc
|
||||
if(istype(H))
|
||||
switch(over_object.name)
|
||||
if("r_hand")
|
||||
if(H.r_hand)
|
||||
@@ -98,6 +98,10 @@
|
||||
return
|
||||
..()
|
||||
|
||||
/mob/proc/getWatertankSlot() return slot_back
|
||||
|
||||
/mob/living/simple_animal/drone/getWatertankSlot() return slot_drone_storage
|
||||
|
||||
// This mister item is intended as an extension of the watertank and always attached to it.
|
||||
// Therefore, it's designed to be "locked" to the player's hands or extended back onto
|
||||
// the watertank backpack. Allowing it to be placed elsewhere or created without a parent
|
||||
|
||||
Reference in New Issue
Block a user