mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Changes the operating table to be an actual table.
This commit is contained in:
@@ -169,7 +169,7 @@
|
||||
if ( \
|
||||
!isturf(src.loc) || \
|
||||
!(locate(/obj/structure/table) in src.loc) && \
|
||||
!(locate(/obj/structure/optable) in src.loc) && \
|
||||
!(locate(/obj/structure/table/optable) in src.loc) && \
|
||||
!(locate(/obj/item/weapon/storage/bag/tray) in src.loc) \
|
||||
)
|
||||
user << "<span class='warning'>You cannot slice [src] here! You need a table or at least a tray.</span>"
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
proc/get_location_modifier(mob/M)
|
||||
var/turf/T = get_turf(M)
|
||||
if(locate(/obj/structure/optable, T))
|
||||
if(locate(/obj/structure/table/optable, T))
|
||||
return 1
|
||||
else if(locate(/obj/structure/table, T))
|
||||
return 0.8
|
||||
|
||||
Reference in New Issue
Block a user