Duckberg Update:

- Uranium coins can now be produced from the mint. You can also produce more then 10 coins at a time.
- Two new more advanced versions of the PACMAN type portable generator: SUPERPACMAN (runs off of uranium coins, produces ~10,000 power base; requires Materials 5 and power tech 4) and MRSPACMAN (runs off of diamond coins, produces ~20,000 power base; requires materials 6 and power tech 5). Construction nearly identical to the basic PACMAN generator.
- Fixed some R&D bugs. Always forgetting something. Copy/paste is the devil.
- Tweaked nuclear gun slightly. I need to make a better R&D readme one of these days...
- Tier 3 stock parts added. These often require rare mateirals (such as from mining) and aren't 100% reliable. However, they do allow some machines to become quite powerful...

Note: Since I forgot it in the last update: To use the generators, you have to wrench them into place over a wire connected to the powergrid you want to pump power 

into.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1116 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
morikou@gmail.com
2011-02-24 16:51:50 +00:00
parent a7d5bd7f6c
commit 3dacc661f3
8 changed files with 223 additions and 57 deletions
+4 -3
View File
@@ -956,13 +956,14 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/us
charges = 10
maximum_charges = 10
m_amt = 2000
g_amt = 1000
var/mode = 2
nuclear
name = "Advanced Energy Gun"
desc = "An energy gun with an experimental miniaturized reactor."
var/critfail = 0
origin_tech = "combat=3;materials=5;powerstorage=3"
New()
charge()
@@ -972,7 +973,7 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/us
if(failcheck())
charges++ //If the gun isn't fully charged, and it doesn't suffer a failure, add a charge.
update_icon()
if(!critfail)
if(!crit_fail)
spawn(50) charge()
proc/failcheck()
@@ -990,7 +991,7 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/us
M << "\red Your gun's reactor overloads!"
M << "\red You feel a wave of heat wash over you."
M.radiation += 100
critfail = 1 //break the gun so it stops recharging
crit_fail = 1 //break the gun so it stops recharging
update_icon()
var/ratio = src.charges / maximum_charges