Skip to content

Commit

Permalink
WY Security Skills & Engineer (#6214)
Browse files Browse the repository at this point in the history
# About the pull request
Finally gives WY Goons their own skill set rather than using MP/CMP
skills. Also gives them an engineer preset. (This won't spawn normally
at the moment, but can be used in events without needing to tinker so
much w/ skills.

# Explain why it's good for the game
Makes events using goons more flexible, and addresses the weirdness of
the skills due to being CMP based for WY lead


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
add: Added skillsets specific to WY Goons.
add: Added a WY Goon Engineer preset.
/:cl:
  • Loading branch information
realforest2001 authored May 3, 2024
1 parent 69d1e80 commit 9585741
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 2 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ GLOBAL_LIST_INIT(job_command_roles, JOB_COMMAND_ROLES_LIST)

//-------- WY Goons --------//
#define JOB_WY_GOON "WY Corporate Security"
#define JOB_WY_GOON_TECH "WY Corporate Security Technician"
#define JOB_WY_GOON_LEAD "WY Corporate Security Lead"
#define JOB_WY_GOON_RESEARCHER "WY Research Consultant"

Expand Down
36 changes: 36 additions & 0 deletions code/datums/skills/wygoons.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/datum/skills/wy_goon
name = "Corporate Security"
skills = list(
SKILL_CQC = SKILL_CQC_SKILLED,
SKILL_POLICE = SKILL_POLICE_SKILLED,
SKILL_FIREMAN = SKILL_FIREMAN_SKILLED,
SKILL_ENDURANCE = SKILL_ENDURANCE_TRAINED,
SKILL_MELEE_WEAPONS = SKILL_MELEE_TRAINED,
)

/datum/skills/wy_goon_tech
name = "Corporate Security Support Technician"
skills = list(
SKILL_CQC = SKILL_CQC_SKILLED,
SKILL_POLICE = SKILL_POLICE_SKILLED,
SKILL_FIREMAN = SKILL_FIREMAN_TRAINED,
SKILL_ENDURANCE = SKILL_ENDURANCE_TRAINED,
SKILL_MELEE_WEAPONS = SKILL_MELEE_TRAINED,
SKILL_MEDICAL = SKILL_MEDICAL_TRAINED,
SKILL_CONSTRUCTION = SKILL_CONSTRUCTION_ENGI,
SKILL_ENGINEER = SKILL_ENGINEER_ENGI,
)

/datum/skills/wy_goon_lead
name = "Corporate Security Leader"
skills = list(
SKILL_CQC = SKILL_CQC_SKILLED,
SKILL_POLICE = SKILL_POLICE_SKILLED,
SKILL_FIREMAN = SKILL_FIREMAN_SKILLED,
SKILL_ENDURANCE = SKILL_ENDURANCE_TRAINED,
SKILL_MELEE_WEAPONS = SKILL_MELEE_TRAINED,
SKILL_MEDICAL = SKILL_MEDICAL_TRAINED,
SKILL_CONSTRUCTION = SKILL_CONSTRUCTION_ENGI,
SKILL_ENGINEER = SKILL_ENGINEER_ENGI,
SKILL_LEADERSHIP = SKILL_LEAD_TRAINED,
)
38 changes: 36 additions & 2 deletions code/modules/gear_presets/wy_goons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
assignment = JOB_WY_GOON
rank = JOB_WY_GOON
paygrade = PAY_SHORT_CPO
skills = /datum/skills/MP
skills = /datum/skills/wy_goon

/datum/equipment_preset/goon/standard/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress/WY, WEAR_L_EAR)
Expand All @@ -88,14 +88,48 @@
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/ap, WEAR_IN_BACK)


/datum/equipment_preset/goon/engineer
name = "Weyland-Yutani Corporate Security Technician (Goon Engineer)"
flags = EQUIPMENT_PRESET_EXTRA

assignment = JOB_WY_GOON_TECH
rank = JOB_WY_GOON_TECH
paygrade = PAY_SHORT_CPO
skills = /datum/skills/wy_goon_tech

/datum/equipment_preset/goon/engineer/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress/WY, WEAR_L_EAR)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/pmc/corporate, WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/marine/veteran/pmc/light/corporate, WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/gloves/marine/veteran, WEAR_HANDS)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/helmet/marine/veteran/pmc/corporate, WEAR_HEAD)
new_human.equip_to_slot_or_del(new /obj/item/clothing/glasses/welding, WEAR_EYES)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/marine/corporate, WEAR_FEET)

new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/marine/engineerpack/ert, WEAR_BACK)
new_human.equip_to_slot_or_del(new /obj/item/weapon/baton, WEAR_IN_BACK)
new_human.equip_to_slot_or_del(new /obj/item/handcuffs/zip, WEAR_IN_BACK)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle, WEAR_IN_BACK)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle, WEAR_IN_BACK)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle, WEAR_IN_BACK)

new_human.equip_to_slot_or_del(new /obj/item/storage/belt/utility/full, WEAR_WAIST)
new_human.equip_to_slot_or_del(new /obj/item/storage/pouch/firstaid/full, WEAR_R_STORE)
new_human.equip_to_slot_or_del(new /obj/item/storage/pouch/construction/full, WEAR_L_STORE)

new_human.equip_to_slot_or_del(new /obj/item/weapon/gun/rifle/m41a/corporate, WEAR_J_STORE)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/ap, WEAR_IN_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/ap, WEAR_IN_JACKET)


/datum/equipment_preset/goon/lead
name = "Weyland-Yutani Corporate Security Lead (Goon Lead)"
flags = EQUIPMENT_PRESET_EXTRA

assignment = JOB_WY_GOON_LEAD
rank = JOB_WY_GOON_LEAD
paygrade = PAY_SHORT_CSPO
skills = /datum/skills/MP
skills = /datum/skills/wy_goon_lead

/datum/equipment_preset/goon/lead/New()
. = ..()
Expand Down
1 change: 1 addition & 0 deletions colonialmarines.dme
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@
#include "code\datums\skills\synthetic.dm"
#include "code\datums\skills\upp.dm"
#include "code\datums\skills\uscm.dm"
#include "code\datums\skills\wygoons.dm"
#include "code\datums\stamina\_stamina.dm"
#include "code\datums\stamina\none.dm"
#include "code\datums\statistics\cause_data.dm"
Expand Down

0 comments on commit 9585741

Please sign in to comment.