In the previous chapter, we covered how to create useable items, populate them in a store controlled by an NPC, allow the player to buy items from the store, and use those items from their inventory. In this chapter, we will continue from where we left off by offering the player weapons and armor to equip themselves with.
We will cover the following topics in this chapter:
The weapons Data Table
Setting the weapon and equipment screen variables
Creating the weapon button
Revisiting the equipment screen
Setting the equipment screen Text Blocks
Correcting character stats when equipping