New Explorer Gear

- Adds a new defensive exploration weapon intended for use by rear-line explorers, such as SARs and Pilots
- Ported Machete Sheath from Baystation, intended to be used with the machetes here
NOTE: I intended them to not be usable alongside holsters, but I am not sure how to go about this
- Explorer lockers will now come with a survival knife, machete, and machete sheath
This commit is contained in:
Unknown
2018-05-22 11:27:48 -04:00
parent 5f41dca7dc
commit ca131caa10
8 changed files with 52 additions and 9 deletions
+2 -2
View File
@@ -632,8 +632,8 @@
//convenience var for defining the icon state for the overlay used when the clothing is worn.
//Also used by rolling/unrolling.
var/worn_state = null
valid_accessory_slots = list("utility","armband","decor","over")
restricted_accessory_slots = list("utility", "armband")
valid_accessory_slots = list("utility","armband","machete","decor","over") //VOREStation Edit - Adds Machete Sheath
restricted_accessory_slots = list("utility", "armband", "machete") //VOREStation Edit - Adds Machete Sheath
var/icon/rolled_down_icon = 'icons/mob/uniform_rolled_down.dmi'
var/icon/rolled_down_sleeves_icon = 'icons/mob/uniform_sleeves_rolled.dmi'
@@ -177,3 +177,16 @@
to_chat(user,"<span class='notice'>You set the [name]'s tag to '[str]'.</span>")
name = initial(name) + " ([str])"
desc = initial(desc) + " The tag says \"[str]\"."
//Machete Holsters
/obj/item/clothing/accessory/holster/machete
name = "machete sheath"
desc = "A handsome synthetic leather sheath with matching belt."
icon = 'icons/obj/clothing/ties_vr.dmi'
icon_override = 'icons/mob/ties_vr.dmi'
icon_state = "holster_machete"
slot = "machete"
concealed_holster = 0
can_hold = list(/obj/item/weapon/material/knife/machete)
//sound_in = 'sound/effects/holster/sheathin.ogg'
//sound_out = 'sound/effects/holster/sheathout.ogg'
@@ -3,6 +3,7 @@
desc = "A handgun holster."
icon_state = "holster"
slot = "utility"
var/list/can_hold //VOREStation Edit
concealed_holster = 1
var/obj/item/holstered = null
@@ -10,8 +11,13 @@
if(holstered && istype(user))
user << "<span class='warning'>There is already \a [holstered] holstered here!</span>"
return
//VOREStation Edit - Machete sheath support
if (can_hold)
if(!is_type_in_list(I,can_hold))
to_chat(user, "<span class='warning'>[I] won't fit in [src]!</span>")
return
if (!(I.slot_flags & SLOT_HOLSTER))
else if (!(I.slot_flags & SLOT_HOLSTER))
user << "<span class='warning'>[I] won't fit in [src]!</span>"
return
@@ -38,8 +44,8 @@
else
if(user.a_intent == I_HURT)
usr.visible_message(
"<span class='danger'>[user] draws \the [holstered], ready to shoot!</span>",
"<span class='warning'>You draw \the [holstered], ready to shoot!</span>"
"<span class='danger'>[user] draws \the [holstered], ready to go!</span>", //VOREStation Edit
"<span class='warning'>You draw \the [holstered], ready to go!</span>" //VOREStation Edit
)
else
user.visible_message(
@@ -804,3 +804,26 @@
to_chat(user, "<span class='warning'>The safety device prevents the gun from firing this close to the facility.</span>")
return 0
return ..()
//Expeditionary Holdout Phaser
/obj/item/weapon/gun/energy/frontier/locked/holdout
name = "holdout frontier phaser"
desc = "A recently introduced weapon intended for self defense by expeditionary support. It includes the same crank charger as the frontier phaser."
icon = 'icons/obj/gun_vr.dmi'
icon_state = "PDW"
item_state = "gun"
w_class = ITEMSIZE_SMALL
firemodes = list(
list(mode_name="normal", fire_delay=12, projectile_type=/obj/item/projectile/beam, charge_cost = 1200),
list(mode_name="low-power", fire_delay=8, projectile_type=/obj/item/projectile/beam/weaklaser, charge_cost = 240),
)
/obj/item/weapon/gun/energy/frontier/locked/holdout/proc/update_mode()
var/datum/firemode/current_mode = firemodes[sel_mode]
switch(current_mode.name)
if("low-power") overlays += "taser_pdw"
if("normal") overlays += "lazer_pdw"
/obj/item/weapon/gun/energy/frontier/locked/holdout/update_icon()
overlays.Cut()
update_mode()
Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

@@ -61,10 +61,9 @@
new /obj/item/weapon/storage/backpack(src)
else
new /obj/item/weapon/storage/backpack/satchel/norm(src)
if(prob(75))
new /obj/item/weapon/material/knife/tacknife/survival(src)
else
new /obj/item/weapon/material/knife/machete(src)
new /obj/item/weapon/material/knife/tacknife/survival(src) //VOREStation Edit
new /obj/item/weapon/material/knife/machete(src) //VOREStation Edit
new /obj/item/clothing/accessory/holster/machete(src) //VOREStation Edit
new /obj/item/clothing/under/explorer(src)
new /obj/item/clothing/suit/storage/hooded/explorer(src)
new /obj/item/clothing/mask/gas/explorer(src)
+2
View File
@@ -396,6 +396,8 @@ var/global/list/latejoin_tram = list()
..()
for(var/i = 1 to 4)
new /obj/item/weapon/gun/energy/frontier/locked(src)
for(var/i = 1 to 4)
new /obj/item/weapon/gun/energy/frontier/locked/holdout(src)
// Underdark mob spawners
/obj/tether_away_spawner/underdark_normal