Finally item update????
This commit is contained in:
parent
9572384cf4
commit
5d15b87e22
7 changed files with 578 additions and 589 deletions
1127
clean.json
1127
clean.json
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -17875,17 +17875,17 @@
|
||||||
],
|
],
|
||||||
"lvl": 87,
|
"lvl": 87,
|
||||||
"ids": {
|
"ids": {
|
||||||
"mr": {
|
"sdRaw": {
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 1
|
"maximum": 100
|
||||||
},
|
},
|
||||||
"sdPct": {
|
"sdPct": {
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 10
|
"maximum": 15
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"itemIDs": {
|
"itemIDs": {
|
||||||
"dura": -105,
|
"dura": -100,
|
||||||
"strReq": 0,
|
"strReq": 0,
|
||||||
"dexReq": 0,
|
"dexReq": 0,
|
||||||
"intReq": 0,
|
"intReq": 0,
|
||||||
|
@ -17893,8 +17893,8 @@
|
||||||
"agiReq": 0
|
"agiReq": 0
|
||||||
},
|
},
|
||||||
"consumableIDs": {
|
"consumableIDs": {
|
||||||
"charges": -1,
|
"charges": 0,
|
||||||
"dura": -180
|
"dura": -200
|
||||||
},
|
},
|
||||||
"posMods": {
|
"posMods": {
|
||||||
"left": 0,
|
"left": 0,
|
||||||
|
@ -27382,15 +27382,19 @@
|
||||||
"atkTier": {
|
"atkTier": {
|
||||||
"minimum": 1,
|
"minimum": 1,
|
||||||
"maximum": 1
|
"maximum": 1
|
||||||
|
},
|
||||||
|
"mdPct": {
|
||||||
|
"minimum": -24,
|
||||||
|
"maximum": -24
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"itemIDs": {
|
"itemIDs": {
|
||||||
"dura": -180,
|
"dura": -180,
|
||||||
"strReq": 45,
|
"strReq": 40,
|
||||||
"dexReq": 45,
|
"dexReq": 40,
|
||||||
"intReq": 45,
|
"intReq": 40,
|
||||||
"defReq": 45,
|
"defReq": 40,
|
||||||
"agiReq": 45
|
"agiReq": 40
|
||||||
},
|
},
|
||||||
"consumableIDs": {
|
"consumableIDs": {
|
||||||
"charges": 0,
|
"charges": 0,
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
load.js
2
load.js
|
@ -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
|
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.jsA
|
||||||
|
|
||||||
let db;
|
let db;
|
||||||
|
|
|
@ -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
|
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js
|
||||||
|
|
||||||
|
|
|
@ -44,14 +44,14 @@ def object_diff(obj1, obj2, path):
|
||||||
if type1 != type2:
|
if type1 != type2:
|
||||||
print(f"{path}.{k}: Type difference [{str(type1)} != {str(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])):
|
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:
|
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:
|
if v != obj:
|
||||||
print(f"{path}.{k}: Value difference")
|
print(f"{path}.{k}: Value difference")
|
||||||
print(f" Left: {shorten(str(v))}")
|
print(f" Left: {shorten(str(v))}")
|
||||||
print(f" Right: {shorten(str(obj))}")
|
print(f" Right: {shorten(str(obj))}")
|
||||||
else:
|
else:
|
||||||
object_diff(v, obj, path+"."+k)
|
object_diff(v, obj, path+"."+str(k))
|
||||||
else:
|
else:
|
||||||
print(f"{path}.{k}: Contained in left but not right")
|
print(f"{path}.{k}: Contained in left but not right")
|
||||||
print(f" Value: {shorten(str(v))}")
|
print(f" Value: {shorten(str(v))}")
|
||||||
|
|
Loading…
Reference in a new issue