Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PR] Implements a limit to how much can be eaten at once.
#1
Information 
PULL REQUEST DETAILS




[BALANCE] [CATERING] [INPUT WANTED] [STATUS EFFECT] [EXPERIMENTAL]

About the PR
This pr adds in a system for tracking how much mobs have eaten. in this pr, if a mob takes 11 bites (about the equivalent of 2 hamburgers) of food, they'll become "full", meaning eating any more while full will result in damage to the stomach, eventually killing the stomach. This damage is only applied to the stomach if they aren't a mob critter, so the mobs themselves won't take any direct damage from over-eating, except mob critters, which will take direct damage due to not having a stomach.

They are 2 status effects tied in with this system, a "recently eaten" status effect, and a "over-eaten" status effect. Upon the status effects expiring, the mob's bite count is reset to 0, allowing them to eat more without taking stomach damage. I've made the over-eaten status effect take longer to expire to disincentive over-eating even more. If this is deemed more appropriate for rp, I can change some things to restrict this to rp.


Why's this needed?
Currently, it is possible for a staffie to come to the kitchen and gobble up all of the chef's food in a minute. This will prevent the chef's hard work from being devoured by a single person, and also give more use to the stomach cyber organ, which currently does very little. This also allows for ways to alter the mobs stomach capacity in future prs, such as some antags having higher/lower capacities, or organ types changing capacity


Changelog



Code:
changelog
(u)Wisemonster
(*)There is now a limit on how much a mob can eat at a time, check minor changes for details
(+)You can only eat around 11 bites of food before the next bite will make you "over-eaten", if you eat more while in this state, you will damage your stomach.
(+)Waiting out the "recently eaten" and "over-eaten" status effects will reset you eat count.


PULL REQUEST DETAILS
Reply


Messages In This Thread
[PR] Implements a limit to how much can be eaten at once. - by github_bot - 04-01-2023, 09:23 AM
RE: [PR] Eating changes - by Ikea - 04-01-2023, 10:22 AM
RE: [PR] Eating changes - by Wisemonster - 04-01-2023, 11:55 AM
RE: [PR] Eating changes - by Lord_earthfire - 04-01-2023, 01:10 PM
RE: [PR] Eating changes - by Wisemonster - 04-01-2023, 01:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)