questlines-denizens-1.6.0.jar
What's new
QuestLines Denizens – Version 1.6.0
━━━━━━━━━━━━━━━━━━━━━━
🔌 Compatibility
• Supports Hytale Update 6 and Update 7 - one jar runs on both.
🆕 Features
• Modded model variants - Denizens wearing a model with variants, like Alec's Cats, now keep the same coat and eyes on every spawn, and new Variants rows on the Appearance tab let you pick them, including variants that never come up at random.
• Disable a Denizen without deleting it - tick Disabled on the INFO tab and it despawns and stays off across restarts with its whole setup kept, until you untick it. Disabled Denizens show as [DISABLED] in the list, and temporary clones of one still spawn, so it can serve as a template.
• Worker hunger and fatigue (off by default) - workers get hungry and tired as they work, eat from a pantry chest and rest at a bed, and stop as HUNGRY or TIRED if they have neither. /denizen inspect shows the meters.
• The Create screen has a Variants box too, so a new Denizen on a model with variants starts with the coat and eyes you picked, and the preview shows them.
• Job types added by other plugins show in the editor's job Type list.
⌨ Commands
• /denizen disable [name] and /denizen enable [name] switch a Denizen off and back on (defaults to your wand selection).
🐛 Fixes
• A Denizen created with a player skin role but a non-player model (such as an Alec's Cats cat) no longer gets a player skin stamped on it, which rendered it broken. The skin is kept for if the model is changed back.
• A patrolling, wandering or scheduled Denizen now picks its route back up when a script releases it or a stop / moveTo / patrol command ends, instead of standing still for good.
• Travelling Denizens no longer camp on one player - a visited player goes on cooldown and is not picked again while someone else is eligible.
• A travelling Denizen stuck in a pit no longer hops forever - it climbs out to the surface, and after a few failed hops gives up on that player and leaves.
• Tearing down a world (such as a finished vault run) no longer logs a 'Store is shutdown!' warning from the map marker check.
🧪 API
• DenizensAPI.setDisabled(id, disabled) and isDisabled(id).
• Other plugins can add their own job types with DenizensAPI.registerExternalJob - the worker walks to a spot the plugin picks and keeps working it for as long as the plugin says.
• DenizensAPI getNeeds, setNeeds, setPantry and setBed; job events HUNGRY, TIRED, FED and RESTED; getJobStatus reads HUNGRY or TIRED.
• DenizensAPI getExtension(id, namespace, key), getExtensionValues(id, namespace) and setExtension(id, namespace, key, value) keep single values for an addon, and awaitApi runs code as soon as the API is up.
• DenizensAPI getHome, setHome, returnHome and isReturningHome - read or move a Denizen's home (saved, no respawn), or walk it back home and turn it to its saved facing. One stuck on the way is respawned at home. QuestLines scripts' home and sethome verbs use these.
Support Development
If you would like to help support development:
https://ko-fi.com/redstoner
https://www.patreon.com/c/RedStoner_Pro
This mod has no additional files