Merge pull request #1084 from SkyMarshal/CoolTweaks

Made metal foam airproof, removed some bad code.
This commit is contained in:
Albert Iordache
2012-05-17 00:01:14 -07:00
4 changed files with 14 additions and 17 deletions
+4 -4
View File
@@ -88,7 +88,7 @@
/obj/structure/bedsheetbin
name = "linen bin"
desc = "A bin for containing bedsheets. It looks rather cosy."
desc = "A small wire mesh bin full of extra bedsheets and cleaning supplies for the beds. Smells of lilacs and has a faint undertone of disinfectant."
icon = 'items.dmi'
icon_state = "bedbin"
var/amount = 23.0
@@ -232,7 +232,7 @@
var/mob/living/carbon/monkey/target = null
/obj/effect/sign/securearea
desc = "A warning sign which reads 'SECURE AREA'"
desc = "A large yellow warning sign which reads 'SECURE AREA', it appears to have been painted onto the wall like that."
name = "SECURE AREA"
icon = 'decals.dmi'
icon_state = "securearea"
@@ -250,7 +250,7 @@
density = 0
/obj/effect/sign/biohazard
desc = "A warning sign which reads 'BIOHAZARD'"
desc = "A warning sign which reads 'BIOHAZARD', you think it'd be a good idea to ensure you have a properly sealed hazardsuit on."
name = "BIOHAZARD"
icon = 'decals.dmi'
icon_state = "bio"
@@ -259,7 +259,7 @@
density = 0
/obj/effect/sign/electricshock
desc = "A warning sign which reads 'HIGH VOLTAGE'"
desc = "A warning sign which reads 'HIGH VOLTAGE', it looks like it'd be a wise decision to stay away from here."
name = "HIGH VOLTAGE"
icon = 'decals.dmi'
icon_state = "shock"
+2 -1
View File
@@ -1034,7 +1034,8 @@ steam.start() -- spawns the effect
user << "\blue You hit the metal foam to no effect."
CanPass(atom/movable/mover, turf/target, height=1.5, air_group = 0)
if(air_group) return 0
if(!istype(mover))
return 0
return !density
+7 -7
View File
@@ -3,10 +3,10 @@
..()
// While I'm doing a terriblly lazy way of initalizing things, why don't I make it so people's preferences tag along with them. This could be useful in fixing the fucking cloned-as-unknown thing, making me not have to dynamically load them during tensioner, and of course, storing metadata.
if(!src.storedpreferences)
src.storedpreferences = new
storedpreferences.savefile_load(src, 0)
//Whoever wrote this should go suck a choad. This was causing runtimes, asshat. IN ADDITION, YOU PUT IT IN THE LIFE PROC YOU ASSHAT
// if(!src.storedpreferences)
// src.storedpreferences = new
// storedpreferences.savefile_load(src, 0)
@@ -281,8 +281,8 @@
density = 1
else
density = !lying
//Bullshit ERP horseshit causing runtimes. Eat a dick.
/*
/mob/living/proc/Examine_OOC()
set name = "Examine Meta-Info (OOC)"
set category = "OOC"
@@ -300,7 +300,7 @@
else
usr << "OOC Metadata is not supported by this server!"
return
return*/
/mob/living/attack_animal(mob/M)
attack_paw(M) // treat it like a normal non-human attack
+1 -5
View File
@@ -285,13 +285,9 @@ the mob is also allowed to move without any sort of restriction. For instance, i
var/digitalcamo = 0 // Can they be tracked by the AI?
var/list/organs = list( ) //List of organs.
var/list/organs2 = list()
// var/list/organs2 = list()
//Singularity wants you!
var/grav_delay = 0
var/being_strangled = 0
var/datum/preferences/storedpreferences = null
// var/geaslist = list()