Project Zomboid

Project Zomboid

StatsAPI
Showing 11-20 of 20 entries
< 1  >
Update: 26 Aug, 2023 @ 2:23pm

0.4.5
API changes
  • addMoodle now accepts an optional translationId and descIdentifier if these are different from the internal id/each other. This is mostly for vanilla compatibility: it's still best to keep these consistent when possible
Bug fixes
  • Fix inability to sleep inside vehicles
  • Fix some vanilla moodle names/descriptions not displaying correctly
Other
  • Performance improvements

Update: 9 Aug, 2023 @ 2:57pm

0.4.4
  • Fixed first bored moodle being replaced by the second
  • Fixed unhappiness increasing while asleep
  • Fixed a regression where panic traits were not actually applied

Update: 3 Aug, 2023 @ 12:53am

0.4.3
  • Fixed a bug where stress from cigarettes did not affect the moodle

Update: 1 Aug, 2023 @ 9:56pm

0.4.2
  • Updated the bundled Accessible Fields, fixing a strange mod incompatibility issue

Update: 30 Jul, 2023 @ 7:33am

0.4.1
Bug Fixes
  • Fix autodrink draining all of the water in your inventory instantly without restoring any thirst


Other
  • Update Accessible Fields to the latest version, fixes a harmless error thrown when parsing ArrayList

Update: 29 Jul, 2023 @ 3:23am

0.4.0
This update completely refactors the codebase, including a file rename, which might cause issues until reinstalling the mod. For this reason, this is likely the last time file names will be changed.

New Features
  • Moodles have been completely reimplemented, with API functions to create them and set their levels.
  • OverTimeEffects allow adding a stat gradually over a set finite period.
  • New modules for Boredom and Sadness (unhappyness)
  • New CarryWeight module to modify the player's inventory space
  • Reimplemented sleep delay (the delay until the player actually starts regaining fatigue while sleeping.) Previously this was overlooked.
  • Reimplemented most of the code around starting sleep.
  • Expanded ModChanges to thirst and hunger, and added the option to provide a function instead of a number. (by Diakon5)

API Changes
  • The modules are no longer exposed through the API. This is mainly to reinforce the separation between the API itself and the implementing code - while the API is meant to be kept stable as much as possible, the modules make no such promise and code reliant on their structure could be broken by future updates to the API.

Other
  • Full restructuring of the codebase. The newer codebase should be far more performant.
  • Added Accessible Fields - not as a dependency but bundled together to avoid the API having dependencies. It was necessary to have a performant method of accessing fields to reimplement some of the new functionality

Bug Fixes
  • Fixed errors related to fatigue while sleeping
  • Fixed awake fatigue modifiers from traits not actually being applied
  • Fixed rapidly gaining stress while using the Smoker trait
  • Fixed well-fed/not well-fed hunger increase while sleeping being inverted

Update: 6 Jul, 2023 @ 11:28pm

0.3.0
This update refactors some of the codebase. You might have issues until you reinstall the mod from scratch. Sorry to do this, but it's best for the future of the API if this can be done while it has very few subscribers.
  • Added Panic module
  • Add Stress change over time API calls. These will be extended to all stats in v0.4.0.
  • Removed boredom handling, as it was actually based on dead code U_U
  • Relevant Vanilla traits are now implemented using the API, and can be disabled.
  • Fixed some documentation errors

Update: 2 Jul, 2023 @ 3:37pm

0.2.1
  • Hotfix for the new stress module spamming errors
  • Add missing in-game poster

Update: 2 Jul, 2023 @ 3:30pm

0.2.0
  • Added some API functions to control stress, and reorganised its code to be a little easier to hook
  • Fixed a bug that caused sleep to never end 😨

Update: 2 Jul, 2023 @ 1:13am

0.1.0
Initial upload