8 stable releases

1.0.7 Jul 29, 2021
1.0.6 Mar 3, 2021
1.0.5 Feb 25, 2021

#462 in Game dev

Download history 2/week @ 2024-02-25 6/week @ 2024-03-10 87/week @ 2024-03-31

93 downloads per month

Custom license

455KB
7.5K SLoC

Zara Survival Engine

MIT License API Minimum rustc version

Zara logo

Full-featured Zara Survival Engine rewritten from scratch in Rust.

Visit wiki for detailed technical info and getting started.
Visit github to see demo app.

Description

Zara will be useful for you if you want your game to have weather-aware health control with ton of intertwined parameters, sleeping, fatigue, diseases, injuries (cuts, fractures), food, water, inventory with crafting, clothes with different water/cold resistance levels and more.

Features

  • Health engine with support for diseases, injuries (cuts, fractures, etc.), their treatment (with pills, injections and/or appliances)
  • Ability to affect vitals based on any imaginable condition (weather, health, clothes, inventory,...)
  • Inventory with crafting (any number of items in a crafting recipe)
  • Support for weather (temperature, wind speed, rain intensity) and player status (running, walking, swimming and so on)
  • Water, food, pills, injections
  • Clothes with different water- and cold-resistances; body appliances (like bandages)
  • Warmth and wetness levels built-in
  • Sleep mechanics; fatigue mechanics
  • Dozen of vital parameters like heart rate, blood pressure, oxygen, food, water levels and more
  • Game events support
  • Every complex entity can be constructed using simple fluent interface
  • Medical agents, side effects, inventory monitors (to control spoiling for example), disease monitors
  • Number of built-in side effects like running effects, underwater effects and such

Saving and restoring engine state is supported. More on this here.

Dependencies

~310KB