Quick fixes for my last commit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2961 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2012-01-16 08:55:20 +00:00
parent acbd1321d1
commit ffe42d1ca6
5 changed files with 3132 additions and 3176 deletions
+5 -2
View File
@@ -16,8 +16,11 @@
proc
recharge()
if(stat & BROKEN) return
if(energy != max_energy)
energy += 4
var/addenergy = 4
if(energy + addenergy > energy)
addenergy = energy - addenergy
if(energy < max_energy)
energy += addenergy
use_power(2000) // This thing uses up alot of power (this is still low as shit for creating reagents from thin air)
spawn(200) recharge()