Skip to content

Commit

Permalink
Merge pull request #36 from coficoficofi/DONT-UNDO-MY-CHANGES-KITTEN
Browse files Browse the repository at this point in the history
RE-re-adds Devout Follower and Colorblind
  • Loading branch information
GeneralPantsuIsBadAtCoding authored Aug 8, 2024
2 parents 091a8db + 4e073d5 commit a1a6aed
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/datums/character_flaw/_character_flaw.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

GLOBAL_LIST_INIT(character_flaws, list(
"Alcoholic"=/datum/charflaw/addiction/alcoholic,
"Devout Follower"=/datum/charflaw/addiction/godfearing,
"Colorblind"=/datum/charflaw/colorblind,
"Smoker"=/datum/charflaw/addiction/smoker,
"Junkie"=/datum/charflaw/addiction/junkie,
"Greedy"=/datum/charflaw/greedy,
Expand Down Expand Up @@ -210,6 +212,14 @@ GLOBAL_LIST_INIT(character_flaws, list(
head?.add_wound(/datum/wound/facial/eyes/left/permanent)
H.update_fov_angles()

/datum/charflaw/colorblind
name = "Colorblind"
desc = "I was cursed with flawed eyesight from birth, and can't discern things others can."

/datum/charflaw/colorblind/on_mob_creation(mob/user)
..()
user.add_client_colour(/datum/client_colour/monochrome)

/datum/charflaw/greedy
name = "Greedy"
desc = "I can't get enough of mammons, I need more and more! I've also become good at knowing how much things are worth"
Expand Down
8 changes: 8 additions & 0 deletions code/datums/character_flaw/addiction.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,11 @@
desc = "I need to smoke something to take the edge off."
time = 40 MINUTES
needsate_text = "Time for a flavorful smoke."

/// GOD-FEARING

/datum/charflaw/addiction/godfearing
name = "Devout Follower"
desc = "I need to pray to my Patron, their blessings are stronger."
time = 40 MINUTES
needsate_text = "Time to pray to my Patron."
2 changes: 2 additions & 0 deletions code/game/objects/structures/fluff.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,8 @@
L.IgniteMob()
return FALSE
if(length(message2recognize) > 15)
if(L.has_flaw(/datum/charflaw/addiction/godfearing))
L.sate_addiction()
if(L.mob_timers[MT_PSYPRAY])
if(world.time < L.mob_timers[MT_PSYPRAY] + 1 MINUTES)
L.mob_timers[MT_PSYPRAY] = world.time
Expand Down
4 changes: 4 additions & 0 deletions code/modules/paperwork/rogue.dm
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@
return
if(signed)
return
if(M.has_flaw(/datum/charflaw/addiction/godfearing))
M.add_stress(/datum/stressevent/confessedgood)
else
M.add_stress(/datum/stressevent/confessed)
M.add_stress(/datum/stressevent/confessed)
signed = M.real_name
info = "THE GUILTY PARTY ADMITS THEIR SIN AND THE WEAKENING OF PSYDON'S HOLY FLOCK. THEY WILL REPENT AND SUBMIT TO ANY PUNISHMENT THE CLERGY DEEMS APPROPRIATE, OR BE RELEASED IMMEDIATELY. LET THIS RECORD OF THEIR SIN WEIGH ON THE ANGEL GABRIEL'S JUDGEMENT AT THE MANY-SPIKED GATES OF HEAVEN.<br/><br/>SIGNED,<br/><font color='red'>[signed]</font>"

0 comments on commit a1a6aed

Please sign in to comment.