projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe46e5a
)
Add vocab length define to newdb.
author
Jason S. Ninneman
<jsn@mbar.us>
Mon, 26 Jun 2017 15:47:30 +0000
(08:47 -0700)
committer
Jason S. Ninneman
<jsn@mbar.us>
Mon, 26 Jun 2017 16:43:11 +0000
(09:43 -0700)
newdungeon.py
patch
|
blob
|
history
diff --git
a/newdungeon.py
b/newdungeon.py
index d02e8c3aeb472e227e32af496a1e43d8efd41381..3399cafa1a01205208e945ae8fe68c19e76878cf 100755
(executable)
--- a/
newdungeon.py
+++ b/
newdungeon.py
@@
-112,6
+112,7
@@
extern const long actspk[];
#define NDEATHS {}
#define NTHRESHOLDS {}
#define NVERBS {}
+#define NVOCAB {}
enum arbitrary_messages_refs {{
{}
@@
-445,6
+446,7
@@
if __name__ == "__main__":
len(db["obituaries"]),
len(db["turn_thresholds"]),
len(db["actspk"]),
+ len(db["vocabulary"]),
get_refs(db["arbitrary_messages"]),
get_refs(db["locations"]),
get_refs(db["object_descriptions"]),