User:Browncoat Jayson/Loot Sandbox: Difference between revisions

From SotA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
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:
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 for "Has loot", which should return a bunch of pages and the property names they are assigned <span style="color:green">Working!</span>
: Query "Has loot::~Animal_Hide*" (begins with the test "Animal Hide")
: Query "Has loot::~Animal_Hide*" (begins with the test "Animal Hide")<span style="color:green"> Working!</span>
: "Loot Sandbox" has drop "Animal Hide/Test Wolf"
: "Loot Sandbox" has drop "Animal Hide/Test Wolf"<span style="color:green"> Working!</span>
* Use string manipulation to separate the values
* Use string manipulation to separate the values<span style="color:green"> Working!</span>
: "Test Wolf" in scene "Loot Sandbox" drops "Animal Hide"
: "Test Wolf" in scene "Loot Sandbox" drops "Animal Hide"<span style="color:green"> Working!</span>
* We could further query the scene for things like what tier it is, and ultimately create an array to populate all of this
* 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 Wolf (Tier 4)"<span style="color:green"> Working!</span>
: "Animal Hide" is found on "Test Tree (Tier 4)" (Some queries will return resource nodes, like wierd Wolfsbane trees...)
: "Animal Hide" is found on "Test Tree (Tier 4)" (Some queries will return resource nodes, like wierd Wolfsbane trees...)<span style="color:yellow"> Should Work</span>
: "Animal Hide" is found in "Supply Bundle (Mauve)" (Because not all query pages will be scenes)
: "Animal Hide" is found in "Supply Bundle (Mauve)" (Because not all query pages will be scenes)<span style="color:yellow"> Should Work</span>
* Group these together by animal, so each row returns multiple scenes:
: "Animal Hide" is found on "Test Wolf" in "Scene A (Tier 4), Scene B (Tier 2)"<span style="color:red"> Broken, one per line currently</span>


This is all still a work in progress...
This is all still a work in progress...
 
[[Scene Difficulty::4| ]]
==[[Bestiary]]==
==[[Bestiary]]==
{{Creatureboxtop}}
{{Creatureboxtop}}
Line 54: Line 56:
|?has loot=
|?has loot=
}}
}}
===Example===
===Example===
[[Animal Hide]]s can be found on the following:
[[Animal Hide]]s can be found on the following:
Line 69: Line 72:
|
|
|}
|}
{{Query loot test|Animal Hide}}
{{Query loot array2|Animal Hide}}

Latest revision as of 16:20, 22 May 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 Working!
Query "Has loot::~Animal_Hide*" (begins with the test "Animal Hide") Working!
"Loot Sandbox" has drop "Animal Hide/Test Wolf" Working!
  • Use string manipulation to separate the values Working!
"Test Wolf" in scene "Loot Sandbox" drops "Animal Hide" Working!
  • 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)" Working!
"Animal Hide" is found on "Test Tree (Tier 4)" (Some queries will return resource nodes, like wierd Wolfsbane trees...) Should Work
"Animal Hide" is found in "Supply Bundle (Mauve)" (Because not all query pages will be scenes) Should Work
  • Group these together by animal, so each row returns multiple scenes:
"Animal Hide" is found on "Test Wolf" in "Scene A (Tier 4), Scene B (Tier 2)" Broken, one per line currently

This is all still a work in progress...

Bestiary[edit]

Template:Creatureboxtop Template:Creaturebox test Template:Creaturebox test Template:Creatureboxbottom

Resources[edit]

Template:Resourceboxtop Template:Resourcebox test Template:Resourceboxbottom

Query[edit]

Example[edit]

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)

Template:Query loot test Template:Query loot array2