L

Howdy, Stranger!

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

Levendor

About

Username
Levendor
Joined
Visits
1,033
Last Active
Roles
REGISTERED,

Comments

  • I never worked any further on mine. Not sure if jdale or nimbus2000HP did any further trials. I have passed a single prompt to a reference called generator before and it did work. But it's sketchy to try to pass multiple prompts to a referenced gen…
  • Here's a super short example generator. Hopefully it hits on the question you have. I'm not sure why you would need the variable "Number" that I have set, but I dropped it there just to show how you can assign it inline in that dictionary table. Onl…
  • I use the second method jdale describes in my Knight's Troop generator. It's a d100 table that has entries up to 119. If it's a simple patrol of a knight and few retainers, I call the table with a 1d104 roll... just a 4% chance of a minor noble lead…
  • Sorry for delay. I forgot to check back for a couple days. I'd say replace Define:roll={1d100} with {@dice=={1d100}} and see what happens.
  • So, first off: You just have a space between main and 2 for Table: main2. Remove that space and you do get output: So maybe next would be to create tables none, minor, major, special and (maybe) write the calls to those tables more like [! minor]…
  • Glad to see that you are back! Hope that you and your team are in good health. Love the map - as a generic map, it's a perfect for an "any-village, any-where" (not to mention it includes an excellent level of detail information for the Jörðgarð sett…
  • Glad this all worked out. I'm excited to see the GRUPS generator (haven't used the system, but have been interested). And very excited that jdale is doing Rolemaster - I have all the books and have been very much getting into that system lately. Ac…
  • Shouldn't Parry after test roll be 11? The test roll changed it to 11, and that's the new and current value. If you want to display Original Value of Parry at a point after the test roll is made, the just change the very end of Table:stats code line…
  • Here's a good run of output to show the max statements working proper: DX: 11 IQ: 11 Par1 to show the DX-based math: 8 Parry before test roll: 8 Test Roll: Parry=12 Running Brawling 18 Karate 14 Test 2 Parry af…
  • It's pretty much there, just a bit of gunk in the works. Here some good code: ; Test-Parry.ipt ; created 9/1/2020 1:53:17 PM maxreps: 1 set: DX = {10 + {1d6}} set: IQ = {10 + {1d6}} set: Parry={!floor( ({DX} / 2) + 3)} set: PAR1={!floor( ({DX} / 2)…
  • Just barely skimmed this thread, but had a though that might help. In english, not code syntax: why not set variable Parry = 'non-skilled Dex-based formula' at the start, and then in the table, overwrite that Parry value if a skill that improves Par…
  • First, drop the Set:Roll variable definition. It's not needed when you want a new die roll each time you enter the table. Try something like this: ; Test-Roll140.ipt ; created 5/26/2020 10:50:15 AM Table: Main [#{1d100} Title] Table: Title Type: …
  • Yes. In this case jlong05 wanted to roll a d10, preserve that number (say a 6), and then use it to lookup 3 values on a table... 6, 6+2, and 6+4. Using "Set: Roll ={1d10}" creates a variable (really in my mind, a constant) called {Roll} that can be …
  • I cleaned up the output a good bit, added some better comments about how some of the calls work, fixed my MaxReps error, and added a summation of the total of all the rolls. Hope this helps.
  • I fixed a few syntax errors and added comments about what I did. It runs and gives error free output now. But... I don't entirely know what its supposed to do, and I'm a bit to sleepy to really understand the notes you have in the file. I think this…
  • So, in Table: Master, you need to call table "two" with an index lookup based on the user input. The #{$prompt1} tells it to go lookup the (string) "value" of prompt 1 in (dictionary) lookup table "two". After that, in table "two" you were calling …
  • You were very close. Just a couple syntax errors. Here's your code with slight edits make it work. I'll comment on what I changed in the next post. Prompt: Slave {Green|Fair|Trader|Good|Excellent} Green Table: Master [#{$prompt1} two] Table: two …
  • 4 is the limit for input prompts. I started work a while back on a generator that needed 8 prompts. There was no way to make that happen, due to the built-in limit of 4 (confirmed by Ed in a earlier discussion thread; no real reason that 4 is the ma…
  • No apologies necessary. We all value our online community, but at this time we each need to focus on the needs of our local communities and do what we can with our resources and talents. Best wishes and prayers for Trevor's speedy and full recovery.…
  • That should work just fine. I like that the bats & ghosts are at the higher end of lookup table - they would be more reasonable to encounter at night when there is 1d10 + 2 or +4.
  • This is a lot closer to the way I would code the tables for my own personal use. But, I'm always interested to see the end result of how others structure and use their generators. Good luck! ; WildAnimalEncounter.ipt ; created 1/5/2020 Prompt: Plac…
  • So a couple things... The original post, the question was how do I roll once on a table, and use that value for daytime, the same value +2 for nighttime, and the same value +4 for wilderness nighttime (basically). Essentially how do I roll once and…
  • Yes, it works the same with text imput. Here's a link to one I posted a while back that uses a text input prompt. The prompt part is right at the top and easy to see how it is used in the first/main table. In this case, all my tables using the user …
  • Yes, those are done with Prompts. In Random Treasure you will see the prompts lines in the very top part of the code. The help document gives a good crash course in using prompts and looking at those first few lines of Random Treasure will get you s…
  • Yes, that makes sense. Sometimes it is a trailing space at the end of a line.
  • I copy/pasted your code and it works everytime for me. Here's a screenshot of the output. Let me know if the output looks as expected. Sorry I can't seem to find any other suggestions (There is a space in your Set: Roll line between the = and the {1…
  • Did it work? nbos\names... should work, since the program launches pointing to that directory. I like to keep all my name generators there anyway. It's the easiest place to put .ipt generators that will be called in a use statement. But for pointin…