summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-09-26 14:03:22 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-09-26 14:03:22 +0100
commit5df8e9054e19b318ae17efca07555d8de4dbaf73 (patch)
tree363d3f80830012b0b4e52c880ac0cd733678e94c /api.lua
parentd5822b3e0b9d2d070254f026ed349131fc6dfe58 (diff)
added self.texture_list for mod makers
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index e65ce7c..58b950e 100644
--- a/api.lua
+++ b/api.lua
@@ -1,5 +1,5 @@
--- Mobs Api (5th September 2016)
+-- Mobs Api (26th September 2016)
mobs = {}
mobs.mod = "redo"
@@ -2333,6 +2333,7 @@ minetest.register_entity(name, {
health = 0,
reach = def.reach or 3,
htimer = 0,
+ texture_list = def.textures,
child_texture = def.child_texture,
docile_by_day = def.docile_by_day or false,
time_of_day = 0.5,