From: Jason S. Ninneman Date: Mon, 26 Jun 2017 15:47:30 +0000 (-0700) Subject: Add vocab length define to newdb. X-Git-Tag: 1.1~102 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=d40085ce6fd2141a7d38ea9be04ea04b3ef90cbe;p=open-adventure.git Add vocab length define to newdb. --- diff --git a/newdungeon.py b/newdungeon.py index d02e8c3..3399caf 100755 --- 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"]),