-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement isApplicable for Approaches
Approach in writer’s input now accepts `PREREQUISITES:`. This allows us to let the player bypass things they’ve already done.
- Loading branch information
Showing
13 changed files
with
245 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
edgehead/assets/text/Knights/1_goblin_skirmish/050_goblin_skirmish_sneak.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// --- | ||
APPROACH: $goblin_skirmish_sneak FROM $goblin_skirmish_patrol | ||
COMMAND: Go >> towards the goblin outpost | ||
DESCRIPTION: N/A | ||
|
||
// --- | ||
APPROACH: $goblin_skirmish_sneak FROM $bleeds_main | ||
COMMAND: Go >> towards the goblin outpost | ||
DESCRIPTION: N/A | ||
PREREQUISITES: | ||
$(c).playerHasVisited("goblin_skirmish_sneak") | ||
|
||
// --- | ||
ROOM: $goblin_skirmish_sneak | ||
|
||
FIRST_DESCRIPTION: | ||
[[We]] sneak around. It's only 3 goblins. They are speaking loudly. | ||
|
||
DESCRIPTION: | ||
The goblins are still here. |
27 changes: 23 additions & 4 deletions
27
edgehead/assets/text/Knights/1_goblin_skirmish/100_goblin_skirmish_main.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,32 @@ | ||
// --- | ||
APPROACH: $goblin_skirmish_main FROM $goblin_skirmish_patrol | ||
COMMAND: Go >> towards the outpost | ||
APPROACH: $goblin_skirmish_main FROM $bleeds_main | ||
COMMAND: Go >> to the goblin outpost | ||
DESCRIPTION: N/A | ||
PREREQUISITES: | ||
$(c).hasHappened(evGoblinCampCleared) | ||
|
||
// --- | ||
APPROACH: $goblin_skirmish_main FROM $goblin_skirmish_sneak | ||
COMMAND: Go >> attack the camp | ||
DESCRIPTION: N/A | ||
PREREQUISITES: | ||
!$(c).hasHappened(evGoblinCampCleared) | ||
|
||
// --- | ||
ROOM: $goblin_skirmish_main | ||
|
||
FIRST_DESCRIPTION: | ||
[[We]] sneak around. It's only 3 goblins. They are speaking loudly. | ||
TODO -- an actual battle with the goblins. | ||
|
||
Assume you won. | ||
|
||
[[CODE]] | ||
w.recordCustom(evGoblinCampCleared); | ||
[[/CODE]] | ||
|
||
DESCRIPTION: | ||
The goblins are still here. | ||
The goblin camp is deserted. | ||
|
||
[[CODE]] | ||
w.recordCustom(evGoblinCampCleared); | ||
[[/CODE]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.