Fixes and corrections.
This commit is contained in:
parent
2e1ff65dd3
commit
1b7ed6f2d9
@ -25,7 +25,7 @@ barchairs.register_moreblocks = true<br>
|
|||||||
barchairs.register_cool_trees = true<br>
|
barchairs.register_cool_trees = true<br>
|
||||||
|
|
||||||
Barchairs 1.3 or higher have changed (fixed) the variable barchair to barchairs.<br>
|
Barchairs 1.3 or higher have changed (fixed) the variable barchair to barchairs.<br>
|
||||||
To convert the old barchairs, enable the option: <br>
|
If you have unknown Barchairs in your world then enable the following option:<br>
|
||||||
|
|
||||||
barchairs.convert_old = true
|
barchairs.convert_old = true
|
||||||
|
|
||||||
|
10
init.lua
10
init.lua
@ -112,7 +112,7 @@ function barchairs.register_barchair(mod, mat, burnvalue)
|
|||||||
|
|
||||||
-- Barchair
|
-- Barchair
|
||||||
minetest.register_node(":" .. barchairs.modname .. ":barchairs_plain_" .. mod .. "_" .. mat, {
|
minetest.register_node(":" .. barchairs.modname .. ":barchairs_plain_" .. mod .. "_" .. mat, {
|
||||||
description = S("Barchair plain ") .. mod .. mat,
|
description = S("Barchair plain ") .. mod .. ":".. mat,
|
||||||
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
@ -168,7 +168,7 @@ function barchairs.register_barchair(mod, mat, burnvalue)
|
|||||||
|
|
||||||
-- Bar Front
|
-- Bar Front
|
||||||
minetest.register_node(":" .. barchairs.modname .. ":bar_front_" .. mod .. "_" .. mat, {
|
minetest.register_node(":" .. barchairs.modname .. ":bar_front_" .. mod .. "_" .. mat, {
|
||||||
description = S("Bar front ") .. mod .. "_" .. mat,
|
description = S("Bar front ") .. mod .. ":" .. mat,
|
||||||
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
@ -215,7 +215,7 @@ function barchairs.register_barchair(mod, mat, burnvalue)
|
|||||||
|
|
||||||
-- Bar Corner left
|
-- Bar Corner left
|
||||||
minetest.register_node(":" .. barchairs.modname .. ":bar_corner_left_" .. mod .. "_" .. mat, {
|
minetest.register_node(":" .. barchairs.modname .. ":bar_corner_left_" .. mod .. "_" .. mat, {
|
||||||
description = S("Bar corner left ") .. mod .. "_" .. mat,
|
description = S("Bar corner left ") .. mod .. ":" .. mat,
|
||||||
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
@ -263,7 +263,7 @@ function barchairs.register_barchair(mod, mat, burnvalue)
|
|||||||
|
|
||||||
-- Bar Corner right
|
-- Bar Corner right
|
||||||
minetest.register_node(":" .. barchairs.modname .. ":bar_corner_right_" .. mod .. "_" .. mat, {
|
minetest.register_node(":" .. barchairs.modname .. ":bar_corner_right_" .. mod .. "_" .. mat, {
|
||||||
description = S("Bar corner right ") .. mod .. "_" .. mat,
|
description = S("Bar corner right ") .. mod .. ":" .. mat,
|
||||||
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
@ -311,7 +311,7 @@ function barchairs.register_barchair(mod, mat, burnvalue)
|
|||||||
|
|
||||||
-- Bar Side
|
-- Bar Side
|
||||||
minetest.register_node(":" .. barchairs.modname .. ":bar_side_" .. mod .. "_" .. mat, {
|
minetest.register_node(":" .. barchairs.modname .. ":bar_side_" .. mod .. "_" .. mat, {
|
||||||
description = S("Bar side ") .. mod .. "_" .. mat,
|
description = S("Bar side ") .. mod .. ":" .. mat,
|
||||||
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
tiles = minetest.registered_nodes[mod .. ":" .. mat].tiles,
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user