RPG Recipe -and- Quest Rewards
Posted: November 19th, 2011, 8:47 am
In the RPG Tutorial on our Wiki, the player already knows the needed recipes.
Thus:
r_recipe_flags $RECIPE_KNOWN
How do we make them learn new ones, in-game... as say a quest reward?
There must be a way to make it into a variable as you do quests, yes?
And also, this is where the player turns in the McGuffin to ol' Bob:
[ r_response "[Give him the mcGuffin]" 5 [
r_remove player 7 1
r_givexp player 900
r_global_set $bobmcguffin 2
]
What would it take to get a little something out of Bob for our trouble?
Something like:
r_add player 8 1
8 is an item, 1 is the amount.
Or is it... r_item_additem ...or r_recipe_addrecipe ?
I cannot find a list of all the available flags for some of this stuff. Where can I find such a thing?
And also... Is there no description option for Recipes, as there is for Items? Or can I write that into the recipe definition?
And how about some gold? Can Bob give the player Gold too?
I'm having some good times learning this stuff, and getting handy with the map-making as well. Good stuff.
Thanks in advance for any tips or help, thanks,
- Tony
Thus:
r_recipe_flags $RECIPE_KNOWN
How do we make them learn new ones, in-game... as say a quest reward?
There must be a way to make it into a variable as you do quests, yes?
And also, this is where the player turns in the McGuffin to ol' Bob:
[ r_response "[Give him the mcGuffin]" 5 [
r_remove player 7 1
r_givexp player 900
r_global_set $bobmcguffin 2
]
What would it take to get a little something out of Bob for our trouble?
Something like:
r_add player 8 1
8 is an item, 1 is the amount.
Or is it... r_item_additem ...or r_recipe_addrecipe ?
I cannot find a list of all the available flags for some of this stuff. Where can I find such a thing?
And also... Is there no description option for Recipes, as there is for Items? Or can I write that into the recipe definition?
And how about some gold? Can Bob give the player Gold too?
I'm having some good times learning this stuff, and getting handy with the map-making as well. Good stuff.
Thanks in advance for any tips or help, thanks,
- Tony