Ion rifle stun mode update (#5657)

- Ion rifle has now two firing modes: lethal and stun
- Lethal firing mode cost is increased, resulting rifle full charge to last for 6 shots. Stun mode has the original cost, making it 10 shots.
- In Stun mode if the object that was hit is an IPC - it will stun IPC for 5(unstackable) seconds. But if the object is not IPC it will EMP only that object.
- I have reworked sprites to display both lethal and stun modes just like Carbine energy gun.
- Ion rifle is now a wielded weapon
- IPC/Borgs with EMP resistance module do not get affected by stun and consume half of charge
This commit is contained in:
Mykhailo Bykhovtsev
2018-12-03 01:32:52 -08:00
committed by Werner
parent 6fcac1bf0b
commit 0338a7988d
19 changed files with 132 additions and 35 deletions

View File

@@ -34,7 +34,7 @@ var/global/list/datum/supply_drop_loot/supply_drop
/obj/item/weapon/gun/energy/laser,
/obj/item/weapon/gun/energy/laser,
/obj/item/weapon/gun/energy/sniperrifle,
/obj/item/weapon/gun/energy/ionrifle)
/obj/item/weapon/gun/energy/rifle/ionrifle)
/datum/supply_drop_loot/ballistics
name = "Ballistics"