#Loot table

1 messages · Page 1 of 1 (latest)

fresh maple
#

I need some info for shattered pd loot tables:
What is the chance for an individual piece of loot to be coins/potion/scroll/a piece of gear
What is the chance for a piece of gear to be cursed/enchanted/+1 through +3

grim pagoda
#

I think cursed is 1/3

#

Maybe I can try shifting through the files sometime later

fresh maple
#

(strength pots, upgrade scrolls and trap solution items aside btw just raw loot)

grim pagoda
#

And naturally loot only goes to +2, in cases where bonus upgrades it can go to +3

fresh maple
#

ah fair

#

i am tryna set up an rp and well

#

it would be nice to have some sort of a loot table baseline

hearty flame
fresh maple
#

if i found an actual answer i would not be asking this here

#

but ye ima ask in the wiki channel

tired pike
#

there is a lot of info on the supernewb guide idk if that's exactly what you're looking for

fresh maple
#

the guide is more for a player

#

i need more of a dev/dm perspective

hearty flame
#

https://github.com/00-Evan/shattered-pixel-dungeon/blob/master/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java
This looks like the right file, if you can parse the mechanics you can derive the loot table. Or just copy it to make an auto-loot generator?

GitHub

Shattered Pixel Dungeon is an open-source traditional roguelike dungeon crawler with randomized levels and enemies, and hundreds of items to collect and use. It's based on the source code o...

fresh maple
#

ight ty

#

but yeah

#

i may or may not be too dumb to understand java code

#

i think i mostly made sense of it

#

but yeah i missed 1 thing

#

how does the game know to generate lower weapon/armor tiers on lower floors and higher weapon/armor tiers on higher floors

#

and what are the general odds of generating a lower tier weapon on a higher floor or a higher tier weapon on a lower floor

hearty flame
#

This part here. Each {} contain the probabilities for each weapon/armor tier at each region. For example: In Prisons (so the 2nd region), tiered equipment is 25% tier 2, 50% tier 3, 20% tier 4, and 5% tier 5.

fresh maple
#

Ight ty