fix descriptions

master
Martin Doege 2015-04-26 20:46:28 +02:00
parent 83ea25a24b
commit 6a7a53c815
2 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,5 @@
minetest.register_node("fake_fire:fake_fire", {
description = "fake_fire",
description = "Fake Fire",
tiles = {
{name="fake_fire_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1.5}},
},
@ -23,7 +23,7 @@ minetest.register_node("fake_fire:fake_fire", {
end
})
minetest.register_craftitem("fake_fire:old_flint_and_steel", {
description = "Never ending flint and steel",
description = "Never ending Flint and Steel",
inventory_image = "flint_and_steel.png",
stack_max = 1,
liquids_pointable = false,
@ -57,7 +57,7 @@ end
-- the flint and steel --
minetest.register_tool("fake_fire:flint_and_steel", {
description = "Flint and steel",
description = "Flint and Steel",
inventory_image = "flint_and_steel.png",
liquids_pointable = false,
stack_max = 1,

View File

@ -14,11 +14,15 @@ local lightstone_rules = {
{x=0, y=-1, z=0},
}
function firstToUpper(str)
return (str:gsub("^%l", string.upper))
end
function mesecon.lightstone_add(name, base_item, texture_off, texture_on)
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_off", {
tiles = {texture_off},
groups = {cracky=2, mesecon_effector_off = 1, mesecon = 2},
description=name.." Lightstone",
description=firstToUpper(name.." Lightstone"),
sounds = default.node_sound_stone_defaults(),
mesecons = {effector = {
rules = lightstone_rules,