Skip to content

Commit

Permalink
Fixes specialist set refunding (#7024)
Browse files Browse the repository at this point in the history
# About the pull request
Forgot to add one var to specialist set datums. This broke refunding
specialist sets

# Changelog
:cl:
fix: Specialists cryoing now refunds their sets correctly.
/:cl:
  • Loading branch information
Zonespace27 committed Aug 25, 2024
1 parent b926d26 commit 1b297a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/modules/cm_marines/specialist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
name = "Demolitionist Set"
role_name = "Demo"
skill_to_give = SKILL_SPEC_ROCKET
trait_to_give = "demo"
kit_typepath = /obj/item/storage/box/spec/demolitionist

/datum/specialist_set/sadar/redeem_set(mob/living/redeemer, kit)
Expand All @@ -146,6 +147,7 @@
name = "Scout Set"
role_name = "Scout"
skill_to_give = SKILL_SPEC_SCOUT
trait_to_give = "scout"
kit_typepath = /obj/item/storage/box/spec/scout

/datum/specialist_set/scout/redeem_set(mob/living/redeemer, kit)
Expand All @@ -161,6 +163,7 @@
name = "Sniper Set"
role_name = "Sniper"
skill_to_give = SKILL_SPEC_SNIPER
trait_to_give = "sniper"
kit_typepath = /obj/item/storage/box/spec/sniper
incompatible_sets = list(
/datum/specialist_set/anti_mat_sniper,
Expand All @@ -170,6 +173,7 @@
name = "Anti-Materiel Sniper Set"
role_name = "Heavy Sniper"
skill_to_give = SKILL_SPEC_SNIPER
trait_to_give = "antimat_sniper"
kit_typepath = /obj/item/storage/box/spec/sniper/anti_materiel
incompatible_sets = list(
/datum/specialist_set/sniper,
Expand All @@ -179,10 +183,12 @@
name = "Heavy Grenadier Set"
role_name = "Grenadier"
skill_to_give = SKILL_SPEC_GRENADIER
trait_to_give = "grenadier"
kit_typepath = /obj/item/storage/box/spec/heavy_grenadier

/datum/specialist_set/pyro
name = "Pyro Set"
role_name = "Pyro"
skill_to_give = SKILL_SPEC_PYRO
trait_to_give = "pyro"
kit_typepath = /obj/item/storage/box/spec/pyro

0 comments on commit 1b297a9

Please sign in to comment.