prophecymud / prophecy-issues

Prophecy issues, bugs, et cetera
0 stars 0 forks source link

Poison has weird interactions with sleep #12

Open prophnoran opened 4 years ago

prophnoran commented 4 years ago

Once the 'you shiver and suffer' message hits you sort of half wake up? And you're still using your furniture?

465/659H 329/329M 174/229V a:1000 911tnl EU  >
sleep down
You go to sleep in (Quest) A Fluffy Eiderdown Quilt.

465/659H 329/329M 174/229V a:1000 911tnl EU  >
l 
In your dreams, or what?

465/659H 329/329M 174/229V a:1000 911tnl EU  >

You shiver and suffer.

493/659H 329/329M 217/229V a:1000 911tnl EU  >

497/659H 329/329M 229/229V a:1000 911tnl EU  >
l 
The Healing Room
  Cots line the walls of this small white room as healers run around
tending to the injured clan members that rest here.  The faint smell of dried
blood and herbs mixes with the odor of the slightly unwashed wounded.  A priest
can be heard reciting a Hymn to a patient.

[Exits: east up]
     (Quest) A Fluffy Eiderdown Quilt looks very warm and inviting.
     An Empty Cot is set against the wall.
The Healer quickly tends to the injured.

497/659H 329/329M 229/229V a:1000 911tnl EU  >
score

(-You are Khorlon the Merchant, a 17 year old male, drasnian, spy.
{SNIP}
-You are standing.
{SNIP}
497/659H 329/329M 229/229V a:1000 911tnl EU  >
get down
Khorlon appears to be using (Quest) A Fluffy Eiderdown Quilt.

497/659H 329/329M 229/229V a:1000 911tnl EU  >
sleep
You go to sleep in (Quest) A Fluffy Eiderdown Quilt.

497/659H 329/329M 229/229V a:1000 911tnl EU  >
wake
You wake and stand up.
The Healing Room
  Cots line the walls of this small white room as healers run around
tending to the injured clan members that rest here.  The faint smell of dried
blood and herbs mixes with the odor of the slightly unwashed wounded.  A priest
can be heard reciting a Hymn to a patient.

[Exits: east up]
     (Quest) A Fluffy Eiderdown Quilt looks very warm and inviting.
     An Empty Cot is set against the wall.
The Healer quickly tends to the injured.

497/659H 329/329M 229/229V a:1000 911tnl EU  >
get down
You get (Quest) A Fluffy Eiderdown Quilt.
anhegofcherek commented 4 years ago

Technically I think you'll find this isn't poison's issue per se, but an issue with how "standing on" is shown.

What you're seeing is this:

I agree that this could be made clearer - any ideas how?

prophnoran commented 4 years ago

I had no idea you could stand on things. Oddly, taking damage while sleeping seems to be the only way I can get that to work; stand down (and also stand cot) give me You can't seem to find a place to stand..

I guess I'd suggest these changes:

1) Damage waking you up should have its own separate message:

You shiver and suffer.
Ouch! The pain wakes you up.

2) geting an object you're standing on should either (a) have a better message (right now it uses the third person, weirdly) or (b) work if no one else is standing on it.

3) looking at a room when you are standing (and maybe resting) on an object should say something like: You are standing in (Quest) A Fluffy Eiderdown Quilt

4) Is there a way to get out of the 'standing in' state other than sleep-then-wake? If so, it should be more discoverable; if not, maybe wake should do this...

anhegofcherek commented 4 years ago

Oddly, taking damage while sleeping seems to be the only way I can get that to work; stand down (and also stand cot) give me You can't seem to find a place to stand..

Right, sorry, I forgot to mention that specific nuance - furniture flags are {STAND,SIT,REST,SLEEP}_{AT,ON,IN} - your quilt doesn't have a STAND_* flag so you can't actively stand at/on/in it, but the damage-position-transition code ignores that (so that nobody can take it from you)

prophnoran commented 4 years ago
  1. In score maybe make it say You are standing in (Quest) A Fluffy Eiderdown Quilt rather than just You are standing