Heavy weapons changes

This commit is contained in:
Yoshax
2016-06-10 18:34:58 +01:00
parent 7972539289
commit 1856897894
3 changed files with 18 additions and 9 deletions

View File

@@ -68,13 +68,15 @@ obj/item/weapon/gun/energy/retro
fire_sound = 'sound/weapons/lasercannonfire.ogg' fire_sound = 'sound/weapons/lasercannonfire.ogg'
origin_tech = list(TECH_COMBAT = 4, TECH_MATERIAL = 3, TECH_POWER = 3) origin_tech = list(TECH_COMBAT = 4, TECH_MATERIAL = 3, TECH_POWER = 3)
slot_flags = SLOT_BELT|SLOT_BACK slot_flags = SLOT_BELT|SLOT_BACK
projectile_type = /obj/item/projectile/beam/heavylaser projectile_type = /obj/item/projectile/beam/heavylaser/cannon
charge_cost = 400 max_shots = 1
max_shots = 6 fire_delay = 30
fire_delay = 20
// requires_two_hands = 1 // requires_two_hands = 1
one_handed_penalty = 6 // The thing's heavy and huge. one_handed_penalty = 6 // The thing's heavy and huge.
accuracy = 2 accuracy = 3
self_recharge = 1
recharge_time = 60
/obj/item/weapon/gun/energy/lasercannon/mounted /obj/item/weapon/gun/energy/lasercannon/mounted
name = "mounted laser cannon" name = "mounted laser cannon"
@@ -83,6 +85,10 @@ obj/item/weapon/gun/energy/retro
recharge_time = 10 recharge_time = 10
accuracy = 0 // Mounted cannons are just fine the way they are. accuracy = 0 // Mounted cannons are just fine the way they are.
requires_two_hands = 0 // Not sure if two-handing gets checked for mounted weapons, but better safe than sorry. requires_two_hands = 0 // Not sure if two-handing gets checked for mounted weapons, but better safe than sorry.
projectile_type = /obj/item/projectile/beam/heavylaser
charge_cost = 400
max_shots = 6
fire_delay = 20
/obj/item/weapon/gun/energy/xray /obj/item/weapon/gun/energy/xray
name = "xray laser gun" name = "xray laser gun"

View File

@@ -10,15 +10,14 @@
slot_flags = SLOT_BACK slot_flags = SLOT_BACK
origin_tech = list(TECH_COMBAT = 8, TECH_MATERIAL = 2, TECH_ILLEGAL = 8) origin_tech = list(TECH_COMBAT = 8, TECH_MATERIAL = 2, TECH_ILLEGAL = 8)
caliber = "14.5mm" caliber = "14.5mm"
recoil = 3 //extra kickback recoil = 5 //extra kickback
fire_sound = 'sound/weapons/sniper.ogg' // extra boom fire_sound = 'sound/weapons/sniper.ogg' // extra boom
handle_casings = HOLD_CASINGS handle_casings = HOLD_CASINGS
load_method = SINGLE_CASING load_method = SINGLE_CASING
max_shells = 1 max_shells = 1
ammo_type = /obj/item/ammo_casing/a145 ammo_type = /obj/item/ammo_casing/a145
//+2 accuracy over the LWAP because only one shot accuracy = -5
accuracy = -1 scoped_accuracy = 5
scoped_accuracy = 2
var/bolt_open = 0 var/bolt_open = 0
/obj/item/weapon/gun/projectile/heavysniper/update_icon() /obj/item/weapon/gun/projectile/heavysniper/update_icon()

View File

@@ -42,6 +42,10 @@
tracer_type = /obj/effect/projectile/laser_heavy/tracer tracer_type = /obj/effect/projectile/laser_heavy/tracer
impact_type = /obj/effect/projectile/laser_heavy/impact impact_type = /obj/effect/projectile/laser_heavy/impact
/obj/item/projectile/beam/heavylaser/cannon
damage = 90
armor_penetration = 100
/obj/item/projectile/beam/xray /obj/item/projectile/beam/xray
name = "xray beam" name = "xray beam"
icon_state = "xray" icon_state = "xray"