From 703e59819ca25dbff0860b6e26893c7b1482fcf3 Mon Sep 17 00:00:00 2001 From: SatinIsle <98125273+SatinIsle@users.noreply.github.com> Date: Thu, 16 Jan 2025 21:01:08 +0000 Subject: [PATCH] Lose some weight, fatty (#16913) Changed fitness machines and structures to actually help you lose weight other than rapidly draining your nutrition. Machine types have had their weight loss multiplied by 10 so they no longer take 80 or 40 uses to lose 1lb. Structure types previously had no weight loss attached, they now have similar amounts to the machine types. --- code/game/objects/structures/fitness.dm | 4 ++++ code/modules/vore/weight/fitness_machines_vr.dm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/fitness.dm b/code/game/objects/structures/fitness.dm index 096b495bd12..40ad9645279 100644 --- a/code/game/objects/structures/fitness.dm +++ b/code/game/objects/structures/fitness.dm @@ -2,6 +2,7 @@ icon = 'icons/obj/stationobjs.dmi' anchored = TRUE var/being_used = 0 + var/weightloss_power = 1 /obj/structure/fitness/punchingbag name = "punching bag" @@ -23,6 +24,7 @@ playsound(src, 'sound/effects/woodhit.ogg', 25, 1, -1) user.do_attack_animation(src) user.nutrition = user.nutrition - 5 + user.weight -= 0.25 * weightloss_power * (0.01 * user.weight_loss) to_chat(user, span_warning("You [pick(hit_message)] \the [src].")) /obj/structure/fitness/weightlifter @@ -59,6 +61,8 @@ if(do_after(user, 20 + (weight * 10))) playsound(src, 'sound/effects/weightdrop.ogg', 25, 1) user.adjust_nutrition(weight * -10) + var/weightloss_enhanced = weightloss_power * (weight * 0.5) + user.weight -= 0.25 * weightloss_enhanced * (0.01 * user.weight_loss) to_chat(user, span_notice("You lift the weights [qualifiers[weight]].")) being_used = 0 else diff --git a/code/modules/vore/weight/fitness_machines_vr.dm b/code/modules/vore/weight/fitness_machines_vr.dm index 83462efdcac..f33e0a8646f 100644 --- a/code/modules/vore/weight/fitness_machines_vr.dm +++ b/code/modules/vore/weight/fitness_machines_vr.dm @@ -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.25 * weightloss_power * (0.01 * user.weight_loss) flick("[icon_state]2", src) var/message = pick(messages) to_chat(user, span_notice("[message]."))