Add vocab length define to newdb.
authorJason S. Ninneman <jsn@mbar.us>
Mon, 26 Jun 2017 15:47:30 +0000 (08:47 -0700)
committerJason S. Ninneman <jsn@mbar.us>
Mon, 26 Jun 2017 16:43:11 +0000 (09:43 -0700)
newdungeon.py

index d02e8c3aeb472e227e32af496a1e43d8efd41381..3399cafa1a01205208e945ae8fe68c19e76878cf 100755 (executable)
@@ -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"]),