-
Notifications
You must be signed in to change notification settings - Fork 3
/
TechnicalChange.log
164 lines (135 loc) · 4.95 KB
/
TechnicalChange.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---------------------------------------------------------------------------------------------
Version 1.2
-- in \index.html
Added:
var dungeonChest = 0;
var dungeonChestOld = 0;
var c = 0;
<div id='blankspace' class='blankspace'>
</div>
<div id='checkCounter' style="background-color: black; position:relative; margin-left: 70%; margin-top: 935px; margin-botton: 0px;">4</div>
</div>
<fieldset>
<legend>Cosmetic Changes</legend>
Map Distance<input type="range" name='trackerDistance' id='trackerDistanceID' value='1' max='100' min='0' onchange="setDistance('blankspace', this)">
<span id='blankspacesize'>1%</span><br>
Tracker Opacity<input type="range" name='trackerOpacity' id='trackerOpacityID' value='100' max='100' min='0' onchange="setOpacity('tracker', this)">
<span id='trackersize'>100%</span><br>
Background Image:
<select>
<option id="none">None</option>
<option id="castle">Castle</option>
<option id="meadow">Meadow</option>
<option id="bridge">Bridge</option>
</select>
<button onclick="setBackground()">Set</button>
</fieldset>
--in /scripts/chests.js
Added:
c = document.getElementsByClassName("mapspan chest available").length;
d = document.getElementsByClassName("mapspan dungeon available").length;
--in /scripts/main.js
Added:
var opened = 0;
var Dopened = 0;
c = document.getElementsByClassName("mapspan chest available").length;
opened = document.getElementsByClassName("mapspan chest opened").length;
document.getElementById('checkCounter').innerHTML = "Checks: " + (dungeonChest + c) + " available, " + (344 - opened - Dopened) + " Remaining";
if (dungeons[d].chestlist[c].isOpened) {
sender.className = 'DCopened';
Dopened++;
}
else {
sender.className = 'DCunavailable';
Dopened--;
}
document.getElementById('trackersize').innerHTML = "100%";
document.body.style.backgroundImage = "url('images/none.png')";
Updated:
function init() {
populateMapdiv();
populateItemconfig();
loadCookie();
saveCookie();
}
To:
function init() {
populateMapdiv();
populateItemconfig();
c = document.getElementsByClassName("mapspan chest available").length;
opened = document.getElementsByClassName("mapspan chest opened").length;
document.getElementById('checkCounter').innerHTML = "Checks: " + (dungeonChest + c) + " available, " + (344 - opened - Dopened) + " Remaining";
loadCookie();
saveCookie();
}
-------------------------------------------------------------------------------------------------------
Version 1.01
--in \scripts\main.js:
Updated:
function ResetLayout() {
initGridRow(defaultItemGrid);
updateGridItemAll();
}
To:
function ResetLayout() {
initGridRow(defaultItemGrid);
updateGridItemAll();
document.getElementById('itemdiv').style.zoom = 100 / 100;
document.getElementById('itemdiv').style.zoom = 100 / 100;
document.getElementById('itemdiv').style.MozTransform = 'scale(' + (100 / 100) + ')';
document.getElementById('itemdiv').style.MozTransformOrigin = '0 0';
document.getElementById('itemdivsize').innerHTML='100%';
document.getElementById('itemrange').value=100;
document.getElementById('mapdiv').style.zoom = 100 / 100;
document.getElementById('mapdiv').style.zoom = 100 / 100;
document.getElementById('mapdiv').style.MozTransform = 'scale(' + (100 / 100) + ')';
document.getElementById('mapdiv').style.MozTransformOrigin = '0 0';
document.getElementById('mapdivsize').innerHTML='100%';
document.getElementById('maprange').value=100;
}
--in \scripts\chests.js:
Updated:
{
name: "North Faron Cave Small Chest",
x: "54.33%",
y: "68.08%",
isAvailable: function () {
return "available";
},
},
{
name: "Near Shop Chest",
x: "48.66%",
y: "69.6%",
isAvailable: function() {
return "available";
},
},
To:
{
name: "North Faron Cave Small Chest",
x: "54.33%",
y: "68.08%",
isAvailable: function() {
if (items.Lanturn) {
return "available";
}
return "unavailable"
},
},
{
name: "Near Shop Chest",
x: "48.66%",
y: "69.6%",
isAvailable: function() {
if (items.Lanturn) {
return "available";
}
return "unavailable"
},
},
-- in index.html
Updated:
Added the id: itemrange to the item-size scroller
Added the id: maprange to the map-size scroller
---------------------------------------------------------------