Allow placing several items on surfaces. (#32467)

* Allow placing soaps and light replacers on surfaces.

* Also modify spray bottles, scanners, laser pointers, analyzer.

* Include sprays for real this time.
This commit is contained in:
Alan
2026-08-23 14:05:36 +00:00
committed by GitHub
parent d55711bad9
commit 45c90035ec
7 changed files with 20 additions and 9 deletions
@@ -32,7 +32,7 @@
/obj/item/reagent_containers/spray/normal_act(atom/A, mob/living/user)
. = TRUE
if(isstorage(A) || ismodcontrol(A) || istype(A, /obj/structure/table) || istype(A, /obj/structure/rack) || istype(A, /obj/structure/closet) \
if(isstorage(A) || ismodcontrol(A) || is_surface(A) || istype(A, /obj/structure/closet) \
|| istype(A, /obj/item/reagent_containers) || istype(A, /obj/structure/sink) || istype(A, /obj/structure/janitorialcart) || istype(A, /obj/machinery/hydroponics))
return FALSE