Section 42 - Outside East City Gates
Egext is a room.
Printed name of Egext is "Outside The East City Gates"
Egext is east of Ngext
gt2 is a closed locked door. gt2 is scenery. gt2 is inside from egext and east from City Plaza. printed name of gt2 is "gate". understand "gate" as gt2. description of gt2 is "A huge wrought iron gate, [if gt is closed]you can see the city plaza through the bars[else]now open[end if]. It is at least 12 feet high[if gt is closed], so there's no chance of climbing over it[end if]. The iron bars have been expertly bent into the shape of a spiders web.".
before trying going inside from Egext when gt2 is locked:
If soldier is inside sentry2:
say "'Halt!' barks the Soldier. 'I'm under strict orders not to allow anyone into the city!'";
rule fails instead;
Else:
say "The gate is locked and it is too tall to climb over."
before trying opening gt2 when gt2 is locked:
If soldier is inside sentry2:
say "'Halt!' barks the Soldier. 'I'm under strict orders not to allow any anyone into the city!'";
rule fails instead;
Else:
say "The gate is locked and it is too tall to climb over."
a sentry2 is inside Egext
a sentry2 is an enterable open unopenable container
printed name of sentry2 is "sentry box"
understand "key" as soldierkey
description of sword is "An army issue shortsword. Nothing special but its sharp and pointy as it should be."
description of shield is "A large round wooden shield, bearing the insignia of Somewhere."
insignia3 is part of the shield.
description of insignia3 is "A crest with a depiction of a snake swallowing its own tail, below it the motto reads [italic type]'Nihil Timueris[roman type]'"
understand "insignia" as insignia3
printed name of insignia3 is "insignia".