Added intllib support (en/de)

This commit is contained in:
TenPlus1
2016-06-11 11:14:08 +01:00
parent 23ffc0d0da
commit 09a6592f69
12 changed files with 182 additions and 38 deletions

View File

@ -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")