Skip to content

Terp fails to LOOK after room-swap #42

Description

@ahope1

The compiled version of the following example from the Adventure System manual (page 2-23) works as expected with PerlScott or with ADVENTUR/CMD, but fails when played with the ScottKit interpreter:

start bedroom

occur when flag 1
	clear_flag 1
	swap_room
	goto hintroom
	continue
	
occur 0%
	look
	pause
	swap_room
	look


room bedroom "bedroom"
	
room hintroom "*This is the hint room. Hinty hinty."


action sleep:
	set_flag 1
	print "You fall asleep..."
	pause

action score: score
action inventory: inventory
action look: look

verbgroup sleep

After you enter the command sleep, you should be teleported to the "hint room"; the description of the hint room should be displayed on screen briefly; and then you should be teleported back to the bedroom again. But ScottKit fails to display the hint-room description.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions