|
@@ -97,6 +97,7 @@ Say.afterPrinting.addRule(new Rule(
|
|
|
conditions : (rulebook : RulebookRunner<Say>) => {
|
|
|
return Elements.RoomHandler.PrintingVisibleThingsRulebook.isRunning()
|
|
|
&& (<Say> rulebook.noun).currentNoun instanceof CoinPouch
|
|
|
+ && (<CoinPouch> (<Say> rulebook.noun).currentNoun).getEnclosedOne() == WorldState.player.getRoom()
|
|
|
&& (<CoinPouch> (<Say> rulebook.noun).currentNoun).getCoins() > 0;
|
|
|
}
|
|
|
}
|