Files
Bubberstation/code/modules/holodeck/turfs.dm
Kyle Spier-Swenson bee4b132a3 [READY]Makes addtimer use callbacks (#22660)
* Makes addtimer use callbacks

* I broke the comment

* I fucked up the regex

* this was a silly idea.
2017-01-04 16:02:56 +13:00

113 lines
2.6 KiB
Plaintext

/turf/open/floor/holofloor
icon_state = "floor"
thermal_conductivity = 0
broken_states = list("engine")
burnt_states = list("engine")
flags = NONE
/turf/open/floor/holofloor/attackby(obj/item/I, mob/living/user)
return // HOLOFLOOR DOES NOT GIVE A FUCK
/turf/open/floor/holofloor/plating
name = "holodeck projector floor"
icon_state = "engine"
/turf/open/floor/holofloor/plating/burnmix
name = "burn-mix floor"
initial_gas_mix = "o2=2500;plasma=5000;TEMP=370"
/turf/open/floor/holofloor/grass
gender = PLURAL
name = "lush grass"
icon_state = "grass"
/turf/open/floor/holofloor/beach
name = "sand"
icon = 'icons/misc/beach.dmi'
icon_state = "sand"
/turf/open/floor/holofloor/beach/coast_t
name = "coastline"
icon_state = "sandwater_t"
/turf/open/floor/holofloor/beach/coast_b
name = "coastline"
icon_state = "sandwater_b"
/turf/open/floor/holofloor/beach/water
name = "water"
icon_state = "water"
/turf/open/floor/holofloor/asteroid
name = "asteroid"
icon_state = "asteroid0"
/turf/open/floor/holofloor/asteroid/New()
icon_state = "asteroid[pick(0,1,2,3,4,5,6,7,8,9,10,11,12)]"
..()
/turf/open/floor/holofloor/basalt
name = "basalt"
icon_state = "basalt0"
/turf/open/floor/holofloor/basalt/New()
icon_state = "basalt[pick(0,1,2,3,4,5,6,7,8,9,10,11,12)]"
..()
/turf/open/floor/holofloor/space
name = "Space"
icon = 'icons/turf/space.dmi'
icon_state = "0"
/turf/open/floor/holofloor/space/New()
icon_state = SPACE_ICON_STATE // so realistic
..()
/turf/open/floor/holofloor/hyperspace
name = "hyperspace"
icon = 'icons/turf/space.dmi'
icon_state = "speedspace_ns_1"
/turf/open/floor/holofloor/hyperspace/New()
icon_state = "speedspace_ns_[(x + 5*y + (y%2+1)*7)%15+1]"
..()
/turf/open/floor/holofloor/hyperspace/ns/New()
..()
icon_state = "speedspace_ns_[(x + 5*y + (y%2+1)*7)%15+1]"
/turf/open/floor/holofloor/carpet
name = "carpet"
desc = "Electrically inviting."
icon = 'icons/turf/floors/carpet.dmi'
icon_state = "carpet"
floor_tile = /obj/item/stack/tile/carpet
broken_states = list("damaged")
smooth = SMOOTH_TRUE
canSmoothWith = null
/turf/open/floor/holofloor/carpet/New()
..()
addtimer(CALLBACK(src, .proc/update_icon), 1)
/turf/open/floor/holofloor/carpet/update_icon()
if(!..())
return 0
if(intact)
queue_smooth(src)
/turf/open/floor/holofloor/snow
name = "snow"
desc = "Looks cold."
icon = 'icons/turf/snow.dmi'
icon_state = "snow"
slowdown = 2
/turf/open/floor/holofloor/snow/cold
initial_gas_mix = "freon=7500;TEMP=0"
/turf/open/floor/holofloor/asteroid
name = "asteroid sand"
icon = 'icons/turf/floors.dmi'
icon_state = "asteroid"