mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Add fishing pole as sword in save editor
Adds fishing pole as a sword to the save editor under current equipment.
This commit is contained in:
parent
daec428cb3
commit
93de080301
1 changed files with 8 additions and 0 deletions
|
@ -1316,6 +1316,9 @@ void DrawPlayerTab() {
|
||||||
case ITEM_SWORD_BGS:
|
case ITEM_SWORD_BGS:
|
||||||
curSword = "Biggoron's Sword";
|
curSword = "Biggoron's Sword";
|
||||||
break;
|
break;
|
||||||
|
case ITEM_FISHING_POLE:
|
||||||
|
curSword = "Fishing Pole";
|
||||||
|
break;
|
||||||
case ITEM_NONE:
|
case ITEM_NONE:
|
||||||
curSword = "None";
|
curSword = "None";
|
||||||
break;
|
break;
|
||||||
|
@ -1463,6 +1466,11 @@ void DrawPlayerTab() {
|
||||||
|
|
||||||
Inventory_ChangeEquipment(EQUIP_SWORD, PLAYER_SWORD_BGS);
|
Inventory_ChangeEquipment(EQUIP_SWORD, PLAYER_SWORD_BGS);
|
||||||
}
|
}
|
||||||
|
if (ImGui::Selectable("Fishing Pole")) {
|
||||||
|
player->currentSwordItem = ITEM_FISHING_POLE;
|
||||||
|
gSaveContext.equips.buttonItems[0] = ITEM_FISHING_POLE;
|
||||||
|
Inventory_ChangeEquipment(EQUIP_SWORD, PLAYER_SWORD_MASTER);
|
||||||
|
}
|
||||||
ImGui::EndCombo();
|
ImGui::EndCombo();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue