Compare commits
5 Commits
f093050c76
...
d6192dda67
Author | SHA1 | Date |
---|---|---|
ancientmarinerdev | d6192dda67 | |
PrairieWind | e2963f88a7 | |
ancientmarinerdev | 11b371a107 | |
PrairieWind | 5071a7c789 | |
PrairieWind | 0903ac60e4 |
|
@ -93,41 +93,41 @@ mcl_signs.build_signs_info()
|
||||||
-- ---------------------------- --
|
-- ---------------------------- --
|
||||||
|
|
||||||
-- Standard (original) Sign
|
-- Standard (original) Sign
|
||||||
mcl_signs.register_sign("mcl_core", "#ffffff", "", "Sign")
|
mcl_signs.register_sign("mcl_core", "#ffffff", "", S("Sign"))
|
||||||
mcl_signs.register_sign_craft("mcl_core", "mcl_core:wood", "")
|
mcl_signs.register_sign_craft("mcl_core", "mcl_core:wood", "")
|
||||||
|
|
||||||
-- birchwood Sign "#d5cb8d" / "#ffdba7"
|
-- birchwood Sign "#d5cb8d" / "#ffdba7"
|
||||||
mcl_signs.register_sign_custom("mcl_core", "_birchwood",
|
mcl_signs.register_sign_custom("mcl_core", "_birchwood",
|
||||||
"mcl_signs_sign_greyscale.png","#ffdba7", "mcl_signs_default_sign_greyscale.png",
|
"mcl_signs_sign_greyscale.png","#ffdba7", "mcl_signs_default_sign_greyscale.png",
|
||||||
"mcl_signs_default_sign_greyscale.png", "Birch Sign"
|
"mcl_signs_default_sign_greyscale.png", S("Birch Sign")
|
||||||
)
|
)
|
||||||
mcl_signs.register_sign_craft("mcl_core", "mcl_core:birchwood", "_birchwood")
|
mcl_signs.register_sign_craft("mcl_core", "mcl_core:birchwood", "_birchwood")
|
||||||
|
|
||||||
-- sprucewood Sign
|
-- sprucewood Sign
|
||||||
mcl_signs.register_sign_custom("mcl_core", "_sprucewood",
|
mcl_signs.register_sign_custom("mcl_core", "_sprucewood",
|
||||||
"mcl_signs_sign_dark.png","#ffffff", "mcl_signs_default_sign_dark.png",
|
"mcl_signs_sign_dark.png","#ffffff", "mcl_signs_default_sign_dark.png",
|
||||||
"mcl_signs_default_sign_dark.png", "Spruce Sign"
|
"mcl_signs_default_sign_dark.png", S("Spruce Sign")
|
||||||
)
|
)
|
||||||
mcl_signs.register_sign_craft("mcl_core", "mcl_core:sprucewood", "_sprucewood")
|
mcl_signs.register_sign_craft("mcl_core", "mcl_core:sprucewood", "_sprucewood")
|
||||||
|
|
||||||
-- darkwood Sign "#291f1a" / "#856443"
|
-- darkwood Sign "#291f1a" / "#856443"
|
||||||
mcl_signs.register_sign_custom("mcl_core", "_darkwood",
|
mcl_signs.register_sign_custom("mcl_core", "_darkwood",
|
||||||
"mcl_signs_sign_greyscale.png","#856443", "mcl_signs_default_sign_greyscale.png",
|
"mcl_signs_sign_greyscale.png","#856443", "mcl_signs_default_sign_greyscale.png",
|
||||||
"mcl_signs_default_sign_greyscale.png", "Dark Oak Sign"
|
"mcl_signs_default_sign_greyscale.png", S("Dark Oak Sign")
|
||||||
)
|
)
|
||||||
mcl_signs.register_sign_craft("mcl_core", "mcl_core:darkwood", "_darkwood")
|
mcl_signs.register_sign_craft("mcl_core", "mcl_core:darkwood", "_darkwood")
|
||||||
|
|
||||||
-- junglewood Sign
|
-- junglewood Sign
|
||||||
mcl_signs.register_sign("mcl_core", "#866249", "_junglewood", "Jungle Sign")
|
mcl_signs.register_sign("mcl_core", "#866249", "_junglewood", S("Jungle Sign"))
|
||||||
mcl_signs.register_sign_craft("mcl_core", "mcl_core:junglewood", "_junglewood")
|
mcl_signs.register_sign_craft("mcl_core", "mcl_core:junglewood", "_junglewood")
|
||||||
|
|
||||||
-- acaciawood Sign "b8693d"
|
-- acaciawood Sign "b8693d"
|
||||||
mcl_signs.register_sign("mcl_core", "#ea7479", "_acaciawood", "Acacia Sign")
|
mcl_signs.register_sign("mcl_core", "#ea7479", "_acaciawood", S("Acacia Sign"))
|
||||||
mcl_signs.register_sign_craft("mcl_core", "mcl_core:acaciawood", "_acaciawood")
|
mcl_signs.register_sign_craft("mcl_core", "mcl_core:acaciawood", "_acaciawood")
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_mangrove") then
|
if minetest.get_modpath("mcl_mangrove") then
|
||||||
-- mangrove_wood Sign "#c7545c"
|
-- mangrove_wood Sign "#c7545c"
|
||||||
mcl_signs.register_sign("mcl_mangrove", "#b8693d", "_mangrove_wood", "Mangrove Sign")
|
mcl_signs.register_sign("mcl_mangrove", "#b8693d", "_mangrove_wood", S("Mangrove Sign"))
|
||||||
mcl_signs.register_sign_craft("mcl_mangrove", "mcl_mangrove:mangrove_wood", "_mangrove_wood")
|
mcl_signs.register_sign_craft("mcl_mangrove", "mcl_mangrove:mangrove_wood", "_mangrove_wood")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -137,13 +137,13 @@ if minetest.get_modpath("mcl_crimson") then
|
||||||
-- warped_hyphae_wood Sign
|
-- warped_hyphae_wood Sign
|
||||||
mcl_signs.register_sign_custom("mcl_crimson","_warped_hyphae_wood", "mcl_signs_sign_greyscale.png",
|
mcl_signs.register_sign_custom("mcl_crimson","_warped_hyphae_wood", "mcl_signs_sign_greyscale.png",
|
||||||
"#9f7dcf", "mcl_signs_default_sign_greyscale.png", "mcl_signs_default_sign_greyscale.png",
|
"#9f7dcf", "mcl_signs_default_sign_greyscale.png", "mcl_signs_default_sign_greyscale.png",
|
||||||
"Warped Hyphae Sign")
|
S("Warped Hyphae Sign"))
|
||||||
mcl_signs.register_sign_craft("mcl_crimson", "mcl_crimson:warped_hyphae_wood", "_warped_hyphae_wood")
|
mcl_signs.register_sign_craft("mcl_crimson", "mcl_crimson:warped_hyphae_wood", "_warped_hyphae_wood")
|
||||||
|
|
||||||
-- crimson_hyphae_wood Sign
|
-- crimson_hyphae_wood Sign
|
||||||
mcl_signs.register_sign_custom("mcl_crimson", "_crimson_hyphae_wood","mcl_signs_sign_greyscale.png",
|
mcl_signs.register_sign_custom("mcl_crimson", "_crimson_hyphae_wood","mcl_signs_sign_greyscale.png",
|
||||||
"#c35f51","mcl_signs_default_sign_greyscale.png", "mcl_signs_default_sign_greyscale.png",
|
"#c35f51","mcl_signs_default_sign_greyscale.png", "mcl_signs_default_sign_greyscale.png",
|
||||||
"Crimson Hyphae Sign")
|
S("Crimson Hyphae Sign"))
|
||||||
mcl_signs.register_sign_craft("mcl_crimson", "mcl_crimson:crimson_hyphae_wood", "_crimson_hyphae_wood")
|
mcl_signs.register_sign_craft("mcl_crimson", "mcl_crimson:crimson_hyphae_wood", "_crimson_hyphae_wood")
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -550,7 +550,7 @@ function mcl_signs.register_sign (modname, color, _name, ttsign)
|
||||||
end
|
end
|
||||||
|
|
||||||
new_sign = table.copy(mcl_signs.wall_standard)
|
new_sign = table.copy(mcl_signs.wall_standard)
|
||||||
new_sign.description = S(ttsign)
|
new_sign.description = ttsign
|
||||||
|
|
||||||
new_sign.wield_image = "(mcl_signs_default_sign.png^[multiply:" .. color .. ")"
|
new_sign.wield_image = "(mcl_signs_default_sign.png^[multiply:" .. color .. ")"
|
||||||
new_sign.tiles = { "(mcl_signs_sign.png^[multiply:" .. color .. ")" }
|
new_sign.tiles = { "(mcl_signs_sign.png^[multiply:" .. color .. ")" }
|
||||||
|
@ -797,10 +797,18 @@ function mcl_signs.register_sign_custom (modname, _name, tiles, color, inventory
|
||||||
|
|
||||||
new_sign = table.copy(mcl_signs.wall_standard)
|
new_sign = table.copy(mcl_signs.wall_standard)
|
||||||
|
|
||||||
new_sign.wield_image = "(" .. wield_image .. "^[multiply:" .. color .. ")"
|
if not color or color == nil then
|
||||||
new_sign.tiles = { "(" .. tiles .. "^[multiply:" .. color .. ")" }
|
new_sign.wield_image = wield_image
|
||||||
new_sign.inventory_image = "(" .. inventory_image .. "^[multiply:" .. color .. ")"
|
new_sign.tiles = { tiles }
|
||||||
new_sign.description = S(ttsign)
|
new_sign.inventory_image = inventory_image
|
||||||
|
else
|
||||||
|
new_sign.wield_image = "(" .. wield_image .. "^[multiply:" .. color .. ")"
|
||||||
|
new_sign.tiles = { "(" .. tiles .. "^[multiply:" .. color .. ")" }
|
||||||
|
new_sign.inventory_image = "(" .. inventory_image .. "^[multiply:" .. color .. ")"
|
||||||
|
end
|
||||||
|
|
||||||
|
new_sign.description = ttsign
|
||||||
|
|
||||||
-- currently have to do this, because of how the base node placement works.
|
-- currently have to do this, because of how the base node placement works.
|
||||||
new_sign.on_place = function(itemstack, placer, pointed_thing)
|
new_sign.on_place = function(itemstack, placer, pointed_thing)
|
||||||
local above = pointed_thing.above
|
local above = pointed_thing.above
|
||||||
|
@ -905,9 +913,15 @@ function mcl_signs.register_sign_custom (modname, _name, tiles, color, inventory
|
||||||
local new_sign_standing = {}
|
local new_sign_standing = {}
|
||||||
new_sign_standing = table.copy(mcl_signs.standing_standard)
|
new_sign_standing = table.copy(mcl_signs.standing_standard)
|
||||||
new_sign_standing.drop = "mcl_signs:wall_sign" .. _name
|
new_sign_standing.drop = "mcl_signs:wall_sign" .. _name
|
||||||
new_sign_standing.wield_image = "(" .. wield_image .. "^[multiply:" .. color .. ")"
|
if not color or color == nil then
|
||||||
new_sign_standing.tiles = { "(" .. tiles .. "^[multiply:" .. color .. ")" }
|
new_sign_standing.wield_image = wield_image
|
||||||
new_sign_standing.inventory_image = "(" .. inventory_image .. "^[multiply:" .. color .. ")"
|
new_sign_standing.tiles = { tiles }
|
||||||
|
new_sign_standing.inventory_image = inventory_image
|
||||||
|
else
|
||||||
|
new_sign_standing.wield_image = "(" .. wield_image .. "^[multiply:" .. color .. ")"
|
||||||
|
new_sign_standing.tiles = { "(" .. tiles .. "^[multiply:" .. color .. ")" }
|
||||||
|
new_sign_standing.inventory_image = "(" .. inventory_image .. "^[multiply:" .. color .. ")"
|
||||||
|
end
|
||||||
new_sign_standing.on_rotate = function(pos, node, user, mode)
|
new_sign_standing.on_rotate = function(pos, node, user, mode)
|
||||||
if mode == screwdriver.ROTATE_FACE then
|
if mode == screwdriver.ROTATE_FACE then
|
||||||
node.name = "mcl_signs:standing_sign22_5" .. _name
|
node.name = "mcl_signs:standing_sign22_5" .. _name
|
||||||
|
@ -1013,7 +1027,7 @@ function mcl_signs.reregister_sign (modname, color, _name, ttsign)
|
||||||
end
|
end
|
||||||
|
|
||||||
new_sign = table.copy(mcl_signs.wall_standard)
|
new_sign = table.copy(mcl_signs.wall_standard)
|
||||||
new_sign.description = S(ttsign)
|
new_sign.description = ttsign
|
||||||
|
|
||||||
new_sign.wield_image = "(mcl_signs_default_sign.png^[multiply:" .. color .. ")"
|
new_sign.wield_image = "(mcl_signs_default_sign.png^[multiply:" .. color .. ")"
|
||||||
new_sign.tiles = { "(mcl_signs_sign.png^[multiply:" .. color .. ")" }
|
new_sign.tiles = { "(mcl_signs_sign.png^[multiply:" .. color .. ")" }
|
||||||
|
@ -1253,10 +1267,16 @@ function mcl_signs.reregister_sign_custom (modname, _name, tiles, color, invento
|
||||||
|
|
||||||
new_sign = table.copy(mcl_signs.wall_standard)
|
new_sign = table.copy(mcl_signs.wall_standard)
|
||||||
|
|
||||||
new_sign.wield_image = "(" .. wield_image .. "^[multiply:" .. color .. ")"
|
if not color or color == nil then
|
||||||
new_sign.tiles = { "(" .. tiles .. "^[multiply:" .. color .. ")" }
|
new_sign.wield_image = wield_image
|
||||||
new_sign.inventory_image = "(" .. inventory_image .. "^[multiply:" .. color .. ")"
|
new_sign.tiles = { tiles }
|
||||||
new_sign.description = S(ttsign)
|
new_sign.inventory_image = inventory_image
|
||||||
|
else
|
||||||
|
new_sign.wield_image = "(" .. wield_image .. "^[multiply:" .. color .. ")"
|
||||||
|
new_sign.tiles = { "(" .. tiles .. "^[multiply:" .. color .. ")" }
|
||||||
|
new_sign.inventory_image = "(" .. inventory_image .. "^[multiply:" .. color .. ")"
|
||||||
|
end
|
||||||
|
new_sign.description = ttsign
|
||||||
-- currently have to do this, because of how the base node placement works.
|
-- currently have to do this, because of how the base node placement works.
|
||||||
new_sign.on_place = function(itemstack, placer, pointed_thing)
|
new_sign.on_place = function(itemstack, placer, pointed_thing)
|
||||||
local above = pointed_thing.above
|
local above = pointed_thing.above
|
||||||
|
@ -1360,10 +1380,15 @@ function mcl_signs.reregister_sign_custom (modname, _name, tiles, color, invento
|
||||||
-- standing sign base.
|
-- standing sign base.
|
||||||
local new_sign_standing = {}
|
local new_sign_standing = {}
|
||||||
new_sign_standing = table.copy(mcl_signs.standing_standard)
|
new_sign_standing = table.copy(mcl_signs.standing_standard)
|
||||||
new_sign_standing.drop = "mcl_signs:wall_sign" .. _name
|
if not color or color == nil then
|
||||||
new_sign_standing.wield_image = "(" .. wield_image .. "^[multiply:" .. color .. ")"
|
new_sign_standing.wield_image = wield_image
|
||||||
new_sign_standing.tiles = { "(" .. tiles .. "^[multiply:" .. color .. ")" }
|
new_sign_standing.tiles = { tiles }
|
||||||
new_sign_standing.inventory_image = "(" .. inventory_image .. "^[multiply:" .. color .. ")"
|
new_sign_standing.inventory_image = inventory_image
|
||||||
|
else
|
||||||
|
new_sign_standing.wield_image = "(" .. wield_image .. "^[multiply:" .. color .. ")"
|
||||||
|
new_sign_standing.tiles = { "(" .. tiles .. "^[multiply:" .. color .. ")" }
|
||||||
|
new_sign_standing.inventory_image = "(" .. inventory_image .. "^[multiply:" .. color .. ")"
|
||||||
|
end
|
||||||
new_sign_standing.on_rotate = function(pos, node, user, mode)
|
new_sign_standing.on_rotate = function(pos, node, user, mode)
|
||||||
if mode == screwdriver.ROTATE_FACE then
|
if mode == screwdriver.ROTATE_FACE then
|
||||||
node.name = "mcl_signs:standing_sign22_5" .. _name
|
node.name = "mcl_signs:standing_sign22_5" .. _name
|
||||||
|
|
|
@ -5391,11 +5391,11 @@ local function register_decorations()
|
||||||
-- Dead bushes
|
-- Dead bushes
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = {"group:sand", "mcl_core:podzol", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt", "group:hardened_clay"},
|
place_on = {"mcl_core:podzol", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt", "group:hardened_clay"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.0,
|
offset = 0.01,
|
||||||
scale = 0.035,
|
scale = 0.003,
|
||||||
spread = {x = 100, y = 100, z = 100},
|
spread = {x = 100, y = 100, z = 100},
|
||||||
seed = 1972,
|
seed = 1972,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
|
@ -5403,7 +5403,43 @@ local function register_decorations()
|
||||||
},
|
},
|
||||||
y_min = 4,
|
y_min = 4,
|
||||||
y_max = mcl_vars.mg_overworld_max,
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
biomes = {"Desert", "Mesa", "Mesa_sandlevel", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_grasstop", "MesaBryce", "Taiga", "MegaTaiga"},
|
biomes = {"MegaSpruceTaiga", "MegaTaiga"},
|
||||||
|
decoration = "mcl_core:deadbush",
|
||||||
|
height = 1,
|
||||||
|
})
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"group:sand", "group:hardened_clay"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.01,
|
||||||
|
scale = 0.006,
|
||||||
|
spread = {x = 100, y = 100, z = 100},
|
||||||
|
seed = 1972,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.6
|
||||||
|
},
|
||||||
|
y_min = 4,
|
||||||
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
|
biomes = {"Desert"},
|
||||||
|
decoration = "mcl_core:deadbush",
|
||||||
|
height = 1,
|
||||||
|
})
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"group:sand", "mcl_core:podzol", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt", "group:hardened_clay"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.01,
|
||||||
|
scale = 0.06,
|
||||||
|
spread = {x = 100, y = 100, z = 100},
|
||||||
|
seed = 1972,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.6
|
||||||
|
},
|
||||||
|
y_min = 4,
|
||||||
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
|
biomes = {"Mesa", "Mesa_sandlevel", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_grasstop", "MesaBryce"},
|
||||||
decoration = "mcl_core:deadbush",
|
decoration = "mcl_core:deadbush",
|
||||||
height = 1,
|
height = 1,
|
||||||
})
|
})
|
||||||
|
@ -5412,8 +5448,8 @@ local function register_decorations()
|
||||||
place_on = {"group:sand", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
|
place_on = {"group:sand", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.1,
|
offset = 0.01,
|
||||||
scale = 0.035,
|
scale = 0.06,
|
||||||
spread = {x = 100, y = 100, z = 100},
|
spread = {x = 100, y = 100, z = 100},
|
||||||
seed = 1972,
|
seed = 1972,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
|
@ -5430,8 +5466,8 @@ local function register_decorations()
|
||||||
place_on = {"group:sand"},
|
place_on = {"group:sand"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.045,
|
offset = 0.01,
|
||||||
scale = 0.055,
|
scale = 0.06,
|
||||||
spread = {x = 100, y = 100, z = 100},
|
spread = {x = 100, y = 100, z = 100},
|
||||||
seed = 1972,
|
seed = 1972,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
|
@ -5448,8 +5484,8 @@ local function register_decorations()
|
||||||
place_on = {"group:hardened_clay"},
|
place_on = {"group:hardened_clay"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.010,
|
offset = 0.01,
|
||||||
scale = 0.035,
|
scale = 0.06,
|
||||||
spread = {x = 100, y = 100, z = 100},
|
spread = {x = 100, y = 100, z = 100},
|
||||||
seed = 1972,
|
seed = 1972,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
|
|
Loading…
Reference in New Issue