Skip to content

Commit

Permalink
Merge pull request #56 from wewman222/main
Browse files Browse the repository at this point in the history
Fixes!
  • Loading branch information
TheGreatKitsune authored Oct 31, 2024
2 parents 6be5833 + 6d4d110 commit 1d19e70
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 58 deletions.
8 changes: 8 additions & 0 deletions code/__DEFINES/roguetown.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
/datum/species/halforc,\
/datum/species/kobold,\
/datum/species/goblinp,\
/datum/species/anthromacro,\
/datum/species/demimacro,\
)

#define RACES_RESPECTED \
Expand Down Expand Up @@ -101,6 +103,8 @@
/datum/species/halforc,\
/datum/species/kobold,\
/datum/species/goblinp,\
/datum/species/anthromacro,\
/datum/species/demimacro,\
)
// Non-dwarf non-kobold non-goblin mostly
#define NON_DWARVEN_RACE_TYPES list(\
Expand All @@ -120,6 +124,8 @@
/datum/species/anthromorph,\
/datum/species/demihuman,\
/datum/species/halforc,\
/datum/species/anthromacro,\
/datum/species/demimacro,\
)
// Non-elf non-dwarf non-kobold non-goblin mostly
#define HUMANLIKE_RACE_TYPES list(\
Expand All @@ -135,6 +141,8 @@
/datum/species/dracon,\
/datum/species/anthromorph,\
/datum/species/demihuman,\
/datum/species/anthromacro,\
/datum/species/demimacro,\
)
#define ALL_CLERIC_PATRONS list(/datum/patron/divine/astrata, /datum/patron/divine/noc, /datum/patron/divine/dendor, /datum/patron/divine/necra, /datum/patron/divine/pestra, /datum/patron/divine/eora)

Expand Down
19 changes: 0 additions & 19 deletions code/modules/jobs/job_types/roguetown/adventurer/adventurer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,6 @@ GLOBAL_VAR_INIT(adventurer_hugbox_duration_still, 3 MINUTES)
H.advsetup = 1
H.invisibility = INVISIBILITY_MAXIMUM
H.become_blind("advsetup")
if(H.dna?.species)
if(isanthrom(H))
H.change_stat("strength", 8)
H.change_stat("constitution", 8)
H.change_stat("endurance", 8)
H.change_stat("speed", -8)
H.change_stat("speed", -4)
H.transform = H.transform.Scale(2.25, 2.25)
H.transform = H.transform.Translate(0, (0.25 * 16))
H.update_transform()
if(isdemim(H))
H.change_stat("strength", 8)
H.change_stat("constitution", 8)
H.change_stat("endurance", 8)
H.change_stat("speed", -8)
H.change_stat("speed", -4)
H.transform = H.transform.Scale(2.25, 2.25)
H.transform = H.transform.Translate(0, (0.25 * 16))
H.update_transform()

if(GLOB.adventurer_hugbox_duration)
///FOR SOME RETARDED FUCKING REASON THIS REFUSED TO WORK WITHOUT A FUCKING TIMER IT JUST FUCKED SHIT UP
Expand Down
20 changes: 0 additions & 20 deletions code/modules/jobs/job_types/roguetown/adventurer/pilgrim.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,6 @@
H.advsetup = 1
H.invisibility = INVISIBILITY_MAXIMUM
H.become_blind("advsetup")
if(H.dna?.species)
if(isanthrom(H))
H.change_stat("strength", 8)
H.change_stat("constitution", 8)
H.change_stat("endurance", 8)
H.change_stat("speed", -8)
H.change_stat("speed", -4)
H.transform = H.transform.Scale(2.25, 2.25)
H.transform = H.transform.Translate(0, (0.25 * 16))
H.update_transform()
if(isdemim(H))
H.change_stat("strength", 8)
H.change_stat("constitution", 8)
H.change_stat("endurance", 8)
H.change_stat("speed", -8)
H.change_stat("speed", -4)
H.transform = H.transform.Scale(2.25, 2.25)
H.transform = H.transform.Translate(0, (0.25 * 16))
H.update_transform()

if(GLOB.adventurer_hugbox_duration)
///FOR SOME RETARDED FUCKING REASON THIS REFUSED TO WORK WITHOUT A FUCKING TIMER IT JUST FUCKED SHIT UP
addtimer(CALLBACK(H, TYPE_PROC_REF(/mob/living/carbon/human, adv_hugboxing_start)), 1)
20 changes: 1 addition & 19 deletions code/modules/jobs/job_types/roguetown/adventurer/villager.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,7 @@
H.advsetup = 1
H.invisibility = INVISIBILITY_MAXIMUM
H.become_blind("advsetup")
if(H.dna?.species)
if(isanthrom(H))
H.change_stat("strength", 8)
H.change_stat("constitution", 8)
H.change_stat("endurance", 8)
H.change_stat("speed", -8)
H.change_stat("speed", -4)
H.transform = H.transform.Scale(2.25, 2.25)
H.transform = H.transform.Translate(0, (0.25 * 16))
H.update_transform()
if(isdemim(H))
H.change_stat("strength", 8)
H.change_stat("constitution", 8)
H.change_stat("endurance", 8)
H.change_stat("speed", -8)
H.change_stat("speed", -4)
H.transform = H.transform.Scale(2.25, 2.25)
H.transform = H.transform.Translate(0, (0.25 * 16))
H.update_transform()


/*
/datum/job/roguetown/adventurer/villager/New()
Expand Down
19 changes: 19 additions & 0 deletions code/modules/jobs/job_types/roguetown/roguetown.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,25 @@

/datum/outfit/job/roguetown/pre_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
. = ..()
if(H.dna?.species)
if(isanthrom(H))
H.change_stat("strength", 8)
H.change_stat("constitution", 8)
H.change_stat("endurance", 8)
H.change_stat("speed", -8)
H.change_stat("speed", -4)
H.transform = H.transform.Scale(2.25, 2.25)
H.transform = H.transform.Translate(0, (0.25 * 16))
H.update_transform()
if(isdemim(H))
H.change_stat("strength", 8)
H.change_stat("constitution", 8)
H.change_stat("endurance", 8)
H.change_stat("speed", -8)
H.change_stat("speed", -4)
H.transform = H.transform.Scale(2.25, 2.25)
H.transform = H.transform.Translate(0, (0.25 * 16))
H.update_transform()
var/datum/patron/old_patron = H.patron
if(length(allowed_patrons) && (!old_patron || !(old_patron.type in allowed_patrons)))
var/list/datum/patron/possiblegods = list()
Expand Down

0 comments on commit 1d19e70

Please sign in to comment.