Files
Polaris/code/game/asteroid/turf.dm
rastaf.zero@gmail.com 09e0bcf987 Stackable items redo. Many improvements, massive code clean up.
Metal and related materials now noticeable more user-friendly.
Added new canister color: yellow "CAUTION". Used for newly created from metal canisters. Can be relabeled once.
Some typos were fixed.
dsay verb now uses fakekey in stealth mode.
AI cannot remove the cell from the charger.
Added alientalk chat prefix: ":a" by Barhandar. Also added keyboard layout independent russian prefixes.
Binary translator done by more convenient may by Barhandar.
Is possible now to wash bloody hands in sink.
Probably fixed bug causes gibbed revheads be not counted as dead.
Some other fixes.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@752 316c924e-a436-60f5-8080-3fe189b3f50e
2011-01-03 01:26:01 +00:00

86 lines
1.7 KiB
Plaintext

/turf/simulated/wall/asteroid
name = "asteroid"
icon = 'walls.dmi'
icon_state = "asteroid"
opacity = 1
density = 1
oxygen = 0
nitrogen = 0
temperature = TCMB
var/contains = null
var/max_amount = 1
var/min_amount = 0
/turf/simulated/wall/asteroid/iron
icon_state = "asteroid_i"
contains = /obj/item/stack/sheet/metal
max_amount = 3
min_amount = 1
/turf/simulated/wall/asteroid/silicon
icon_state = "asteroid_i"
contains = /obj/item/stack/sheet/glass
max_amount = 3
min_amount = 1
/turf/simulated/wall/asteroid/facehugger
icon_state = "asteroid_i"
contains = /obj/alien/facehugger
max_amount = 1
min_amount = 0
/*
/turf/simulated/wall/asteroid/frozen_gas
name="frozen gas"
icon = 'atmos.dmi'
/turf/simulated/wall/asteroid/frozen_gas/oxygen
icon_state = "blue"
New()
src.oxygen = rand(40,200)
..()
/turf/simulated/wall/asteroid/frozen_gas/nitrogen
icon_state = "red"
New()
src.nitrogen = rand(40,200)
..()
/turf/simulated/wall/asteroid/frozen_gas/toxins
icon_state = "orange"
New()
src.toxins = rand(40,200)
..()
/turf/simulated/wall/asteroid/frozen_gas/carbon_dioxide
icon_state = "black"
New()
src.carbon_dioxide = rand(40,200)
..()
*/
/turf/simulated/wall/asteroid/dismantle_wall(devastated=0)
if(contains && ispath(contains))
var/iterations = 0
if(!devastated)
iterations = max_amount
else
iterations = min_amount
for(var/i=0 to iterations)
new contains(src)
ReplaceWithSpace()
/turf/simulated/wall/asteroid/attackby(obj/item/weapon/W as obj, mob/user as mob)//TODO
return attack_hand(user)
/turf/simulated/wall/asteroid/relativewall()//TODO.
return