obj = LAMP;
if (HERE(URN) && game.prop[URN] == URN_LIT)
obj = URN;
- if (obj == INTRANSITIVE)
+ if (obj == INTRANSITIVE ||
+ HERE(LAMP) && game.prop[LAMP] == LAMP_BRIGHT &&
+ HERE(URN) && game.prop[URN] == URN_LIT)
return GO_UNKNOWN;
}
obj = LAMP;
if (HERE(URN) && game.prop[URN] == URN_DARK)
obj = URN;
- if (obj == INTRANSITIVE || obj == 0 || obj > NOBJECTS)
+ if (obj == INTRANSITIVE ||
+ HERE(LAMP) && game.prop[LAMP] == LAMP_DARK && game.limit >= 0 &&
+ HERE(URN) && game.prop[URN] == URN_DARK)
return GO_UNKNOWN;
}
In the process we found and fixed a few minor bugs. Most notably, reading
the relocated Witt's End sign in the endgame didn't work. Behavior when
saying the giant's magic words outside his room wasn't quite right either.
+Attempt to extinguish dark urn would have cause it do lose oil.
The move to modern C entailed some structural changes. The most
important was the refactoring of over 350 gotos into if/loop/break
Don't be ridiculous!
+> light
+
+Light what?
+
> light urn
The urn is now lit.
The urn is now dark.
+> extinguish
+
+Extin what?
+
> look
Sorry, but I am not allowed to give more detail. I will repeat the
A small urn full of oil is embedded in the rock.
-> light
+> light urn
The urn is now lit.
+> light
+
+Your lamp is now on.
+
> look
Sorry, but I am not allowed to give more detail. I will repeat the
The urn is now dark.
+> extinguish
+
+Your lamp is now off.
+
> look
The forest thins out here to reveal a steep cliff. There is no way
cooperate.
-You scored 267 out of a possible 430, using 345 turns.
+You scored 267 out of a possible 430, using 349 turns.
You have reached "Junior Master" status.
pour bottle
fill bottle
drink oil
+light
light urn
fill urn
read urn
look
extinguish
+extinguish
look
+light urn
light
look
extinguish urn
+extinguish
look
fly