8,756
edits
(check for "butchered from" and "harvested from") |
(add chance for ButcheredFrom, and include var:id as global variable) |
||
Line 46: | Line 46: | ||
Variable Definitions | Variable Definitions | ||
-->{{#vardefine:name|{{{title|{{PAGENAME}}}}}}}<!-- | -->{{#vardefine:name|{{{title|{{PAGENAME}}}}}}}{{#vardefine:id|{{{id|}}}}}<!-- | ||
Infobox UI Begin | Infobox UI Begin | ||
Line 74: | Line 74: | ||
|{{#invoke:CargoQuery| main | |{{#invoke:CargoQuery| main | ||
| table=CorpseTables | | table=CorpseTables | ||
| fields= | | fields=MainObjectID=id, Weight=weight | ||
| where= | | where=ObjectID="Raw Goat Meat" | ||
| template= | | template=Drop rate query | ||
| default=None | | default=None | ||
| delimiter= | | delimiter=</br>}}}}| None || {{infobox row|Butchered from|{{#var:Infobox_ButcheredFrom}} }} }} | ||
{{#ifeq: {{#vardefineecho:Infobox_HarvestedFrom | {{#ifeq: {{#vardefineecho:Infobox_HarvestedFrom | ||
|{{#invoke:CargoQuery| compound | |{{#invoke:CargoQuery| compound |