Added the Staff of Change gun, a self recharging weapon which cannot be placed in a recharger. It fires bolts of change

Added a new projectile "bolt of change."
When struck by a bolt of change, a mob will be randomly transformed into one of the following:
-Alien (Drone/Sentinel/Hunter)
-Metroid (Adult/Baby)
-Cyborg
-Monkey

The staff is admin only as of now.

Fixed some bits on the salvage shuttle.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2731 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
kortgstation@gmail.com
2011-12-18 09:31:16 +00:00
parent 84fd498ffb
commit 20cff88a8a
6 changed files with 3023 additions and 2988 deletions

View File

@@ -19,3 +19,35 @@
origin_tech = "combat=5;materials=4;powerstorage=3"
charge_cost = 100
projectile_type = "/obj/item/projectile/energy/declone"
obj/item/weapon/gun/energy/staff
name = "staff of change"
desc = "an artefact that spits bolts of coruscating energy which cause the target's very form to reshape itself"
icon = 'gun.dmi'
icon_state = "staff"
item_state = "staff"
fire_sound = 'emitter.ogg'
charge_cost = 200
projectile_type = "/obj/item/projectile/change"
origin_tech = null
var/charge_tick = 0
New()
..()
processing_objects.Add(src)
Del()
processing_objects.Remove(src)
..()
process()
charge_tick++
if(charge_tick < 4) return 0
charge_tick = 0
if(!power_supply) return 0
power_supply.give(200)
update_icon()
return 1

View File

@@ -23,8 +23,6 @@
explosion(target, -1, 0, 2)
return 1
/obj/item/projectile/temp
name = "freeze beam"
icon_state = "ice_2"