In order to make taverns useful, I created a script to prevent players from resting if they don't have food in their inventories.
1) How to use it?
Import the foodforrest.erf into your module. You will find a script to use into the onPlayerRest module script.
Now that the script is properly placed, you can save and launch your module.
Each time you try to rest, the script checks for the presence of food into your inventory.
If you have some, then one unit of food is removed and your character begins to rest, otherwise you just can't rest.
2) How to create food for your module?
You can create any item and make it some food by setting its tag to "foodForRest".
3) The test module?
I have prepared a little module as an example.
All you have to do is to talk to the innkeeper and ask for food.
Posted by Excellentium at 2009-03-12 02:22:55 Voted 8.50 on 03/12/09
I haven't given you the vote I promised, so here it is! Thanks again for this contribution! _________________________ "That is not dead which can eternal lie and with strange aeons even death may die".
Posted by shockwolf at 2008-06-01 10:28:49 Voted 8.00 on 06/01/08
8 - Excellent, Recommended to Anyone who wants to add a bit of a rest restriction to their module.
Thanks for this LichKing! _________________________ ShockWolF - Author of Wulverheim
Zhjaeve � Know that I must begin every sentence with the word �Know�. Know that everything I say must be known. Know that it is important that you know this.
Posted by Excellentium at 2007-01-20 13:07:33 Voted 8.50 on 03/12/09
I find this very usefull since food and water was a very important issue in the pnp campaigns I hosted (or played with others) back in time. So I will definitly check this one out and get back to you with a vote. Thanks for submitting this to us! _________________________ "That is not dead which can eternal lie and with strange aeons even death may die".
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone