From 8006ebf8d68ce92fbec7bee53fa8b3a3c9f94975 Mon Sep 17 00:00:00 2001 From: Andrew Mulholland Date: Fri, 14 Jul 2023 23:58:27 +0100 Subject: [PATCH] Update firewall 6 --- tutorials/cyber-kingdom/firewall/firewall_6.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tutorials/cyber-kingdom/firewall/firewall_6.md b/tutorials/cyber-kingdom/firewall/firewall_6.md index 8da3703..082240b 100644 --- a/tutorials/cyber-kingdom/firewall/firewall_6.md +++ b/tutorials/cyber-kingdom/firewall/firewall_6.md @@ -11,6 +11,13 @@ cyber.setupFirewall(function () { cyber.addDenyFirewallRule(cyber.requireLegs(Legs.TwoLegs)) cyber.addDenyFirewallRule(cyber.ruleAnd(cyber.requireLegs(Legs.OverFourLegs), cyber.requireHoldingItem(HoldingItem.NoItem))) cyber.addDenyFirewallRule(cyber.requireEyewear(WearingEyeware.WearingEyeware)) + cyber.addDenyFirewallRule(cyber.requireCrest(cyber.createGridString(` + . . . . . + . . . . . + . . . . . + . . . . . + . . . . . + `))) }) ``` @@ -20,9 +27,9 @@ The rival kingdom it seems didn't take kindly to us blocking access to their spi ![Soldiers](https://raw.githubusercontent.com/CausewayDigital/Minecraft-EE-MakeCode/main/tutorials/cyber-kingdom/firewall/images/level_6.jpg) -## Spies! +## Soldiers! Quickly, create some rules to block these solders, we can't have them getting through the castle walls! -I wonder how we could differentiate them from normal villagers? +We could use their royal crest on the shields to help differentiate them. Our soldiers have a **golden** and **purple** crest, they must be allowed back in. ```template