Add banner pattern crafts first

This commit is contained in:
Wuzzy 2017-07-28 17:32:39 +02:00
parent b01850e182
commit ece1569f23
1 changed files with 4 additions and 2 deletions

View File

@ -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",