mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
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
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
/obj/item/weapon/gun/energy/ionrifle
|
|
name = "ion rifle"
|
|
desc = "A man portable anti-armor weapon designed to disable mechanical threats"
|
|
icon_state = "ionrifle"
|
|
fire_sound = 'Laser.ogg'
|
|
origin_tech = "combat=2;magnets=4"
|
|
w_class = 4.0
|
|
flags = FPRINT | TABLEPASS | CONDUCT | USEDELAY | ONBACK
|
|
charge_cost = 100
|
|
projectile_type = "/obj/item/projectile/ion"
|
|
|
|
|
|
|
|
/obj/item/weapon/gun/energy/decloner
|
|
name = "biological demolecularisor"
|
|
desc = "A gun that discharges high amounts of controlled radiation to slowly break a target into component elements."
|
|
icon_state = "decloner"
|
|
fire_sound = 'pulse3.ogg'
|
|
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 |