Gain Bonus Feat on reading?
Skorum
Member Posts: 4
Hi All
Not sure if this should go in the script forum or the toolset.
I'm taking inspiration from other RPG games, and I want to have an event that when a PC/Henchman reads a specific book, they gain a bonus feat or ability bonus or a Skill bonus.
This is to encourage character development among the party where XP rewards are low.
I can see how these bonuses work when equipping an item (like an amulet), but I cannot see where a script can be added to a book?
Any ideas?
Thanks in advance
Not sure if this should go in the script forum or the toolset.
I'm taking inspiration from other RPG games, and I want to have an event that when a PC/Henchman reads a specific book, they gain a bonus feat or ability bonus or a Skill bonus.
This is to encourage character development among the party where XP rewards are low.
I can see how these bonuses work when equipping an item (like an amulet), but I cannot see where a script can be added to a book?
Any ideas?
Thanks in advance
0
Comments
You're right, no event script fires when a book is read, but there are methods:
In cases 1 and 2, hide the book's description using SetDescription, so the the player is forced to activate the item / use the placeable. The rationale might be that the writing is tiny, or otherwise requires close attention.
In each case, when the object is activated / used for the first time, set a flag to prevent repetition, give the ability bonus / feat / journal update, unhide the description if necessary, then ActionExamine to force the player to read the book.
In case 3, put the item in PC inventory, destroy the placeable.
The only real difference between these methods is that the PC can't take the book away in case 2, must take the book in cases 1 and 3, has the option in case 4.
A variation on case 1 is to change the item description to "I could read this if it were in my inventory" then use the module OnAcquire event - that removes the need for a special power, but maybe breaks immersion / credibility.
This method forces the player to buy the book to get information, which otherwise they can obtain by browsing the merchant's stock (with no way of knowing whether they've done so).
This is what I do -
In this instance the PC gains 2 to his/her wisdom stat by reading the tome before them...