scemino / engge

Open source remake of Thimbleweed Park's engine
https://scemino.github.io/
MIT License
150 stars 15 forks source link

When I try to give Willie, Boris' room key card, it does nothing #217

Closed Mac1512 closed 4 years ago

Mac1512 commented 4 years ago

Describe the bug

When I try to give Willie, Boris' room key card, it does nothing.

The following message appears in the log:

[2020-07-13 20:01:46.907] [log] [error] File BORIS_24840.ogg not found

Which is equivalent to:

24840 I don't want to give away evidence.

which is wrong

To Reproduce

In the first part, in the bridge room

Steps to reproduce the behavior:

  1. Selected verb "Give"
  2. click with the left mouse button on keycard
  3. click with the left mouse button on Willie

Expected behavior

Boris, I should answer:

25583 That would be very nice of me to give my hotel card to this poor man. But I need a place to stay myself.

Screenshots

None

Desktop (please complete the following information):

Additional context

Tested on commit: https://github.com/scemino/engge/commit/50c203c09b57c0fbbcdf6284c60886c8db471e07

scemino commented 4 years ago

Mmmh same bug as usual in verbGive function of the object borisHotelKeycard, the parameter actor should be willie to have the correct sentence: sayLine(boris, "@25583") but actually the parameter is willieObject.