* Add more items for testing.

This commit is contained in:
iProgramInCpp 2023-08-02 21:47:14 +03:00
parent 8047ce7e03
commit a2df1b3095
3 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View file

@ -378,3 +378,4 @@ FodyWeavers.xsd
/windows_vs/games/com.mojang /windows_vs/games/com.mojang
/windows_vs/assets /windows_vs/assets
/windows_vs/assetsO

View file

@ -34,7 +34,7 @@
// Mods // Mods
//#define MOD_USE_FLAT_WORLD // Use a flat world instead of the regular world generation //#define MOD_USE_FLAT_WORLD // Use a flat world instead of the regular world generation
//#define MOD_USE_BIGGER_SCREEN_SIZE // Use a bigger screen size instead of 854x480 //#define MOD_USE_BIGGER_SCREEN_SIZE // Use a bigger screen size instead of 854x480
//#define MOD_DONT_COLOR_GRASS // Don't give the top of grass tiles a different color. (like Classic) #define MOD_DONT_COLOR_GRASS // Don't give the top of grass tiles a different color. (like Classic)
// Tests // Tests
//#define TEST_DROPPED_ITEMS // Allow dropped items to be dropped and collected. //#define TEST_DROPPED_ITEMS // Allow dropped items to be dropped and collected.

View file

@ -152,7 +152,11 @@ Inventory::Inventory(Player* pPlayer)
m_items[37] = Item::camera->m_itemID; m_items[37] = Item::camera->m_itemID;
m_items[38] = Item::door_wood->m_itemID; m_items[38] = Item::door_wood->m_itemID;
m_items[39] = Tile::gravel->m_ID; m_items[39] = Tile::gravel->m_ID;
m_items[40] = Tile::water->m_ID; m_items[40] = Tile::cloth->m_ID;
m_items[41] = Tile::clay->m_ID;
m_items[42] = Tile::farmland->m_ID;
m_items[43] = Tile::lapisOre->m_ID;
m_items[44] = Item::door_iron->m_itemID;
#endif #endif
} }