Feature Specification: Resting

Scripted ALFA systems & related tech discussions (ACR)

Moderators: ALFA Administrators, Staff - Technical

User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Feature Specification: Resting

Post by ç i p h é r »

Resting
Resting as defined by the APM is detailed below. I'd like to see details that are missing filled in by our resident ACR experts.

For a short explanation of the feature specification format, visit:
http://www.alandfaraway.org/phpbbforum/ ... hp?t=27229

Functional Requirements

Resting:
The opportunity for a PC to rest in-game becomes available every eight game hours, about once an hour in real life. Resting in the wilderness will risk a random encounter. Resting will take 2 real-time minutes. Using a ‘flash nap’ (resting for less than one second) to end spell effects should not be allowed, even if meant to simulate the dismissal of the spell (might be best to provide a widget for this very thing).

Specific regions within an area or entire areas themselves can be marked as rest zones. Attempting to sleep outside these zones will automatically fail. Rest zones can be configured to spread disease, forcing a disease check at the conclusion of the rest cycle. Logging off in a rest zone will effectively function as a "rest" provided sufficient time has passed between logins.

Attempting to rest while wearing armor may result in fatigue. A player must make a fortitude save (DC is the base AC of the armor being worn) or suffer a temporary -2 penalty to both Strength and Dexterity. A character with the Endurance feat may sleep in light or medium armor without risk of fatigue.

When resting, a character is blinded and considered helpless. A helpless character will be treated as having a Dexterity of 0 (-5 modifier) and melee attackers will receive a +4 bonus to their attacks against him. Resting animation shall include lying on the ground and/or snoring.

Resting successfully for the full rest period will heal a character at a base rate of 1hp/level, as per canon. With Long Term Care, the heal rate is doubled to 2hp/level. The heal rate may be further increased by the use of healing aids such as herbs and drugs/medicines according to their healing properties.

When resting indoors (eg. an inn) all classes are entitled to a Rest Bonus (as defined below). When resting outdoors, "wilderness" type classes (ie. Rangers, Druids and Barbarians) are entitled to a Rest Bonus. When resting outdoors within 15 ft of a campfire, non-wilderness type classes will be entitled to a Rest Bonus. A campfire takes 20 seconds to set up and light and has a limited duration of 4 game hours. A tinderbox will be required to create a campfire. The Rest Bonus will be a base of 1hp plus any positive constitution modifier the character enjoys. This is still TBD and will not be implemented in the initial version.

The healing of ability damage will be restricted to the rate of 1 point per damaged attribute per rest period, as per canon. (Eg. A single rest period would repair 1 Str point and 1 Con point if both were damaged). With Long Term Care, the heal rate is doubled to 2 points per damaged attribute per rest period.

Bards and Sorcerers regain their spells automatically after successfully resting. Wizards must study for their spells after a successful rest. Clerics, Druids, Paladins, and Rangers must pray/meditate for their spells after a successful rest.

Napping:
All the resting rules apply except duration. Napping will only take 10 seconds and heal a proportional amount.

Studying for Spells:
Arcane spell casters can study once an in-game day to restore spells. This process has no healing benefits to the caster but allows them to memorize and prepare their spells for the day.

Unlike a bard or sorcerer, a wizard may know any number of spells. He must choose and prepare her spells ahead of time by getting a good night’s sleep and spending 1 in-game hour studying his spellbook. Bards and sorcerers need not study to regain their spells.

Studying will be activated by the caster's spell book. Studying animation shall include sitting (on a chair if nearby) and/or reading a book.

Praying for Spells:
Divine spell casters can pray or meditate once an in-game day to restore spells. This process has no healing benefits to the caster but allows them to prepare their spells for the day.

A cleric must spend 1 in-game hour each day in quiet contemplation or supplication to regain his daily allotment of spells. Time spent resting has no effect on whether a cleric can prepare spells. A cleric may prepare and cast any spell on the cleric spell list, provided that he can cast spells of that level, but he must choose which spells to prepare during his daily meditation. The same applies to paladins, rangers, and druids.

Prayer will be activated by the caster's holy symbol. Prayer animation shall include worship (clerics & paladings) and/or meditation (druids & rangers).

NWN Object Dependencies
Rest Zone Triggers, Rest Zone Waypoints, Spell Books, Holy Symbols, Bedroll, Campfire, Tinderbox, and Tents

Local Variables and External Configs
sDiseaseName

Logging and Debugging (global LOG & DEBUG (on/off) constants)
None

Persistence Requirements
Character Vital Statistics, Heal Rate, Location, Timestamp

Event Dependencies
OnPlayerRest
Last edited by ç i p h é r on Sun Aug 20, 2006 6:52 pm, edited 12 times in total.
User avatar
Fionn
Ancient Red Dragon
Posts: 2942
Joined: Sun Jan 04, 2004 7:07 am
Location: Seattle, WA

Post by Fionn »

I'd really like to be able to tie in a longer rest time (at least a minute) and random encounters. It might also be nice to automatically remove the chest slot during rest (or put a temp -2 CON/STR if they fail a fort save while resting in armor. adjust the DC by the base AC).
PC: Bot (WD)

Code: Select all

     -----          -----          -----          -----
    /     \        /     \        /     \        /     \
   /  RIP  \      /  RIP  \      /  RIP  \      /  RIP  \      /
   |       |      |       |      |       |      |       |      |
  *| *  *  |*    *| *  *  |*    *| *  *  |*    *| *  *  |*    *|
_)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_(
User avatar
indio
Ancient Red Dragon
Posts: 2810
Joined: Sat Jan 03, 2004 10:40 am

Post by indio »

Resting needs tobe tied into random encounters.

Resting, outside of a town or city, should be allowable at any time, and as often as you like. But in all instances it risks a random encounter.

A potential exploit allows one person to be 'on watch' (not resting) allowing others to rest without risk of encounter. The script needs to fire any time any player rests, in a party or not. A random encounter is exactly that. It only sometimes spawns a fight.
Image
User avatar
NickD
Beholder
Posts: 1969
Joined: Sat Jul 31, 2004 9:38 am
Location: Auckland, New Zealand

Re: Feature Specification: Resting

Post by NickD »

ç i p h é r wrote:Without one, the character may only sleep once a game day. Resting will not heal your character completely, instead it will typically only heal 1hp/level, as per canon.
What about sleeping in an inn without a bedroll? I thought that was allowed after 8 hours of the last rest?

And I thought it was (1hp/level) + CON bonus + (1hp/level - if treated with medicine bag/healer kit before sleep)
Current PCs:
NWN1: Soppi Widenbottle, High Priestess of Yondalla.
NWN2: Gruuhilda, Tree Hugging Half-Orc
User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Post by ç i p h é r »

Updated. Thanks for the comments.

The random encounters I've left for the appropriate thread, but I've noted here that resting in the wild will risk a random encounter.

I'm not sure about the CON bonus on the heal rate NickD. Is that an ALFA specific implementation? Heal rate as a result of herbs/meds/drugs noted for thoroughness.
User avatar
NickD
Beholder
Posts: 1969
Joined: Sat Jul 31, 2004 9:38 am
Location: Auckland, New Zealand

Post by NickD »

I've played a cleric for a year and a half. I've never had to rest without full hitpoints :lol: , so I'm not entirely sure about the con bonus, but I think it's a rule here.

Also, before implementing anything to stop flash resting, please keep in mind that some people press the "r" key accidentally, especially when they forget to press the enter key before talking.
Current PCs:
NWN1: Soppi Widenbottle, High Priestess of Yondalla.
NWN2: Gruuhilda, Tree Hugging Half-Orc
User avatar
Fionn
Ancient Red Dragon
Posts: 2942
Joined: Sun Jan 04, 2004 7:07 am
Location: Seattle, WA

Post by Fionn »

I've been told it's 1 + CON bonus per level, but I've yet to see anything but 1/lvl in print.

If we heal faster at higher levels because we are tougher, it would stand to reason that tougher PCs would also heal faster. CON * lvl is a bit ridiculous though.
PC: Bot (WD)

Code: Select all

     -----          -----          -----          -----
    /     \        /     \        /     \        /     \
   /  RIP  \      /  RIP  \      /  RIP  \      /  RIP  \      /
   |       |      |       |      |       |      |       |      |
  *| *  *  |*    *| *  *  |*    *| *  *  |*    *| *  *  |*    *|
_)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_(
Dorn
Haste Bear
Posts: 2196
Joined: Sat Apr 17, 2004 5:00 pm
Location: Australia (West - GMT+8)

Post by Dorn »

[quote="indio"]
Resting, outside of a town or city, should be allowable at any time, and as often as you like. But in all instances it risks a random encounter.
quote]

Wouldn't that mean clerics and mages could recharge their spells several times a day?
I'm not sure if that is what the rules intended or not as i'm no PnPer but was just wondering.
playing Nathaniel Ward - Paladin of the Morninglord and devout of Torm (cookie cutter and proud of it)
User avatar
Fionn
Ancient Red Dragon
Posts: 2942
Joined: Sun Jan 04, 2004 7:07 am
Location: Seattle, WA

Post by Fionn »

as often as you like *if you are tired*
PC: Bot (WD)

Code: Select all

     -----          -----          -----          -----
    /     \        /     \        /     \        /     \
   /  RIP  \      /  RIP  \      /  RIP  \      /  RIP  \      /
   |       |      |       |      |       |      |       |      |
  *| *  *  |*    *| *  *  |*    *| *  *  |*    *| *  *  |*    *|
_)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_(
User avatar
indio
Ancient Red Dragon
Posts: 2810
Joined: Sat Jan 03, 2004 10:40 am

Post by indio »

The benfits of resting can be experienced once per day - spells regained, hit points recouperated, etc etc.

But a player should be able to lay back in the grass and close their eyes as often as they like. I do. Whenever you do, you risk getting ambushed.

The accidental R-press is important. Surely we can implement a text box that asks if you are sure you wish to rest.
Image
User avatar
Blackwill
Owlbear
Posts: 576
Joined: Sat Jan 08, 2005 12:41 pm
Location: Zhentil Keep (GMT+1)

Post by Blackwill »

I agree with you all on most points. Just one I want to point out is extanding the rest time. Like Fionn said, 1 minute resting would be nice to have.
Do you know what "nemesis" means? A righteous infliction of retribution manifested by an appropriate agent. Personified in this case by an 'orrible cunt... me.

~The ALFAn Hazite.

Image
User avatar
indio
Ancient Red Dragon
Posts: 2810
Joined: Sat Jan 03, 2004 10:40 am

Post by indio »

The Rest Team, from ALFA's dark-ages, came up with a 2 or 3 minute system. Personally I think 3 is right. Their primary justification, and Rotter will correct me if I'm wrong, was to ensure there was sufficient time fora toilet break, some character reflection, or a quick coffee.

Our game plays long, so a rest should feel significant, not just in terms of recouperation, but in terms of of longevity.
Image
User avatar
Blackwill
Owlbear
Posts: 576
Joined: Sat Jan 08, 2005 12:41 pm
Location: Zhentil Keep (GMT+1)

Post by Blackwill »

indio wrote:The Rest Team, from ALFA's dark-ages, came up with a 2 or 3 minute system. Personally I think 3 is right. Their primary justification, and Rotter will correct me if I'm wrong, was to ensure there was sufficient time fora toilet break, some character reflection, or a quick coffee.

Our game plays long, so a rest should feel significant, not just in terms of recouperation, but in terms of of longevity.
Very much agreed.
Do you know what "nemesis" means? A righteous infliction of retribution manifested by an appropriate agent. Personified in this case by an 'orrible cunt... me.

~The ALFAn Hazite.

Image
User avatar
NickD
Beholder
Posts: 1969
Joined: Sat Jul 31, 2004 9:38 am
Location: Auckland, New Zealand

Post by NickD »

And there was much wailing and gnashing of teeth and comments along the lines of "If resting is extended for even a second I will leave ALFA".
Current PCs:
NWN1: Soppi Widenbottle, High Priestess of Yondalla.
NWN2: Gruuhilda, Tree Hugging Half-Orc
User avatar
Kest
Builder
Posts: 794
Joined: Sat May 22, 2004 9:20 pm
Location: Flint, MI

Post by Kest »

I was the one who brought up the Con bonus, way back when. It was either in an obscure section of the rule book or it's a house rule my old DM has.
Locked