From 9ea117c746a490a58004bbd81d4b1d19a869b477 Mon Sep 17 00:00:00 2001
From: b
Date: Mon, 18 Jan 2021 06:10:28 -0600
Subject: [PATCH 3/5] Refactor out ingredient code, update necrosis
---
builder.js | 10 +-
clean.json | 2 +-
credits.txt | 2 +-
index.html | 7 +-
ing_transform_combine.py | 359 +++++++++++++++++++++++++++++++++++++++
load.js | 84 +--------
load_ing.js | 124 ++++++++++++++
transform_combine.py | 193 +--------------------
8 files changed, 501 insertions(+), 280 deletions(-)
create mode 100644 ing_transform_combine.py
create mode 100644 load_ing.js
diff --git a/builder.js b/builder.js
index 2d2155c..76554df 100644
--- a/builder.js
+++ b/builder.js
@@ -1,16 +1,9 @@
-/*
- * TESTING SECTION
- */
-
const url_base = location.href.split("#")[0];
const url_tag = location.hash.slice(1);
console.log(url_base);
console.log(url_tag);
-/*
- * END testing section
- */
-
+const BUILD_VERSION = "6.9.3";
function setTitle() {
document.getElementById("header").textContent = "WynnBuilder version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
@@ -464,6 +457,7 @@ function calculateBuild(save_skp, skp){
for (let i of document.getElementsByClassName("hide-container-grid")) {
i.style.display = "grid";
}
+ document.getElementById("int-info-div").style.display = "none";
console.log(player_build.toString());
displayEquipOrder(document.getElementById("build-order"),player_build.equip_order);
diff --git a/clean.json b/clean.json
index 68bd2e4..0bc0b5a 100644
--- a/clean.json
+++ b/clean.json
@@ -270652,7 +270652,7 @@
"restrict": "1.20 item",
"fixID": false,
"strReq": 0,
- "dexReq": 105,
+ "dexReq": 120,
"intReq": 0,
"defReq": 0,
"agiReq": 0,
diff --git a/credits.txt b/credits.txt
index 6145cc2..29ba52c 100644
--- a/credits.txt
+++ b/credits.txt
@@ -6,5 +6,5 @@ The game, of course
Additional Contributors:
- QuantumNep (Layout code/layout ideas)
- - dr_carlos (Hiding UI elements, misc. fixes)
+ - dr_carlos (Hiding UI elements properly, fade animations, proper error handling)
- Atlas Inc discord (feedback, ideas, etc)
diff --git a/index.html b/index.html
index 7fd5984..022993b 100644
--- a/index.html
+++ b/index.html
@@ -16,6 +16,9 @@
+