Keyboard Shortcuts
Likes
- Tablesmith
- Messages
Search
Re: Name table resources?
Depends on the system, and name styles you are after. D&D has Xanathar's Guide, which gives loads of tables on names for different races. I have converted most of them to TS, some (Gnomes) and others had no need.? I can give you copies of them if you want.? I also have made some other ones like Elf name and clan from the other tables. But I can easily give you my name tables if you want.? Let me know. |
Re: Simple variable addition/incrementation
I suspect you are calling the Start routine just once per output line, like this ? # iterable-test %Room%,1 :Start 1,%Room% [Generate]. |Room+1| ;Generate 1,There's a goblin here 1,You see a mimic poorly imitating a horse 1,One lonely tree stands near an oasis 1,Something wonderful is happening: XYZ
# iterable-test # %Room%,1 ? :Start 1,{Loop~3,%Room%. [Generate]. |Room+1|{CR~}} _{Line~left,100} ? ;Generate 1,There's a goblin here 1,You see a mimic poorly imitating a horse 1,One lonely tree stands near the oasis ? 1,Something wonderful is happening: Ta-Da!!!
|
Re: Simple variable addition/incrementation
¿ªÔÆÌåÓýGlad I could help. ? Sent from for Windows 10 ? From: stevens.noah1@...
Sent: Tuesday, December 8, 2020 9:50 AM To: [email protected] Subject: Re: [TableSmith] Simple variable addition/incrementation ? A follow-up! My problem was resolved. Thanks so much - here is an example of the last few rooms of Megadungeon Level 1. I guess the number of rooms is arbitrary but this was input as 100 - thanks again! I think the next step will be to add thematic zones that add similar descriptors to a small set of rooms in a row - easier now I've figured out this vexing issue. Cheers! 95. Dire Bat, an idol of Demogorgon, and hidden treasure antique coins worth 1577 GP . ? |
Re: Simple variable addition/incrementation
A follow-up! My problem was resolved. Thanks so much - here is an example of the last few rooms of Megadungeon Level 1. I guess the number of rooms is arbitrary but this was input as 100 - thanks again! I think the next step will be to add thematic zones that add similar descriptors to a small set of rooms in a row - easier now I've figured out this vexing issue. Cheers! 95. Dire Bat, an idol of Demogorgon, and hidden treasure antique coins worth 1577 GP . |
Re: Simple variable addition/incrementation
It's in the main code, part of ;Start (I think it's the only non-randomized-text code, except for a Level-dependent variable. Thanks - I will implement a parameter with requested number of rooms rather than doing it the old-fashioned way. A good lesson. I'm brute-forcing it? |
Re: Simple variable addition/incrementation
Yes, I am running the code from the "iterations" box! Does this restart the code from the beginning each time? It did not occur to me that this was the case, but it would tidily explain the trouble I am having. I will implement a while loop - it might easily solve another issue I am having. I'll include a parameter for the number of requested rooms. Whew! Thanks! |
Re: Simple variable addition/incrementation
¿ªÔÆÌåÓýThe first question I thought of ¡ is this a Loop / While / If operation or are you running the table x number of times from the box in the upper left corner? ? Vance ? Sent from for Windows 10 ? From: ErolB1 via groups.io
Sent: Monday, December 7, 2020 9:18 PM To: [email protected] Subject: Re: [TableSmith] Simple variable addition/incrementation ? T ? |
Re: Simple variable addition/incrementation
This needs more context. What calls the group that has the line you gave?
toggle quoted message
Show quoted text
As a wild guess, are you resetting %Room% anywhere? Erol K. Bayburt ErolB1@... On 12/7/2020 8:09 PM, stevens.noah1@... wrote:
Hey all! |
Simple variable addition/incrementation
Hey all!
like so:
I've declared Room with the default of 1 above the ;Start code ? |
Re: character encoding
Good to know!
toggle quoted message
Show quoted text
©\©\©\©\©\©\©\ Original Message ©\©\©\©\©\©\©\ On Friday, December 4, 2020 10:27 AM, ErolB1 via groups.io <ErolB1@...> wrote:
For what it's worth, converting (a copy of) the .tab file from utf8 to |
Re: character encoding
For what it's worth, converting (a copy of) the .tab file from utf8 to 1252 (ansi-latin 1) so that curly quotes show properly when using the 1252 code page gives a table that produces TableSmith output with the curly quotes displayed correctly.
toggle quoted message
Show quoted text
Erol K. Bayburt ErolB1@... On 12/4/2020 9:23 AM, Bruce Gulke via groups.io wrote:
Hey, Erol - |
Re: character encoding
Outputting as text doesn't help.
toggle quoted message
Show quoted text
My guess is that it's a problem in the engine, where it reads in text from the table file as ISO-8859-1/Windows-1252 and so reads (eg) a utf-8 close single quote as ?€? This is then propagated to the output window and the temp htmp file. Erol K. Bayburt ErolB1@... On 12/4/2020 9:23 AM, Bruce Gulke via groups.io wrote:
Hey, Erol - |
Re: character encoding
Hey, Erol -
toggle quoted message
Show quoted text
There's no encoding setting for HTML in TableSmith (never really came up as in issue in the past). I did recall looking at allowing some sort of custom header as an advanced feature, but I just looked through the code and didn't see anything for that, so either it was never implemented or it didn't make it over in the transition from version 4 to 5. I don't know that your workaround is the only option, but a config setting isn't available. You could maybe try outputting to Text rather than HTML, though I don't know that would make a difference. Bruce ©\©\©\©\©\©\©\ Original Message ©\©\©\©\©\©\©\ On Wednesday, December 2, 2020 7:42 PM, ErolB1 via groups.io <ErolB1@...> wrote:
My table files are all utf-8 (no BOM), and some of them have curly |
character encoding
My table files are all utf-8 (no BOM), and some of them have curly quotes. These quotes show fine in Notepad++, but the Tablesmith results window gives garbage characters associated with a wrong code page.
The right-click menu / encoding submenu shows "Western European (Windows)" followed by "Unicode UTF 8)" with the Unicode menu entry dotted. Is there a configuration setting for "utf8 and only utf8" in Tablesmith, or is the only work-around to replace the curly quotes in the table files with straight quotes? -- Erol K. Bayburt ErolB1@... |
Re: Capitalizing Variables
If I'm understanding the original question, I don't believe that will work, because if a link is being stored in the variable, the first character is actually a "<" (as in "<a href="..."), so "Cap" won't be looking at what's generated, but literally the first character in the link, which is the "less than" symbol. The variable assignment isn't smart enough to recognize the difference between a link and regular text; it just stores what you give it.
toggle quoted message
Show quoted text
There's probably a workaround, though I don't have one in mind at the moment. Erol's suggestion below may help (or provide a place to start). Thanks! Bruce ©\©\©\©\©\©\©\ Original Message ©\©\©\©\©\©\©\ On Tuesday, November 17, 2020 3:27 PM, ErolB1 via groups.io <ErolB1@...> wrote:
According to the help file, "Variable changes that occur in the |
Re: Capitalizing Variables
According to the help file, "Variable changes that occur in the "re-roll" will not be reflected elsewhere in the results window"
toggle quoted message
Show quoted text
but a little testing shows that variables will be updated *within* the re-rollable group, including any subgroups called by the re-rollable group. So if you do [~Group] then you can do :Group 1,|foo=[subgroup1]| _This is {Cap~%foo%} _[SubGroup2UsingFoo] with SubGroup2UsingFoo using the uncapitalized value of %foo% that was changed when you clicked the blue reroll "link" Erol K. Bayburt ErolB1@... On 11/17/2020 11:53 AM, Bo wrote:
I have no idea if that is possible, however, I am sure at a minimum Bruce will. Be patient, though, it sometimes takes time to get a response, especially something this esoteric. Most of us are probably doing what I did, "Hmmm.... is it?" |
Re: Capitalizing Variables
I have no idea if that is possible, however, I am sure at a minimum Bruce will. Be patient, though, it sometimes takes time to get a response, especially something this esoteric. Most of us are probably doing what I did, "Hmmm.... is it?" On Tue, Nov 17, 2020 at 8:38 AM <xargreyhawk@...> wrote:
|
Capitalizing Variables
Hi All,?
I'm trying to find out if it is possible to capitalize a variable AFTER variable assignment, while maintaining the "re-rolling" nature of the variable (e.g. instead of going {Cap~[Group]}, going |Variable=[~Group]| {Cap~%Variable%}, so that what I store as a variable is the non-capitalized version of the word. Right now, if I try with the former syntax, I get the "re-rolling" link, but the variable doesn't get capitalized... |
Re: Older Versions of Tablesmith
#tablesmith
Thanks to all, I found some copies as well.? Will upload them.
|