Got this from EternalWait99 on Nexus Mod.
[quote]Well you do not need to change bedroll script or anything like that. The bedroll triggers a unique party status so we can safely change that status effect. The status effects can be found in this path ( Data>Public>Shared>Stats>Generated> Data>Potion.txt )
if you open that Potion.txt , you can find lots of stuff to play with. Resting is called ('"Stats_Rested"
add this line ( data "MagicPoints" "3" ) and enjoy a game with less tedious source
example :
new entry "Stats_Rested"
type "Potion"
data "Act" "1"
data "Act part" "0"
data "Strength" "1"
data "Finesse" "1"
data "Intelligence" "1"
data "MagicPoints" "3"[/quote]
Maybe it can help you.