proplock.muf(#3736Fl) Owner: Mouse Type: PROGRAM Flags: Link_OK @23 Key: *UNLOCKED* Program compiled size: 135 Location: Library: Misc Room(#269R) Properties: dsc1: This can be used to make actions that set/clear properties on the player dsc2: invoking the action. It can also be used to make an exit that tests dsc3: properties on the player attempting to take the exit. In all cases, lock dsc4: the exit to this program. Then put properties on the exit describing what dsc5: you wish to do. These take the form of prop-action- properties, where dsc6: starts at 1 and increases until a nonexistent property is found; their dsc7: values describe the actions to be taken. Properties specifying unknown dsc8: actions are ignored. The actions are: dsc9: add:: dsc10: This adds a property called to the player, dsc11: with value . dsc12: remove: dsc13: This removes a property from the player. dsc14: check: dsc15: check:! dsc16: This checks that the specified property is present on the dsc17: player. If not, the lock fails without performing any more dsc18: actions. A leading ! on the property name negates dsc19: the sense of the test. Example for proplock.muf(#3727v) Owner: Mouse Value: 1 Type: THING Flags: Visual @23 Key: Mouse(#1363Pcmbv) Home: Mouse(#1363Pcmbv) Location: Library: Misc Room(#269R) Properties: dsc1: This object is an example of the use of proplock.muf. It has three dsc2: action on it: test-addprop, test-testprop, and test-remprop. The object, dsc3: and all three actions, can be `examine'd by anyone. They provide a dsc4: simple example of the use of proplock.muf. Actions/exits: test-testprop(#3724Ev) test-remprop(#3725Ev) test-addprop(#3728Ev)