So I had this idea that some bushes could block some paths and can only be but down with a sword. Which I can set up as an event no problem.
But if I wanted to make different kinds of swords, then I would have a TON of conditional branches to check. Because it would be weird if a plain sword could cut down a bush, but not a flaming sword, right?
So then I thought, well, the weapons have a weapon type listing. Is it possible to have many kinds of swords listed as a "weapon sword type" and one check to check them all? So that no matter how many swords I make, as long as their weapon type is listed as sword, events such as bushes will still be cut down.
Am I making any sense? I guess the bottom line is, no matter what the player has equipped, as long as the weapon type is sword, then they can cut down certain events.
Thanks for reading.
But if I wanted to make different kinds of swords, then I would have a TON of conditional branches to check. Because it would be weird if a plain sword could cut down a bush, but not a flaming sword, right?
So then I thought, well, the weapons have a weapon type listing. Is it possible to have many kinds of swords listed as a "weapon sword type" and one check to check them all? So that no matter how many swords I make, as long as their weapon type is listed as sword, events such as bushes will still be cut down.
Am I making any sense? I guess the bottom line is, no matter what the player has equipped, as long as the weapon type is sword, then they can cut down certain events.
Thanks for reading.