You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use cookies to anonymously track site usage, like most modern websites. This helps us understand what parts of the website are being used with what technologies, and other anonymous data.
4
+
<br>
5
+
If you don't want to be tracked, you can disallow now, or later turn it off in settings, install the Google Analytics Opt Out add on, or build the generator from source on our GitHub page.
6
+
<br>
7
+
By closing this banner or continuing to browse otherwise, you agree to the use of cookies and our Google Analytics tracking.
<</button>> -- We use cookies to anonymously track site usage, like most modern websites. This helps us understand what parts of the website are being used with what technologies, and other anonymous data.
15
+
<</button>> --
16
+
<<button "X Close">>
17
+
<<include "RemoveCookieNotifier">>
18
+
<</button>>
19
+
</div>
6
20
7
-
If you don't want to be tracked, you can turn it off in settings, install the Google Analytics Opt Out add on, or build the generator from source on our GitHub page.
8
-
9
-
By closing this banner or continuing to browse otherwise, you agree to the use of cookies and our Google Analytics tracking.<</notify>></div>
21
+
:: RemoveCookieNotifier
22
+
<<if Dialog.isOpen()>>
23
+
<<if State.metadata.get("neverShowWelcome") is true>>
24
+
<<if State.metadata.get("showBiomeGeneration") is true>>
Copy file name to clipboardExpand all lines: src/Meta/Popup.twee
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
1
:: Popup
2
-
<<nobr>><<if !_isTextOutput>>
3
-
<<set _roll to random(1, 99)>>
4
-
<<if _roll gt 80>>
5
-
<blockquote class='interactive-only hide-on-print'>Find us on Reddit at [[/r/EigengrausGenerator|https://www.reddit.com/r/EigengrausGenerator]]!</blockquote>
<blockquote class='interactive-only hide-on-print'>If you have any bug reports, please click here: [[Submit a bug report|https://github.com/ryceg/Eigengrau-s-Essential-Establishment-Generator/issues/]]</blockquote>
2
+
<<if !_isTextOutput>>
3
+
<<set _roll to random(1, 5)>>
4
+
<<if _roll is 5>>
5
+
<blockquote class='interactive-only hide-on-print'>Did you know? Eigengrau's Generator can <<link "Export to Foundry" OutputEverything>><<set $history.length to 0>><<run setup.history({passageName: "OutputEverything", linkDescription: "Export", name: "Export"})>><</link>></blockquote>
6
+
<<elseif _roll is 4>>
7
+
<blockquote class='interactive-only hide-on-print'>Find us on Reddit at [[/r/EigengrausGenerator|https://www.reddit.com/r/EigengrausGenerator]]!</blockquote>
<blockquote class='interactive-only hide-on-print'>If you have any bug reports, please click here: [[Submit a bug report|https://github.com/ryceg/Eigengrau-s-Essential-Establishment-Generator/issues/]]</blockquote>
Copy file name to clipboardExpand all lines: src/MiniEstablishments/Guardhouse/GuardhouseOutput.twee
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
:: GuardhouseOutput [nobr]
2
-
<<include "PrintImage">>
3
2
<<set $currentPassage to lib.findInArray($town.buildings, "key", $currentPassage.key)>>
4
3
<<set $currentFaction to lib.getPolice($town.factions)>>
5
4
<<set $associatedNPC to $npcs[$currentPassage.associatedNPC.key]>>
6
5
<<set $currentPassage.availableRelationships to lib.guardhouseData.get.customers>>
6
+
<<include "PrintImage">>
7
7
<h1 class="interactive-only">$currentPassage.name</h1><span @id="$building.key"></span><p>You make your way down <<print lib.createTippyFull($town.roads[$currentPassage.road].description, $town.roads[$currentPassage.road].name)>>, and enter $currentPassage.name $currentPassage.structure.descriptor. $currentPassage.name is known for $currentPassage.notableFeature</p>
8
8
<p>It is run by <<profile $town.factions[$currentFaction.key]>>, who are $currentPassage.expertise.
9
9
At the moment, <<print lib.weightedRandomFetcher($town, lib.guardhouseData.get.event($town, $currentPassage), $currentPassage, undefined)>></p>
<<set $town.ignoreGender to settings.ignoreGender>>
4
+
<nav>
5
+
<<link "The $town.type of $town.name">><<if $town.generated === 'biome'>><<set $town to setup.createTown($town)>><</if>><<unset $currentPassage>><<unset $currentNPC>><<set $history to []>><<goto "Start">><</link>>
0 commit comments