mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Adds a /prebuilt floor light for use by mappers.
This commit is contained in:
@@ -19,6 +19,9 @@ var/list/floor_light_cache = list()
|
||||
var/default_light_power = 2
|
||||
var/default_light_colour = "#FFFFFF"
|
||||
|
||||
/obj/machinery/floor_light/prebuilt
|
||||
anchored = 1
|
||||
|
||||
/obj/machinery/floor_light/attackby(var/obj/item/W, var/mob/user)
|
||||
if(istype(W, /obj/item/weapon/screwdriver))
|
||||
anchored = !anchored
|
||||
|
||||
Reference in New Issue
Block a user