projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b93d2d3
)
In the YAML, name the rabbit foot because it has a reference.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 11 Jan 2021 05:56:55 +0000
(
00:56
-0500)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 11 Jan 2021 06:06:44 +0000
(
01:06
-0500)
adventure.yaml
patch
|
blob
|
history
diff --git
a/adventure.yaml
b/adventure.yaml
index 34008a4bd001061db59a5125ad1bc81bcaad19c4..a1925a8b71fa9630698409a62e1d138a82f924ce 100644
(file)
--- a/
adventure.yaml
+++ b/
adventure.yaml
@@
-81,7
+81,9
@@
# Order doesn't matter; the logic simply tests every threshold on
# the assumption that turn counts never decrease nor skip values.
#
# Order doesn't matter; the logic simply tests every threshold on
# the assumption that turn counts never decrease nor skip values.
#
-# objects: Objects have attributes as follows...
+# objects: Objects that are refernced in C code or the YAML by name
+# have human-readable names; others are named OBJ with a numeric suffix.
+# Objects have attributes as follows...
# inventory: A description for use in the inventory command.
# states: A list of state labels for states from 0 up. Each
# becomes a #define, and is also a state label that
# inventory: A description for use in the inventory command.
# states: A list of state labels for states from 0 up. Each
# becomes a #define, and is also a state label that
@@
-2545,7
+2547,7
@@
locations: !!omap
conditions: {DEEP: true}
travel: [
{verbs: [DOWN], action: [goto, LOC_CLIFFBASE]},
conditions: {DEEP: true}
travel: [
{verbs: [DOWN], action: [goto, LOC_CLIFFBASE]},
- {verbs: [UPWAR], cond: [carry,
OBJ_46
], action: [goto, LOC_CLIFFTOP]},
+ {verbs: [UPWAR], cond: [carry,
RABBITFOOT
], action: [goto, LOC_CLIFFTOP]},
{verbs: [UPWAR], action: [goto, LOC_FOOTSLIP]},
]
- LOC_FOOTSLIP:
{verbs: [UPWAR], action: [goto, LOC_FOOTSLIP]},
]
- LOC_FOOTSLIP:
@@
-3527,7
+3529,7
@@
objects: !!omap
changes:
- 'The waters crash together again.'
- 'The waters have parted to form a narrow path across the reservoir.'
changes:
- 'The waters crash together again.'
- 'The waters have parted to form a narrow path across the reservoir.'
--
OBJ_46
:
+-
RABBITFOOT
:
words: ['appen', 'lepor']
inventory: 'Leporine appendage'
locations: LOC_FOREST22
words: ['appen', 'lepor']
inventory: 'Leporine appendage'
locations: LOC_FOREST22