mirror of
https://github.com/chaosz0ne/tilesetCopyrighter.git
synced 2025-06-29 03:46:10 +02:00
test
This commit is contained in:
parent
a4077dbf3d
commit
78176b1b6d
2 changed files with 22 additions and 9 deletions
|
@ -1,3 +1,16 @@
|
|||
import json
|
||||
|
||||
print("Tiled-Editor Copyright-Info nach rc3.world-Vorgaben hinzufügen")
|
||||
print("Datei rechte.json passend befüllen, dann Aufruf")
|
||||
print("{$0} <tiledmapdatei.json>")
|
||||
print("Die <tiledmapdatei.json> wird modifiziert! Vorher eigene Änderungen committen!")
|
||||
print("")
|
||||
|
||||
with open("rechte.json", "r") as rechte_file:
|
||||
rechte = json.load(rechte_file)
|
||||
print("Folgende Rechte wurden zugeordnet:")
|
||||
for recht in rechte:
|
||||
print(recht["name"] + " zu -> " + recht["copytxt"])
|
||||
#json.dump(rechte, rechte_file, indent=2)
|
||||
|
||||
with open()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue