Files
Paradise/code/modules/detective_work/footprints_and_rag.dm
T
kyunkyunkyunandGitHub b0463d3c83 Convert most spans to defines (#31080)
* spanish?

* aaaagain

* keep maptext

* Update robot_items.dm

* Update span_defines.dm

* compiles

* Update silicon_mob.dm

* compile
2025-12-13 23:55:48 +00:00

29 lines
959 B
Plaintext

/obj/item/reagent_containers/glass/rag
name = "damp rag"
desc = "For cleaning up messes, you suppose."
icon = 'icons/obj/toy.dmi'
icon_state = "rag"
amount_per_transfer_from_this = 5
possible_transfer_amounts = null
volume = 5
flags = NOBLUDGEON
has_lid = FALSE
blocks_emissive = EMISSIVE_BLOCK_GENERIC
var/wipespeed = 30
/obj/item/reagent_containers/glass/rag/mob_act(mob/target, mob/living/user)
if(target.reagents && reagents.total_volume)
user.visible_message(SPAN_DANGER("[user] has smothered [target] with [src]!"), SPAN_DANGER("You smother [target] with [src]!"), "You hear some struggling and muffled cries of surprise")
src.reagents.reaction(target, REAGENT_TOUCH)
src.reagents.clear_reagents()
return TRUE
else
return ..()
/obj/item/reagent_containers/glass/rag/normal_act(atom/target, mob/living/user)
target.cleaning_act(user, src, wipespeed)
return TRUE
/obj/item/reagent_containers/glass/rag/can_clean()
return TRUE