Skip to content

Commit

Permalink
yeye
Browse files Browse the repository at this point in the history
  • Loading branch information
Kade-github committed May 30, 2024
1 parent 076f744 commit 8a6d944
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Game/Scenes/Gameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -641,17 +641,11 @@ void Gameplay::KeyPress(int key)

if (key == GLFW_KEY_Y)
{
Data::InventoryItem item(Data::ITEM_COAL, 32);
Data::InventoryItem item(Data::ITEM_ROCKET, 1);

player->playerData.GiveItem(item);

Data::InventoryItem item2(Data::ITEM_IRON_ORE, 32);

player->playerData.GiveItem(item2);

hud->UpdateHotbar();

hud->ShowHint("Gave you some coal!");
}

if (key == GLFW_KEY_F10)
Expand Down

0 comments on commit 8a6d944

Please sign in to comment.