1
0
mirror of https://github.com/PDP-10/its.git synced 2026-03-10 04:44:26 +00:00

Fix Zork issue when opening non-functional windows.

Updated Zork to address issue with bad message when opening
non-functional windows.

Addresses this issue:  https://github.com/heasm66/mdlzork/issues/58
And this fix: https://github.com/heasm66/mdlzork/pull/59
This commit is contained in:
Eric Swenson
2023-11-18 10:52:38 -08:00
parent df6307ee86
commit e6745f1fd6
2 changed files with 9 additions and 4 deletions

View File

@@ -1661,6 +1661,11 @@ probably).">
(<VERB? "MUNG">
<TELL <PICK-ONE ,DOORMUNGS>>)>>
<DEFINE DWIND-FUNCTION ()
<COND (<VERB? "OPEN">
<TELL
"The window cannot be opened.">)>>
<DEFINE PUMPER ("AUX" (P <SFIND-OBJ "PUMP">))
<COND (<OR <IN-ROOM? .P>
<MEMQ .P <AOBJS ,WINNER>>>

View File

@@ -1509,11 +1509,11 @@ threat to his livelihood."]]!]>
WATER-FUNCTION>
<GOBJECT DWINDOW
["WINDO"]
["DWIND" "WINDO"]
[]
"window"
,OVISON
<>>
DWIND-FUNCTION>
\
@@ -1597,7 +1597,7 @@ and all the windows are barred."
"North of House"
<EXIT "WEST" "WHOUS" "EAST" "EHOUS" "NORTH" "FORE3"
"SOUTH" #NEXIT "The windows are all barred.">
()
(<GET-OBJ "DWIND">)
<>
<+ ,RLANDBIT ,RLIGHTBIT ,RNWALLBIT ,RSACREDBIT>
(RGLOBAL <+ ,DWINDOW ,HOUSEBIT>)>
@@ -1608,7 +1608,7 @@ and all the windows are barred."
"South of House"
<EXIT "WEST" "WHOUS" "EAST" "EHOUS" "SOUTH" "FORE2"
"NORTH" #NEXIT "The windows are all barred.">
()
(<GET-OBJ "DWIND">)
<>
<+ ,RLANDBIT ,RLIGHTBIT ,RNWALLBIT ,RSACREDBIT>
(RGLOBAL <+ ,DWINDOW ,HOUSEBIT>)>