I have started making it a habit to share any tooling that I make for my local games. For this I made a quick loot generator using the tables from the Core Rulebook, though I have modified it slightly to include things like glowing blood packs, abraxo cleaner, and asbestos.
If you have any feedback, find any bugs, or have any feature requests, please feel free to post here.
I decided to make this generator in html, because the product is the source code and it is easy for folks to make their own updates and fixes. If you do make additions, please feel free to share here as well.
What part are you having trouble with?
Edit: If you are running on mobile, I have not really tested this on that platform. This should work on Chrome, Edge, and Safari though. Firefox should work, but has spacing issues.
Edit 2: Testing on windows with Safari, it does not work.
Dear lord thank, as loot generation is so far the most tedious part, and yet so essential, to a post-apocolypse game.
However I to must admit to not understanding how to use your spreadsheet.
For example: players are searching a Large area - a garage in a military base. The site has been mostly searched. Using the charts from the GM Handbook (which should have been in the core rulebook IMHO) I would have the following:
Large location, 24 total items, x4 multi
Ammo 4, armor 4, clothing 4, weapon 4, other 8
DN 3 (mostly searched), -5 items
Ammo 0, armor 0, clothing 0, weapon 0, other 3
Other: Ammo, Food, Weapon
However I don’t see a way to enter in the DN for the site.
Also, you might want to have the first sheet in your workbook be the instructions.
They were written to go into the corebook, but including them would’ve meant a larger (and more expensive) rulebook, because there’s only a finite amount of stuff that can fit onto a page, and adding more pages isn’t a simple matter, nor is it free.
Looking at the core book I’m going to guess pages are added in increments of 16 or 32 for that type of binding. With 11 pages of loot tables in the GM Handbook they would have to create a lot of filler material.
Would it be possible to add the credit value of items?
That’d help tremendously when reselling the stuff, especially for modded weapons and armors where you need to manually check each mod separately to sum up the value.
I’m also unsure how the Luck button works. RAW says you add or subtract the level of the location on your result. Nowhere can you input the location level and the result should include a choice of two items: one of you’d add the level, another if you subtract.
In the food loot for v5 pork and beans is Pork â€˜nâ€™ Beans
In the Clothing loot for v5 Engineer’s armor says Engineerâ€™s Armor
In the magazine section Fixin’ Things says Fixinâ€™ Things
Tumblers Today - Locksmith Certification Special, Pass with Flying Colors (Issue 5/5) is Tumblers Today - Locksmith Certification Specialâ€”Pass with Flying Colors (Issue 5/5)
Tesla Science Magazine - Tomorrow’s Technology for Today’s Super Soldiers (Issue 4/9) is Tesla Science Magazine - Tomorrowâ€™s Technology for Todayâ€™s Super Soldiers (Issue 4/9)
Programmer’s Digest is Programmerâ€™s Digest
I think all of theese are a problem with the print sytax of ’ , is is instead replaced by â€™, you might need to use ’ to do it properly if you were just using ’
I also personally think dirty water shouldn’t be on the chems list
The way luck works in this generator is to increase the chance for better loot to be found. In the PDF I used for creating this, I did not see anything about adding level, If I missed something, please send me the page number so I can add in the mechanic!
As for adding credit value, I left that out because I did not think of it til the end and it would require a large redesign of the print out system being used, as it is very very basic string from list print outs, with mods being appended. I do not think I will be adding this myself, but the joy of HTML is that it is very basic and uncompiled code, so anyone here can take up the mantle and add as they see fit. (Which is why I left room for more tabs)
This is the blurb I saw on luck:
“LUCK OF THE DRAW
You may spend a Luck point to introduce a helpful
fact or detail about the situation you’re in, something
that you’d have to be lucky to encounter. You could
find just the right items or the right kind of ammo
while you’re scavenging, find a key to a locked door, or
a clue to a computer password. The gamemaster may
prompt you with an opportunity to do this, or you
may suggest when it could happen, but they can veto
your suggestions, or ask you to spend multiple Luck
points to make it happen.”
It’s quite hidden, actually. p.200 on the top right in the yellow box: Modded Items :
For each item category found, roll on the relevant
table. After rolling, you may spend 1 Luck point to
add or subtract an amount up to the location’s level to
or from the roll: that is, if you’re searching a Level 6
location, you may increase or reduce your roll by up to
6 after rolling, by spending 1 Luck point.
@KakugaGoka I am working on an expanded system that you’ve done a lot of work on already. I see you’ve already granted use of your work to make changes as we see fit, I just want to ask more formally since I want to make it into something bigger. So, will you confirm that I may use (with attribution and not for profit) your code or scrape your code for what I need to make my own tools? You’ve done a lot of work on this already and I see ways it could be more but I don’t want to burden you with asking if you can bring my concept to life over yours. Thank you for your consideration, I didn’t know how to send a private message here and a conversation has to start somewhere, just trying to get into it asap since i’m a tldr sort of writer. Although if you’re interested in combining my code/concept with yours to produce a larger project I’m even more interested in that.
Hey! Just a curious bystander who really loves this tool but would also like to expand it for a homebrew sort of sense.
I felt I’m pretty nifty at reading code typically, but I spent a long amount of time looking at it and I can’t understand. Just trying to get new items to show up and how I would arrange them. I realize that it rolls a dice for instance Oddities is 3d20, and has 57 items. But I’m having trouble with the code I guess because some areas say.
getStuff(listOdd, 1, rollDie(2)-1)
and some areas say.
getStuff(listOdd, 1, rollDie(3)-1)
Guess I’m trying to understand how the die rolling is working in this and for whatever reason can’t wrap my head around it.
@SoOnNSoIV Yes, feel free to use as you see fit. It is completely open source, and where credit would be nice, it is not required
I make for things so that others may build to greater heights, as I am not the best, but someone is.
@Darkenneko I believe that it is getStuff(-ListOfChoice-, NumberOfItems, rollDie(d20)-offset)
I hope that is helpful. I have not touched this code in a long time though so, I could be mistaken. Was a quick slap together project so I could run a game easier.
@trashgoblin You should be able to just open the file in your web browser and go. What is the issue you are having?