j

Howdy, Stranger!

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

jdale

About

Username
jdale
Joined
Visits
467
Last Active
Roles
REGISTERED

Comments

  • Yes, that's possible. Please see my last example in the post above. I did exactly that, putting the list of skills into a variable called Skills. Also, I'm not sure why I didn't notice earlier that this is GURPS. The point of assigning an initial…
  • Yes, that's a good suggestion, I lost track of that part of the rules you are trying to implement.
  • In the help, look under Generator Files and then Expressions and then Built In Functions. Here's the list of math functions which answers your question about that: max(n1, n2,...,nN) - the maximum value of any number of passed values. min(n1,…
  • I think you were on the right track having a Parry variable and then, each time you calculate the parry for a particular skill, replace that Parry with the new value if it's higher. Personally I would do that as {Parry==max({Par1},{Par2})} rather th…
  • I think you are asking about this part: {{PAR2}=={!floor( ({brawlingskill} / 2) + 3)}} You shouldn't have curly brackets around PAR2 there. IPP thinks you are making a comparison, it's reading this as a question "is PAR2 equal to this value I'm ca…
  • It's treating 0004 as a number, so it just becomes 4. Add a letter if you want to treat it as a string (e.g. T0004). Or change the DieRoll table to be a lookup instead of a dictionary table. You also don't have any value to look up on table 0004. T…
  • It's possible but the formatting is funny. You have to replace each / with / See this thread for an example: http://forum.nbos.com/discussion/comment/3999/#Comment_3999 Also, if you click the resulting link, the website will open in IPP…
  • I think "if" is intended for arithmetic functions. You're trying to use it to contain other kinds of content and I think that's where things go awry. Try using "when" instead: Table:104c Set: sibs ={1d6-1} Set: bo ={1d6} [when]{sibs}=0[do]Only C…
  • You can use {$1} in conjunction with the "with" keyword. I called your "Weight1" table like this: [@Weight1 with {1d100+{Wtmod}}] Then in the table, I want to refer to that {1d100}+{Wtmod}} value. I use {$1} to do that, it has the value sent to th…
  • The part it doesn't like is: Roll: 1d100+{Wtmod} I'm not sure why, since Wtmod appears to have a numerical value. However, you can shift that calculation into the other table. See below. Also, [[@Weight1]+{LBmod}] should be in curly braces since y…
  • Sure, that would work. You could create a folder with all the related generators that are calling the same common file so they are at least grouped together. Up to a point, it's quicker and easier than prompts. Beyond that point, the number of gener…
  • Everything is posted to be used! I'm happy if it's helpful. And even happier if you share what you create. I don't know anything about the treasure generation system in D&D so I can't offer much there myself.
  • I've had to combine prompts, e.g. use a single prompt for age and gender rather than two separate prompts. It's a little kludgy but it works. If you want to make multiple generators for the different scenarios (as a different workaround), you can p…
  • That's fun. If you want to randomize the number of scrolls, you could do something like the attached. (I also got rid of an extra "a" at the end and changed the wording about seals slightly.)
  • First thing is that the line to define the prompt should just be "Prompt:" and not "Prompt1:". You can have multiple prompts, the selection from the first one is {Prompt1}, the selection from the second is {Prompt2}, etc up to 4, but they will all b…
  • If you open it, it treats the page as HTML and removes whitespace. Depending on your browser you should be able to right-click the link and pick "Save Link As" to directly save it as a file. But just in case, here's the same file attached.
  • Where's it from? Might be easier to download correctly than to fix... Starting point would be anything "Table:" should be the beginning of a line.
  • You're using {Roll} as a variable as if it had a value, for example like this: SeaCoast: Die Result is {Roll}\nDaytime is [#{Roll} SeaCoastRoad]\n Wilderness Daytime is [#{{Roll}+2} SeaCoastRoad]\n Nighttime is [#{{Roll}+2} SeaCoastRoad]\n Wilderne…
  • Dictionary keys can't have spaces. You could do "ForestPath" but not "Forest Path". Also, the maximum length of a dictionary key is 10 characters, so "SeaCoastRoad" is too long. In the Prompt itself, the last word, after the curly brackets, which i…
  • Notepad++ has a sort feature (on the menu under Edit/Line Operations/ and then there are a bunch of options). Also a bunch of other features and you can define a "language" to do automatic color coding etc. See http://forum.nbos.com/discussion/comme…
  • I'm not sure which one you are looking at, but choices are done with Prompts. For the document, see under Reference/Prompt or Generator Files/Prompting For Input. Those would be the best places to start. Or, look at how some existing examples are se…
  • If you sometimes get nothing, that must be because Table SeaCoastRoadWanderingMonsters sometimes returns nothing. As shown here, it has only a single line which will always return text, so that would never happen. You must have an additional line or…
  • Also in the forums: http://forum.nbos.com/discussion/1615/factions-in-towns-and-cities#latest http://forum.nbos.com/discussion/1092/more-name-generators#latest
  • Thanks! There's also https://www.nbos.com/nox/index.php?pcatid=48 on the website (not in the forums).
  • Yep, that's not a place you can use Set. Instead use: Name {$VillianName} 01-04: Gangster {$Gangsternickname} [VillianName=[@EELPulpMaleFirst] [@YZGPulpLast]] 46-49: Femme Fatale [VillianName=[@EELPulpFemaleFirst] [@YZGPulpLast]]
  • I ran into that too. My impression was that the limit was the total length of a line (spanning multiple lines by using the & symbol). Somewhere between 4010 and 4092 characters. Same symptom as you describe. http://forum.nbos.com/discussion/1695…
  • I don't think there is. I made a list of known issues, including this one, which may be of use: http://forum.nbos.com/discussion/1643/issues-and-wishlist
  • Here's how you would do it with When statements: Table: NPC A [@race] [@class] of [@alignment] alignment. (L:{L}|N:{N}|C:{C}|Roll:{Roll}) Table: race {N==9} {L==1} {C==1} human Table: class {N=={N}+9} warrior Table: alignment {Roll==1d{N+L+C}…
  • Not sure why that doesn't work, but this gives a somewhat similar result: Table: NPC A [@race] [@class] of [#{{$N}+{1d100}} alignment] alignment. Table: race {N==50} human Table: class {N=={N}+9} warrior Table: alignment Type: Lookup Roll: {$1…
  • If you want to change the value of a variable in the middle of your table, it would be: [Gender==whatever] Use square brackets and a double equals sign for a silent assignment (use a single equals sign if you also want the value to be displayed). …