Skip to content

Commit

Permalink
Merge pull request #34 from Stutternov/quick-fix
Browse files Browse the repository at this point in the history
Fixes Guard Skill Stacks + Hairstyle Issue
  • Loading branch information
GeneralPantsuIsBadAtCoding authored Aug 7, 2024
2 parents a3a764a + fd05e46 commit c8b94c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
11 changes: 3 additions & 8 deletions code/modules/jobs/job_types/roguetown/garrison/manorguard.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
index = H.real_name
S.name = "man-at-arms jupon ([index])"

/datum/outfit/job/roguetown/manorguard/pre_equip(mob/living/carbon/human/H)
. = ..()
/datum/outfit/job/roguetown/manorguard
pants = /obj/item/clothing/under/roguetown/chainlegs
cloak = /obj/item/clothing/cloak/stabard/surcoat/guard
wrists = /obj/item/clothing/wrists/roguetown/bracers
Expand All @@ -49,12 +48,6 @@
beltl = /obj/item/keyring/guardcastle
belt = /obj/item/storage/belt/rogue/leather/black
backr = /obj/item/storage/backpack/rogue/satchel/black
if(H.gender == FEMALE)
var/acceptable = list("Tomboy", "Bob", "Curly Short")
if(!(H.hairstyle in acceptable))
H.hairstyle = pick(acceptable)
H.update_hair()
H.verbs |= /mob/proc/haltyell

// Maces + Axes + Shield - Better armor, typical Man-at-Arms loadout
/datum/advclass/manorguard/footsman
Expand Down Expand Up @@ -103,6 +96,7 @@
backl = /obj/item/rogueweapon/spear/billhook

backpack_contents = list(/obj/item/rogueweapon/huntingknife/idagger/steel/special = 1, /obj/item/rope/chain = 1)
H.verbs |= /mob/proc/haltyell

// Shield + Swords + Crossbow/Bow - Lighter armor, but ranged + sword skill in exchange for it.
/datum/advclass/manorguard/boltman
Expand Down Expand Up @@ -151,3 +145,4 @@
backl = /obj/item/gun/ballistic/revolver/grenadelauncher/crossbow

backpack_contents = list(/obj/item/rogueweapon/huntingknife/idagger/steel/special = 1, /obj/item/rope/chain = 1)
H.verbs |= /mob/proc/haltyell
11 changes: 3 additions & 8 deletions code/modules/jobs/job_types/roguetown/garrison/townguard.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
index = H.real_name
S.name = "watchman tabard ([index])"

/datum/outfit/job/roguetown/guardsman/pre_equip(mob/living/carbon/human/H)
. = ..()
/datum/outfit/job/roguetown/guardsman
pants = /obj/item/clothing/under/roguetown/chainlegs
cloak = /obj/item/clothing/cloak/stabard/guard
shirt = /obj/item/clothing/suit/roguetown/armor/gambeson
Expand All @@ -48,12 +47,6 @@
belt = /obj/item/storage/belt/rogue/leather/black
wrists = /obj/item/clothing/wrists/roguetown/bracers //Would seperate to leather bracers for archer for dodge but - funnily, armor class doesn't exist on bracers.
backr = /obj/item/storage/backpack/rogue/satchel/black
if(H.gender == FEMALE)
var/acceptable = list("Tomboy", "Bob", "Curly Short")
if(!(H.hairstyle in acceptable))
H.hairstyle = pick(acceptable)
H.update_hair()
H.verbs |= /mob/proc/haltyell

/*Design philosophy: Men and women from various areas of life, from hunters to street-brawlers and more 'veteran' levy-men. Know less skills overall than Bog, but far more specialized.
Footsman is basically a regular foots-soldier with gear to combat criminals, specializes in maces, polearms, and decent flail/sword training.
Expand Down Expand Up @@ -99,6 +92,7 @@ Archer is basically a 'bounty-catcher' in function, less specialized at close-qu
belt = /obj/item/storage/belt/rogue/leather/black
gloves = /obj/item/clothing/gloves/roguetown/leather
backpack_contents = list(/obj/item/rogueweapon/huntingknife/idagger/steel = 1, /obj/item/rope/chain = 1)
H.verbs |= /mob/proc/haltyell

/datum/advclass/watchman/archer
name = "Watch Archer"
Expand Down Expand Up @@ -142,6 +136,7 @@ Archer is basically a 'bounty-catcher' in function, less specialized at close-qu
belt = /obj/item/storage/belt/rogue/leather/black
gloves = /obj/item/clothing/gloves/roguetown/leather
backpack_contents = list(/obj/item/rogueweapon/huntingknife/idagger/steel = 1, /obj/item/rope/chain = 1)
H.verbs |= /mob/proc/haltyell

/mob/proc/haltyell()
set name = "HALT!"
Expand Down
3 changes: 1 addition & 2 deletions code/modules/jobs/job_types/roguetown/nobility/knight.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
H.real_name = "[honorary] [prev_real_name]"
H.name = "[honorary] [prev_name]"

/datum/outfit/job/roguetown/knight/pre_equip(mob/living/carbon/human/H)
..()
/datum/outfit/job/roguetown/knight
head = /obj/item/clothing/head/roguetown/helmet/bascinet/pigface
pants = /obj/item/clothing/under/roguetown/chainlegs
cloak = /obj/item/clothing/cloak/stabard/surcoat/guard
Expand Down

0 comments on commit c8b94c1

Please sign in to comment.