Files
Bubberstation/code/modules/holodeck/turfs.dm
Vincent faf5ddaceb Holodeck refactor and Enchancements
Moves holodeck code to modules/holodeck.  Repaths holodeck structures a little.  Cleans holodeck code and prepares for additional features (multiple holodecks, etc).  Should fix #4828.

Necessary map bugfixen for Asteroid, Disc, Dream, Meta, and TG.
Adds Lounge, Emergency Medical, pet center, and holdout room to the rec holodeck.

All items spawned by the holodeck will do only stamina damage, except when emagged.  This allows emergency medical to be staffed with scalpels and bonesaws and such.  Emergency medical has some functioning equipment but the only drugs available are in the sleeper.
2015-11-15 20:23:23 -05:00

81 lines
2.0 KiB
Plaintext

/turf/simulated/floor/holofloor
icon_state = "floor"
thermal_conductivity = 0
broken_states = list()
burnt_states = list()
/turf/simulated/floor/holofloor/attackby(obj/item/weapon/W as obj, mob/user as mob)
return // HOLOFLOOR DOES NOT GIVE A FUCK
/turf/simulated/floor/holofloor/plating
name = "Holodeck Projector Floor"
icon_state = "engine"
/turf/simulated/floor/holofloor/grass
gender = PLURAL
name = "lush grass"
icon_state = "grass"
/turf/simulated/floor/holofloor/beach
name = "sand"
icon = 'icons/misc/beach.dmi' // what
icon_state = "sand"
/turf/simulated/floor/holofloor/beach/coast
name = "coastline"
icon = 'icons/misc/beach2.dmi' // why
icon_state = "sandwater"
/turf/simulated/floor/holofloor/beach/water
name = "water"
icon_state = "water"
/turf/simulated/floor/holofloor/asteroid
name = "Asteroid"
icon_state = "asteroid0"
/turf/simulated/floor/holofloor/asteroid/New()
icon_state = "asteroid[pick(0,1,2,3,4,5,6,7,8,9,10,11,12)]"
..()
/turf/simulated/floor/holofloor/space
name = "Space"
icon = 'icons/turf/space.dmi'
icon_state = "0"
/turf/simulated/floor/holofloor/space/New()
icon_state = "[((x + y) ^ ~(x * y) + z) % 25]" // so realistic
..()
/turf/simulated/floor/holofloor/hyperspace
name = "Hyperspace"
icon = 'icons/turf/space.dmi'
icon_state = "speedspace_ew_1"
/turf/simulated/floor/holofloor/hyperspace/New()
icon_state = "speedspace_ew_[(x + 5*y + (y%2+1)*7)%15+1]"
..()
/turf/simulated/floor/holofloor/hyperspace/ns/New()
..()
icon_state = "speedspace_ns_[(x + 5*y + (y%2+1)*7)%15+1]"
/turf/simulated/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/simulated/floor/holofloor/carpet/New()
..()
spawn(1)
update_icon()
/turf/simulated/floor/holofloor/carpet/update_icon()
if(!..())
return 0
if(intact)
smooth_icon(src)