From ca131caa100ced0bf595843c41b1cefb96251519 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 22 May 2018 11:27:48 -0400 Subject: [PATCH] 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 --- code/modules/clothing/clothing.dm | 4 +-- .../under/accessories/accessory_vr.dm | 13 ++++++++++ .../clothing/under/accessories/holster.dm | 12 ++++++--- .../modules/vore/fluffstuff/custom_guns_vr.dm | 23 ++++++++++++++++++ icons/mob/ties_vr.dmi | Bin 0 -> 297 bytes icons/obj/clothing/ties_vr.dmi | Bin 0 -> 469 bytes .../southern_cross/structures/closets/misc.dm | 7 +++--- maps/tether/tether_things.dm | 2 ++ 8 files changed, 52 insertions(+), 9 deletions(-) create mode 100644 icons/mob/ties_vr.dmi create mode 100644 icons/obj/clothing/ties_vr.dmi diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index dd5528be07..f0c7d86710 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -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' diff --git a/code/modules/clothing/under/accessories/accessory_vr.dm b/code/modules/clothing/under/accessories/accessory_vr.dm index ba1a4f3b17..7077089b7b 100644 --- a/code/modules/clothing/under/accessories/accessory_vr.dm +++ b/code/modules/clothing/under/accessories/accessory_vr.dm @@ -177,3 +177,16 @@ to_chat(user,"You set the [name]'s tag to '[str]'.") 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' diff --git a/code/modules/clothing/under/accessories/holster.dm b/code/modules/clothing/under/accessories/holster.dm index b97ae6fc3f..62720d655f 100644 --- a/code/modules/clothing/under/accessories/holster.dm +++ b/code/modules/clothing/under/accessories/holster.dm @@ -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 << "There is already \a [holstered] holstered here!" return + //VOREStation Edit - Machete sheath support + if (can_hold) + if(!is_type_in_list(I,can_hold)) + to_chat(user, "[I] won't fit in [src]!") + return - if (!(I.slot_flags & SLOT_HOLSTER)) + else if (!(I.slot_flags & SLOT_HOLSTER)) user << "[I] won't fit in [src]!" return @@ -38,8 +44,8 @@ else if(user.a_intent == I_HURT) usr.visible_message( - "[user] draws \the [holstered], ready to shoot!", - "You draw \the [holstered], ready to shoot!" + "[user] draws \the [holstered], ready to go!", //VOREStation Edit + "You draw \the [holstered], ready to go!" //VOREStation Edit ) else user.visible_message( diff --git a/code/modules/vore/fluffstuff/custom_guns_vr.dm b/code/modules/vore/fluffstuff/custom_guns_vr.dm index af03934ffc..c79fae576f 100644 --- a/code/modules/vore/fluffstuff/custom_guns_vr.dm +++ b/code/modules/vore/fluffstuff/custom_guns_vr.dm @@ -804,3 +804,26 @@ to_chat(user, "The safety device prevents the gun from firing this close to the facility.") 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() diff --git a/icons/mob/ties_vr.dmi b/icons/mob/ties_vr.dmi new file mode 100644 index 0000000000000000000000000000000000000000..2dec9f37812241c530a0e351ae98b53b1588579d GIT binary patch literal 297 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0L3?#3!&-4XSJOMr-t_KbrkP={(7iNo$jC8bP zZUc%lmIV0)GdMiEkp|?HRE0#8xTF>*7iAWdWaj5FFjUM54l5`s{r)Am;N#aPTHd-^ z=gyoD-VkbV(fGk5o%24LCmD)*dUseD2N_>B_EMPhXws2MAqv5o%J$25sBG1+GdHwU z-l`JX*=?-4d4zopr0Me^sNB{r; literal 0 HcmV?d00001 diff --git a/icons/obj/clothing/ties_vr.dmi b/icons/obj/clothing/ties_vr.dmi new file mode 100644 index 0000000000000000000000000000000000000000..d2ba4a097117faeabc3061216786864805771446 GIT binary patch literal 469 zcmV;`0V@89P)