User:Browncoat Jayson/Loot Sandbox
Jump to navigation
Jump to search
URLENCODE --> Animal+Hide
The goal of this sandbox is to fix the way we are assigning properties to loot, which should allow us to query it. I'm attempting to send it to a Property called "Has loot" using a format of "Item Name/Creature Name", so we can then do the following:
- Query for "Has loot", which should return a bunch of pages and the property names they are assigned
- Query "Has loot::~Animal_Hide*" (begins with the test "Animal Hide")
- "Loot Sandbox" has drop "Animal Hide/Test Wolf"
- Use string manipulation to separate the values
- "Test Wolf" in scene "Loot Sandbox" drops "Animal Hide"
- We could further query the scene for things like what tier it is, and ultimately create an array to populate all of this
- "Animal Hide" is found on "Test Wolf (Tier 4)"
- "Animal Hide" is found on "Test Tree (Tier 4)" (Some queries will return resource nodes, like wierd Wolfsbane trees...)
- "Animal Hide" is found in "Supply Bundle (Mauve)" (Because not all query pages will be scenes)
This is all still a work in progress...
Bestiary
Template:Creatureboxtop Template:Creaturebox test Template:Creaturebox test Template:Creatureboxbottom
Resources
Template:Resourceboxtop Template:Resourcebox test Template:Resourceboxbottom
Query
Example
Animal Hides can be found on the following:
| Source | Located in |
|---|---|
| Test Bear | Loot Sandbox (Tier 4), Other Scene (Tier 2)... |
| Test Wolf | Loot Sandbox (Tier 4), Other Scene (Tier 2)... |
| Supply Bundle (Mauve) |