Sly 2:Pickpocketing: Difference between revisions

→‎Gallery: Make gallery images bigger
(Fixed Google docs link)
(→‎Gallery: Make gallery images bigger)
 
(6 intermediate revisions by the same user not shown)
Line 1:
{{Infobox game mechanic
| image= File:ExampleSly 2 pickpocketing.png
| caption= Image caption
}}
 
'''Pickpocketing''' guards in Sly 2 is a method of obtaining coins, as well as loot items which can be sold for coins in [[Thiefnet]]. Each guard can have beeenbeen 2-4 pockets, with 2-3 pockets containing coins and 0-1 pockets with an item.
 
== Loot table ==
 
{{Google doc|https://docs.google.com/document/d/18ezz5MnpKuwVG20HRPIh3dnFfMZmyd9_SWQzLhLvdCY/edit?usp=sharing}}
{{MainSee also|Sly 2:PickpocketLootTable}}
 
{{Google doc|https://docs.google.com/document/d/18ezz5MnpKuwVG20HRPIh3dnFfMZmyd9_SWQzLhLvdCY/edit?usp=sharing}}
 
Each guard type in the game has it’s own loot table, with some exceptions. The loot table contains the following information:
Line 40 ⟶ 39:
 
# Sum up the total odds for all items in the loot table
# Select a random valyevalue between 0 and the max odds
# For each item in the loot table:
## If the random value is greater than the current total odds, set the item to that item
Line 47 ⟶ 46:
Although all the odds normally add up to 100, they can be anything. The odds of any one item appearing in a pocket is just the fraction of that item’s odds out of the total odds.
 
== PocketEditing pocket values ==
 
{{MainSee also|Sly 2:GuardPocket}}
 
The values on the guard pocket can be modified to change the loot type (from coins to items or vice versa), or replace the item with an entity.
 
{{To do|Add instructions for how to modify the pocket to make it coins, health pickups, or a different entity}}
 
== Gallery ==
<gallery mode="nolines" widths=480px heights=240px>
File:Sly 2 pickpocketing.png
File:Sly 2 pickpocketing coins.png
File:Sly 2 silver comb.png
</gallery>
 
== See also ==
* [[Sly 2:Pocket Murray]] - A mod which makes all guards have a tiny Murray in their pockets
 
{{Navbox Sly 2}}