-
Notifications
You must be signed in to change notification settings - Fork 82
/
index.html
273 lines (239 loc) · 9.85 KB
/
index.html
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="description" content="A Stardew Valley crop profits calculator and visualizer." />
<title>Stardew Profits</title>
<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="style/style.css" />
<link rel="shortcut icon" type="image/png" href="img/ancientfruit.png">
</head>
<body>
<div class="title">
</div>
<script src="js/crops.js"> </script>
<script src="js/data.js"> </script>
<div class="graph">
<script src="js/main.js"> </script>
</div>
<div class="options">
<table cellspacing="2" style="height: 0;">
<tr>
<td>Season:</td>
<td>
<select id="select_season" onChange="rebuild()">
<option value="0" id="season_0" selected="true">Spring</option>
<option value="1" id="season_1">Summer</option>
<option value="2" id="season_2">Fall</option>
<option value="3" id="season_3">Winter</option>
<option value="4" id="season_4">Greenhouse</option>
</select>
</td>
</tr>
<tr id="cross_season_row">
<td>Cross-Season:</td>
<td><input type="checkbox" id="cross_season" onChange="refresh()" /></td>
</tr>
<tr id="current_day_row">
<td>Current Day:</td>
<td><input type="number" id="current_day" value="1" onChange="refresh()"/></td>
</tr>
<tr id="number_days_row">
<td>Number of Days:</td>
<td><input type="number" id="number_days" value="28" onChange="refresh()"/></td>
</tr>
<tr>
<td>Number of Crops:</td>
<td><input type="number" id="number_planted" value="1" onChange="refresh()"/></td>
</tr>
<tr>
<td>Produce Type:</td>
<td>
<select id="select_produce" onChange="refresh()">
<option value="0" selected="true">Raw</option>
<option value="1">Jar</option>
<option value="2">Keg</option>
<option value="3">Seeds</option>
<option value="4">Dehydrator</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" class="sub">
<table cellspacing="2" class="subt">
<tr id="tr_equipment">
<td>Equipment:</td>
<td><input type="number" id="equipment" value="0" onChange="refresh()"/></td>
</tr>
<tr id="tr_check_sellRaw">
<td>No Artisan Good:</td>
<td><input type="checkbox" id="check_sellRaw" onChange="refresh()"/> Sell Raw<br /></td>
</tr>
<tr id="tr_check_sellExcess">
<td>Excess:</td>
<td><input type="checkbox" id="check_sellExcess" onChange="refresh()"/> Sell Raw<br /></td>
</tr>
<tr id="tr_check_byHarvest">
<td>By Harvest:</td>
<td><input type="checkbox" id="check_byHarvest" onChange="refresh()"/><br /></td>
</tr>
<tr id="tr_select_aging">
<td>Aging:</td>
<td >
<select id="select_aging" onChange="refresh()">
<option value="0" selected="true">None</option>
<option value="1">Silver</option>
<option value="2">Gold</option>
<option value="3">Iridium</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="2">
<tr>
<td>Profit Display:</td>
<td>
<select id="select_profit_display" onChange="refresh()">
<option value="0" id="display_0" selected="true">Total Profit</option>
<option value="1" id="display_1">Daily Profit</option>
<option value="2" id="display_2">Total ROI</option>
<option value="3" id="display_3">Daily ROI</option>
</select>
</td>
</tr>
<tr>
<td>Max Seed Money:</td>
<td><input type="number" id="max_seed_money" value="0" onChange="refresh()"/></td>
</tr>
<tr>
<td>Seed Sources:</td>
<td>
<input type="checkbox" id="check_seedsPierre" onChange="rebuild()" checked="true" /> <label for="check_seedsPierre">Pierre</label><br />
<input type="checkbox" id="check_seedsJoja" onChange="rebuild()" checked="true" /> <label for="check_seedsJoja">Joja</label><br />
<input type="checkbox" id="check_seedsSpecial" onChange="rebuild()" checked="true" /> <label for="check_seedsSpecial">Special</label>
</td>
</tr>
<tr>
<td>Pay For Seeds:</td>
<td><input type="checkbox" id="check_buySeed" onChange="refresh()" /></td>
</tr>
<tr>
<td>Process & Replant:</td>
<td><input type="checkbox" id="check_replant" onChange="refresh()" /> <label for="check_replant">(Forces even crops)</label></td>
</tr>
<tr>
<td>Use Next Year:</td>
<td><input type="checkbox" id="check_nextyear" onChange="refresh()" /></td>
</tr>
<tr>
<td>Fertilizer:</td>
<td>
<select id="select_fertilizer" onChange="refresh()">
<option value="0" selected="true">None</option>
<option value="1">Basic Fertilizer</option>
<option value="2">Quality Fertilizer</option>
<option value="5">Deluxe Fertilizer</option>
<option value="3">Speed-Gro</option>
<option value="4">Deluxe Speed-Gro</option>
<option value="6">Hyper Speed-Gro</option>
</select>
</td>
</tr>
<tr>
<td>Pay For Fertilizer:</td>
<td><input type="checkbox" id="check_buyFert" onChange="refresh()" /></td>
</tr>
<tr id = "deluxe_speed_input">
<td>Speed-Gro Source:</td>
<td>
<select id="speed_gro_source" onChange="refresh()">
<option value="0" selected="true">Pierre</option>
<option value="1">Sandy</option>
</td>
</tr>
</table>
<table cellspacing="2">
<tr>
<td>Farming Level:</td>
<td><input type="number" id="farming_level" value="0" onChange="refresh()"/></td>
</tr>
<tr>
<td colspan="2" class="sub">
<table cellspacing="2" class="subt">
<tr>
<td>Level 5 Skill:</td>
<td><input type="checkbox" id="check_skillsTill" onChange="refresh()" /> Tiller<br /></td>
</tr>
<tr>
<td>Level 10 Skill:</td>
<td >
<select id="select_skills" onChange="refresh()">
<option value="0" selected="true">None</option>
<option value="1">Agriculturist</option>
<option value="2">Artisan</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="sub">
<table class="subt">
</table>
</td>
</tr>
<tr>
<td>Foraging Level:</td>
<td ><input type="number" id="foraging_level" value="0" onChange="refresh()"/></td>
</tr>
<tr>
<td colspan="2" class="sub">
<table cellspacing="2" class="subt">
<tr>
<td>Level 5 skill:</td>
<td><input type="checkbox" id="check_skillsGatherer" onChange="refresh()" /> Gatherer<br /></td>
</tr>
<tr>
<td>Level 10 skill:</td>
<td><input type="checkbox" id="check_skillsBotanist" onChange="refresh()" /> Botanist<br /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>Farming Food Buff:</td>
<td>
<select id="select_food" onChange="refresh()">
<option value="0" selected="true">None</option>
<option value="1">Maple Bar</option>
<option value="1">Hashbrowns</option>
<option value="2">Complete Breakfast</option>
<option value="2">Pepper Poppers</option>
<option value="2">Tom Kha Soup</option>
<option value="3">Farmer's Lunch</option>
</select>
</td>
</tr>
<tr>
<td>Show Extra Info:</td>
<td><input type="checkbox" id="check_extra" onChange="refresh()" checked="true" /></td>
</tr>
<tr>
<td>Disable Crop Links:</td>
<td><input type="checkbox" id="disable_links" onChange="refresh()" /></td>
</tr>
<tr>
<td colspan="3" id="tdhelp"><div id="divhelp"><a href="help.html">Help</a><a href="changes.html">Changes</a><a href="#" id="reset">Reset</a></div></td>
</tr>
</table>
</div>
<div class="footer">
<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.7</a> © <a href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by <a href="https://twitter.com/thorinair_music" target="_blank">Thorinair</a> | <a href="https://github.com/Thorinair/Stardew-Profits" target="_blank">Stardew Profits v1.6.11</a></p>
</div>
<script src="js/time.js"> </script>
</body>
</html>