From a2df1b309544465a8534b2fa771a8234cf7dc0f6 Mon Sep 17 00:00:00 2001 From: iProgramInCpp Date: Wed, 2 Aug 2023 21:47:14 +0300 Subject: [PATCH] * Add more items for testing. --- .gitignore | 1 + GameMods.hpp | 2 +- source/Inventory.cpp | 6 +++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ea68dfb..f840877 100644 --- a/.gitignore +++ b/.gitignore @@ -378,3 +378,4 @@ FodyWeavers.xsd /windows_vs/games/com.mojang /windows_vs/assets +/windows_vs/assetsO diff --git a/GameMods.hpp b/GameMods.hpp index f3488dd..9dfb2e5 100644 --- a/GameMods.hpp +++ b/GameMods.hpp @@ -34,7 +34,7 @@ // Mods //#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_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 //#define TEST_DROPPED_ITEMS // Allow dropped items to be dropped and collected. diff --git a/source/Inventory.cpp b/source/Inventory.cpp index 502a170..932d44d 100644 --- a/source/Inventory.cpp +++ b/source/Inventory.cpp @@ -152,7 +152,11 @@ Inventory::Inventory(Player* pPlayer) m_items[37] = Item::camera->m_itemID; m_items[38] = Item::door_wood->m_itemID; 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 }