mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
## About The Pull Request Hunger bar is now dynamic rather than 4 static sprites Hunger bar now accounts for food you have yet to metabolize, meaning it updates as you eat https://github.com/user-attachments/assets/06269da7-f07d-4738-98b2-ca6bde8ba0fe Other changes: - Adds a hunger tier between hungry and starving ## Why It's Good For The Game Overeating happens so often simply because this bar is trash, so let's give it some love ## Changelog 🆑 Melbert fix: All humans no longer have a baseline "75" ghost nutrition (which means you can eat more) qol: Hunger bar update! It's now dynamic and updates as you eat. qol: Adds a hunger tier between hungry and starving (for mood) /🆑
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
// living_flags
|
|
/// Simple mob trait, indicating it may follow continuous move actions controlled by code instead of by user input.
|
|
#define MOVES_ON_ITS_OWN (1<<0)
|
|
/// Always does *deathgasp when they die
|
|
/// If unset mobs will only deathgasp if supplied a death sound or custom death message
|
|
#define ALWAYS_DEATHGASP (1<<1)
|
|
/**
|
|
* For carbons, this stops bodypart overlays being added to bodyparts from calling mob.update_body_parts().
|
|
* This is useful for situations like initialization or species changes, where
|
|
* update_body_parts() is going to be called ONE time once everything is done.
|
|
*/
|
|
#define STOP_OVERLAY_UPDATE_BODY_PARTS (1<<2)
|
|
/// Nutrition changed last life tick, so we should bulk update this tick
|
|
#define QUEUE_NUTRITION_UPDATE (1<<3)
|
|
|
|
/// Getter for a mob/living's lying angle, otherwise protected
|
|
#define GET_LYING_ANGLE(mob) (UNLINT(mob.lying_angle))
|
|
|
|
// Used in living mob offset list for determining pixel offsets
|
|
#define PIXEL_W_OFFSET "w"
|
|
#define PIXEL_X_OFFSET "x"
|
|
#define PIXEL_Y_OFFSET "y"
|
|
#define PIXEL_Z_OFFSET "z"
|