I'm making an RPG roguelike and the idea is that after every few rooms you come across 2 or 3 allies who need to be freed. As thanks they'd teach you a skill but you only have time to learn from one of them. For each area the player is going to end up with 2 or 3 additional skills when they're done. Is there a way to make it random which npcs spawn when you enter the room or do I just have to make a bunch of identical rooms with different npcs as prisoners and let the player randomly enter with conditions to exclude certain rooms if the player had already learned an npc's skill from a previous room?
Also how do you make it so that the npc will give the player a skill after talking to them.
Also is it possible to make it so that you could let a character equip a weapon in their off hand? I want to make it so that the player can equip 2 weapons and attack twice but as a consequence their defense and magic defense would take a debuff for as long as they have a second weapon equipped.
Also how do you make it so that the npc will give the player a skill after talking to them.
Also is it possible to make it so that you could let a character equip a weapon in their off hand? I want to make it so that the player can equip 2 weapons and attack twice but as a consequence their defense and magic defense would take a debuff for as long as they have a second weapon equipped.

