You can find my rules here: https://docs.google.com/document/d/1fmjkjCjPFb0n6jLsVZ7xyEPHFL6r-VD9jwZMlRBr83s/edit?usp=sharing
To use these macros, it is best to make a character sheet called "Party Sheet" and give all the players access to it. Put these macros in the sheet as Abilities (which are like sheet-specific macros.) When your players want to shop, they can just open up the Attributes tab of the Party Sheet to access the macros, or start typing %shopping in chat to bring up the menu.
Copy EVERYTHING in the code boxes and name them EXACTLY as suggested.
Shopping Menu
Name: Shopping
&{template:npcaction} {{rname=Shopping}} {{name=Be sure to select your token}} {{description= [Buy a Mundane Item](~Party Sheet|Buying-Mundane-Item)
[Sell a Mundane Item](~Party Sheet|Selling-Mundane-Item)
[Buy a Magic Item](~Party Sheet|Buying-Magic-Item)
[Sell a Magic Item](~Party Sheet|Selling-Magic-Item)
}}
Buying a Mundane Item
Name: Buying-Mundane-Item
&{template:npcaction} {{rname=Shopping for ?{Name of Item}}} {{name=[Click here for in depth rules](https://docs.google.com/document/d/1fmjkjCjPFb0n6jLsVZ7xyEPHFL6r-VD9jwZMlRBr83s/edit#bookmark=id.atwfsxh25vcp)}} {{description=**Availability:** ?{Settlement Size |
Thorpe,
Price Limit: 50 gp
Total Purchase Limit: 500 gp |
Hamlet,
Price Limit: 200 gp
Total Purchase Limit: 1000 gp |
Village,
Price Limit: 500 gp
Total Purchase Limit: 2500 gp |
Small Town,
Price Limit: 1000 gp
Total Purchase Limit: 5000 gp |
Large Town,
Price Limit: 2000 gp
Total Purchase Limit: 10.000 gp |
Small City,
Price Limit: 4000 gp
Total Purchase Limit: 25.000 gp |
Large City,
Price Limit: 8000 gp
Total Purchase Limit: 50.000 gp |
Metropolis,
Price limit: 16.000 gp
Total Purchase Limit: 100.000 gp}
**Price:** [[floor( ?{Item Type |
Art Objects Gems Trade Goods, ?{Book Price in GP} |
Mundane items <= 25 gp, ?{Book Price in GP} |
Mundane items > 25 gp, ?{Book Price in GP}*?{What economy modifier did the GM give you?|
low price,.5|
normal price,1|
high price,1.5} |
Masterwork armor or weapon, (?{Book Price of non-masterwork version in GP}+?{What kind of masterwork item?|
Light or Medium Armor,100+5d20|
Heavy Armor or Weapon,250+5d20})*?{What economy modifier did the GM give you?|
low price,.75|
normal price,1|
high price,1.25}
} ) ]] gp
}}
Selling a Mundane Item
Name: Selling-Mundane-Item
&{template:npcaction} {{rname=Selling ?{Name of Item}}} {{name=[Click here for in depth rules](https://docs.google.com/document/d/1fmjkjCjPFb0n6jLsVZ7xyEPHFL6r-VD9jwZMlRBr83s/edit#bookmark=id.rg9ba432grqx)}} {{description=**Can you sell it here?** ?{Settlement Size |
Thorpe,
Value Limit: 50 gp
Total Sale Limit: 500 gp |
Hamlet,
Value Limit: 200 gp
Total Sale Limit: 1000 gp |
Village,
Value Limit: 500 gp
Total Sale Limit: 2500 gp |
Small Town,
Value Limit: 1000 gp
Total Sale Limit: 5000 gp |
Large Town,
Value Limit: 2000 gp
Total Sale Limit: 10.000 gp |
Small City,
Value Limit: 4000 gp
Total Sale Limit: 25.000 gp |
Large City,
Value Limit: 8000 gp
Total Sale Limit: 50.000 gp |
Metropolis,
Value limit: 16.000 gp
Total Sale Limit: 100.000 gp}
**Offered Price:** ?{Item Type |
Art Objects Gems Trade Goods, [[ceil( (70 + 1d20)*0.01*?{Book Price in GP} ) ]] gp |
Mundane items <= 25 gp, [[ceil( (70 + 1d20)*0.01*?{Book Price in GP} ) ]] gp |
Mundane items > 25 gp, [[ceil( (70 + 1d20)*0.01*?{Book Price in GP}*?{What economy modifier did the GM give you?|
low price,.5|
normal price,1|
high price,1.5} ) ]] gp |
Masterwork armor or weapon, [[ ceil( ( (70+1d20)*0.01*(?{Book Price of non-masterwork version in GP}+?{What kind of masterwork item?|
Light or Medium Armor,100+5d20|
Heavy Armor or Weapon,250+5d20}) )*?{What economy modifier did the GM give you?|
low price,.75|
normal price,1|
high price,1.25} ) ]] gp}
}}
Buying a Magic Item
Name: Buying-Magic-Item
<?--- Ordering of the Queries --->
!?{Name of Item}
!?{How might your character know about the item?|I've heard hearsay and rumors about it,@{selected|charisma_mod}|I've read about it in books or learned about it from my mentor,@{selected|intelligence_mod}|Intuitively I'm pretty sure an item like it must exist,@{selected|wisdom_mod}}
!?{Are you proficent in Arcana?|Yes,@{selected|pb}|No,0|Expertise,2*@{selected|pb}|Jack of All Trades,floor(@{selected|pb}/2) }
!?{Do you want to use Investigation or Persuasion to find the item?|Investigation,@{selected|investigation_bonus}|Persuasion,@{selected|persuasion_bonus}}
!?{Settlement Size | Thorpe, [[1d100cs<?{Rarity-| Common,49| Minor Uncommon,24}cf>?{Rarity-| Common,49| Minor Uncommon,24}]] | Hamlet, [[1d100cs<?{Rarity- | Common,74| Minor Uncommon,44| Major Uncommon,24}cf>?{Rarity- | Common,74| Minor Uncommon,44| Major Uncommon,24}]] | Village, [[1d100cs<?{Rarity- | Common,79| Minor Uncommon,54| Major Uncommon,44| Minor Rare,24}cf>?{Rarity- | Common,79| Minor Uncommon,54| Major Uncommon,44| Minor Rare,24}]] | Small Town, [[1d100cs<?{Rarity- | Common,84| Minor Uncommon,64| Major Uncommon,54| Minor Rare,34| Major Rare,24}cf>?{Rarity- | Common,84| Minor Uncommon,64| Major Uncommon,54| Minor Rare,34| Major Rare,24}]] | Large Town, [[1d100cs<?{Rarity- | Common,89| Minor Uncommon,74| Major Uncommon,64| Minor Rare,44| Major Rare,34| Minor Very Rare,24}cf>?{Rarity- | Common,89| Minor Uncommon,74| Major Uncommon,64| Minor Rare,44| Major Rare,34| Minor Very Rare,24}]] | Small City, [[1d100cs<?{Rarity- | Common,94| Minor Uncommon,84| Major Uncommon,74| Minor Rare,54| Major Rare,44| Minor Very Rare,34| Major Very Rare,24}cf>{Rarity- | Common,94| Minor Uncommon,84| Major Uncommon,74| Minor Rare,54| Major Rare,44| Minor Very Rare,34| Major Very Rare,24}]] | Large City, [[1d100cs<?{Rarity- | Common,94| Minor Uncommon,94| Major Uncommon,84| Minor Rare,64| Major Rare,54| Minor Very Rare,44| Major Very Rare,34| Minor Legendary,4}cf>?{Rarity- | Common,94| Minor Uncommon,94| Major Uncommon,84| Minor Rare,64| Major Rare,54| Minor Very Rare,44| Major Very Rare,34| Minor Legendary,4}]] | Metropolis, [[1d100cs<?{Rarity- | Common,100| Minor Uncommon,94| Major Uncommon,94| Minor Rare,74| Major Rare,64| Minor Very Rare,54| Major Very Rare,44| Minor Legendary,24| Major Legendary,5}cf>?{Rarity- | Common,100| Minor Uncommon,94| Major Uncommon,94| Minor Rare,74| Major Rare,64| Minor Very Rare,54| Major Very Rare,44| Minor Legendary,24| Major Legendary,4}]] }
!?{Rarity.| Common,5| Minor Uncommon,8| Major Uncommon,10| Minor Rare,12| Major Rare,15| Minor Very Rare,17| Major Very Rare,20| Minor Legendary,22| Major Legendary,25| Artifact,30}
!?{Rarity,| Common,50+1d50[common]| Minor Uncommon,100+1d200[minor uncommon]| Major Uncommon,300+1d200[major uncommon]| Minor Rare,500+1d2250[minor rare]| Major Rare,2750+1d2250[major rare]| Minor Very Rare,5000+1d10000[minor very rare]| Major Very Rare,15000+1d10000[major very rare]| Minor Legendary,25000+1d12500[minor legendary]| Major Legendary,37500+1d12500[major legendary]}
!?{Is this item consumeable?| Yes,.5[consumable]| No,1[not consumable]}
!?{What economy modifier did the GM give you?| low price,.75[low price economy]| normal price,1[normal price economy]| high price,1.25[high price economy]}
!?{Base Price of mundane version (if any) in GP|0}[mundane price]
<?--- The Actual Macro --->
&{template:npcaction} {{rname=Shopping for ?{Name of Item}}} {{name=[Click her for in depth rules](https://docs.google.com/document/d/1fmjkjCjPFb0n6jLsVZ7xyEPHFL6r-VD9jwZMlRBr83s/edit#bookmark=id.11ixkfarfntp)}} {{description=**Do you know about the item?** [[1d20+?{How might your character know about the item?|
I've heard hearsay and rumors about it,@{selected|charisma_mod}|
I've read about it in books or learned about it from my mentor,@{selected|intelligence_mod}|
Intuitively I'm pretty sure an item like it must exist,@{selected|wisdom_mod}}+?{Are you proficent in Arcana?|
Yes,@{selected|pb}|
No,0|
Expertise,2*@{selected|pb}|
Jack of All Trades,floor(@{selected|pb}/2) } ]]vs DC ?{Rarity.|
Common,5|
Minor Uncommon,8|
Major Uncommon,10|
Minor Rare,12|
Major Rare,15|
Minor Very Rare,17|
Major Very Rare,20|
Minor Legendary,22|
Major Legendary,25|
Artifact,30}
**Is it available?** ?{Settlement Size |
Thorpe, [[1d100cs<?{Rarity-|
Common,49|
Minor Uncommon,24}cf>?{Rarity-|
Common,49|
Minor Uncommon,24}]] |
Hamlet, [[1d100cs<?{Rarity- |
Common,74|
Minor Uncommon,44|
Major Uncommon,24}cf>?{Rarity- |
Common,74|
Minor Uncommon,44|
Major Uncommon,24}]] |
Village, [[1d100cs<?{Rarity- |
Common,79|
Minor Uncommon,54|
Major Uncommon,44|
Minor Rare,24}cf>?{Rarity- |
Common,79|
Minor Uncommon,54|
Major Uncommon,44|
Minor Rare,24}]] |
Small Town, [[1d100cs<?{Rarity- |
Common,84|
Minor Uncommon,64|
Major Uncommon,54|
Minor Rare,34|
Major Rare,24}cf>?{Rarity- |
Common,84|
Minor Uncommon,64|
Major Uncommon,54|
Minor Rare,34|
Major Rare,24}]] |
Large Town, [[1d100cs<?{Rarity- |
Common,89|
Minor Uncommon,74|
Major Uncommon,64|
Minor Rare,44|
Major Rare,34|
Minor Very Rare,24}cf>?{Rarity- |
Common,89|
Minor Uncommon,74|
Major Uncommon,64|
Minor Rare,44|
Major Rare,34|
Minor Very Rare,24}]] |
Small City, [[1d100cs<?{Rarity- |
Common,94|
Minor Uncommon,84|
Major Uncommon,74|
Minor Rare,54|
Major Rare,44|
Minor Very Rare,34|
Major Very Rare,24}cf>{Rarity- |
Common,94|
Minor Uncommon,84|
Major Uncommon,74|
Minor Rare,54|
Major Rare,44|
Minor Very Rare,34|
Major Very Rare,24}]] |
Large City, [[1d100cs<?{Rarity- |
Common,94|
Minor Uncommon,94|
Major Uncommon,84|
Minor Rare,64|
Major Rare,54|
Minor Very Rare,44|
Major Very Rare,34| Minor Legendary,4}cf>?{Rarity- |
Common,94|
Minor Uncommon,94|
Major Uncommon,84|
Minor Rare,64|
Major Rare,54|
Minor Very Rare,44|
Major Very Rare,34| Minor Legendary,4}]] |
Metropolis, [[1d100cs<?{Rarity- |
Common,100|
Minor Uncommon,94|
Major Uncommon,94|
Minor Rare,74|
Major Rare,64|
Minor Very Rare,54|
Major Very Rare,44|
Minor Legendary,24|
Major Legendary,5}cf>?{Rarity- |
Common,100|
Minor Uncommon,94|
Major Uncommon,94|
Minor Rare,74|
Major Rare,64|
Minor Very Rare,54|
Major Very Rare,44|
Minor Legendary,24|
Major Legendary,4}]]
}
*Green is available, red is not.*
**Can you find it?**[[1d20+?{Do you want to use Investigation or Persuasion to find the item?|Investigation,@{selected|investigation_bonus}|Persuasion,@{selected|persuasion_bonus}}]]vs DC ?{Rarity.|
Common,5|
Minor Uncommon,8|
Major Uncommon,10|
Minor Rare,12|
Major Rare,15|
Minor Very Rare,17|
Major Very Rare,20|
Minor Legendary,22|
Major Legendary,25|
Artifact,30}
**Price:** [[ floor( (?{Base Price of mundane version (if any) in GP|0}[mundane price]+?{Rarity,|
Common,50+1d50[common]|
Minor Uncommon,100+1d200[minor uncommon]|
Major Uncommon,300+1d200[major uncommon]|
Minor Rare,500+1d2250[minor rare]|
Major Rare,2750+1d2250[major rare]|
Minor Very Rare,5000+1d10000[minor very rare]|
Major Very Rare,15000+1d10000[major very rare]|
Minor Legendary,25000+1d12500[minor legendary]|
Major Legendary,37500+1d12500[major legendary]})*?{Is this item consumeable?|
Yes,.5[consumable]|
No,1[not consumable]}*?{What economy modifier did the GM give you?|
low price,.75[low price economy]|
normal price,1[normal price economy]|
high price,1.25[high price economy]} ) ]] gp
}}
Selling a Magic Item
Name: Selling-Magic-Item
<?--- Ordering of the Queries --->
!?{Name of Item}
!?{Settlement Size | Thorpe,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,no| Minor Rare,no| Major Rare,no| Minor Very Rare,no| Major Very Rare,no| Minor Legendary,no| Major Legendary,no} | Hamlet,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,yes| Minor Rare,no| Major Rare,no| Minor Very Rare,no| Major Very Rare,no| Minor Legendary,no| Major Legendary,no} | Village,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,yes| Minor Rare,yes| Major Rare,no| Minor Very Rare,no| Major Very Rare,no| Minor Legendary,no| Major Legendary,no} | Village,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,yes| Minor Rare,yes| Major Rare,no| Minor Very Rare,no| Major Very Rare,no| Minor Legendary,no| Major Legendary,no} | Small Town,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,yes| Minor Rare,yes| Major Rare,yes| Minor Very Rare,no| Major Very Rare,no| Minor Legendary,no| Major Legendary,no} | Large Town,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,yes| Minor Rare,yes| Major Rare,yes| Minor Very Rare,yes| Major Very Rare,no| Minor Legendary,no| Major Legendary,no} | Small City,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,yes| Minor Rare,yes| Major Rare,yes| Minor Very Rare,yes| Major Very Rare,yes| Minor Legendary,no| Major Legendary,no} | Large City,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,yes| Minor Rare,yes| Major Rare,yes| Minor Very Rare,yes| Major Very Rare,yes| Minor Legendary,yes| Major Legendary,no} | Metropolis,?{Rarity. | Common,yes| Minor Uncommon,yes| Major Uncommon,yes| Minor Rare,yes| Major Rare,yes| Minor Very Rare,yes| Major Very Rare,yes| Minor Legendary,yes| Major Legendary,yes}}
!?{Rarity,| Common,50+1d50| Minor Uncommon,100+1d200| Major Uncommon,300+1d200| Minor Rare,500+1d2250| Major Rare,2750+1d2250| Minor Very Rare,5000+1d10000| Major Very Rare,15000+1d10000| Minor Legendary,25000+1d12500| Major Legendary,37500+1d12500} )
!?{Type|Potions scrolls and other consumables with all their uses intact, 0.5[consumable]*(55+1d20)[potion scroll etc]|Amulets rings rods wands staffs and other wondrous items, (65+1d20)[amulet ring rod etc]|Weapons and armor, (70+1d20)[weapons and armor]}
!?{Base Price of mundane version (if any) in GP|0}
!?{What economy modifier did the GM give you?|low price,.75[low price economy]|normal price,1[normal price economy]|high price,1.25[high price economy]} )
<?--- The Actual Macro --->
&{template:npcaction} {{rname=Selling ?{Name of Item} }} {{name=[Click here for in depth rules](https://docs.google.com/document/d/1fmjkjCjPFb0n6jLsVZ7xyEPHFL6r-VD9jwZMlRBr83s/edit#bookmark=id.uo0z4896va49) }} {{description=**Can you sell it here?** ?{Settlement Size |
Thorpe,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,no|
Minor Rare,no|
Major Rare,no|
Minor Very Rare,no|
Major Very Rare,no|
Minor Legendary,no|
Major Legendary,no} |
Hamlet,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,yes|
Minor Rare,no|
Major Rare,no|
Minor Very Rare,no|
Major Very Rare,no|
Minor Legendary,no|
Major Legendary,no} |
Village,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,yes|
Minor Rare,yes|
Major Rare,no|
Minor Very Rare,no|
Major Very Rare,no|
Minor Legendary,no|
Major Legendary,no} |
Village,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,yes|
Minor Rare,yes|
Major Rare,no|
Minor Very Rare,no|
Major Very Rare,no|
Minor Legendary,no|
Major Legendary,no} |
Small Town,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,yes|
Minor Rare,yes|
Major Rare,yes|
Minor Very Rare,no|
Major Very Rare,no|
Minor Legendary,no|
Major Legendary,no} |
Large Town,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,yes|
Minor Rare,yes|
Major Rare,yes|
Minor Very Rare,yes|
Major Very Rare,no|
Minor Legendary,no|
Major Legendary,no} |
Small City,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,yes|
Minor Rare,yes|
Major Rare,yes|
Minor Very Rare,yes|
Major Very Rare,yes|
Minor Legendary,no|
Major Legendary,no} |
Large City,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,yes|
Minor Rare,yes|
Major Rare,yes|
Minor Very Rare,yes|
Major Very Rare,yes|
Minor Legendary,yes|
Major Legendary,no} |
Metropolis,?{Rarity. |
Common,yes|
Minor Uncommon,yes|
Major Uncommon,yes|
Minor Rare,yes|
Major Rare,yes|
Minor Very Rare,yes|
Major Very Rare,yes|
Minor Legendary,yes|
Major Legendary,yes}}
**Offer:** [[ ( (?{Base Price of mundane version (if any) in GP|0}[mundane price]+?{Rarity,|
Common,50+1d50[common]|
Minor Uncommon,100+1d200[minor uncommon]|
Major Uncommon,300+1d200[major uncommon]|
Minor Rare,500+1d2250[minor rare]|
Major Rare,2750+1d2250[major rare]|
Minor Very Rare,5000+1d10000[minor very rare]|
Major Very Rare,15000+1d10000[major very rare]|
Minor Legendary,25000+1d12500[minor legendary]|
Major Legendary,37500+1d12500[major legendary]})*?{What economy modifier did the GM give you?|
low price,.75[low price economy]|
normal price,1[normal price economy]|
high price,1.25[high price economy]} )*0.01[percent]*?{Type|
Potions scrolls and other consumables with all their uses intact, 0.5[consumable]*(55+1d20)[potion scroll etc]|
Amulets rings rods wands staffs and other wondrous items, (65+1d20)[amulet ring rod etc]|
Weapons and armor, (70+1d20)[weapons and armor]}]] gp
}}