Skip to content

Commit

Permalink
Rebalance weight quirks
Browse files Browse the repository at this point in the history
- Changes Overweight to a neutral quirk
- Adds trait for Overweight
- Adds roundstart nutrition to Overweight
- Removes permanent slowdown effect from Overweight
- Reduces value of Obese from -6 to -4
  • Loading branch information
LeDrascol committed Nov 7, 2024
1 parent 90b042b commit c50e4d0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/~~~splurt_defines/traits/declarations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@
#define TRAIT_CONCUBUS "concubus"
#define TRAIT_MODULAR_LIMBS "modular_limbs"
#define TRAIT_VACUUM_RESIST "vacuum_resist"
#define TRAIT_OVERWEIGHT "overweight"
3 changes: 3 additions & 0 deletions modular_zzplurt/code/datums/quirks/negative_quirks/obese.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Permanent version of Overweight quirk
/datum/quirk/obese
value = -4
22 changes: 22 additions & 0 deletions modular_zzplurt/code/datums/quirks/negative_quirks/overweight.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Re-implemented here to match old server
/datum/quirk/overweight
desc = "You're particularly fond of food, and join the shift being overweight."
value = 0
gain_text = span_notice("You're feeling a bit chubby this shift!")
lose_text = span_notice("Your weight returns to an average level.")
mob_trait = TRAIT_OVERWEIGHT

/datum/quirk/overweight/add()
// Set nutrition value
quirk_holder.nutrition = rand(NUTRITION_LEVEL_FAT + NUTRITION_LEVEL_START_MIN, NUTRITION_LEVEL_FAT + NUTRITION_LEVEL_START_MAX)

// Set overeat duration
quirk_holder.overeatduration = 300 SECONDS

// Add fat trait
ADD_TRAIT(quirk_holder, TRAIT_FAT, OBESITY)

// Speed multiplier granted by this quirk
// Disabled because this is a neutral quirk
/datum/movespeed_modifier/overweight
multiplicative_slowdown = 0 // Previously 0.5
2 changes: 2 additions & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -9398,6 +9398,8 @@
#include "modular_zzplurt\code\datums\mutations\body.dm"
#include "modular_zzplurt\code\datums\quirks\negative_quirks\bad_touch.dm"
#include "modular_zzplurt\code\datums\quirks\negative_quirks\dumb_for_cum.dm"
#include "modular_zzplurt\code\datums\quirks\negative_quirks\obese.dm"
#include "modular_zzplurt\code\datums\quirks\negative_quirks\overweight.dm"
#include "modular_zzplurt\code\datums\quirks\negative_quirks\thirsty.dm"
#include "modular_zzplurt\code\datums\quirks\neutral_quirks\choke_slut.dm"
#include "modular_zzplurt\code\datums\quirks\neutral_quirks\concubus.dm"
Expand Down

0 comments on commit c50e4d0

Please sign in to comment.