X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=make_dungeon.py;fp=make_dungeon.py;h=0b8bc5328c5d10a42e7c5a0ed10cb83e3a6d4c18;hb=b247359d7f5422fe0c5c1f78d05da01c7d311f9e;hp=8ab149ec458e6575f849a7480b6f89f059279e9d;hpb=1f9f39d789aed4daec0f901a84f54abbeb5b6c57;p=open-adventure.git diff --git a/make_dungeon.py b/make_dungeon.py index 8ab149e..0b8bc53 100755 --- a/make_dungeon.py +++ b/make_dungeon.py @@ -626,6 +626,7 @@ if __name__ == "__main__": tkeys=bigdump(tkey), travel=get_travel(travel), ignore=ignore, + dwarflocs=", ".join(db["dwarflocs"]) + ",", ) # 0-origin index of birds's last song. Bird should @@ -650,6 +651,7 @@ if __name__ == "__main__": motions=get_refs(db["motions"]), actions=get_refs(db["actions"]), state_definitions=statedefines, + ndwarflocs=str(len(db["dwarflocs"])), ) with open(H_NAME, "w", encoding="ascii", errors="surrogateescape") as hf: