mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user