BedMagic.iff itself already had a valid Sleep interaction:

text

Sleep -> Action 4106, Test 4107

But at runtime, BedMagic_sleep_fix.piff was applied on top of it. That PIFF was stale and was re-adding a fifth interaction:

text

Wisp – Sleep -> Action 4167, Test 4166

That was wrong because 4167 is the test tree and 4166 is the action wrapper, so the row’s action/test were effectively swapped. Result: a sleep-looking interaction could pass enough to appear, but when queued it would not run the real sleep behavior.

I edited BedMagic_sleep_fix.piff and removed only these stale entries from the PIFF:

text

TTAB #129
TTAs #129

I kept the actual intended sleep fix entries:

text

BHAV 4112
BHAV 4106
BHAV 4107
BHAV 4137
BHAV 4153
BCON 4096

So the runtime patched bed now keeps the clean interaction table:

text

Sleep -> Action 4106, Test 4107
Make Bed -> Action 4108, Test 4109
Wake Up -> Action 4142, Test 4141
Tuck In -> Action 4144, Test 4145

The Wisp – Sleep BHAV chunks still exist in the object, but they are no longer exposed through the interaction table, so they should be harmless. I also updated the existing generated/bin copies of the PIFF, including the FSO.IDE\bin\Debug copy your editor screenshot was loading.

Leave a Reply

Your email address will not be published. Required fields are marked *