| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-07-21 23:03:57 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-07-21 23:03:57 +0200 |
| commit | 7bd910917ac2e9ad6b6db9a1fff5a890ac149b52 (patch) | |
| tree | bea4970c19b380ae01d722e594cdc0c6b021c989 /data/examples/the_thief | |
| parent | 7e38e4512b407500910071120d2ad23a9ec395cf (diff) | |
New demo. Issue with rule prio.
I can't seem to get the MACRO_KW rule from the instructions to have a
higher priority than the MACRO_KW rule from the values.
Diffstat (limited to 'data/examples/the_thief')
| -rw-r--r-- | data/examples/the_thief/include/chapters.fate | 2 | ||||
| -rw-r--r-- | data/examples/the_thief/include/characters.fate | 57 | ||||
| -rw-r--r-- | data/examples/the_thief/include/locations.fate | 41 | ||||
| -rw-r--r-- | data/examples/the_thief/include/text_effects.fate | 3 | ||||
| -rw-r--r-- | data/examples/the_thief/include/type/character.fate | 12 | ||||
| -rw-r--r-- | data/examples/the_thief/include/type/location.fate | 15 | ||||
| -rw-r--r-- | data/examples/the_thief/include/type/stat.fate | 3 | ||||
| -rw-r--r-- | data/examples/the_thief/main.fate | 47 |
8 files changed, 0 insertions, 180 deletions
diff --git a/data/examples/the_thief/include/chapters.fate b/data/examples/the_thief/include/chapters.fate deleted file mode 100644 index d7beb18..0000000 --- a/data/examples/the_thief/include/chapters.fate +++ /dev/null @@ -1,2 +0,0 @@ -(fate_version 1) - diff --git a/data/examples/the_thief/include/characters.fate b/data/examples/the_thief/include/characters.fate deleted file mode 100644 index 0bdd797..0000000 --- a/data/examples/the_thief/include/characters.fate +++ /dev/null @@ -1,57 +0,0 @@ -(fate_version 1) - -(require type/character.fate) - -(declare_variable local character oscar) -(declare_variable character carla) -(declare_variable local character simon) -(declare_variable character julie) -(declare_variable local character statue) - -(require include/locations.fate) - -(set_fields oscar - - (name Oscar) - (agility 50) - (perception 50) - (money 20) -) -(add (ref oscar) room0.occupants) - -(set_fields carla - - (name Carla) - (agility 75) - (perception 35) - (money 7) -) -(add (ref carla) room1.occupants) - -(set_fields simon - - (name Simon) - (agility 35) - (perception 75) - (money 80) -) -(add (ref simon) room2.occupants) - -(set_fields julie - - (name Julie) - (agility 60) - (perception 60) - (money 90) -) -(add (ref julie) corridor.occupants) - - -(set_fields statue - - (name ( A oddly human shaped statue, with clothes adorned )) - (agility 0) - (perception 0) - (money 30) -) -(add (ref statue) corridor.occupants) diff --git a/data/examples/the_thief/include/locations.fate b/data/examples/the_thief/include/locations.fate deleted file mode 100644 index e46c504..0000000 --- a/data/examples/the_thief/include/locations.fate +++ /dev/null @@ -1,41 +0,0 @@ -(fate_version 1) - -(require type/location.fate) - -(declare_variable local location room0) -(declare_variable local location room1) -(declare_variable local location room2) -(declare_variable local location corridor) - -(set_fields room0 - (name ( Room 0 )) - (description - ( An luxurious bedroom, well lit. ) - ) - (luminosity 80) -) - -(set_fields room1 - (name ( Room 1 )) - (description - ( An overly large kitchen, unevenly lit. ) - ) - (luminosity 35) -) - -(set_fields room2 - (name ( Room 2 )) - (description - ( An tiny and messy study, unlit. ) - ) - (luminosity 0) -) - -(set_fields corridor - (name Corridor) - (description - ( A long corridor, with many decorations, and many hiding places. ) - ) - (luminosity 50) -) - diff --git a/data/examples/the_thief/include/text_effects.fate b/data/examples/the_thief/include/text_effects.fate deleted file mode 100644 index c8cdd7e..0000000 --- a/data/examples/the_thief/include/text_effects.fate +++ /dev/null @@ -1,3 +0,0 @@ -(fate_version 1) - -(declare_text_effect narrator) diff --git a/data/examples/the_thief/include/type/character.fate b/data/examples/the_thief/include/type/character.fate deleted file mode 100644 index 6278ad9..0000000 --- a/data/examples/the_thief/include/type/character.fate +++ /dev/null @@ -1,12 +0,0 @@ -(fate_version 1) - -(require stat.fate) - -(declare_dict_type character - (string name) - (stat agility) - (stat perception) - (int money) -) - -(declare_ref_type character character_ptr) diff --git a/data/examples/the_thief/include/type/location.fate b/data/examples/the_thief/include/type/location.fate deleted file mode 100644 index 9db494f..0000000 --- a/data/examples/the_thief/include/type/location.fate +++ /dev/null @@ -1,15 +0,0 @@ -(fate_version 1) - -(require character.fate) - -(declare_set_type character_ptr occupants) -(declare_subtype int luminosity) - -(declare_dict_type location - (string name) - (string description) - (luminosity luminosity) - (occupants occupants) -) - -(declare_ref_type location location_ptr) diff --git a/data/examples/the_thief/include/type/stat.fate b/data/examples/the_thief/include/type/stat.fate deleted file mode 100644 index c2e0feb..0000000 --- a/data/examples/the_thief/include/type/stat.fate +++ /dev/null @@ -1,3 +0,0 @@ -(fate_version 1) - -(declare_subtype int stat) diff --git a/data/examples/the_thief/main.fate b/data/examples/the_thief/main.fate deleted file mode 100644 index 66773c2..0000000 --- a/data/examples/the_thief/main.fate +++ /dev/null @@ -1,47 +0,0 @@ -(fate_version 1) - -(require include/text_effects.fate) -(require include/characters.fate) -(require include/chapters.fate) - -(text_effect narrator - As the last lights of the day vanish, you bid farewell to a sun you hope - will not recognize you next morning, for tonight is the time of your - transformation. Tonight, you put an end to the hunger. Tonight, you put an - end to the cold. Tonight, surely, you get to claim the luck you were denied - all this time. - (newline) - As you gaze upon the magnificent Tarmock manor, any trace of hesitation - disappears. The plan is simple: your forged letter of introduction will get - you through the door, and your lifelong skills through their purses. -) - -(sequence standing_before_the_manor) - -(cond - ((= 3 (variable oscar.money)) ...don't...) - ((> 3 (variable carla.agility)) ...might...) - ((> 3 (variable carla.perception)) ...surely...) -) - -(= lol - (cond - ((= 3 (variable oscar.money)) ...don't...) - ((> 3 (variable carla.agility)) ...might...) - ((> 3 (variable carla.perception)) ...surely...) - ) -) -Tonight's the night... (newline) -Tonight, we become rich... (newline) -Tonight, we... - -(player_choice - ( - ( ...get in through the window! ) - (sequence through_the_window) - ) - ( - ( ...knock at the door! ) - (sequence knocking_on_door) - ) -) |


