Fix various syntactic problems

This commit is contained in:
Tad Hardesty
2018-03-06 23:19:39 -08:00
parent 9c4c7fff98
commit 1ca410b91e
9 changed files with 11 additions and 14 deletions
@@ -1,7 +1,6 @@
#define EXTERNAL_PRESSURE_BOUND ONE_ATMOSPHERE
#define INTERNAL_PRESSURE_BOUND 0
#define PRESSURE_CHECKS 1
#undefine
/obj/machinery/atmospherics/unary/vent_pump
icon = 'icons/atmos/vent_pump.dmi'
+1 -1
View File
@@ -31,4 +31,4 @@
if(##VARNAME == src)\
##VARNAME = null;\
else\
message_admins("Controller '[name]' asked to release global control in spite of not having it!");}\
message_admins("Controller '[name]' asked to release global control in spite of not having it!");}
+1 -1
View File
@@ -87,7 +87,7 @@
if(!D.welded)
D.activate_alarm()
if(D.operating)
D.nextstate = CLOSED
D.nextstate = FD_CLOSED
else if(!D.density)
spawn(0)
D.close()
+4 -4
View File
@@ -4,8 +4,8 @@
#define CONSTRUCTION_GUTTED 3 //Wires are removed, circuit ready to remove
#define CONSTRUCTION_NOCIRCUIT 4 //Circuit board removed, can safely weld apart
/var/const/OPEN = 1
/var/const/CLOSED = 2
/var/const/FD_OPEN = 1
/var/const/FD_CLOSED = 2
/obj/machinery/door/firedoor
name = "firelock"
@@ -189,10 +189,10 @@
if(operating || stat & NOPOWER || !nextstate)
return
switch(nextstate)
if(OPEN)
if(FD_OPEN)
nextstate = null
open(auto_close)
if(CLOSED)
if(FD_CLOSED)
nextstate = null
close()
+2 -1
View File
@@ -22,7 +22,8 @@
heat_capacity = 312500 //a little over 5 cm thick , 312500 for 1 m by 2.5 m by 0.25 m plasteel wall
var/hardness = 40 //lower numbers are harder. Used to determine the probability of a hulk smashing through.
var/engraving, engraving_quality //engraving on the wall
var/engraving //engraving on the wall
var/engraving_quality
var/sheet_type = /obj/item/stack/sheet/metal
var/sheet_amount = 2
@@ -99,8 +99,6 @@
/obj/item/rig_module/self_destruct
)
..()
/obj/item/clothing/gloves/rig/light/ninja
name = "insulated gloves"
siemens_coefficient = 0
+1 -1
View File
@@ -618,7 +618,7 @@
exclaim_verb = "tones"
colour = "say_quote"
key = "z"//Zwarmer...Or Zerg!
flags = RESTRICTED || HIVEMIND
flags = RESTRICTED | HIVEMIND
follow = 1
// Language handling.
+2 -2
View File
@@ -2,8 +2,8 @@
name = "paper"
icon_state = "paper_stack"
item_state = "paper"
var copied = 0
var iscopy = 0
var/copied = 0
var/iscopy = 0
/obj/item/weapon/paper/carbon/update_icon()
@@ -45,7 +45,6 @@ var/global/list/rad_collectors = list()
else
to_chat(user, "<span class='warning'>The controls are locked!</span>")
return
..()
/obj/machinery/power/rad_collector/attackby(obj/item/W, mob/user, params)