Stained Glass Survival Integration & Crafting UI Fix (#1195)
* Added Stained Glass i found out that stained glass was not accessible in survival, then i saw they disabled it in the code * Grouping glass correctly in crafting table I removed the #if/endif from the ClothDyeRecipes.cpp and added a different one in StructureRecipies.cpp also changed the Tile definition giving it the same setBaseItemTypeAndMaterial of stained glass to group it correctly inside the crafting table UI. also aincremented the Vertical Slot for crafting table to include many more craftings in the same group
This commit is contained in:
1 parent
39e46751bf
commit
9a6d126ae1
5 files changed
+46
-18
No files matched your search
@@ -21,20 +21,20 @@ void ClothDyeRecipes::addRecipes(Recipes *r)
|
||||
L'#', new ItemInstance(Tile::clayHardened),
|
||||
L'X', new ItemInstance(Item::dye_powder, 1, i),L'D');
|
||||
|
||||
#if 0
|
||||
r->addShapedRecipy(new ItemInstance(Tile::stained_glass, 8, ColoredTile::getItemAuxValueForTileData(i)), //
|
||||
L"sssczczg",
|
||||
L"###",
|
||||
L"#X#",
|
||||
L"###",
|
||||
L'#', new ItemInstance(Tile::glass),
|
||||
L'X', new ItemInstance(Item::dye_powder, 1, i), L'D');
|
||||
r->addShapedRecipy(new ItemInstance(Tile::stained_glass_pane, 16, i), //
|
||||
L"ssczg",
|
||||
L"###",
|
||||
L"###",
|
||||
L'#', new ItemInstance(Tile::stained_glass, 1, i), L'D');
|
||||
#endif
|
||||
//#if 0
|
||||
// r->addShapedRecipy(new ItemInstance(Tile::stained_glass, 8, ColoredTile::getItemAuxValueForTileData(i)), //
|
||||
// L"sssczczg",
|
||||
// L"###",
|
||||
// L"#X#",
|
||||
// L"###",
|
||||
// L'#', new ItemInstance(Tile::glass),
|
||||
// L'X', new ItemInstance(Item::dye_powder, 1, i), L'D');
|
||||
// r->addShapedRecipy(new ItemInstance(Tile::stained_glass_pane, 16, i), //
|
||||
// L"ssczg",
|
||||
// L"###",
|
||||
// L"###",
|
||||
// L'#', new ItemInstance(Tile::stained_glass, 1, i), L'D');
|
||||
//#endif
|
||||
}
|
||||
|
||||
// some dye recipes
|
||||
|
||||
Reference in new issue
Block a user