From 817ec5efaf1904275d5462a9ee4a6b329b58531c Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Wed, 19 Sep 2012 17:19:47 +0200 Subject: [PATCH] Little changes in README --- README.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.txt b/README.txt index 3273b9d..6b4579a 100644 --- a/README.txt +++ b/README.txt @@ -52,16 +52,16 @@ This mod add some functions that you can use in other mods: This adds a animal to Minetest that will just walk arround "name" is the name of the monster ("[modname]:[animalname]") "def" is the same table as in register_monster but without these values: - view_range - run_velocity - damage - light_resistant - armor - and it also has the field - on_rightclick: its same as in minetest.register_entity() + -view_range + -run_velocity + -damage + -light_resistant + -armor + and it also has the field + -on_rightclick: its same as in minetest.register_entity() 3. mobs:register_spawn(name, nodes, max_light, min_light) This function adds the spawning of an animal (without it the - registered animals and monster wont spawn!) + registered animals and monster won't spawn!) "name" is the name of the animal/monster "nodes" is a list of nodenames on that the animal/monster can spawn "max_light" is the maximum of light