X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=newdungeon.py;h=3b801da6d50ba0df2e554a971f86837a3b81a981;hb=25077d0b4eb1d6a85140c01092be7203ca64a49c;hp=7f70741d331f62aebe962f47a8e09434db3dbf6b;hpb=985137d9c7ed18ee0777622874efe944218cae6a;p=open-adventure.git diff --git a/newdungeon.py b/newdungeon.py index 7f70741..3b801da 100755 --- a/newdungeon.py +++ b/newdungeon.py @@ -70,6 +70,8 @@ extern obituary_t obituaries[]; extern hint_t hints[]; extern long conditions[]; +#define NLOCATIONS {} +#define NOBJECTS {} #define NHINTS {} #define NCLASSES {} #define NDEATHS {} @@ -338,6 +340,8 @@ if __name__ == "__main__": ) h = h_template.format( + len(db["locations"]), + len(db["object_descriptions"]), len(db["hints"]), len(db["classes"]), len(db["obituaries"]),