TG: Adds a dummy process() to /obj/machinery/door so that doors aren't removed from

the machine list.  Best guess, all machines call process automatically, and
because doors didn't have an explicit one defined, they automatically called the
one that removed them from the list.
Adds a borg deathsquad to the map.
Few more fixes to the tensioner.
Revision: r3374

Includes door code cleanup from here http://code.google.com/p/tgstation13/source/detail?spec=svn2895&r=2895
This commit is contained in:
Ren Erthilo
2012-05-01 02:55:28 +01:00
parent f5c2a17237
commit 93403a15e5
7 changed files with 433 additions and 421 deletions
+23 -11
View File
@@ -15,19 +15,31 @@
name = real_name
spawn (4)
if (client)
connected_ai = activeais()
if (connected_ai)
connected_ai.connected_robots += src
// laws = connected_ai.laws //The borg inherits its AI's laws
laws = new /datum/ai_laws
lawsync()
src << "<b>Unit slaved to [connected_ai.name], downloading laws.</b>"
lawupdate = 1
if(!syndie)
if (client)
connected_ai = activeais()
if (connected_ai)
connected_ai.connected_robots += src
// laws = connected_ai.laws //The borg inherits its AI's laws
laws = new /datum/ai_laws
lawsync()
src << "<b>Unit slaved to [connected_ai.name], downloading laws.</b>"
lawupdate = 1
else
laws = new /datum/ai_laws/asimov
lawupdate = 0
src << "<b>Unable to locate an AI, reverting to standard Asimov laws.</b>"
else
laws = new /datum/ai_laws/nanotrasen
laws = new /datum/ai_laws/antimov
lawupdate = 0
src << "<b>Unable to locate an AI, reverting to standard NanoTrasen laws.</b>"
scrambledcodes = 1
src << "Follow your laws."
cell.maxcharge = 25000
cell.charge = 25000
module = new /obj/item/weapon/robot_module/syndicate(src)
hands.icon_state = "standard"
icon_state = "secborg"
modtype = "Synd"
radio = new /obj/item/device/radio(src)
camera = new /obj/machinery/camera(src)
@@ -228,5 +228,8 @@
New()
src.modules += new /obj/item/weapon/melee/energy/sword(src)
src.modules += new /obj/item/weapon/gun/energy/pulse_rifle/destroyer(src)
src.modules += new /obj/item/weapon/card/emag(src)
src.modules += new /obj/item/weapon/tank/jetpack/oxygen(src)
return