Merge pull request #10657 from TheDavestDave/phaser-handbow

adds the phaser handbow
This commit is contained in:
Novacat
2021-06-17 15:49:27 -04:00
committed by Chompstation Bot
parent 443447ba5f
commit fafe1bc65c
4 changed files with 50 additions and 2 deletions

View File

@@ -8,3 +8,13 @@
containertype = /obj/structure/closet/crate/secure
containername = "frontier phaser crate"
access = access_explorer
/datum/supply_pack/munitions/expeditionbows
name = "Frontier bows (station-locked) crate"
contains = list(
/obj/item/weapon/gun/energy/locked/frontier/handbow=2
)
cost = 20
containertype = /obj/structure/closet/crate/secure
containername = "frontier phaser crate"
access = access_explorer

View File

@@ -358,3 +358,27 @@
req_access = newlist() //for toggling safety
locked = 0
lockable = 0
///phaser bow///
/obj/item/weapon/gun/energy/locked/frontier/handbow
name = "phaser handbow"
desc = "An minaturized weapon that fires a bolt of engery. Includes a built-in crank charger for recharging away from civilization. This one has a safety interlock that prevents firing while in proximity to the facility."
icon = 'icons/obj/gun_vr.dmi'
icon_state = "handbowkill"
item_state = null
phase_power = 100
w_class = ITEMSIZE_SMALL
charge_cost = 600
modifystate = "handbowkill"
firemodes = list(
list(mode_name="lethal", fire_delay=12, projectile_type=/obj/item/projectile/energy/bolt/heavy, modifystate="handbowkill", charge_cost = 600),
list(mode_name="low-power", fire_delay=8, projectile_type=/obj/item/projectile/energy/bolt, modifystate="handbowstun", charge_cost = 160),
)
/obj/item/weapon/gun/energy/locked/frontier/holdout/unlocked
desc = "An minaturized weapon that fires a bolt of engery. Includes a built-in crank charger for recharging away from civilization."
req_access = newlist() //for toggling safety
locked = 0
lockable = 0

View File

@@ -9,3 +9,17 @@
/obj/item/projectile/energy/flash/flare
flash_range = 2
/obj/item/projectile/energy/bolt
name = "engergy bolt"
icon_state = "cbbolt"
damage = 20
/obj/item/projectile/energy/bolt/heavy
damage = 30
icon_state = "cbbolt"
/obj/item/projectile/energy/bolt/stun
name = "stun bolt"
agony = 30

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 58 KiB