Files
gymkhana-actions/game/rooms/room6/esc/worker.esc
Julian Murgia ff56816205 Deleted ESCHotspot (use ESCItem instead)
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.
2021-01-13 23:23:04 +01:00

53 lines
1.2 KiB
Plaintext
Executable File

:look
say player "He's looking a bit odd."
:pickup
say player "I don't think he'd like that."
:talk
> [!talked_once]
say player "Uhm..."
say worker "Yeah?"
set_global talked_once true
? option1 1000 option2 true
- "What are you doing here?"
say player "What are you doing here?"
say worker "I'm working! Can't you see that?"
say worker "My colleague is supposed to bring me an important report. And he's not coming!"
?
- "I'll bring you this report!"
say player "I'll bring you this report!"
say worker "You will? Great!"
say worker "Now please hurry up so I can leave and have lunch."
stop
- "I've got better things to do."
say player "I've got better things to do."
say worker "Eh! I'm not asking you anythin'!"
stop
- "I'm selling these fine leather jackets."
say player "I'm selling these fine leather jackets."
say worker "Go away, kid."
stop
:use r5_filled_sheet
say player "I'll give you this!"
:give r5_filled_sheet
inventory_remove r5_filled_sheet
say worker "Hey! That's perfect!"
say worker "I can finally get away from here!"
walk_to_pos worker 1200 400
#set_angle worker 45
# Open the door
set_state r6_door r_door_open
set_global r6_door_open true
# Disappear!
wait 1
set_active worker false