From Dark and Darker Wiki
(Scripted loot table update for HF 53) |
(Scripted loot table update for HF53. Uploading a few fixes for existing bugs.) |
||
Line 1: | Line 1: | ||
<div style=" | <div style="display:inline-block; vertical-align:top; min-width:550px; width:55%; margin-right:40px;"> | ||
{{#widget:DatasetsChart|uniqueId={{{1|}}}Item_Lockpick_Lockpick_N|datasets={"labels":[0, 50, 100, 150, 200, 250, 300, 350, 400, 450, 500],"datasets":[{"label":"0","data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],"borderColor":"#323232","backgroundColor":"#323232AA"},{"label":"1","data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],"borderColor":"#646464","backgroundColor":"#646464AA"}]}|title=Effect of a Player's Luck on Each Luck Grade|yAxisLabel=Relative Probability w.r.t. 0 Luck|xAxisLabel=Luck}}</div> | |||
<div style="display:inline-block; margin- | <div style="display:inline-block; max-width:450px"> | ||
<div style="display:flex; flex-direction:row; flex-wrap:wrap; justify-content:space-evenly; font-size:20px"> | |||
<div class="line" style="margin-bottom:5px; margin-top:5px; background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> | |||
{{TabToggle|0|<b>0</b>|active=yes}} | |||
<div class="line" style="margin-top:5px; background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> | |||
<div class="0-data"> | |||
<table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="border-collapse:collapse; text-shadow:0px 0px 4px #000; text-align:center; vertical-align:middle;"> | |||
<caption>Loot Summary</caption> | |||
<tr><th>Luck 0 </th><th>Utility<br>5</th><th>Nothing<br>95</th></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity0">Junk<br>95%</span></td><td></td><td><span class="colorrarity0">95%</span></td></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity2">Common<br>5%</span></td><td><span class="colorrarity2">5%</span></td><td></td></tr></table></div></div></div> | |||
<div class="line" style="margin-bottom:30px; background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> | <div class="line" style="margin-bottom:30px; background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> | ||
<table cellspacing="0" class="wikitable sortable jquery-tablesorter mw-collapsible" style="width:100%; border-collapse:collapse; text-align:center; vertical-align:middle;"> | <table cellspacing="0" class="wikitable stripedtable sortable jquery-tablesorter mw-collapsible" style="width:100%; border-collapse:collapse; text-align:center; vertical-align:middle;"> | ||
<caption>Loot Table</caption> | <caption>Loot Table</caption> | ||
<tr><th style="width: | <tr><th style="width:5%">Name</th><th style="width:5%">Category</th><th style="width:5%">Luck Grade</th><th style="width:5%">Rarity</th><th style="width:5%">Item Count</th><th style="width:5%">Probability</th></tr> | ||
<tr style="border-top: 2.5px solid #b4bbc2;"><td rowspan="1">{{Iconbox|Lockpick|image=Lockpick.png|size=x60px|rarity=2}}</td><td>[[Utility]]</td><td><span class=" | <tr style="border-top: 2.5px solid #b4bbc2;"><td rowspan="1">{{Iconbox|Lockpick|image=Lockpick.png|size=x60px|rarity=2}}</td><td>[[Utility]]</td><td><span class="colorrarity1">1</span></td><td><span class="colorrarity2">Common</span></td><td>1</td><td>5.0%</td></tr></table><br> |