summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-01-12 19:18:48 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-01-12 19:18:48 +0000
commit4bf4d42b07940f77f7333d94d3c0fcf93e5e5511 (patch)
treeb4b8bca16c762ca509bc6657cd330b2fdaf267f8 /api.txt
parent5751d98ab0c4e184099dc9da49100b78f0c616b7 (diff)
added multiple blood textures
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/api.txt b/api.txt
index c42e5bb..f27bb00 100644
--- a/api.txt
+++ b/api.txt
@@ -61,7 +61,8 @@ This functions registers a new mob as a Minetest entity.
'immune_to' table holding special tool/item names and damage the incur e.g.
{"default:sword_wood", 0}, {"default:gold_lump", -10} immune to sword, gold lump heals
'blood_amount' number of droplets that appear when hit
- 'blood_texture' texture of blood droplets (default: "mobs_blood.png")
+ 'blood_texture' texture of blood droplets (default: "mobs_blood.png") can be table with multiple textures also e.g. {"mobs_blood.png", "mobs_blood2.png"}
+
'drops' is list of tables with the following fields:
'name' itemname e.g. default:stone
'chance' the inverted chance (same as in abm) to get the item