summaryrefslogtreecommitdiff
path: root/bunny.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-06-11 11:14:08 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-06-11 11:14:08 +0100
commit09a6592f69bffc77c2ad873893323d759496a48a (patch)
treedd7ae36d9f1c81ccaa1e1442b1ea67bbb14d7e56 /bunny.lua
parent23ffc0d0da463ec75de50a1e2b16da2075d4b2b7 (diff)
Added intllib support (en/de)
Diffstat (limited to 'bunny.lua')
-rw-r--r--bunny.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/bunny.lua b/bunny.lua
index d1519a5..ea2ad2f 100644
--- a/bunny.lua
+++ b/bunny.lua
@@ -1,4 +1,6 @@
+local S = mobs.intllib
+
-- Bunny by ExeterDad
mobs:register_mob("mobs_animal:bunny", {
@@ -81,7 +83,7 @@ mobs:register_mob("mobs_animal:bunny", {
mobs:register_spawn("mobs_animal:bunny",
{"default:dirt_with_grass", "ethereal:prairie_dirt"}, 20, 10, 15000, 2, 31000, true)
-mobs:register_egg("mobs_animal:bunny", "Bunny", "mobs_bunny_inv.png", 0)
+mobs:register_egg("mobs_animal:bunny", S("Bunny"), "mobs_bunny_inv.png", 0)
-- compatibility
mobs:alias_mob("mobs:bunny", "mobs_animal:bunny")