mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 19:32:17 -05: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
0bfe2fec67
commit
05340a926a
@ -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…
Reference in New Issue
Block a user