mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-04 07:00:18 +01:00
backup point for new crafting table implementation
This commit is contained in:
1 parent
e13a3b7478
commit
2ccaaa9efa
29 files changed
+580
-419
No files matched your search
@@ -50,6 +50,19 @@ void Recipes::_compileRecipes()
|
||||
{
|
||||
recipies->push_back(new BannerPatternRecipe());
|
||||
|
||||
//0-15, 16 colors
|
||||
for (int i = 0; i < 16; i++) {
|
||||
addShapedRecipy(new ItemInstance(Tile::standing_banner_Id, 1, i), //
|
||||
L"sssczcig",
|
||||
L"###", //
|
||||
L"###", //
|
||||
L" I ", //
|
||||
|
||||
L'#', new ItemInstance(Tile::wool_Id, 1, i),
|
||||
L'I', Item::stick,
|
||||
L'B');
|
||||
}
|
||||
|
||||
addShapedRecipy(new ItemInstance(Tile::wood, 4, 0), //
|
||||
L"sczg",
|
||||
L"#", //
|
||||
@@ -1546,6 +1559,9 @@ ShapedRecipy *Recipes::addShapedRecipy(ItemInstance *result, ...)
|
||||
case L'F':
|
||||
group=ShapedRecipy::eGroupType_Food;
|
||||
break;
|
||||
case L'B':
|
||||
group=ShapedRecipy::eGroupType_Banner_CustomLogic;
|
||||
break;
|
||||
case L'D':
|
||||
default:
|
||||
group=ShapedRecipy::eGroupType_Decoration;
|
||||
@@ -1642,6 +1658,9 @@ void Recipes::addShapelessRecipy(ItemInstance *result,... )
|
||||
case L'F':
|
||||
group=Recipy::eGroupType_Food;
|
||||
break;
|
||||
case L'B':
|
||||
group=Recipy::eGroupType_Banner_CustomLogic;
|
||||
break;
|
||||
case L'D':
|
||||
default:
|
||||
group=Recipy::eGroupType_Decoration;
|
||||
|
||||
Reference in new issue
Block a user