summaryrefslogtreecommitdiff
path: root/kitten.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 /kitten.lua
parent23ffc0d0da463ec75de50a1e2b16da2075d4b2b7 (diff)
Added intllib support (en/de)
Diffstat (limited to 'kitten.lua')
-rw-r--r--kitten.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/kitten.lua b/kitten.lua
index 401ffe5..499ce77 100644
--- a/kitten.lua
+++ b/kitten.lua
@@ -1,4 +1,6 @@
+local S = mobs.intllib
+
-- Kitten by Jordach / BFD
mobs:register_mob("mobs_animal:kitten", {
@@ -53,7 +55,7 @@ mobs:register_mob("mobs_animal:kitten", {
mobs:register_spawn("mobs_animal:kitten",
{"default:dirt_with_grass", "ethereal:grove_dirt"}, 20, 12, 22000, 1, 31000, true)
-mobs:register_egg("mobs_animal:kitten", "Kitten", "mobs_kitten_inv.png", 0)
+mobs:register_egg("mobs_animal:kitten", S("Kitten"), "mobs_kitten_inv.png", 0)
-- compatibility
mobs:alias_mob("mobs:kitten", "mobs_animal:kitten")