Moved duplicated movement code from ESCPlayer and ESCItem/ESCHotspot to its own script. Added talking animations management. Fixed bug: character was turning to last_direction after talking, if coming from another direction than speaking direction. Continued removing unfree stuff.
11 lines
213 B
Plaintext
Executable File
11 lines
213 B
Plaintext
Executable File
:look
|
|
say player "That's a wrench on the floor." [!i/r5_wrench]
|
|
say player "It seems even more useful now that I picked it up." [i/r5_wrench]
|
|
stop
|
|
|
|
:pickup
|
|
set_global i/r5_wrench true
|
|
set_active r5_wrench false
|
|
|
|
|