A general-purpose mobs mod for minetest based on behavior trees.

Izzy bce6663d18 items, 5 vuotta sitten
behaviors 9db4f7af6a big nasty function to find flat areas 6 vuotta sitten
models cb03d9b5de add models from other mob mods. 7 vuotta sitten
scripts df48ed3aab tower script 6 vuotta sitten
sounds 35a60019a1 initial commit 9 vuotta sitten
textures cb03d9b5de add models from other mob mods. 7 vuotta sitten
.gitignore 87ad5d3e55 Initial commit 9 vuotta sitten
LICENSE 87ad5d3e55 Initial commit 9 vuotta sitten
README.md 768f3e633b Update README.md 7 vuotta sitten
api.lua 7e50b30d80 beginning to sort out a huge mess 6 vuotta sitten
api_fast.lua bce6663d18 items, 5 vuotta sitten
behavior.lua 6141061131 more entities, more scripts 6 vuotta sitten
depends.txt 35a60019a1 initial commit 9 vuotta sitten
entities.lua bce6663d18 items, 5 vuotta sitten
giant.lua a7838485dc split out animal step fn 6 vuotta sitten
init.lua bce6663d18 items, 5 vuotta sitten
items.lua bce6663d18 items, 5 vuotta sitten
license.txt 35a60019a1 initial commit 9 vuotta sitten
simple_api.lua 7e50b30d80 beginning to sort out a huge mess 6 vuotta sitten
spawner.lua eb8bbfab12 reasonably working basic step function 6 vuotta sitten
spawning.lua db0afa6a4c death and drops, 5 vuotta sitten

README.md

minetest_mobehavior

A general-purpose mobs mod based on behavior trees. This is the active fork of my minetest_giants mod. Work on the giants mod will resume after this mod is stable and reasonably complete.

Based on Mobs (Redo) by PilzAdam, KrupnovPavel, Zeg9 and TenPlus1 https://forum.minetest.net/viewtopic.php?f=9&t=9917

Usage

See http://gamasutra.com/blogs/ChrisSimpson/20140717/221339/Behavior_trees_for_AI_How_they_work.php for details of how behavior trees work

Control Nodes

  • Sequence
  • Selector
  • Priority
  • Repeat
  • UntilSuccess
  • UntilFail
  • Invert
  • Fail
  • Succeed