Trash: Difference between revisions

91 bytes removed ,  17:06, 27 December 2020
add depth formula
imported>Trashmonks
(Updated by egocarib with game version 2.0.201.53 using QBE v1.0rc2)
(add depth formula)
Line 1: Line 1:
{{Missing info | What is the formula to determine tier from depth?}}
{{Missing info | What kind of secret is an observation?}}
{{Missing info | What kind of secret is an observation?}}
<!-- START QBE: Autogenerated section - please leave this marker. See the [[QBE]] page for more information. -->
<!-- START QBE: Autogenerated section - please leave this marker. See the [[QBE]] page for more information. -->
Line 20: Line 19:
Piles of {{name}} are practically ubiquitous throughout Qud. While of little monetary value on their own, they are extremely valuable in combination with the [[Scavenger]] and [[Trash Divining]] skills, which transform them into items and secrets, respectively. A single act of rifling through trash has the potential to yield both an item and a secret, if the rifler has the appropriate skills.{{Code Reference | class = Garbage | method = AttemptRifle | name = "attempt-rifle-method"}}
Piles of {{name}} are practically ubiquitous throughout Qud. While of little monetary value on their own, they are extremely valuable in combination with the [[Scavenger]] and [[Trash Divining]] skills, which transform them into items and secrets, respectively. A single act of rifling through trash has the potential to yield both an item and a secret, if the rifler has the appropriate skills.{{Code Reference | class = Garbage | method = AttemptRifle | name = "attempt-rifle-method"}}


The depth at which a given pile of trash first appears{{Code Reference | class = Garbage | method = HandleEvent(EnteredCellEvent)}} determines what tier of items are likely to be found from rifling through it.<ref name="attempt-rifle-method" /> For more information about how the tier is calculated for a particular depth in a particular location, refer to the [[zone tier]] page.
The depth at which a given pile of trash first appears{{Code Reference | class = Garbage | method = HandleEvent(EnteredCellEvent)}} determines what tier of items are likely to be found from rifling through it.<ref name="attempt-rifle-method" />. The item tier is calculated as '''Depth / 4''' rounded down, with a minimum value of 1 and a maximum value of 8.


Whenever a creature rifles trash while having the Scavenger skill, there is a 25% chance they will find an item. Roughly 96% of the time this happens, this item will be scrap randomly generated from the table of the appropriate tier. The other roughly 4% of the time it will instead be one of an assortment of items, again rolled based on tier. (The chance of scrap is actually larger than 96%, because the same table that provides the non-scrap items also has a possibility of yielding scrap.<ref><code>EncounterTables.xml</code>; search for <code>.Junk Tables</code> to find the appropriate place in the file</ref>)
Whenever a creature rifles trash while having the Scavenger skill, there is a 25% chance they will find an item. Roughly 96% of the time this happens, this item will be scrap randomly generated from the table of the appropriate tier. The other roughly 4% of the time it will instead be one of an assortment of items, again rolled based on tier. (The chance of scrap is actually larger than 96%, because the same table that provides the non-scrap items also has a possibility of yielding scrap.<ref><code>EncounterTables.xml</code>; search for <code>.Junk Tables</code> to find the appropriate place in the file</ref>)