From e4670192fe6ba655f9b4d7ca8d837508e10adb30 Mon Sep 17 00:00:00 2001 From: Cheri Dawn Date: Tue, 21 May 2024 23:37:12 +0300 Subject: [PATCH] add version to credits in manifest --- docs.toml | 1 + setage.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs.toml b/docs.toml index 2c182c3..d2d7db8 100644 --- a/docs.toml +++ b/docs.toml @@ -2,6 +2,7 @@ author = "who made the manifest for the game" contributors = [] # optional list of strings. year = "when it was made" +version = "" # optional version string license = "license for this manifest" diff --git a/setage.py b/setage.py index 5d8735d..a76583f 100755 --- a/setage.py +++ b/setage.py @@ -421,6 +421,9 @@ class SetageShell(Cmd): if "contributors" in cred: print(f"\tWith contributions by {", ".join(cred["contributors"])}") + if "version" in cred: + print(f"\tVersion: {cred["version"]}") + if "license" in cred: print(f"\tLicense: {cred["license"]}") print("\nSETAGE credits:")