User:Browncoat Jayson/Loot Sandbox: Difference between revisions

From SotA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


This is all still a work in progress...
This is all still a work in progress...
 
[[Scene Difficulty::4| ]]
==[[Bestiary]]==
==[[Bestiary]]==
{{Creatureboxtop}}
{{Creatureboxtop}}

Revision as of 17:23, 19 April 2018

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)