Merge pull request #3658 from Regen1/firelasers

Adds immolator laser gun
This commit is contained in:
TheDZD
2016-02-22 18:23:45 -05:00
4 changed files with 31 additions and 0 deletions
@@ -98,6 +98,15 @@ obj/item/weapon/gun/energy/laser/retro
projectile_type = "/obj/item/projectile/beam/xray"
charge_cost = 500
/obj/item/weapon/gun/energy/immolator
name = "Immolator laser gun"
desc = "A modified laser gun, shooting highly concetrated beams with higher intensity that ignites the target, for the cost of draining more power per shot"
icon_state = "immolator"
item_state = "laser"
fire_sound = 'sound/weapons/laser3.ogg'
projectile_type = "/obj/item/projectile/beam/immolator"
origin_tech = "combat=4;materials=4;magnets=3;plasmatech=2"
charge_cost = 1250
////////Laser Tag////////////////////
@@ -38,6 +38,17 @@
weaken = 5
stutter = 5
/obj/item/projectile/beam/immolator
name = "immolation beam"
/obj/item/projectile/beam/immolator/on_hit(var/atom/target, var/blocked = 0)
. = ..()
if(istype(target, /mob/living/carbon))
var/mob/living/carbon/M = target
M.adjust_fire_stacks(1)
M.IgniteMob()
/obj/item/projectile/beam/xray
name = "xray beam"
icon_state = "xray"
@@ -270,4 +270,15 @@
materials = list(MAT_GOLD = 5000,MAT_URANIUM = 10000, MAT_METAL = 4000)
build_path = /obj/item/weapon/gun/energy/xray
locked = 1
category = list("Weapons")
/datum/design/immolator
name = "Immolator Laser Gun"
desc = "Has fewer shots than a regular laser gun, but ignites the target on hit"
id = "immolator"
req_tech = list("combat" = 4, "materials" = 5, "powerstorage" = 5, "magnets" = 4)
build_type = PROTOLATHE
materials = list(MAT_METAL = 4000, MAT_GLASS = 1000, MAT_SILVER = 3000, MAT_PLASMA = 2000)
build_path = /obj/item/weapon/gun/energy/immolator
locked = 1
category = list("Weapons")