forked from VoxeLibre/VoxeLibre
Increase pattern layer limit to 12
This commit is contained in:
parent
dca095171c
commit
ab91971398
|
@ -193,7 +193,7 @@ minetest.register_node("mcl_banners:standing_banner", {
|
||||||
_doc_items_entry_name = "Banner",
|
_doc_items_entry_name = "Banner",
|
||||||
_doc_items_image = "mcl_banners_item_base.png^mcl_banners_item_overlay.png",
|
_doc_items_image = "mcl_banners_item_base.png^mcl_banners_item_overlay.png",
|
||||||
_doc_items_longdesc = "Banners are tall colorful decorative blocks. They can be placed on the floor and at walls. Banners can be emblazoned with a variety of patterns using a lot of dye in crafting.",
|
_doc_items_longdesc = "Banners are tall colorful decorative blocks. They can be placed on the floor and at walls. Banners can be emblazoned with a variety of patterns using a lot of dye in crafting.",
|
||||||
_doc_items_usagehelp = [[Use crafting to draw a pattern on top of the banner. Emblazoned banners can be emblazoned again to combine various patterns. You can draw up to 6 layers on a banner that way. If the banner includes a gradient, only 3 layers are possible.
|
_doc_items_usagehelp = [[Use crafting to draw a pattern on top of the banner. Emblazoned banners can be emblazoned again to combine various patterns. You can draw up to 12 layers on a banner that way. If the banner includes a gradient, only 3 layers are possible.
|
||||||
You can copy the pattern of a banner by placing two banners of the same color in the crafting grid—one needs to be emblazoned, the other one must be clean. Finally, you can use a banner on a cauldron with water to wash off its top-most layer.]],
|
You can copy the pattern of a banner by placing two banners of the same color in the crafting grid—one needs to be emblazoned, the other one must be clean. Finally, you can use a banner on a cauldron with water to wash off its top-most layer.]],
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
-- Pattern crafting. This file contains the code for crafting all the
|
-- Pattern crafting. This file contains the code for crafting all the
|
||||||
-- emblazonings you can put on the banners. It's quite complicated;
|
-- emblazonings you can put on the banners. It's quite complicated;
|
||||||
-- normal 08/15 crafting won't work here.
|
-- run-of-the-mill crafting won't work here.
|
||||||
|
|
||||||
-- Maximum number of layers which can be put on a banner by crafting.
|
-- Maximum number of layers which can be put on a banner by crafting.
|
||||||
local max_layers_crafting = 6
|
local max_layers_crafting = 12
|
||||||
|
|
||||||
-- Maximum number of layers when banner includes a gradient (workaround, see below).
|
-- Maximum number of layers when banner includes a gradient (workaround, see below).
|
||||||
local max_layers_gradient = 3
|
local max_layers_gradient = 3
|
||||||
|
|
Loading…
Reference in New Issue