Tweak weight loss variables (#7141)

This commit is contained in:
purplefoxy27
2023-10-31 13:51:13 -07:00
committed by GitHub
parent e916754c52
commit 0a671fa8d6
2 changed files with 2 additions and 2 deletions

View File

@@ -38,5 +38,5 @@
#define MIN_MOB_WEIGHT 70
#define MAX_MOB_WEIGHT 500
#define MIN_NUTRITION_TO_GAIN 450 // Above this amount you will gain weight
#define MAX_NUTRITION_TO_LOSE 50 // Below this amount you will lose weight
#define MAX_NUTRITION_TO_LOSE 150 // Below this amount you will lose weight //CHOMPEdit Making weight loss mechanically more accessible
// #define WEIGHT_PER_NUTRITION 0.0285 // Tuned so 1050 (nutrition for average mob) = 30 lbs

View File

@@ -21,7 +21,7 @@
else //If they have enough nutrition and body weight, they can exercise.
user.setClickCooldown(cooldown)
user.adjust_nutrition(-10 * weightloss_power)
user.weight -= 0.025 * weightloss_power * (0.01 * user.weight_loss)
user.weight -= 0.1 * weightloss_power * (0.01 * user.weight_loss) //CHOMPEdit Making weight loss mechanically more accessible
flick("[icon_state]2", src)
var/message = pick(messages)
to_chat(user, "<span class='notice'>[message].</span>")