Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Can someone help me create a macro "XP to Level 3" Loot table? Dnd 5e

1628333037

Edited 1628337388
Heya! I want a loot table for my game,&nbsp; and i want to create a macro for it, How would someone do this? 1, ask the lvl of players. 2. how many in the party. 3. Monster type Loot table i want in my game: <a href="https://www.patreon.com/posts/40857187" rel="nofollow">https://www.patreon.com/posts/40857187</a> &nbsp;
What i got so far: #TableType?{Creature type?|Aberration, A|Beast, B|Celestial, C|Construct, Ds|Dragon, E|Elemental, F|Fey, G|Fiend, H|Giant, J|Humanoid, K|Monstrosity, L|Ooze, M|Plant, N|Undead, O} Abberation Table: [[2d4 * 50 * ?{APL&amp;#125;]] gp [[?{APL&amp;#125;]] * 50 gp gems [[1d4]] 15 gp art objects /r ?{number of PCs?|0}t[Table ?{lvl of party&amp;#124;1-3&amp;#44; A&amp;#124;4-6&amp;#44; B&amp;#1247-9&amp;#44; C&amp;#124;10-15&amp;#44; D&amp;#124;16-20&amp;#44; E&amp;#125;]
1628347785
Kraynic
Pro
Sheet Author
It looks like you have html replacements everywhere.&nbsp; The only place you would need to do that is when you have nested queries (1 inside another). [[[[2d4]]*50*?{APL?|1}]] gp Personally, I wouldn't nest queries in your last line.&nbsp; I would just make a different macro for each level band, or change the table call for the correct level band as the party levels up.&nbsp; This is probably due to my not liking to answer queries all the time though, so I keep them to a minimum.&nbsp; You could also put this in a template to organize the output a little. /w gm &amp;{template:default} {{name=Treasure Generator}} {{GP=[[[[2d4]]*50*?{APL?|1}]]}} {{Gems=[[?{APL?}*50]]GP}} {{Art Objects=[[1d4]] (15 gp each)}} {{Treasure=[[[?{Number of PCs?|0}t[1-3]]]}} This is using the default template which is available in any game on Roll20, but whatever character sheet you are using might have a roll template built in that would produce nicer looking output.
Kraynic said: It looks like you have html replacements everywhere.&nbsp; The only place you would need to do that is when you have nested queries (1 inside another). [[[[2d4]]*50*?{APL?|1}]] gp Personally, I wouldn't nest queries in your last line.&nbsp; I would just make a different macro for each level band, or change the table call for the correct level band as the party levels up.&nbsp; This is probably due to my not liking to answer queries all the time though, so I keep them to a minimum.&nbsp; You could also put this in a template to organize the output a little. /w gm &amp;{template:default} {{name=Treasure Generator}} {{GP=[[[[2d4]]*50*?{APL?|1}]]}} {{Gems=[[?{APL?}*50]]GP}} {{Art Objects=[[1d4]] (15 gp each)}} {{Treasure=[[[?{Number of PCs?|0}t[1-3]]]}} This is using the default template which is available in any game on Roll20, but whatever character sheet you are using might have a roll template built in that would produce nicer looking output. ooh much cleaner, Now you just need to make one for all the creature types! yays! :b
1628349419
Kraynic
Pro
Sheet Author
Something to keep in mind is that you are going to end up with a lot of rollable tables, which isn't usually too bad, because you aren't usually scrolling down the list to call one manually anyway (at least that is my experience).&nbsp; But you are also going to end up with a bunch of macros. If you are going to create the entire network of macros to call for different creature types, level bands, etc., I would be tempted to create a "character" called Treasure Generator" and have all the macros on the Attributes &amp; Abilities tab of that sheet.&nbsp; You could give it a token and leave that token on the GM layer somewhere, and if your macros are marked as token actions, you just need to select the token to have access to them.&nbsp; You can also use the Bio &amp; Info tab to put links to important handouts or external sites (like the place you got the tables in case you need to check something there).&nbsp; Creating them on a character sheet probably won't be important if you don't otherwise use many macros in the Collections tab.&nbsp; But if you do put a lot of things there (weather generators, encounter generators, etc.), then it might help keep your macros organized and easier to find if some of them are split off onto sheets.
good suggeestion,, now how do i make the other macros,, :b