mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
TG: Janitor borgs have been massively upgraded.
They now clean as they roll, and have a trashbag. Revision: r3310 Author: petethegoat
This commit is contained in:
@@ -1102,7 +1102,26 @@ Frequency:
|
||||
. = ..()
|
||||
if ((s_active && !( s_active in contents ) ))
|
||||
s_active.close(src)
|
||||
return
|
||||
|
||||
if(module)
|
||||
if(module.type == /obj/item/weapon/robot_module/janitor) //you'd think checking the module would work
|
||||
var/turf/tile = get_turf(loc)
|
||||
|
||||
tile.clean_blood()
|
||||
for(var/obj/effect/R in tile)
|
||||
if(istype(R, /obj/effect/rune) || istype(R, /obj/effect/decal/cleanable) || istype(R, /obj/effect/overlay))
|
||||
del(R)
|
||||
|
||||
for(var/obj/item/cleaned_item in tile)
|
||||
cleaned_item.clean_blood()
|
||||
|
||||
for(var/mob/living/carbon/human/cleaned_human in tile) //HUE HUE I CLEAN U
|
||||
if(cleaned_human.lying)
|
||||
cleaned_human.clean_blood()
|
||||
cleaned_human << "\red [src] cleans your face!"
|
||||
for(var/obj/item/carried_item in cleaned_human.contents)
|
||||
carried_item.clean_blood()
|
||||
return
|
||||
|
||||
/mob/living/silicon/robot/proc/reset_module()
|
||||
modtype = "robot"
|
||||
|
||||
@@ -163,9 +163,7 @@
|
||||
|
||||
New()
|
||||
..()
|
||||
src.modules += new /obj/item/weapon/cleaner(src)
|
||||
src.modules += new /obj/item/weapon/mop(src)
|
||||
src.modules += new /obj/item/weapon/reagent_containers/glass/bucket(src)
|
||||
src.modules += new /obj/item/weapon/soap/nanotrasen(src)
|
||||
src.modules += new /obj/item/weapon/trashbag(src)
|
||||
src.emag = new /obj/item/weapon/cleaner(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user