mirror of
https://github.com/Gurkengewuerz/nitro-docker.git
synced 2024-11-23 00:20:52 +01:00
feat: fix description
This commit is contained in:
parent
a7d9a8bab9
commit
eb07e5e12d
@ -22,6 +22,8 @@ with open('gamedata/furnidata.json', 'r', encoding='utf-8') as f:
|
||||
"description": furnitype['description'],
|
||||
"specialtype": furnitype['specialtype'],
|
||||
}
|
||||
if str(furniture_dict[classname]['description']).endswith("desc"):
|
||||
furniture_dict[classname]['description'] = ""
|
||||
|
||||
with open('gamedata/productdata.json', 'r', encoding='utf-8') as f:
|
||||
product_data = json.load(f)
|
||||
@ -31,6 +33,8 @@ with open('gamedata/productdata.json', 'r', encoding='utf-8') as f:
|
||||
"name": product['name'],
|
||||
"description": product['description'],
|
||||
}
|
||||
if str(furniture_dict[classname]['description']).endswith("desc"):
|
||||
furniture_dict[classname]['description'] = ""
|
||||
|
||||
orig_furniture_data = {}
|
||||
# Load the JSON file
|
||||
|
Loading…
Reference in New Issue
Block a user