Files
Bubberstation/code/modules/holodeck/turfs.dm
Vincent 026e6ee772 Sets up the the ABSTRACT flag to be used by machines and structures that should not be disassembled or break into parts.
This is specifically used by the holodeck for things that should be immune to disassembly.

Fixes invisible windoors in the holodeck.
Standardizes the fire axe's interaction with windows.
Fixes a runtime with holodeck tiles getting broken or burned.
2015-11-26 21:11:54 -05:00

81 lines
2.1 KiB
Plaintext

/turf/simulated/floor/holofloor
icon_state = "floor"
thermal_conductivity = 0
broken_states = list("engine")
burnt_states = list("engine")
/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)