That's a valid approach, and you could also get exactly the same results from:
use: common\nbos\quests\quest1.ipt
Table: thequest
[!dungeonhooks]
[!royalquests]
[!forestquests]
[!doorways]
This way would be easier if you wanted to weight them di…
I don't know about from the console, but it's often helpful to embed the variable in the output at multiple places to see how it's changing. I end up doing that a lot.
I'm getting a value in RC. There's an issue with Table RandomConvoyPay though. You probably want it to consider every When possibility. But because they are on different lines, it will only randomly consider one of those, and therefore there will us…
If you want a line to appear at the top of the generated content, you can add a line:
Header: text that you want to appear
at the top of your .ipt file.
Never actually tried printing. But it looks like if you go to File/Print Preview, then click the gear icon for Page Setup, you can change the header and footer, then click OK and print from there. I suspect it will then retain those settings.
I know anything with [w can be an issue, it seems to get caught as [when] which prevents whatever it's supposed to do.
We also discussed that dashes in dictionary keys are problems. And any line starting with 10 or fewer characters followed by a co…
They don't need to be in the file, but if they aren't, you need to include a "use" line at the top of the file for each other file you want to reference. For example,
use: nbos/Animals.ipt
That will look for the file in /Common/nbos called Animals…
You can nest as deep as you want. There is more than one solution but as a partial example:
Table: Treasure
You find a [@GeneralTreasure].
Table: GeneralTreasure
[@BonusItems]
[@DailyItems]
[@PowerEnhancers]
Table: BonusItems
[@Blades]
[@Ot…
Exactly where you do the lookup depends what you are trying to do, just make sure all the dictionary table references use the original short form. But for example:
set lairMonster=[encounterBarrens]
Table: encounterBarrens
1:[#acolyte monsterStatB…
Hmm, interesting. It must be something about dictionary keys breaking when they contain a dash. elder-borne: works because dictionary keys can only be 10 characters, therefore elder-borne: is not considered a dictionary key, since the colon has too …
You can probably put this instead of an apostrophe:
& #39;
Except leave out the space between the & and the # (I can't type it that way or it will display as an apostrophe!).
Use double backslashes instead of single ones in the image path. See the examples in https://forum.nbos.com/discussion/1604/images-in-table-results#latest
So:
"E:\\IPP\\B30ApeWhite.jpg"
instead of
"E:\IPP\B30ApeWhite.jpg"
This prevents IPP from…
A "delimited list of appropriate race/%age pairs" is a weighted table. Why do you need to return it, isn't the intention just to pick something?
A percentage is a weight that is constrained to being out of 100. That constraint will complicate thing…
I'm not sure how finely you are actually splitting up your regions if you are talking about sub-sub-sub-locations, but in principle I would use a prompt to pick which table to reference, and you could then have other tables that handle larger blocks…
I don't know the purpose of reducing the number of files, but if you want to share tables between your different generators, you could put all the real content in a single file in \Common\ and then in your individual generators just put a "use" stat…
I don't understand what you are trying to do. But you are using SET commands to set constants equal to the values stored in variables (e.g. {STR}) before any values have been assigned to them. So they end up containing nothing. Possibly you want [@ …
If you click Help in the program, then go to "General Files - A Crash Course" in the contents, it will walk you through the process.
IPP is not exactly a programming language. It's a text-replacement engine, with some programming features. If you a…
Max is just a list of values, separated by commas, and it returns whichever value is highest. So for example:
max(1,2) = 2
max(1,2,3,4,5,6,7) = 7
You can have as many values listed there as you want. When it says max(n1,n2,...,nN) what that means…
ceil(n) rounds up to an integer, but 0, -1, -2, etc are perfectly valid integers. It would only round up to 1 if the value was greater than 0 but less than 1.
What you want is max() like this:
``{max(1,{1d100}+{fmod})}
It will result in your calc…
Looks fine to me, but I don't have the files you are referencing except nbos\Animals.ipt. I did delete all the other stuff to ensure I could get results from the tables in Animals.ipt, and that worked just fine.
Make sure your generators are in the…
The range of values is 3-70, and the range of values on the lookup table is 1-40. You should adjust one of those to match the other.
The number of dice is potentially very high, i.e. up to 12d5. The more dice you roll, the more likely the result wi…
The links seem to be taking out the / between the .com and discussion. If you edit the URL to put that / back where it belongs, they still work.
A question for the site mods why that is happening....