Merge pull request #527 from TheFurryFeline/TFF-Prybars_in_Emergency_Boxes

Prybars in Emergency Boxes
This commit is contained in:
Vollybally
2019-03-13 16:36:38 -04:00
committed by GitHub
4 changed files with 38 additions and 1 deletions
@@ -57,6 +57,7 @@
desc = "A survival box issued to crew members for use in emergency situations."
starts_with = list(
/obj/item/clothing/glasses/goggles, //VOREStation Add - Goggles for the phoron atmosphere,
/obj/item/weapon/prybar/red, //TFF: Ports prybar addition from VOREStation,
/obj/item/clothing/mask/breath
)
@@ -64,7 +65,8 @@
name = "synthetic supply box"
desc = "A survival box issued to synthetic crew members for use in emergency situations."
starts_with = list(
/obj/item/clothing/glasses/goggles //VOREStation Add - Goggles for the phoron atmosphere,
/obj/item/clothing/glasses/goggles, //VOREStation Add - Goggles for the phoron atmosphere,
/obj/item/weapon/prybar/red //TFF: Ports prybar addition from VOREStation,
)
/obj/item/weapon/storage/box/survival/comp
@@ -73,6 +75,7 @@
icon_state = "survival"
starts_with = list(
/obj/item/clothing/glasses/goggles, //VOREStation Add - Goggles for the phoron atmosphere,
/obj/item/weapon/prybar/red, //TFF: Ports prybar addition from VOREStation,
/obj/item/weapon/reagent_containers/hypospray/autoinjector,
/obj/item/stack/medical/bruise_pack,
/obj/item/device/flashlight/glowstick,
+29
View File
@@ -978,6 +978,35 @@
user.put_in_active_hand(counterpart)
to_chat(user, "<span class='notice'>You attach the cutting jaws to [src].</span>")
//TFF: Add new tool, prybar, ported from VOREStation.
/obj/item/weapon/prybar
name = "pry bar"
desc = "A steel bar with a wedge, designed specifically for opening unpowered doors in an emergency. It comes in a variety of configurations - collect them all!"
icon = 'icons/obj/tools_vr.dmi'
icon_state = "prybar"
flags = CONDUCT
slot_flags = SLOT_BELT
force = 4
throwforce = 5
pry = 1
item_state = "crowbar"
w_class = ITEMSIZE_SMALL
origin_tech = list(TECH_ENGINEERING = 1)
matter = list(DEFAULT_WALL_MATERIAL = 30)
attack_verb = list("whapped", "smacked", "swatted", "thwacked", "hit")
usesound = 'sound/items/crowbar.ogg'
toolspeed = 1
var/random_color = TRUE
/obj/item/weapon/prybar/red
icon_state = "prybar_red"
item_state = "crowbar_red"
random_color = FALSE
/obj/item/weapon/prybar/New()
if(random_color)
icon_state = "prybar[pick("","_green","_aubergine","_blue")]"
. = ..()
/*/obj/item/weapon/combitool
name = "combi-tool"