mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-25 17:39:33 +01:00
Add banner pattern crafts first
This commit is contained in:
parent
b01850e182
commit
ece1569f23
1 changed files with 4 additions and 2 deletions
|
@ -30,6 +30,10 @@ mcl_banners.colors = {
|
||||||
["unicolor_lime"] = {"lime", "Lime Banner", "mcl_wool:lime", "#30AC00", "mcl_dye:green" },
|
["unicolor_lime"] = {"lime", "Lime Banner", "mcl_wool:lime", "#30AC00", "mcl_dye:green" },
|
||||||
["unicolor_light_blue"] = {"light_blue", "Light Blue Banner", "mcl_wool:light_blue", "#4040CF", "mcl_dye:lightblue" },
|
["unicolor_light_blue"] = {"light_blue", "Light Blue Banner", "mcl_wool:light_blue", "#4040CF", "mcl_dye:lightblue" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Add pattern/emblazoning crafting recipes
|
||||||
|
dofile(minetest.get_modpath("mcl_banners").."/patterncraft.lua")
|
||||||
|
|
||||||
-- Overlay ratios (0-255)
|
-- Overlay ratios (0-255)
|
||||||
local base_color_ratio = 224
|
local base_color_ratio = 224
|
||||||
local layer_ratio = 255
|
local layer_ratio = 255
|
||||||
|
@ -245,8 +249,6 @@ minetest.register_entity("mcl_banners:standing_banner", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
dofile(minetest.get_modpath("mcl_banners").."/patterncraft.lua")
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "group:banner",
|
recipe = "group:banner",
|
||||||
|
|
Loading…
Reference in a new issue