I’m sitting alone at the desk in the living room. Dinner was … difficult. Some friends of ours have a kid whose is having the worst weeks of his life due to a deadly accident involving his best friend. I need to distract myself a bit, so I decided to look for something to blog about.
This was actually a question somebody asked on Reddit. Well, they asked how “to place it into another larger world map.”
Here is how you could expand the map using the same software – because the Hex Describe map is generated by Text Mapper, and we can go back to it!
If you examine the source code of the HTML generated by Hex Describe, it includes the source code for the map. At the end of the SVG is a comment with the text describing the map. It starts with this line:
<!-- Source 0101 ...
And it ends with the “include” statement:
include gnomeyland.txt
Copy all this text and paste it into Text Mapper. Test it by clicking the “Generate Map” button. This should regenerate the map for you.
Example map:
Let’s go back and see about extending the map.
Your map currently goes from 0101 to 3010. If you set the “top” parameter to “10” (next to the “Generate Map” button) and click the “Modify Map Data” button, your map shifts down. Now it goes from 0111 to 3020.
You see where this is going. 🙂
Save the new map description in a text file.
Now go back to Text Mapper and scroll down until you get to the Alpine algorithm section. Increase the “width” parameter to “30” and click “Generate Map Data”.
Make sure you like it by clicking the “Generate Map” button. If you like it, go back and copy the map description and paste it into your text file. If you don’t like it, go back and click the “Generate Map Data” button in the Alpine algorithm section again.
In the text file, delete the duplicate comments (the lines starting with #) and delete one of the “include gnomeyland.txt” lines. Now copy and paste the combined map back into Text Mapper and click the “Generate Map” button.
If you’re lucky, the fit isn’t too bad:
Of course, you’ll need to work on this. But you know the drill, now: edit the text file, change those rivers and roads around the seam and your map has now doubled.
You can take the new section of the map, or the combined map, and take it back to Hex Describe, too, adding more descriptions.
If you liked the generated descriptions for the old map, unfortunately you’ll have to do some HTML editing yourself in your preferred text editor. That part could use some automation as well, I agree.
#Hex Describe #Text Mapper #RPG
(Please contact me if you want to remove your comment.)
⁂
Thanks!
– bluetyson 2021-12-29 22:47 UTC
---
Speaking of bigger worlds, I was thinking of nested hexes. I made this in HexKit to draw it quickly, Dungeon23 – Mokuy hex map Australia – version 1 and not done any tables. Part of Dungeon23 project that will be. E.g. if this is a say 250km hex, and a standard adventuring hex in metric might be 10km...a nesting command where minor terrain variations for the major were employed. Unnecessary perhaps and have not considered the code yet.
Dungeon23 – Mokuy hex map Australia – version 1
– bluetyson 2023-01-29 07:58 UTC
---
You could use something recursive like the Welsh Piper algorithm which uses “seed terrains”. The reason I don’t like the maps from an aesthetic point of view is that they lack a river system and plausible mountains. In play, they’re probably just as good as any. What I would want from a nested hex algorithm would be a handing down of river ingress and egress sides, at the very least.
I have a half-solution using Hex Populate where you provide a basic altitude profile of the world and it figures out vegetation, water ways, settlements, and so on. It’s pretty amazing. I guess what this means is that the map details remain unchanged but user interaction moves up an abstraction level in that you raise and lower large groups of hexes.
– Alex 2023-01-29 13:59 UTC
---
Thanks, will take a look.
Starting to get into ’for h in hexes’ blog territory there.
– bluetyson 2023-01-30 05:50 UTC
---
Here’s a different idea: If you have Hex Describe generate the detailed landscape, would it be possible to “summarize” it at a higher level? That would be something I’d be interested in…
– Alex 2023-01-30 08:03 UTC
---
Do it the other way around until you are happy as such?
– bluetyson 2023-01-30 21:14 UTC
---
I have not used Go before either, but do have a linux machine lying around doing nothing to give the above a shot with.
– bluetyson 2023-01-30 21:15 UTC
---
Well, to just give it a try it’s enough to use a ssh client (for Windows: PuTTY).
– Alex 2023-01-30 23:05 UTC
---
Yeah, wouldn’t want session death on looking at continent sized maps though!
I usually use Git Bash as I find PuTTY too annoying.
– bluetyson 2023-01-31 01:35 UTC
---
That seems to work ok Image 1
– bluetyson 2023-01-31 01:58 UTC
---
In my case needed -O on a Windows machine Image 3
– bluetyson 2023-01-31 01:59 UTC
---
On my system, -O means “omit directories from --times”. How weird!
– Alex 2023-01-31 07:58 UTC
---
yeah, different versions I guess I installed Git Bash a fair while ago on this machine and I think -O means use old style scp not sftp or something like that.
– bluetyson 2023-01-31 09:53 UTC
---
So have a textmapper rough go of Mokuy Australia
0101 ocean 0102 ocean 0103 ocean 0104 ocean 0105 ocean 0106 ocean 0107 ocean 0108 ocean 0109 ocean 0110 ocean 0111 ocean 0112 ocean 0113 ocean 0114 ocean 0115 ocean 0116 ocean 0117 ocean 0118 ocean 0119 ocean 0120 ocean 0121 ocean 0122 ocean 0123 ocean 0124 ocean 0201 ocean 0202 ocean 0203 ocean 0204 ocean 0205 ocean 0206 ocean 0207 ocean 0208 ocean 0209 ocean 0210 ocean 0211 ocean 0212 ocean 0213 ocean 0214 ocean 0215 ocean 0216 ocean 0217 ocean 0218 ocean 0219 ocean 0220 ocean 0221 ocean 0222 ocean 0223 ocean 0224 ocean 0301 ocean 0302 ocean 0303 ocean 0304 ocean 0305 ocean 0306 ocean 0307 ocean 0308 ocean 0309 ocean 0310 ocean 0311 ocean 0312 ocean 0313 ocean 0314 ocean 0315 ocean 0316 ocean 0317 ocean 0318 ocean 0319 ocean 0320 ocean 0321 ocean 0322 ocean 0323 ocean 0324 ocean 0401 ocean 0402 ocean 0403 ocean 0404 ocean 0405 ocean 0406 ocean 0407 ocean 0408 ocean 0409 ocean 0410 ocean 0411 ocean 0412 ocean 0413 ocean 0414 ocean 0415 ocean 0416 ocean 0417 ocean 0418 ocean 0419 ocean 0420 ocean 0421 ocean 0422 ocean 0423 ocean 0424 ocean 0501 ocean 0502 ocean 0503 ocean 0504 ocean 0505 ocean 0506 ocean 0507 ocean 0508 ocean 0509 ocean 0510 ocean 0511 ocean 0512 ocean 0513 ocean 0514 ocean 0515 ocean 0516 ocean 0517 ocean 0518 ocean 0519 ocean 0520 ocean 0521 ocean 0522 ocean 0523 ocean 0524 ocean 0601 ocean 0602 ocean 0603 ocean 0604 ocean 0605 ocean 0606 ocean 0607 ocean 0608 ocean 0609 ocean 0610 ocean 0611 ocean 0612 ocean 0613 ocean 0614 ocean 0615 ocean 0616 ocean 0617 ocean 0618 ocean 0619 ocean 0620 ocean 0621 ocean 0622 ocean 0623 ocean 0624 ocean 0701 ocean 0702 ocean 0703 ocean 0704 ocean 0705 ocean 0706 ocean 0707 ocean 0708 ocean 0709 ocean 0710 sand 0711 sand 0712 sand 0713 sand 0714 sand 0715 ocean 0716 desert 0717 ocean 0718 ocean 0719 ocean 0720 ocean 0721 ocean 0722 ocean 0723 ocean 0724 ocean 0801 ocean 0802 ocean 0803 ocean 0804 ocean 0805 ocean 0806 ocean 0807 ocean 0808 ocean 0809 sand 0810 sand 0811 bush 0812 desert 0813 desert 0814 mountain 0815 desert 0816 mountain 0817 sand 0818 sand 0819 sand 0820 sand 0821 ocean 0822 ocean 0823 ocean 0824 ocean 0901 ocean 0902 ocean 0903 ocean 0904 ocean 0905 ocean 0906 ocean 0907 ocean 0908 ocean 0909 sand 0910 desert 0911 desert 0912 desert 0913 mountain 0914 mountain 0915 mountain 0916 mountain 0917 mountain 0918 desert 0919 mountain 0920 sand 0921 ocean 0922 ocean 0923 ocean 0924 ocean 1001 ocean 1002 ocean 1003 ocean 1004 ocean 1005 ocean 1006 ocean 1007 ocean 1008 sand 1009 sand 1010 desert 1011 mountain 1012 mountain 1013 mountain 1014 mountain 1015 desert 1016 bush 1017 desert 1018 bush 1019 desert 1020 sand 1021 ocean 1022 ocean 1023 ocean 1024 ocean 1101 ocean 1102 ocean 1103 ocean 1104 ocean 1105 ocean 1106 ocean 1107 sand 1108 sand 1109 bush 1110 bush 1111 desert 1112 mountain 1113 desert 1114 mountain 1115 desert 1116 forest 1117 bush 1118 bush 1119 sand 1120 ocean 1121 ocean 1122 ocean 1123 ocean 1124 ocean 1201 ocean 1202 ocean 1203 ocean 1204 ocean 1205 ocean 1206 sand 1207 sand 1208 bush 1209 bush 1210 desert 1211 desert 1212 mountain 1213 mountain 1214 mountain 1215 marsh 1216 forest 1217 trees 1218 bush 1219 sand 1220 ocean 1221 ocean 1222 ocean 1223 ocean 1224 ocean 1301 ocean 1302 ocean 1303 ocean 1304 ocean 1305 ocean 1306 marsh 1307 marsh 1308 bush 1309 bush 1310 mountain 1311 mountain 1312 mountain 1313 mountain 1314 marsh 1315 marsh 1316 forest 1317 bush 1318 sand 1319 sand 1320 ocean 1321 ocean 1322 ocean 1323 ocean 1324 ocean 1401 ocean 1402 ocean 1403 ocean 1404 sand 1405 sand 1406 desert 1407 marsh 1408 marsh 1409 marsh 1410 mountain 1411 mountain 1412 desert 1413 marsh 1414 marsh 1415 marsh 1416 forest 1417 bush 1418 sand 1419 ocean 1420 ocean 1421 ocean 1422 ocean 1423 ocean 1424 ocean 1501 ocean 1502 ocean 1503 ocean 1504 sand 1505 desert 1506 mountain 1507 marsh 1508 marsh 1509 marsh 1510 marsh 1511 mountain 1512 mountain 1513 mountain 1514 marsh 1515 marsh 1516 forest 1517 bush 1518 sand 1519 ocean 1520 ocean 1521 ocean 1522 ocean 1523 ocean 1524 ocean 1601 ocean 1602 ocean 1603 ocean 1604 sand 1605 mountain 1606 mountain 1607 mountain 1608 marsh 1609 mountain 1610 mountain 1611 marsh 1612 mountain 1613 marsh 1614 marsh 1615 marsh 1616 forest 1617 bush 1618 sand 1619 ocean 1620 ocean 1621 ocean 1622 ocean 1623 ocean 1624 ocean 1701 ocean 1702 sand 1703 sand 1704 bush 1705 desert 1706 mountain 1707 mountain 1708 marsh 1709 desert 1710 mountain 1711 mountain 1712 marsh 1713 marsh 1714 marsh 1715 marsh 1716 forest 1717 bush 1718 ocean 1719 ocean 1720 ocean 1721 ocean 1722 ocean 1723 ocean 1724 ocean 1801 ocean 1802 sand 1803 sand 1804 bush 1805 desert 1806 desert 1807 desert 1808 marsh 1809 desert 1810 desert 1811 mountain 1812 mountain 1813 marsh 1814 forest 1815 marsh 1816 forest 1817 bush 1818 sand 1819 ocean 1820 ocean 1821 ocean 1822 ocean 1823 ocean 1824 ocean 1901 ocean 1902 sand 1903 bush 1904 forest 1905 forest 1906 forest 1907 bush 1908 marsh 1909 marsh 1910 swamp 1911 desert 1912 desert 1913 marsh 1914 marsh 1915 marsh 1916 marsh 1917 forest 1918 bush 1919 sand 1920 sand 1921 ocean 1922 ocean 1923 ocean 1924 ocean 2001 ocean 2002 sand 2003 sand 2004 sand 2005 marsh 2006 marsh 2007 forest 2008 marsh 2009 marsh 2010 water 2011 swamp 2012 marsh 2013 forest 2014 forest 2015 marsh 2016 marsh 2017 forest 2018 trees 2019 sand 2020 marsh 2021 ocean 2022 ocean 2023 ocean 2024 ocean 2101 ocean 2102 ocean 2103 ocean 2104 ocean 2105 sand 2106 sand 2107 marsh 2108 marsh 2109 marsh 2110 water 2111 water 2112 marsh 2113 forest 2114 forest 2115 marsh 2116 forest 2117 forest 2118 forest 2119 marsh 2120 marsh 2121 sand 2122 ocean 2123 ocean 2124 ocean 2201 ocean 2202 ocean 2203 ocean 2204 ocean 2205 ocean 2206 sand 2207 forest 2208 forest 2209 marsh 2210 marsh 2211 water 2212 marsh 2213 forest 2214 forest 2215 forest 2216 marsh 2217 marsh 2218 forest 2219 bush 2220 bush 2221 sand 2222 sand 2223 ocean 2224 ocean 2301 ocean 2302 ocean 2303 ocean 2304 sand 2305 ocean 2306 sand 2307 forest 2308 marsh 2309 marsh 2310 marsh 2311 marsh 2312 forest 2313 marsh 2314 marsh 2315 marsh 2316 forest 2317 forest 2318 forest 2319 trees 2320 trees 2321 forest 2322 bush 2323 sand 2324 ocean 2401 ocean 2402 ocean 2403 sand 2404 bush 2405 sand 2406 forest 2407 marsh 2408 marsh 2409 marsh 2410 marsh 2411 marsh 2412 forest 2413 forest 2414 forest 2415 marsh 2416 marsh 2417 forest 2418 marsh 2419 trees 2420 trees 2421 forest 2422 bush 2423 sand 2424 ocean 2501 ocean 2502 ocean 2503 sand 2504 sand 2505 bush 2506 bush 2507 forest 2508 forest 2509 marsh 2510 marsh 2511 marsh 2512 marsh 2513 forest 2514 forest 2515 marsh 2516 marsh 2517 forest 2518 marsh 2519 forest 2520 forest 2521 trees 2522 bush 2523 sand 2524 ocean 2601 ocean 2602 ocean 2603 ocean 2604 ocean 2605 sand 2606 sand 2607 sand 2608 sand 2609 forest 2610 forest 2611 forest 2612 marsh 2613 forest 2614 forest 2615 forest 2616 marsh 2617 bush 2618 bush 2619 marsh 2620 forest 2621 trees 2622 bush 2623 sand 2624 ocean 2701 ocean 2702 ocean 2703 ocean 2704 ocean 2705 ocean 2706 sand 2707 ocean 2708 sand 2709 bush 2710 bush 2711 forest 2712 forest 2713 forest 2714 marsh 2715 forest 2716 marsh 2717 marsh 2718 marsh 2719 marsh 2720 forest 2721 trees 2722 bush 2723 sand 2724 ocean 2801 ocean 2802 ocean 2803 ocean 2804 ocean 2805 ocean 2806 ocean 2807 ocean 2808 ocean 2809 sand 2810 sand 2811 bush 2812 forest 2813 forest 2814 marsh 2815 forest 2816 marsh 2817 marsh 2818 forest 2819 marsh 2820 forest 2821 trees 2822 sand 2823 ocean 2824 ocean 2901 ocean 2902 ocean 2903 ocean 2904 ocean 2905 ocean 2906 ocean 2907 ocean 2908 ocean 2909 ocean 2910 sand 2911 sand 2912 sand 2913 forest 2914 forest 2915 bush 2916 bush 2917 forest 2918 forest 2919 forest 2920 sand 2921 sand 2922 ocean 2923 ocean 2924 ocean 3001 ocean 3002 ocean 3003 ocean 3004 ocean 3005 ocean 3006 ocean 3007 ocean 3008 ocean 3009 ocean 3010 ocean 3011 sand 3012 sand 3013 bush 3014 sand 3015 bush 3016 sand 3017 bush 3018 sand 3019 sand 3020 ocean 3021 ocean 3022 ocean 3023 ocean 3024 ocean 3101 ocean 3102 ocean 3103 ocean 3104 ocean 3105 ocean 3106 ocean 3107 ocean 3108 ocean 3109 ocean 3110 ocean 3111 ocean 3112 sand 3113 sand 3114 sand 3115 sand 3116 ocean 3117 sand 3118 ocean 3119 ocean 3120 ocean 3121 ocean 3122 ocean 3123 ocean 3124 ocean 3201 ocean 3202 ocean 3203 ocean 3204 ocean 3205 ocean 3206 ocean 3207 ocean 3208 ocean 3209 ocean 3210 ocean 3211 ocean 3212 ocean 3213 ocean 3214 ocean 3215 ocean 3216 ocean 3217 ocean 3218 ocean 3219 ocean 3220 ocean 3221 ocean 3222 ocean 3223 ocean 3224 ocean 3301 ocean 3302 ocean 3303 ocean 3304 ocean 3305 ocean 3306 ocean 3307 ocean 3308 ocean 3309 ocean 3310 ocean 3311 ocean 3312 ocean 3313 ocean 3314 ocean 3315 ocean 3316 ocean 3317 ocean 3318 ocean 3319 ocean 3320 ocean 3321 ocean 3322 ocean 3323 ocean 3324 ocean 3401 ocean 3402 ocean 3403 ocean 3404 ocean 3405 ocean 3406 ocean 3407 ocean 3408 ocean 3409 ocean 3410 ocean 3411 ocean 3412 ocean 3413 ocean 3414 ocean 3415 ocean 3416 ocean 3417 forest-mountain tower "Ruby Base" 3418 ocean 3419 ocean 3420 ocean 3421 ocean 3422 ocean 3423 ocean 3424 ocean 3501 ocean 3502 ocean 3503 ocean 3504 ocean 3505 ocean 3506 ocean 3507 ocean 3508 ocean 3509 ocean 3510 ocean 3511 ocean 3512 ocean 3513 fir 3514 ocean 3515 ocean 3516 ocean 3517 ocean 3518 ocean 3519 ocean 3520 ocean 3521 ocean 3522 ocean 3523 ocean 3524 ocean 3601 ocean 3602 ocean 3603 ocean 3604 ocean 3605 ocean 3606 ocean 3607 ocean 3608 ocean 3609 ocean 3610 ocean 3611 ocean 3612 ocean 3613 ocean 3614 ocean 3615 ocean 3616 ocean 3617 ocean 3618 ocean 3619 ocean 3620 ocean 3621 ocean 3622 ocean 3623 ocean 3624 ocean
– bluetyson 2023-01-31 09:57 UTC
---
wrinkle being that HexKit default was pointy top, not flat top - but as a source for considering how to get more detailed that rolls up to that, should be good enough.
– bluetyson 2023-01-31 09:58 UTC
---
sample:
– bluetyson 2023-01-31 09:59 UTC
---
Hi Alex,
I have a question, can you do something like this?
;ocean 1,The ocean weather is [ocean weather] and [ocean temp] and you see [store nothing as noenc] **[ocean encounter]** [here same ocean encounter] [!noenc||[heading]]
e.g. it does stuff, want to check if the encounter has the word ’nothing’ in it - if it doesn’t, work out a heading - e.g. if monster is coming towards or away from you, etc.
– bluetyson 2023-02-01 09:24 UTC
---
I’m not sure I understand your usage of the word “heading”. Here’s what I understood and it sounds to me like you would be better of doing it the other way around.
This is the map:
0101 ocean 0102 ocean 0103 ocean 0104 ocean
Do not include images. Do not include map. Select “none” from the tables.
Use the following table:
;ocean 1,This is the open ocean. [ocean encounter or not] ;ocean encounter or not 1,[ocean encounter] 3,[ocean weather] ;ocean weather 1,The weather is calm. 1,The sea is rough. ;ocean encounter 1,<h2>Kraken!</h2><p>There is a giant kraken attacking! 1,<h2>Sea Elves</h2><p>There is a sea elf town just below the surface.
Example output:
**0101**: This is the open ocean. The sea is rough.
**0102**: This is the open ocean. The weather is calm.
**0103**: This is the open ocean. The sea is rough.
**0104**: This is the open ocean.
Sea Elves
There is a sea elf town just below the surface.
Thus, there’s a 25% chance of an encounter, and if there is an encounter, we add a level two heading and encounter details.
– Alex 2023-02-01 10:31 UTC
---
Thanks for that Alex. That makes sense, add another level in.
– bluetyson 2023-02-01 11:20 UTC
---
The heading was ’monster is moving away’ or ’monster is waiting’ or ’monster is heading straight for you!’ type descriptor.
So end up with : This is the open ocean, the weather is calm and warm and you see nothing.
or
This is the open ocean, the weather is calm and warm and a Kraken is heading straight for you!
Nothing could of course be ’’ but it was to have the ’you see ’ grammar make sense that I had done on the first pass.
So weather, encounter binary and threat direction.
– bluetyson 2023-02-01 11:25 UTC
---
Heading being towards, away, waiting type randomdetermination.
– bluetyson 2023-02-01 11:51 UTC
---
Not sure if there’s still an open question lingering, but here’s my take based on what I understand reading the two examples you gave:
;ocean 1,This is the open ocean. [ocean weather] [ocean encounter or not] ;ocean weather 1,The weather is calm. 1,The sea is rough. ;ocean encounter or not 1,[ocean encounter] 3,There is nothing to see. ;ocean encounter 1,There is a giant kraken [sea monster activity] 1,There is a sea elf town just below the surface. ;sea monster activity 1,disappearing beneath the waves. 1,drifting past you beneath the waves. 1,rising from the water and attacking!
Result:
**0101**: This is the open ocean. The weather is calm. There is nothing to see.
**0102**: This is the open ocean. The weather is calm. There is a giant kraken disappearing beneath the waves.
**0103**: This is the open ocean. The sea is rough. There is nothing to see.
**0104**: This is the open ocean. The sea is rough. There is nothing to see.
– Alex 2023-02-01 14:14 UTC
---
Right, thanks!
– bluetyson 2023-02-01 21:24 UTC
---
0114: The ocean weather is rainy and pleasant and you see a burning floating wreck of a ship waiting
0115: The ocean weather is rough and pleasant and you see nothing
0116: The ocean weather is windy and pleasant and you see nothing
0117: The ocean weather is rough and pleasant and you see fish heading towards you
0118: The ocean weather is calm and pleasant and you see nothing
0119: The ocean weather is windy and hot and you see nothing
0120: The ocean weather is windy and pleasant and you see a giant squid heading towards you
– bluetyson 2023-02-01 21:31 UTC
---
Hi Alex,, looks like I don’t get this save as yet
Output I get:-
History: Dr Ruby escaped from Inguria Island in 2044 after a cataclysmic confrontation with the Freedom League blew up a volcano. Luckily, his sister, Dr Ruby, had prepared a one-way time travel escape hatch for if things went terribly wrong. A volcanic island off the coast of early 19th century New South Wales: Ruby Base. Unknown to even the Rubys, their second amateurish use of a time machine has had devastating consequences. Luckily for them, the blowback from the time and space fracture obliterated Van Diemen’s Land. Soon, Sydney Town will be wondering why they have not heard from them.
Secret History Old: Elder Races have warred over the Australian continent in the past. The influence of the Australians has held this at bay. Dr Ruby’s part Fomaulhautian part Ingurian jury-rigged time travel shenanigans may have altered this balance. The arrival of convicts and settlers brings with it foreign disasters. The Rubys are also not the only source of Super Science. The cults Ascetic Lady’s Creed and Fellowship of the Crimson Message grow as a consequence.
Secret History: Elder Races have warred over the Australian continent in the past. The influence of the Australians has held this at bay. Dr Ruby’s part Fomaulhautian part Ingurian jury-rigged time travel shenanigans may have altered this balance. The arrival of convicts and settlers brings with it foreign disasters. The Rubys are also not the only source of Super Science. Problems!
and grow as a consequence.
Ok, maybe I am still misunderstanding about save etc. The silent_cult lookups work ok -e.g. Secret History Old
When I try to globally save so that I can use them as cultists later, I have something wrong? Same map/table links as above. This seems similar to your ruler example to me currently at least.
;TOP 1,<p>[history]<p>[secret_history_old]<p>[secret history]<p>[secret cult] ;history 1,<strong>History:</strong>*Dr Ruby* escaped from Inguria Island in 2044 after a cataclysmic confrontation with the *Freedom League* blew up a volcano. Luckily, his sister, *Dr Ruby*, had prepared a one-way time travel escape hatch for if things went terribly wrong. A volcanic island off the coast of early 19th century New South Wales: *Ruby Base*. Unknown to even the Rubys, their second amateurish use of a time machine has had devastating consequences. Luckily for them, the blowback from the time and space fracture obliterated *Van Diemen's Land*. Soon, *Sydney Town* will be wondering why they have not heard from them. ;secret_history_old 1,<strong>Secret History Old:</strong>Elder Races have warred over the Australian continent in the past. The influence of the Australians has held this at bay. Dr Ruby's part *Fomaulhautian* part *Ingurian* jury-rigged time travel shenanigans may have altered this balance. The arrival of convicts and settlers brings with it foreign disasters. The Rubys are also not the only source of Super Science. The cults **[highlightcase silent_cult]** and **[highlightcase silent_cult]** grow as a consequence. ;secret history 1,<strong>Secret History:</strong>Elder Races have warred over the Australian continent in the past. The influence of the Australians has held this at bay. Dr Ruby's part *Fomaulhautian* part *Ingurian* jury-rigged time travel shenanigans may have altered this balance. The arrival of convicts and settlers brings with it foreign disasters. The Rubys are also not the only source of Super Science. [global save [silent_cult] as silentcult1] [global save [silent_cult] as silentcult2] Problems! ;secret cult 1,**[highlightcase same silentcult1]** and **[highlightcase same silentcult2]** grow as a consequence.
e.g. only get
and grow as a consequence.
from:
[global save [silent_cult] as silentcult1] [global save [silent_cult] as silentcult2] Problems! ;secret cult 1,[highlightcase same silentcult1] and [highlightcase same silentcult2] grow as a consequence.
in the above
Hmm, I think I worked out what I did wrong
so like this for save?
[global save silent_cult as silentcult1] [global save silent_cult as silentcult2]
although maybe not, my github updates look like they are lagging now I am tagging numbers on to output to see
– bluetyson 2023-02-02 08:08 UTC
---
ah, code quotes work, good, sorry!
– bluetyson 2023-02-02 08:36 UTC
---
Anyway, looks like I still don’t have it working, as above is no good, do you know what I have wrong?
[global save [silent_cult] as silentcult1] [global save [silent_cult] as silentcult2] Problems! ;secret cult 1,[highlightcase same silentcult1] and [highlightcase same silentcult2] grow as a consequence.
– bluetyson 2023-02-02 08:51 UTC
---
I found multiple problems:
The following seems to work:
;TOP 1,<p>[history]<p>[secret_history_old]<p>[secret history]<p>[secret cult] ;history 1,**History:** *Dr Ruby* escaped from Inguria Island in 2044 after a cataclysmic confrontation with the *Freedom League* blew up a volcano. Luckily, his sister, *Dr Ruby*, had prepared a one-way time travel escape hatch for if things went terribly wrong. A volcanic island off the coast of early 19th century New South Wales: *Ruby Base*. Unknown to even the Rubys, their second amateurish use of a time machine has had devastating consequences. Luckily for them, the blowback from the time and space fracture obliterated *Van Diemen's Land*. Soon, *Sydney Town* will be wondering why they have not heard from them. ;secret_history_old 1,**Secret History Old:** Elder Races have warred over the Australian continent in the past. The influence of the Australians has held this at bay. Dr Ruby's part *Fomaulhautian* part *Ingurian* jury-rigged time travel shenanigans may have altered this balance. The arrival of convicts and settlers brings with it foreign disasters. The Rubys are also not the only source of Super Science. The cults **[silent_cult]** and **[silent_cult]** grow as a consequence. ;secret history 1,**Secret History:** Elder Races have warred over the Australian continent in the past. The influence of the Australians has held this at bay. Dr Ruby's part *Fomaulhautian* part *Ingurian* jury-rigged time travel shenanigans may have altered this balance. The arrival of convicts and settlers brings with it foreign disasters. The Rubys are also not the only source of Super Science. [global save silent_cult as silentcult1] [global save silent_cult as silentcult2] Problems! ;secret cult 1,**[same silentcult1]** and **[same silentcult2]** grow as a consequence. ;silent_cult 1,[highlightcase colour] ;colour 1,red 1,green 1,blue 1,yellow 1,indigo 1,orange
– Alex 2023-02-02 10:00 UTC
---
Ok, looks like this pair works
1,<strong>Secret History:</strong>Elder Races have warred over the Australian continent in the past. The influence of the Australians has held this at bay. Dr Ruby's part *Fomaulhautian* part *Ingurian* jury-rigged time travel shenanigans may have altered this balance. The arrival of convicts and settlers brings with it foreign disasters. The Rubys are also not the only source of Super Science. [global store [silent_cult] as silentcult1] [global store [silent_cult] as silentcult2] Problems! ;secret cult 1,**[highlightcase same silentcult1]** and **[highlightcase same silentcult2]** grow as a consequence. try7 --fails ;secret cult2 1,**[same silentcult1]** and **[same silentcult2]** grow as a consequence. try7 --works
So it looks like highlightcase modifier causes that and you have to use store not save? Or am I still missing something? Not looked at the code as yet.
and presumably capitalise too as it will modify it to not match?
– bluetyson 2023-02-02 11:16 UTC
---
Yeah, as implemented, the usage is the following…
Table lookups:
Strings. Remember that if you write `[table name]` you’ll get a string, too.
Note that “global” only works for later hexes, so either the assignment happens in “TOP” or it’s evaluated using “later”.
Now that I write it down this way I see what an unholy mess it is. Oh my.
– Alex 2023-02-02 14:03 UTC
---
Thanks for that Alex. So make any globals in TOP, basically
No getting around it being complicated like this I think when you are working with a simple format text file like this. It is pretty impressive, really!
I remember what it was like doing a very simple version of a bit of this for superherohexcrawl and it was messy.
[global store [silent_cult] as silentcult2]
so this is doing the table lookup and storing as a string?
– bluetyson 2023-02-02 21:26 UTC
---
as in if each of these is a test with explorers as a table:
;explorers 1,foolhardy gold mad 1,sensible well provisioned [global save [explorers] as exp1] [global save explorers as exp2] [global store [explorers] as exp3] [global store explorers as exp4] ;forest f1:[exp1] f2:[exp2] f3:[exp3] ff:[exp4]
what do you expect? Once I get that completely can probably add to the help a little there
[global save [explorers] as exp1] [global save explorers as exp2] [global store [explorers] as exp3] [global store explorers as exp4] ;forest f1:[exp1] f2:[exp2] f3:[exp3] ff:[exp4]
– bluetyson 2023-02-02 21:52 UTC
---
bah, messed up the formatting, sorry
– bluetyson 2023-02-02 21:53 UTC
---
You can always edit the comment page and edit all the comments on the page. It’s just a wiki page like all the others. 😀
Yeah, `[global store [silent_cult] as silentcult2]` should be the equivalent of `[global save silent_cult as silentcult2]`.
Therefore, without testing it:
– Alex 2023-02-02 22:11 UTC
---
Yes, good point, guess I always thing of it as ’yours’ as opposed to ’hey I can mess with this!
Thanks for the clarification!
I will test some more.
---
Ok, made a test
https://raw.githubusercontent.com/bluetyson/Dungeon23-Mokuy/main/test.txt
and get
0101: banana
0102: f1: … f2: sensible well provisioned f3: foolhardy gold mad ff: explorers
– bluetyson 2023-02-03 00:02 UTC
---
Yay! 👍
– Alex 2023-02-03 09:15 UTC
---
I am sure there will be other questions as I keep adding stuff to the tables.
– bluetyson 2023-02-03 23:13 UTC
---
Store is working nicely
0114: The ocean weather is calm and pleasant and you see a local pirate ship full of Holy Creed of The Manifold Prophet cultists heading towards you seemingly neutral
– bluetyson 2023-02-04 02:26 UTC