locker: LockableContainer, Fixture 'locker' 'locker' "A standard metal locker stands in the corner, slightly worn but sturdy. Its surface is a matte, muted gray with faint scratches and small dents, evidence of years of use. You could see an attached keypad.\n " location = thirdRoom isListed = true initiallyLocked = true ; + Wearable 'pair/sock*socks' 'pair of socks' "A pair of white socks. " dobjFor (Wear) { verify () { illogical('It turned out that the socks are the wrong size for you.'); } } ; + Surface 'control panel' 'control panel' "control panel with one button" ; ++ Button, Immovable 'large brown button*buttons' 'brown button' "Large brown button" dobjFor(Push) { action() { "The journey through hyperspace was a surreal blur of neon colors and shifting geometric patterns, merging reality with digital abstraction. Time and space bent, as the void outside pulsed with electric blues, purples, and flashes of bright green.\b Suddenly, a small stone island appeared, suspended in the middle of the digital expanse. It was rough and weathered, an anomaly surrounded by a shimmering, pixelated sea that rippled with each moment.\b The island seemed impossibly out of place, a fragment of the physical world amid the boundless, artificial cosmos, with only the faint static of data streams breaking the eerie silence.\b You arrived to the Strange Island in the Middle Of Nowhere. "; me.moveIntoForTravel(island); } } isListed = true ; /* */ modify VerbRule(SetTo) ('press' | 'input') singleLiteral ('on' | 'with') singleDobj : /* empty */ ; numpad: Dial, Component 'electronic locking device/numpad/keyboard/keypad' 'numpad keyboard' "An electronic device with a numeric keypad and a small 4-digit display.\n Apparently, you can type a passcode on this keyboard to open the locker. " location = thirdRoom makeSetting(val) { curSetting = val is in (secondRoom.wallCode) ? val : '0'; } dobjFor (TypeLiteralOn) remapTo(SetTo, self, OtherObject) dobjFor (SetTo) { action () { inherited; if (curSetting == secondRoom.wallCode) { locker.makeLocked(nil); locker.makeOpen(true); "The locker opened with a click. "; } else { "You heard an annoying sound and a red light flashed on the keypad. "; } } } ;