diff --git a/edgehead/assets/text/Knights/locations/012_big_o_antechamber/000_big_o_antechamber.egb.txt b/edgehead/assets/text/Knights/locations/012_big_o_antechamber/000_big_o_antechamber.egb.txt index 3210c2d26..b288a3280 100644 --- a/edgehead/assets/text/Knights/locations/012_big_o_antechamber/000_big_o_antechamber.egb.txt +++ b/edgehead/assets/text/Knights/locations/012_big_o_antechamber/000_big_o_antechamber.egb.txt @@ -25,7 +25,7 @@ The mechanism is complex and delicate. Not quite ancient but definitely a work o In contrast to the intricate texture of the bulk of the mechanism, the center of the lock is simple. An elegant circle, about the size of my palm. This must be the equivalent of a key slit. -[[IF c.hasItem(theNull)]]After a few moments, I realize the shape of the lock reminds me of something I have. The circular badge of the orc leader. It will fit.[[ENDIF]] +[[IF c.hasItem(theNullId)]]After a few moments, I realize the shape of the lock reminds me of something I have. The circular badge of the orc leader. It will fit.[[ENDIF]] // --- @@ -36,7 +36,7 @@ FOR_LOCATION: $big_o_antechamber PREREQUISITES: w.actionHasBeenPerformed('examine_antechamber_lock') && -c.hasItem(theNull) +c.hasItem(theNullId) COMPLETE_SUCCESS_DESCRIPTION: I climb up the ladder and place the metal circle in the center of the mechanism. It fits perfectly. Something in the trapdoor clicks, and it slowly opens, as if held by an invisible hand. diff --git a/edgehead/lib/writers_input.compiled.dart b/edgehead/lib/writers_input.compiled.dart index 32eb35990..605a360ae 100644 --- a/edgehead/lib/writers_input.compiled.dart +++ b/edgehead/lib/writers_input.compiled.dart @@ -411,11 +411,11 @@ class ExamineAntechamberLock extends RoamingAction { final Actor a = c.actor; final WorldStateBuilder w = c.outputWorld; final Storyline s = c.outputStoryline; - final ifBlock_113686834 = c.hasItem(theNull) + final ifBlock_13a1b5365 = c.hasItem(theNullId) ? '''After a few moments, I realize the shape of the lock reminds me of something I have. The circular badge of the orc leader. It will fit.''' : ''''''; s.add( - 'The mechanism is complex and delicate. Not quite ancient but definitely a work of someone skillful.\n\nIn contrast to the intricate texture of the bulk of the mechanism, the center of the lock is simple. An elegant circle, about the size of my palm. This must be the equivalent of a key slit.\n\n${ifBlock_113686834}\n', + 'The mechanism is complex and delicate. Not quite ancient but definitely a work of someone skillful.\n\nIn contrast to the intricate texture of the bulk of the mechanism, the center of the lock is simple. An elegant circle, about the size of my palm. This must be the equivalent of a key slit.\n\n${ifBlock_13a1b5365}\n', isRaw: true); return '${a.name} successfully performs ExamineAntechamberLock'; } @@ -467,7 +467,7 @@ class OpenAntechamberLock extends RoamingAction { return false; } if (!(w.actionHasBeenPerformed('examine_antechamber_lock') && - c.hasItem(theNull))) { + c.hasItem(theNullId))) { return false; } return w.actionNeverUsed(name);