1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-02 23:00:22 +02:00

Use new intllib API.

This commit is contained in:
Diego Martínez
2017-01-24 17:43:20 -03:00
parent bb06cfd6f6
commit 0d3da0c328
24 changed files with 410 additions and 329 deletions

View File

@ -135,7 +135,7 @@ homedecor.register("telephone", {
"homedecor_telephone_cord.png",
},
inventory_image = "homedecor_telephone_inv.png",
description = "Telephone",
description = S("Telephone"),
groups = {snappy=3},
selection_box = tel_cbox,
walkable = false,
@ -149,9 +149,9 @@ minetest.register_abm({
chance = 15,
action = function(pos, node)
minetest.sound_play("homedecor_telephone_ringing", {
pos = pos,
gain = 1.0,
max_hear_distance = 5
})
pos = pos,
gain = 1.0,
max_hear_distance = 5
})
end
})