woot! bon en furetant par-ci par la, j'ai vu que dans SoU il est possible d'interdire de le repos sauvage (normal) mais dans les zone ou le repos est interdit, on peut mettre des trigger autorisant le repos tant qu'on reste dedans, pratique pour une chambre d'hotel!
Use the script below as your module's OnRest event.
For any area where you want resting to be restricted to certain rooms, make the area's tag (found on the Advanced tab in the area's properties) end in _SR. e.g. If you make an area called "Troll Cave", its tag by default will be set to "TrollCave", which you should change to "TrollCave_SR" to restrict resting.
Draw X0_SAFEREST triggers in all the rooms where you want it to be safe to rest. The idea is that the rooms should be able to be sealed off by closed doors--not out in the open. Make sure the room's doors are inside the trigger. If you don't have SoU, this should all still work fine, just make sure your trigger has X0_SAFEREST as its tag. If you do have SoU, you already have a trigger tagged X0_SAFEREST in your palette