Add Grass To Expanded Creative Inventory

This commit is contained in:
TheBrokenRail 2022-03-25 21:07:28 -04:00
parent ea92e5188e
commit b3c32b211b
2 changed files with 12 additions and 0 deletions

View File

@ -59,6 +59,17 @@ static int32_t Inventory_setupDefault_FillingContainer_addItem_call_injection(un
new_item_instance = (*ItemInstance_constructor_tile_extra)(new_item_instance, *Tile_netherReactor, 1, i); new_item_instance = (*ItemInstance_constructor_tile_extra)(new_item_instance, *Tile_netherReactor, 1, i);
(*FillingContainer_addItem)(filling_container, new_item_instance); (*FillingContainer_addItem)(filling_container, new_item_instance);
} }
// Tall Grass
for (int i = 0; i < 4; i++) {
if (i == 2) {
// Identical To Previous Auxiliary Value
continue;
}
ItemInstance *new_item_instance = new ItemInstance;
ALLOC_CHECK(new_item_instance);
new_item_instance = (*ItemInstance_constructor_tile_extra)(new_item_instance, *Tile_tallgrass, 1, i);
(*FillingContainer_addItem)(filling_container, new_item_instance);
}
return ret; return ret;
} }

View File

@ -43,6 +43,7 @@ static unsigned char **Tile_netherReactor = (unsigned char **) 0x181dd0; // Tile
static unsigned char **Tile_info_updateGame1 = (unsigned char **) 0x181c68; // Tile static unsigned char **Tile_info_updateGame1 = (unsigned char **) 0x181c68; // Tile
static unsigned char **Tile_info_updateGame2 = (unsigned char **) 0x181c6c; // Tile static unsigned char **Tile_info_updateGame2 = (unsigned char **) 0x181c6c; // Tile
static unsigned char **Tile_bedrock = (unsigned char **) 0x181cc4; // Tile static unsigned char **Tile_bedrock = (unsigned char **) 0x181cc4; // Tile
static unsigned char **Tile_tallgrass = (unsigned char **) 0x181d0c;
static unsigned char **Tile_leaves = (unsigned char **) 0x18120c; // Tile static unsigned char **Tile_leaves = (unsigned char **) 0x18120c; // Tile
static unsigned char **Tile_leaves_carried = (unsigned char **) 0x181dd8; // Tile static unsigned char **Tile_leaves_carried = (unsigned char **) 0x181dd8; // Tile