-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtreasure.html
180 lines (171 loc) · 8.46 KB
/
treasure.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
<div class="treasure_actions">
<label>Enter Total Gold</label>
<input type='text' id='total_gold' />
<button class='button' id='looter'>Make Loot</button>
</div>
<span class='note'>S&W rules recommend that treasure XP (gold) be 2-3 times greater than monster XP</span>
<fieldset>
<legend>Options</legend>
<table>
<tr><td>
<input type='radio' name='source[]' id='core' checked />
<label for='core'>Core Rules [<a href="http://www.swordsandwizardry.com/?page_id=4">link</a>]</label>
</td>
<td>
<input type='checkbox' id='return_stingy' />
<label for='return_stingy'>Return Small Tradeouts</label>
</td>
<td>
<select id='tradeout_chance'>
<option value="10">10%</option>
<option value="15">15%</option>
<option value="20">20%</option>
<option value="25">25%</option>
<option value="30">30%</option>
<option value="35">35%</option>
<option value="40">40%</option>
<option value="45">45%</option>
<option value="50">50%</option>
</select>
<label for='tradeout_chance'>Treasure Chance</label>
</td></tr>
<tr><td style='padding-right:30px;'>
<input type='radio' name='source[]' id='complete' disabled />
<label for='complete'>Complete Rules</label>
</td>
<td>
<input type='checkbox' id='describe_jewelry' disabled />
<label for='describe_jewelry'>Describe Gems/Jewelry</label>
</td>
<td>
<select id='magic_item_chance'>
<option value="5">5%</option>
<option value="10">10%</option>
<option value="15">15%</option>
<option value="20">20%</option>
<option value="25">25%</option>
<option value="30">30%</option>
<option value="35">35%</option>
<option value="40">40%</option>
<option value="45">45%</option>
<option value="50">50%</option>
<option value="55">55%</option>
<option value="60">60%</option>
<option value="65">65%</option>
<option value="70">70%</option>
<option value="75">75%</option>
<option value="80">80%</option>
</select>
<label for='magic_item_chance'>Magic Item Chance</label>
</td></tr>
<tr>
<td></td>
<td colspan="2">
<input type='checkbox' id='arcane' />
<label for='arcane' style='font-size:.9em;'>Use Arcane Articles & Items of Power [<a href="http://swcompanion.wdfiles.com/local--files/resources/mi">link</a>] at this frequency</label>
<select id='aaip_chance' disabled>
<option value="25">25%</option>
<option value="30">30%</option>
<option value="35">35%</option>
<option value="40">40%</option>
<option value="45">45%</option>
<option value="50" selected>50%</option>
<option value="55">55%</option>
<option value="60">60%</option>
<option value="65">65%</option>
<option value="70">70%</option>
<option value="75">75%</option>
</select>
</td></tr>
</table>
</fieldset>
<div id='help' style='display:none'>
<div id='sneaky_button'> </div>
<div class='column'>
<h4>Options</h4>
<dl>
<dt>Treasure Chance</dt>
<dd>Adjusts the percentage chance that a tradeout will occur. Default is 10%.</dd>
<dt>Magic Item Chance</dt>
<dd>Adjusts the percentage chance that a roll will hit the Magic Item tables instead of the Gem/Jewelry table. Default is 5% (20 on d20).</dd>
<dt>Return Small Tradeouts</dt>
<dd>It can be annoying to have a tradeout valued less than the gold it is replacing. Turn this option on to ignore Gem/Jewelry tradeouts worth less than the tradeout amount. The tradeout is not re-rolled.</dd>
<dt>Use Arcane Articles & Items of Power</dt>
<dd>Use the AAIP supplement as well as the standard tables, and adjust the percentage of items chosen from it. Default when turned on is 50%.</dd>
<dt class='unimplemented'>Describe Gem/Jewelry</dt>
<dd class='unimplemented'>A series of 'Gem/Jewelry worth X gp' isn't much more exciting than just gold pieces. I like the treasure descriptions WotC put in the Draconomicon.</dd>
<dt class='unimplemented'>Core/Complete Rules</dt>
<dd class='unimplemented'>Determine the base ruleset and tables to use. I have not purchased the Complete rules, so I don't know how much they differ from the Core rules.</dd>
</dl>
</div>
<div class='column'>
<h4>Usage</h4>
<p style='font-size:.9em'>The S&W Core rules state that "endless series of 'another treasure worth 100 gp in total'" are boring, but endless series of "Gem or jewelry worth X gp in total" are not much better. Here are some tips for getting the right balance in your treasure, whether it is a local thug's stash or a dragon's hoard.</p>
<dl>
<dt>A small cache of magic items</dt>
<dd>Set Treasure Chance and Magic Item Chance to be high, but don't put a lot of gold in the pot (1000-4000). Turn on Return Small Tradeouts (or re-roll them individually).</dd>
<dt>A wealthy noble's safe</dt>
<dd>Set Treasure Chance to be high but Magic Item Chance to be low. Turn off Return Small Tradeouts and adjust the gold so the appropriate numbers of items show up (4800 is a sizeable amount).</dd>
<dt>Small hoard</dt>
<dd>Set Treasure Chance to be 20% or so and Magic Item Chance to be 40% or 50%. Adjust gold accordingly (23k?).</dd>
<dt>General</dt>
<dd>Increasing Treasure Chance will reduce the overall gold amount and get more items out of a smaller amount of gold. Alternatively, increasing the amount of gold results in the potential number of items increasing rapidly.</dd>
</dl>
</div>
<div class='explanation'>
<h4>Explanation</h4>
<p>In the spirit of endless randomization S&W provides tables for treasure generation.
However, rolling through the many nested tables took forever, and I ended up just looking at the lists for a cool item or two every time I wanted to make a good treasure stash, which defeats the whole point. I also felt that even minor items were too scarce, and I wanted the ability to randomly create a truly rich hoard if the circumstances warranted.</p>
<p>S&W uses 'tradeouts' to accomplish treasure generation, whereby gold amounts are swapped out (10% chance) for a roll on gem/jewelry and item tables. I start with major tradeouts (5000gp), lowering the total gold amount if necessary, then calculate any medium tradeouts (1000gp), and then finish with the minor tradeouts (100gp).</p>
<p><b>Example for minor tradeouts:</b> If the total pot is 650gp, there are 6 rolls to determine if 100gp will be traded out. Each successful (10%) roll lowers the total gold pot by 100gp and adds in a more interesting item.</p>
<p><b>Note:</b>I have tried to fill in everything I can (still working on spells), but it may be the case that you'd prefer to give your mage something he can use rather than have the only magic sword he has ever found be a Two-Handed Sword, for example. Just about every time you see a specific weapon or armor you can assume I've just randomly chosen one, so you can switch it out for a different one without violating some inherent S&W property. I think this might not be quite the same for the Arcane Items supplement (there's a Swords table). You're the Referee, you make the call.</p>
</div>
</div>
<div class="expand" id='help_button'>
<button id='expand'>
<img src="images/expand.png" title="help" alt="help" />
Explanation / Help
<img src="images/expand.png" title="help" alt="help" />
</button>
</div>
<div class="collapse" id='help_button' style='display:none'>
<button id='collapse'>
<img src="images/collapse.png" title="hide" alt="hide" />
Explanation / Help
<img src="images/collapse.png" title="hide" alt="hide" />
</button>
</div>
<div style="display:none" id='results'>
<div class='tradeout'>
<span class='key major'> </span>
<b>Major Tradeouts: <span id="major_count">0</span></b><br />
<span class='key medium'> </span>
<b>Medium Tradeouts: <span id="medium_count">0</span></b><br />
<span class='key minor'> </span>
<b>Minor Tradeouts: <span id="minor_count">0</span></b>
<br />
<br />
<img src="images/remove.gif" /> Return a tradeout
<br />
<img src="images/refresh.png" /> Re-roll a tradeout
</div>
<div class='treasure'>
<h3>Gold: <span id='gold_left'></span></h3>
<table id='list'></table>
</div>
<div style='clear:both'></div>
</div>
<div class='other_actions'>
<div>
<label>Get Single Tradeout</label>
<br />
<button class="single_tradeout button">Major</button>
<button class="single_tradeout button">Medium</button>
<button class="single_tradeout button">Minor</button>
</div>
<table>
<tr><td id='single_item_image' style='width: 20px;'></td>
<td id='single_item_description'></td>
</tr>
</table>
</div>