Lick clean re add (#7269)

Co-authored-by: Selis <selis@xynolabs.com>
This commit is contained in:
Kashargul
2023-12-01 23:39:43 +01:00
committed by GitHub
parent 75946b25bc
commit 4add60f9f2
9 changed files with 139 additions and 6 deletions

View File

@@ -397,6 +397,12 @@
var/obj/item/I = O
if(!I || !istype(I,/obj/item)) return
//CHOMPAdd Start
if(istype(I, /obj/item/device/robot_tongue) && isrobot(user))
var/obj/item/device/robot_tongue/J = I
if(J.water.energy < J.water.max_energy) return
//CHOMPAdd End
to_chat(usr, "<span class='notice'>You start washing \the [I].</span>")
busy = 1
@@ -433,4 +439,4 @@
/obj/structure/sink/puddle/attackby(obj/item/O as obj, mob/user as mob)
icon_state = "puddle-splash"
..()
icon_state = "puddle"
icon_state = "puddle"