Files
gymkhana-actions/game/items/inventory/pen.esc
balloonpopper bcb366c6af feat: Graphics update for room 5 (#525)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-03-04 14:49:15 +01:00

25 lines
576 B
Plaintext
Executable File

:look
say player "It's a pen."
stop
:pickup
# Add the pen to the inventory
inventory_add r5_pen
# Hide the pen graphic in the room
set_active r5_pen false
stop
# This only works if you add "use" as a "Combine when Selected Action in" action
# to both the pen and empty_sheet ESCitems.
:use r5_empty_sheet
# Dont let the player interrupt the sequence
accept_input SKIP
inventory_remove r5_pen
inventory_remove r5_empty_sheet
say player "Hmmm..."
say player "Name..."
say player "Address..."
inventory_add r5_filled_sheet
# Allow player interaction again
accept_input ALL
stop