Jump to content

TC

Vintarian
  • Posts

    4
  • Joined

  • Last visited

TC's Achievements

Wolf Bait

Wolf Bait (1/9)

0

Reputation

  1. The mod DB has categories for describing mods (for example, "food" or "worldgen"). I believe that the following two items should be added to the list of available categories. Bugfix (Core) - For mods which fix bugs in the core game. Bugfix (Other Mod) - For mods which fix bugs in another mod.
  2. I've got other priorities and won't be making this mod myself, but in case someone else wants to pick it up, the respawn code is stored in the ServerMain class in VintageStoryLib.dll. VintageStoryLib does not have any source code available (as far as I'm aware). To make a mod that does this, you'll need to create a Harmony Patch which transpiles that method to intercepts access to ServerMain.SaveGameData.DefaultSpawn and replaces it with the location the player died at. (Edit) It might be easier to create a trigger when the player dies, which sets the global spawn position to the place where they died. However, that would have side-effects: the global spawn position is the coordinate origin - so (if you're playing with coordinates on), your coordinates will be relative to your last death location, with your body at (0 <y> 0). Additionally, if a new player joins in multiplayer, the new player would appear nearby to wherever the last death was.
  3. This mod is now available: https://mods.vintagestory.at/smoothdigestion
  4. I had very similar thoughts, and actually made a mod that does most of what you're asking for my own server. The features are: Fixes three bugs that caused hunger to pause or be consumed unpredictably: Eating a flax grain after taking starvation damage pauses hunger for a whole day · Issue #5516 · anegostudios/VintageStory-Issues (I suspect this is what you're referring to by the "hunger buffer" being unpredictable. The actual non-buggy hunger buffer rarely lasts longer than 20 seconds) Server hunger modifiers are applied twice. · Issue #5518 · anegostudios/VintageStory-Issues Sprinting consumes less satiety while damaged than at full health · Issue #5519 · anegostudios/VintageStory-Issues Adds a server command to set a player's maximum satiety Note: Maximum satiety is tied to maximum nutrition - so setting maximum satiety to 3000 also increases the nutrition levels to 3000. Nutrition consumption scales with current nutrition value, so a higher maximum satiety makes it harder to maintain high nutrition. Adds additional configuration values that allow server admins to tweak the hunger system (for example, changing the amount that sprinting increases hunger, or how quickly nutrition is gained/used relative to satiety). It's not quite ready to be posted on the mod DB (to be honest, I wasn't even sure that anyone besides me even wanted this), but I'll let you know when it's available.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.