"By Our Powers Combined" Update:

- R&D Console interface re-done a bit. Unlinked machines don't show up at all on the main menu but you can see what machines are linked and what aren't in the settings menu.
- Object path for robo-crate power cell changed.
- Basic and "super" power cells can now be deconstructed (in a deconstructive analyzer) for tech.
- New power cell: "SUPER" power cells. Can be built through R&D research (Req. Power Storage Tech 5) and holds twice as much as the power cell you get from robotics crates. Unfortunately, like a lot of prototype technology, it is unreliable. They'll randomly not recharge and eventually will stop recharging at all.
- Items with reliability < 90 and haven't critically failed cannot be destroyed in a destructive analyzer.
- Imprinter and Protolathe now drop their results on themselves rather then a linked destructive analyzer. Derp.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@998 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
morikou@gmail.com
2011-02-09 02:27:01 +00:00
parent 51a518e264
commit 86a47cbc4e
8 changed files with 89 additions and 25 deletions
+9 -2
View File
@@ -10,7 +10,6 @@
spawn(5)
updateicon()
/obj/item/weapon/cell/proc/updateicon()
if(maxcharge <= 2500)
@@ -39,7 +38,15 @@
// recharge the cell
/obj/item/weapon/cell/proc/give(var/amount)
var/power_used = min(maxcharge-charge,amount)
charge += power_used
if(crit_fail)
power_used = 0
else if(prob(reliability))
charge += power_used
else
minor_fault++
if(prob(minor_fault))
crit_fail = 1
power_used = 0
if(rigged && amount > 0)
explode()
return power_used