RPTools.net

Discussion and Support

Skip to content

It is currently Sat Dec 16, 2017 1:51 pm 






Reply to topic  [ 5 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Giant
 
Joined: Fri Mar 16, 2012 4:39 pm
Posts: 122
 Post subject: What has it got in it's pockets?
PostPosted: Fri Oct 25, 2013 7:54 pm 
So, while setting up a Warhammer 2nd Edition campaign, I wanted to create a collection of things that can be found within the pockets and pouches of various humanoids. Anyone familiar with the game knows that magic items are rare and far in between, and thus I was looking to create a list of simple items. That is where your contributions come in. I'm currently making a macro which will ask how many humanoids there were, run some variables, and spit out some coins along with the treasure... of course I'll share the macro once I have it in working order.

Thus far I have the following, but I'm always looking for more:

a pair of leather gloves,

a pair of cloth gloves,

a red silk handkerchief smelling faintly of jasmine,

a simple cloth scarf,

a small wheel of hard cheese,

a piece of hard jerky,

a metal flask of spirits,

an empty wineskin,

a wineskin half full of honey mead,

a single candle,

three candles,

a dozen long matches,

an untreated torch,

two untreated torches,

three untreated torches,

a fish hook,

a small hammer,

a set of lock picks,

a roll of rough twine,

a whetstone,

a clove of garlic,

a necklace made of wooden beads,

a set of dice made of bone,

a bronze bracelet,

a bronze torc,

a silver bracelet,

a necklace made of bone beads,

a piece of agate,

a polished chunk of amber,

a faceted piece of lapis lazuli,

an obsidian dagger,

a piece of clear quartz,

a steel arrow head,

a dozen feathers,

an iron ring,

a small lead figure of a knight,

a wooden eye,

a horn with brass inlays,

a small shaving razor,

a chess piece carved from soapstone,

a small brass locket with a painting of a woman inside,

a silver earring,

a small wooden box filled with pepper,

a small brass toy spinning top,

a rough wooden figure of a small donkey,

a wooden comb,

a lock of blonde hair tied with a purple ribbon,

a small lodestone,

a lucky rabbit's foot,

a small metal mirror,

a brass bowl,

a wooden tankard,

a brass tankard,

a simple quill and a metal vial of black ink,

a wooden flute,

a large tooth from an unknown creature,

a bent horseshoe,

a small leather drum,

two pieces of chalk,

four pieces of chalk,

a small fur pouch,

an iron chisel,

a small bundle of onions,

_________________
B Simon Smith

Assassin Games

http://assassingamesrpg.com/

www.facebook.com/assassin.games.rpg


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 3782
Location: MD
 Post subject: Re: What has it got in it's pockets?
PostPosted: Sat Oct 26, 2013 11:15 am 
a snarl of lint and fur

a silver/iron/brass key

a hardened ball of chicle (the original chewing gum) stuck to XXXX (you will need a "What's stuck to the chicle?" macro to resolve this one)

a small box of snuff

a fold of parchment with an important message (you will need a "What's on the parchment?" macro to resolve this one)

a hole where something very valuable most likely escaped

a shaker of assorted spices (you will need a "What spice is in the shaker?" macro to resolve this one)

a lucky kobold's foot

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Tue Aug 23, 2011 10:41 am
Posts: 1134
Location: Cornwall, UK
 Post subject: Re: What has it got in it's pockets?
PostPosted: Sat Oct 26, 2013 2:42 pm 
a seashell and some sand,

the crumbled remains of a broken whetstone,

a pack of tarot cards, with bent corners and missing Fortune,

five wooden buttons,

a glass marble, painted red,

a corn dolly,

the handle of a pewter mug,

eight nails, bent and used,

a cracked shaving mirror,

three "skipping stones",

a bird feather, chewed.

--------------------------------

The "hole" content is by far the most common, and funny.

_________________
How to get around the two code nest limit in MapTool (and MOTE)


Top
 Profile  
 
User avatar  Offline
Giant
 
Joined: Fri Mar 16, 2012 4:39 pm
Posts: 122
 Post subject: Re: What has it got in it's pockets?
PostPosted: Sat Oct 26, 2013 6:35 pm 
Here's what I've got thus far. Feel free to deconstruct, spindle, mutilate and re-purpose.


Code:

<font color="purple"><b>
LOOT ROLL
</b></font>
<br>

[h: Input = 1d4]

You find

[h: Gold = 0]
[h: Lowdie = 0]

[h: Silver = 0]
[h: Middie = 0]


[h: Brass = 0]
[h: Highdie = 0]

[H: Item1 = "a pair of leather gloves"]

[H: Item2 = "a pair of cloth gloves"]

[H: Item3 = "a red silk handkerchief smelling faintly of jasmine"]

[H: Item4 = "a simple cloth scarf"]

[H: Item5 = "a small piece of hard cheese"]

[H: Item6 = "a piece of hard jerky"]

[H: Item7 = "a metal flask of spirits"]

[H: Item8 = "an empty wineskin"]

[H: Item9 = "a wineskin half full of honey mead"]

[H: Item10 = "a single candle"]

[H: Item11 = "three candles"]

[H: Item12 = "a dozen long matches"]

[H: Item13 = "an untreated torch"]

[H: Item14 = "two untreated torches"]

[H: Item15 = "three untreated torches"]

[H: Item16 = "a fish hook"]

[H: Item17 = "a small hammer"]

[H: Item18 = "a set of lock picks"]

[H: Item19 = "a roll of rough twine"]

[H: Item20 = "a whetstone"]

[H: Item21 = "a clove of garlic"]

[H: Item22 = "a necklace made of wooden beads"]

[H: Item23 = "a set of dice made of bone"]

[H: Item24 = "a bronze bracelet"]

[H: Item25 = "a bronze torc"]

[H: Item26 = "a silver bracelet"]

[H: Item27 = "a necklace made of bone beads"]

[H: Item28 = "a piece of agate"]

[H: Item29 = "a polished chunk of amber"]

[H: Item30 = "a faceted piece of lapis lazuli"]

[H: Item31 = "an obsidian dagger"]

[H: Item32 = "a piece of clear quartz"]

[H: Item33 = "a steel arrow head"]

[H: Item34 = "a dozen feathers"]

[H: Item35 = "an iron ring"]

[H: Item36 = "a small lead figure of a knight"]

[H: Item37 = "a wooden eye"]

[H: Item38 = "a horn with brass inlays"]

[H: Item39 = "a small shaving razor"]

[H: Item40 = "a chess piece carved from soapstone"]

[H: Item41 = "a small brass locket with a painting of a woman inside"]

[H: Item42 = "a silver earring"]

[H: Item43 = "a small wooden box filled with pepper"]

[H: Item44 = "a small brass toy spinning top"]

[H: Item45 = "a rough wooden figure of a small donkey"]

[H: Item46 = "a wooden comb"]

[H: Item47 = "a lock of blonde hair tied with a purple ribbon"]

[H: Item48 = "a small lodestone"]

[H: Item49 = "a lucky rabbit's foot"]

[H: Item50 = "a small metal mirror"]

[H: Item51 = "a brass bowl"]

[H: Item52 = "a wooden tankard"]

[H: Item53 = "a brass tankard"]

[H: Item54 = "a simple quill and a metal vial of black ink"]

[H: Item55 = "a wooden flute"]

[H: Item56 = "a large tooth from an unknown creature"]

[H: Item57 = "a bent horseshoe"]

[H: Item58 = "a small leather drum"]

[H: Item59 = "two pieces of chalk"]

[H: Item60 = "four pieces of chalk"]

[H: Item61 = "a small fur pouch"]

[H: Item62 = "an iron chisel"]

[H: Item63 = "a small bundle of onions"]

[H: Item64 = "a skinning knife"]

[H: Item65 = "a small metal file"]

[H: Item66 = "a small leather pouch of tobacco"]

[H: Item67 = "a small cloth pouch containing a half-dozen teeth"]

[H: Item68 = "a small cloth pouch with a few small stones"]

[H: Item69 = "the skull of a rat"]

[H: Item70 = "a small lead weight"]

[H: Item71 = "a small pouch of dried fruit"]

[H: Item72 = "a small simple brass key"]

[H: Item73 = "an old wishbone"]

[H: Item74 = "a piece of fool's gold"]

[H: Item75 = "a small charcoal drawing of a bird"]

[H: Item76 = "a small stone Norsca rune"]

[H: Item77 = "a small cured snake skin"]

[H: Item78 = "a small leather pouch filled with black sand"]

[H: Item79 = "a scrap of fine silken cloth smelling of perfume"]

[H: Item80 = "a dozen brass marbles"]

[H: Item81 = "a beak the size of a man's hand"]

[H: Item82 = "four sheets of blank parchment bound with a red ribbon"]

[H: Item83 = "a small wooden box containing spices"]

[H: Item84 = "a wooden pipe"]

[H: Item85 = "a tarnished silver brooch"]

[H: Item86 = "a brass brooch"]

[H: Item87 = "a weathered brass purity seal on a leather cord"]

[H: Item88 = "a parchment scroll soaked in vinegar and inscribed with the rune of
Shallya"]

[H: Item89 = "a worn amulet depicting the Hammer of Sigmar with a large gouge
across it"]

[H: Item90 = "a small wool pouch containing incense"]

[H: Item91 = "a simple cloth doll stuffed with hay"]

[H: Item92 = "a short length of rope tied into a complex knot"]

[H: Item93 = "a scrap of parchment"]

[H: Item94 = "a scrap of parchment"]

[H: Item95 = "a scrap of parchment"]

[H: Item96 = "a small clay jar filled with honey"]

[H: Item97 = "a small leather pouch filled with silver dust"]

[H: Item98 = "a small brass cymbal bearing a few dents"]

[H: Item99 = "a small wooden Norsca rune"]

[H: Item100 = "a small wooden Norsca rune"]

[H: Item101 = "a small silver key"]

[H: Item102 = "a small brass key"]

[H: Item103 = "an elaborate silver button"]

[H: Item104 = "a red glass marble"]

[H: Item105 = "a blue glass marble"]

[H: Item106 = "a green glass marble"]

[H: Item107 = "a red ribbon"]

[H: Item108 = "a brass ring with a missing stone"]

[H: Item109 = "a small linen pouch containing a half-dozen acorns"]


[while (Input > 0), Code:
{
[h: Lowdie = 1d2]
[h: Gold = Gold + Lowdie]
[h: Middie = 1d6]
[h: Silver = Silver + Middie]
[h: Highdie = 1d10]
[h: Brass = Brass + Highdie]
[h: Input = Input - 1]
[H: Num = 1d109]
[H: VariableName = "Item" + Num]
[H: Direction = eval(VariableName)]
[H: output = strformat("%{Direction}")]
[R: output]
}]


, <b>[r:Gold]</b> Gold Crowns, <b>[r:Silver]</b> Silver Shillings, and <b>[r:Brass]</b> Brass Pennies.

_________________
B Simon Smith

Assassin Games

http://assassingamesrpg.com/

www.facebook.com/assassin.games.rpg


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9427
Location: Netherlands
 Post subject: Re: What has it got in it's pockets?
PostPosted: Sat Oct 26, 2013 6:50 pm 
You might be better of with Wiki: listGet() and Wiki: listCount()

PocketItems="a flute, a pendulum, a hole, etc"
Result=Roll(1,listCount(list))
YouFind=ListGet(pocketItems,result)

This way you don't have to make seperate entries, you can keep on adding items without the requirement to count them.

Note I'm typing this mobile so the capitals of the words are off.

If you want to retrieve multiple items without duplicates you'll need to check out json arrays. Works similarly as lists but you can use json.shuffle(itemList) and then json.get(itemList,0) and json.remove(itemList,0) rinse and repeat. To create an array of the list simply use json.fromList(ItemList)

O and you're using while, it's a lot is simpler to use Wiki: count()

edit, so:
so

Code:
[pocketItems    "a flute, a pendulum, a hole, etc"]
[
pocketItems    json.fromList(pocketItems)]
[
pocketItems    json.shuffle([pocketItems)]

[
count(1d4), CODE:{
    [
found            json.get(pocketItems,0)]
    [
pocketItems    json.remove(itemList,0
}]
 

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 5 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman