forked from Bubberstation/Bubberstation
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
22
modular_zzplurt/code/datums/quirks/negative_quirks/overweight.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters