mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Tweak weight loss variables (#7141)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user