This is pretty impressive and I hope you keep up with this. It would be really nice if we could get something like an "how to" for custom maps IF you are going in that direction :) - Eichi87 (talk) 15:23, 16 February 2014 (UTC)

Item Loot

You may be interested in the loot system I have been trying to set up to work:

  • Wrench/Sandbox -- Not quite working the way I want yet, does not seem to find the highest parent group (in this case the Working Stiffs Crate).
  • Working_Stiffs_Crate/Sandbox -- Shows the items that are available in a crate, and the chance of it appearing, assuming that I have the number and the way they are calculated right.

--— Tilleen (talk) 01:10, 5 June 2017 (UTC)

User:Tilleen, I haven't had a ton of time recently to do stuff on the wiki, but I am definitely interested as this seems like an important next step for information on the wiki. Are you planning on having a separate template for each and every single page? If not, I am wondering how you will store the data for the loot, is it possible to make sort of a "database" of loot where a template can grab data that it needs based on the PAGENAME? I know wiki markup is not ideal but I think implementing some sort of database like structure could help not only here but in many other places. I think a custom template for each page feels overkill, like there should be a better solution.
Ill take a look at the links you put once I get a chance; the wiki template language always seems so verbose and hard to read.
The way it has been set up is based on the loot.xml file. So, There is a page for each "lootgroup" and "lootcontainer" each of these pages have a table that is defined by 3 loot templates (header, item, footer), this standardizes the display. This table is set up with an <onlyinclude> around it. This allows the other templates to include the appropriate part of the page into a containers page, (eg. Working_Stiffs_Crate/Sandbox) and also allows the inclusion of any sub-groups which then have the chance of them appearing modified by the parent group or containers chances.
It did not however allow me to find the parent container and chance of it appearing for an item, it only shows the next level up.
Currently there are a few examples that show how this pans out.
It does not take into account the lootprobtemplate which adjusts all the probabilities based on the characters level.
This assumes that I have understood what is happening when a loot container is opened, e.g. I don't when it says that a container has 0-3 items, if, 0 items has the same chance as 3 items.
It may all change once Alpha 16 comes out soon.
---— Tilleen (talk) 05:00, 8 June 2017 (UTC)