Hey there, I've been working on a 2D RPG using Java and the LibGDX framework. I have a working quest system right now using XML for quest data but it seems to be fairly inflexible and I want to have more flexibility in my game. I've seen a lot about using scripting langauges such as lua or Python for quest scripting. So I have a few questions.
1) How should one scructure a script that describes a quest? For example say you need to collect 10 of some Item and return to a specific NPC to complete the quest. After completion you get some reward.
2) What are the pros/cons of using LuaJ/Jython? I'm not familiar with either language so I have no bias towards either of them.
3) How difficult would it be for a script to interact with a java object, call Java methods, etc?
Any suggestions or links to references would be greatly apprecated.