O

#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

# OldeMusicke

OldeMusicke
Joined
Visits
108
Last Active
Roles
REGISTERED

• Thanks
Comment by OldeMusicke June 28
• If I understand correctly, you're hoping you can take a formulation like this: [!5 Items >> sort >> implode] and capture each result in a different variable, such as item1, item2, etc. Something like this: [!stuff=5 Items >> so…
Comment by OldeMusicke April 1
• If an "on-the-fly table" means you have one table create another table that you can call during the same run: nope, IPP doesn't do that. If you want one table to create material you'll use in the future, you could have it create syntactically corre…
Comment by OldeMusicke April 1
• Another way to go would be to not pin down every percentage of every relevant race in every subsubsubsublocation of the world in advance. Let a table create the percentages for you as you go, and not until you need them. In other words, this table w…
Comment by OldeMusicke March 25
• If curhench isn't defined, you'll get odd results, so maybe that's what you're running into. Here's a test table: Table:Test curhench isn't defined. [masterPV==[|{curhench}|0]] MasterPV is now "{masterPV}".\n& [curhench==Wilbur]& curhench i…
Comment by OldeMusicke March 24
• I'm not sure whether your generator is choosing a random birth location given the race, or choosing a random race given the birth location, or choosing both randomly. You could add percentages to weight the results. The weights could be percentages…
Comment by OldeMusicke March 24
• Magic Resistance {({WIS/10}+{1})} pt every minute (increases by 1% every 10 WIS points.)\n& Am I interpreting this correctly to mean magic resistance starts at 1%, and goes up by another 1% for each 10 wisdom? First, you'd need to capture t…
Comment by OldeMusicke January 13
• If you're still looking for an answer... I'll focus on Strength {ST1} as an example. You've set ST1 to STR as if STR is a variable, but you have no variable called that. You have a table named STR that you never invoke. If you want the STR table t…
Comment by OldeMusicke January 12
• A d100 roll plus a modifier, with anything below 1 treated as 1, and anything higher than 140 treated as 140: {min(140,max(1,1d100+fmod))} jdale's explanation is spot-on. The max function as I use it above gives you 1 or 1d100+fmod, whichever is hi…
• It's syntactically valid, but are you trying to change the die or are you trying to add a modifier to a d100 roll? As written, you're changing the number of sides on the die. If fmod is -10, for example, you're rolling 1d90. If fmod is 7, you're ro…
• Your first table doesn't have a name. IPP will run the first named table it finds, so it just runs WhatKind and stops. Your calculation goes a little overboard with the notation. Are you calculating the skill tier times the sum of people searching …
Comment by OldeMusicke April 2021
• I found a way to count spaces after all. For the case in hand, I can assume that "!" never appears in text. If I couldn't find a useful substitute, I'd be out of luck. table: eachcharexample [ Nec ro man cer >> replace / /!/>> eachchar…
• Yes. If you want the URL to look right in the output, you'd need to write it something like this: http&#58;/\/www.nbos.com If you leave the "//" intact, the rest of the line becomes a comment. Making it "/\/" gets it to display correctly. De…
Comment by OldeMusicke May 2020
• You don't need your vartest tables. In the Friend or Thing tables, add a silent variable assignment to every entry. For example, in the Friend table: A surviving priest eager to make converts[thefriend==the priest] An avidly curious archaeologist[…
• I haven't played DragonQuest in years, but if there's interest, I have a pile of ipt files I could share. We used DQ 3rd edition for the most part. Examples include: * generating creatures based on their stats in the Monsters chapter, including wea…
• WISHLIST: Let lookup tables look up 0 and negative numbers. Table: Example {n=-1} gets [#{n} Look]& \n{n=0} gets [#{n} Look]& \n{n=1} gets [#{n} Look]& \n{n=2} gets [#{n} Look]& \n{n=456} gets [#{n} Look] Table: Look Type:loo…
• ISSUE: Parameters passed to a table don't preserve case. They're always converted to lower case. Take a look at the last example in the help for Table Parameters. It doesn't show the output, but the apparent intent is to list the names as written. U…
• I've found no way around it within IPP, but if you have Excel, paste the table entries into Excel. You can use the text import wizard to break the lines apart at the colon. You can use the LEFT function to truncate the lookup strings to 10 character…
• Ha, long time ago now, but after a few months I stopped checking for responses. In any case, the Proper filter (or Upper or Lower) helps only if I'm trying to force the capitalization in that manner. What I was looking for was a way to preserve the …