Okay so I have a setup where the player can choose to "Talk" "Steal" or "Threaten" any interactable NPC.
These are just handled using a dialogue option when interacting. Steal then uses a formula with a 'DC' to test if the player succeeds.
I have 2 questions atm.
1. When I use the steal event, can I just have it use a 'steal' ability? Atm I have it hardcoded based on the NPC, which won't work in the long run. I just want to set up NPC's with a start inventory that the player can then attempt to steal from whenever (outside of combat)
2. How do I handle the player getting caught? Basically I'd like for any NPC witnessing the crime to potentially catch the player in the act and start combat, however I don't know if that's possible. I'd need it to check if any NPC's are looking in the players direction when they attempt it.