Finally item update????

This commit is contained in:
b 2021-10-17 17:24:07 -07:00
parent 9572384cf4
commit 5d15b87e22
7 changed files with 578 additions and 589 deletions

1127
clean.json

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -17875,17 +17875,17 @@
],
"lvl": 87,
"ids": {
"mr": {
"sdRaw": {
"minimum": 0,
"maximum": 1
"maximum": 100
},
"sdPct": {
"minimum": 0,
"maximum": 10
"maximum": 15
}
},
"itemIDs": {
"dura": -105,
"dura": -100,
"strReq": 0,
"dexReq": 0,
"intReq": 0,
@ -17893,8 +17893,8 @@
"agiReq": 0
},
"consumableIDs": {
"charges": -1,
"dura": -180
"charges": 0,
"dura": -200
},
"posMods": {
"left": 0,
@ -27382,15 +27382,19 @@
"atkTier": {
"minimum": 1,
"maximum": 1
},
"mdPct": {
"minimum": -24,
"maximum": -24
}
},
"itemIDs": {
"dura": -180,
"strReq": 45,
"dexReq": 45,
"intReq": 45,
"defReq": 45,
"agiReq": 45
"strReq": 40,
"dexReq": 40,
"intReq": 40,
"defReq": 40,
"agiReq": 40
},
"consumableIDs": {
"charges": 0,
@ -27449,4 +27453,4 @@
},
"id": 679
}
]
]

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
const DB_VERSION = 78;
const DB_VERSION = 79;
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.jsA
let db;

View file

@ -1,4 +1,4 @@
const ING_DB_VERSION = 8;
const ING_DB_VERSION = 9;
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js

View file

@ -44,14 +44,14 @@ def object_diff(obj1, obj2, path):
if type1 != type2:
print(f"{path}.{k}: Type difference [{str(type1)} != {str(type2)}]")
elif type1 is list and type2 is list and not is_basic(type(v[0])):
list_diff(v, obj, path+"."+k)
list_diff(v, obj, path+"."+str(k))
elif (type1 is list and is_basic(type(v[0]))) or is_basic(type1) or v is None or obj2 is None:
if v != obj:
print(f"{path}.{k}: Value difference")
print(f" Left: {shorten(str(v))}")
print(f" Right: {shorten(str(obj))}")
else:
object_diff(v, obj, path+"."+k)
object_diff(v, obj, path+"."+str(k))
else:
print(f"{path}.{k}: Contained in left but not right")
print(f" Value: {shorten(str(v))}")