Skip to content

EMU v1.1.0

Latest
Compare
Choose a tag to compare
@GoosiferIO GoosiferIO released this 21 Mar 06:31
· 2 commits to main since this release

Features

Scripting has been expanded to entity and entity type operations. This means we can create scripts that edit the current state of scenery currently placed on the map. Currently limited to most scenery and buildings; animals, guests, and staff will be for another update.

For a full overview of all Lua functions available on this update, please see:

  • World Manager API. Provides utility functions to obtain entity and entity types from the world state.
  • UI General API. Provides utility functions to obtain entity and entity types from player actions, namely selecting entities like buildings.
  • Entity API. Functions that let you operate on entities currently on the map.
  • Entity Types API. Functions that let you operate on entity templates. Think of these as parent classes to entities.
  • Game Manager API. Operate on the current zoo state, such as budget, pause, devmode flag, etc.

Considerations

  • Temporarily disabled _setZooRating, _setAnimalRating, _setGuestRating from the Game Manager API while we figure out a way to re-implement them instead. They're a bit problematic to hook because they're essentially a live calculation and setting a value is limited to a persistent loop to keep the value there.
  • Removed unnecessary console commands not useful for the development of the project. For an up-to-date list, check out EMU Console Commands
  • Game Manager API function names have been updated to camel case to stick to a consistent style across the project.

Documentation

Better documentation now available for this project if you'd wish to learn how to script Zoo Tycoon 1 using EMU API. Visit Zooberry Docs:

Discord

We now have a Discord. Join us here: Discord