This seems to work for every scenario. Hope it helps!
; OpenRolls3.ipt
; created 3/7/2024 11:53:38 AM
Prompt: Enter d100 value to initiate a high critical roll { } 96
Prompt: Enter d100 value to initiate a low critical roll { } 5
Define:CRIT={{$p…
Here's my debugging code from back in 2017... it works for OEH. Really no issues at all. And the output tells you what the rolls were and what the final total score is.
; OpenRolls.ipt
; created 10/22/2017 2:07:25 PM
Prompt: Enter d100 value to in…
Let lookup tables with a range of values look up non-integer values, for instance:
Table: Wealth
Type: Lookup
0-20: "Poor"
20.1-40: "Average"
40.1-1000: "Wealthy"
As I type this out, I'm realizing it's more complicated. Maybe a new Type other …
Perfect! Thank you. I don't think it will be to difficult to use the plugin and copy duplicates of the missing symbols to the original locations. Or at least ID what they were and reinsert them from the new location.
I'm revisiting this post with a similar situation...
I did a major overhaul on my symbol folders, reorganizing them for easier use. Let's say that I had them set to noembed, or at least several of the catalog default.xml.
My old maps have a huge n…
Late to the party, but the first thing I thought was the double backslash thing. Ran into that way back when on a rune image generator. Good to know that solves the image issue.
You can probably just use regular parentesis, but, yes... get the x250 outside the bounty + bountymod calculation. Right now it's taking bountymod*250 plus bounty. So if bountymod is 0 or undefined, then it's 0 + bounty.
Bounty: ${($Bounty+$Bountym…
Several very minor syntax errors in your generator above, both nothing too crazy to fix.
The one thing that I came across was that the Roll: command in a table definition simply does not want to do a complex dice roll like Roll: {1d10+{$prompt3}d5}…
Thanks for that Stephen_Peto. I'm not real careful about putting credit lines in my generators, since I only use them personally. But, I'll be sure to add a line to give you credit for starting up the generator. It's a real helpful thing, whether fo…
The main file, placed in Generators is Test-Combat.ipt
The data files (i.e. the pc/npc/monster stat blocks) are each of the other attached files, placed in /common/nbos/DQ.
In this, the 9 attribute stats are "looked up" from the proper .ipt file b…
So, I started trying to do something similar (maybe?). I also gave up. But I did get it to do a few things. I had "generators" that were really just a bunch of database files. One for a particular PC and its ability stats, one for another PC, one fo…
Here's the two test generators, with just a couple extra weird bits (constant strings) so that I can see what is processing and what is not. Looks like it's all processing correctly.
The main generator:
; Test-External.ipt
; created 4/12/2021 3:06…
I think that JDale means there is a problem with humanstats not being a complete table... it doesn't return anything.
I put it all together as you have but made humanstats look like this:
table: humanstats
set: ADSCAT = Mundane
set: ENVIRON = Land…
I may be mistaken, but I do not believe that you can pass {$Prompt2} to an external generator.
I'd say that you would have to use something like
Define: VariableA={$Prompt2}
in the main generator.
And then in the external called generator use s…
Here's the two subtables, and it doesn't do that weird stuff in my generator.
Table: CNum
Set: number={$1}
Set: count=0
Set: MyValue=[[{number} >> reverse >> eachchar AddComma] >> reverse]
[when][{MyValue} >> Left]=,[do][{My…
Really, your code is only missing a { directly before the (0 in the new @Rolls-(0...
And, you didn't add anything after that to redisplay the new damage after doing all those extra rolls.
So, I just changes those two lines - @Rolls... - to this (y…
Maybe a bit closer now. I don't think I changed too much in this version. Biggest change - of course - is that call in Table: IncrementAStat. But before we get there:
I added a Set: KnowMax = 5 to swwookiemale (and =6 to female wookie). This is arb…
I worked on getting the right syntax (I can never remember the brackets, $'s, @'s) and worked in the damage. At the end of table main, I display the three die rolls to see if it's working right. This should be pretty easy to pick apart and see what …
Thanks Ed! I'll probably shelf this and come back to it once I decide I'm brave enough set up an AWS to be my foundry server. I'm guessing the script can work on the AWS so long as I upload all my IPP program and generators to be local on that machi…
Is there a crazy easy way for a dummy like me call an .ipt generator (without prompts) via a web browser search bar line. Assuming everything is on local C: drive and I can map to the application and .ipt file in a normal windows install.
Basically…
I don't know that I follow exactly haw you are calculating your values, but let's assume that you have calculated values for each attribute and they meet or exceed the racial minimum values. I'd have a table (for instance Table: StrMax) setup for ea…
Without getting into the code, the way I'd attempt this is to have one variable called something like bonus-skill. Have it set: bonus-skill=0 in the header of the gen file.
Have your main table do something like:
[@rollstat] [when] {@bonus-skill} …
There is a char limit to dictionary tables. The other thing to let you know, before you get too far, is that there is a limit of only 4 prompts in a generator. There are some possible work arounds to that, but nothing elegant or simple.