Skip to content

Deluxe Doors issues #141

Description

@ajmako

Latched doors do not automatically close if they are open when you try to latch them. Also, unlatching an unlocked latched door results in "You don't see any such thing." (Inform 7 v10.1.2)

I resolved the first with this:

Carry out an actor turning a door-latch which is part of something (called the parent door) (this is the carry out turning door-latches rule):
	if the parent door is locked:
		safely unlock parent door;
	otherwise:
		if the parent door is open:
			say "(first closing [the noun])[command clarification break]";
			safely close the parent door;
		safely lock parent door.

I resolved the second with:

Understand "unlatch [an unlocked latched door]" as a mistake ("[The noun] is already unlatched.").

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions