The machinery powered proc once again uses the argument.

power_change() now defaults to using the machines power_channel
Moved the remaining machinery power defines into the proper files 

Added code for a basic Antimatter Engine.
It is currently made up of a control unit and several shield objects.
The shield objects must have a patch through other shield objects or be directly touching the control unit.  If they are unable to find one they will be del’d.
The control unit needs to be given an antimatter containment jar for fuel before it will properly startup.
A core is created when a shield object detects it has shields/control unit surrounding it.
You can safely inject double the number of cores worth of fuel.
Getting blown up, getting hit by the blob, getting hit with high force items, getting shot, being fed too much fuel will all end up lowering the stability of the reactor parts and once the stability gets to 0 it will either break or, if currently processing some fuel, explode.
I’ve tested the parts several times and nothing seemed to go wrong, the sprites suck but that is to be expected. 


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3881 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2012-06-20 23:50:30 +00:00
parent 2d33156bb0
commit 14a0337b37
12 changed files with 648 additions and 97 deletions
@@ -451,10 +451,6 @@
message = text("\red <B>[] is trying to inject []!</B>", source, target)
if("pill")
message = text("\red <B>[] is trying to force [] to swallow []!</B>", source, target, item)
// dear god this is all horrible, godspeed carn ;-;
// mport: i dunno if you care about this, but it's related to AM. -Pete
// if("fuel")
// message = text("\red [source] is trying to force [target] to eat the [item:content]!")
if("drink")
message = text("\red <B>[] is trying to force [] to swallow a gulp of []!</B>", source, target, item)
if("dnainjector")
@@ -944,21 +940,6 @@ It can still be worn/put on as normal.
O.show_message(text("\red [] performs CPR on []!", source, target), 1)
target << "\blue <b>You feel a breath of fresh air enter your lungs. It feels good.</b>"
source << "\red Repeat every 7 seconds AT LEAST."
/* if("fuel")
var/obj/item/weapon/fuel/S = item
if (!( istype(S, /obj/item/weapon/fuel) ))
//SN src = null
del(src)
return
if (S.s_time >= world.time + 30)
//SN src = null
del(src)
return
S.s_time = world.time
var/a = S.content
for(var/mob/O in viewers(source, null))
O.show_message(text("\red [source] forced [target] to eat the [a]!"), 1)
S.injest(target) */
if("dnainjector")
var/obj/item/weapon/dnainjector/S = item
if(item)