Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • andonome/config
1 result
Show changes
Commits on Source (16)
#!/bin/sh
# This file has the recommended LaTeX packages.
# First install tlmgr (likely in the package
# texlive or texlive-bin) and texlive2023-bin.
# texlive or texlive-bin) and texlive${year}-bin.
#
# If compiling fails, you *might* also need the cm-super package.
......
......@@ -10,8 +10,11 @@
\begin{tabularx}{\linewidth}{Xr}
\hiderowcolors
\randomize%
\setcounter{diceNo2}{\value{rn4tn1}}%
\addtocounter{diceNo2}{5}%
\textbf{Birthday:}
\showSeason[\value{diceNo2}]~\arabic{r12}
\showCycle[\value{diceNo2}]~\arabic{r12}
\par
\Huge \Glsfmtplural{storypoint}~\Repeat{5}{\Square}
&
......
......@@ -1082,7 +1082,7 @@ Set the darker die to `\dicef{6}' and roll the other. If this roll fails, it fa
}
\newacronym[
description={is the universal way to measure time in \glsentrytext{fenestra}, where one \glsentrytext{cycle} equals three `years'},
description={is the universal way to measure time in \glsentrytext{fenestra}, where one \glsentrytext{cycle} equals sixty days, and, and one sixth of a year},
name={Gnomish Machine Time (GMT)},
prefix={a\space},
parent={fenestra},
......@@ -1095,8 +1095,10 @@ Set the darker die to `\dicef{6}' and roll the other. If this roll fails, it fa
sort={Z},
prefix={a\space},
parent={ainumar},
description={mean complete revolutions around the \glsentrytext{ainumar}, while it also revolves around the Sun.
Each complete Cycle has twelve seasons},
description={last for sixty days, after which \glsentrytext{fenestra} has travelled around the \glsentrytext{ainumar}.
Each cycle begins and ends with a violent \glsentrytext{wrath}, which marks a change in temperature for the next cycle.
After six cycles, the \glsentrytext{ainumar} completes a revolution around the Sun, and a new year begins},
}
\longnewglossaryentry{edge}{
......@@ -1230,8 +1232,7 @@ Set the darker die to `\dicef{6}' and roll the other. If this roll fails, it fa
prefix={a\space},
parent={fiend},
description={begin as students of Death magic.
They can slow, and eventually stop, aging, which locks them into a permanent state of semi-death, and leaves them unable to regenerate a single \glsentrytext{mp} without draining it from someone's death.
},
They can slow, and eventually stop, aging, which locks them into a permanent state of semi-death, and leaves them unable to regenerate a single \glsentrytext{mp} without draining it from someone's death},
}
\longnewglossaryentry{dryad}{
......@@ -1588,6 +1589,27 @@ Set the darker die to `\dicef{6}' and roll the other. If this roll fails, it fa
They form the heart of every \glsentrytext{healersGuild}},
}
\longnewglossaryentry{grummel}{
name={Grummel},
category={god},
symbol={\Sextile},
parent={ainumar},
description={waits till \glsentrysymbol{fenestra} approaches the \glsentrysymbol{ainumar} and begins to shake it, causing earthquakes, volcanic erruptions, and tidal waves.
These mark the end of each \glsentrytext{cycle}, and people call them Grummel's \glsentrytext{storm}},
}
\longnewglossaryentry{templeOfStorms}{
name={The Temple of Storms},
text={Temple of Storms},
plural={Temples of Storm},
prefix={a\space},
symbol={\glsentrysymbol{grummel}},
parent={temple},
nonumberlist,
description={sell calendars and architectural plans.
The former help farmers, while the latter help any \glsentrytext{warden} who wants their dwelling to survive the next \glsentrytext{storm}},
}
\longnewglossaryentry{nulla}{
name={\qquad},
category={god},
......@@ -1731,7 +1753,7 @@ Set the darker die to `\dicef{6}' and roll the other. If this roll fails, it fa
symbol={\glsentrysymbol{sable}},
parent={temple},
nonumberlist,
description={exists to thwart \glsentrytext{sable}, who comes to \gls{fenestra} twice per \glsentrytext{cycle}, during the cold seasons of \glsentrytext{Alassea} and \glsentrytext{Minquesta}.
description={exists to thwart \glsentrytext{sable}, who comes to \gls{fenestra} every year to steal souls with frost.
Before he strikes, the weavers provide preservatives.
As snow begins to fall, everyone approaches the weavers for warm clothes, or just to sit by their warm fire and gossip for a while},
}
......@@ -2046,15 +2068,89 @@ Set the darker die to `\dicef{6}' and roll the other. If this roll fails, it fa
description={ -- \glsentrytext{fenestra}'s twelfth and final season, before the \glsentrytext{cycle} starts again},
}
\longnewglossaryentry{cOne}{
name={Niquis},
prefix={a\space},
sort={1},
parent={cycle},
description={is the first \glsentrytext{cycle}, and start with mild weather, and after three days an eclipse blots out the \glsentrytext{ainumar}.
At the end, an unusually warm \glsentrytext{storm} allows any cold-blooded \glsentrytext{monster} one last opportunity to gorge before the temperature drops rapidly},
}
\longnewglossaryentry{cTwo}{
name={Sables},
prefix={a\space},
sort={2},
parent={cycle},
description={begins the second \glsentrytext{cycle} with a warm \glsentrytext{storm}, then immediately after brings cold snow, then more each day.
At the half-way point -- day thirty -- a fifteen-hour eclipse plumets \glsentrytext{fenestra} into the black, frozen abyss of space.
People say the eclipse represent's \glsentrytext{sable}'s attempt to destroy \glsentrytext{fenestra}},
}
\longnewglossaryentry{cThree}{
name={Halkin},
prefix={a\space},
sort={3},
parent={cycle},
description={begins the third \glsentrytext{cycle} with a long \glsentrytext{storm} as \glsentrytext{grummel} pulls \glsentrytext{fenestra} back from the shadows to consume more souls and awaken every \glsentrytext{basilisk} from hibernation.
Three days before the end, an eclipse marks \glsentrytext{sable}'s retreat as the last \glsentrytext{basilisk} awakens},
}
\longnewglossaryentry{cFour}{
name={Umba},
prefix={an\space},
sort={4},
parent={cycle},
description={works like Spring, bringing warmth, lambs, and myriad insects.
As the fourth \glsentrytext{cycle} out of six, it marks the half-way point, when the weather becomes warmer},
}
\longnewglossaryentry{cFive}{
name={Sylfs},
prefix={a\space},
sort={5},
parent={cycle},
description={begins the fifth \glsentrytext{cycle} with a cold-snap eclipse, just as the \glsentrytext{storm} hits, then quickly becomes scorching hot.
No sane creature stays in the Sun for long during this \glsentrytext{cycle}},
}
\longnewglossaryentry{cSix}{
name={Lantalka},
prefix={a\space},
sort={6},
parent={cycle},
description={begins the last \glsentrytext{cycle} with an eclipse and a sudden temperature drop.
The next day returns to feeling warm, but never quite as warm as in \glsentrytext{cFive}.
Over the next sixty days, the temperature slowly falls, until \glsentrytext{cOne} begins a new year},
}
% Weather
\longnewglossaryentry{weather}{
name={Weather},
prefix={a\space},
nonumberlist,
parent={fenestra},
parent={travel},
type={mech},
description={can spell death for anyone who doesn't take it seriously.
Some of these cosmological terrors will lay waste to the underprepared, while others willl slowly sneak up on them},
Some of these cosmological terrors will lay waste to the underprepared, while others sneak up on them slowly},
}
\longnewglossaryentry{storm}{
name={\Glsentrytext{grummel}'s Wraths},
text={wrath},
prefix={a\space},
type={mech},
parent={weather},
description={are the lightning-shod earthquakes which bring tidal waves and make volcanoes errupt at the end of each \glsentrytext{cycle}.
Any structure not built to withstand the quakes has a 1 in 6 chance of toppling, and travel speeds reduce to half.
During this time, underground people venture deeper underground, while land-dwelling people often leave their houses in search of an empty space.
No sane creature lives by the sea in \glsentrytext{fenestra} -- the tidal waves remove all civilization from every shore},
}
\longnewglossaryentry{coldSnap}{
......@@ -2159,17 +2255,46 @@ While floods occur, everyone gains a +1 Bonus to their Water \glsentrytext{spher
name={Plants},
text={plant},
prefix={a\space},
category={indexed},
symbol={\adfhangingflatleafleft},
parent={fenestra},
description={within \glsentrytext{fenestra} can grow large, strange, and deadly},
}
\longnewglossaryentry{bedshroom}{
name={Bedshrooms},
text={bedshroom},
prefix={a\space},
category={indexed},
parent={plant},
description={are fungi that look like shrivelled up cloth-sacks.
While they have water, they grow spores inside the sack.
Once they dry up, any disturbance releases large amounts of spores.
Anyone breathing the spores in feels a dream rushing over them, beckoning them to sleep.
They receive $1D3$~\glsfmtplural{ep} and roll \roll{Strength}{Academics} (\glsentrytext{tn} 8) to stay awake.
Anyone who sleeps for the \glsentrytext{interval} removes $1D6$ \glsfmtplural{ep} and gains 1~\glsentrytext{mp}.
Proper preparation can turn a patch of bedshrooms into an Air~\glsentrytext{ingredient}},
}
\longnewglossaryentry{marchingMushroom}{
name={Marching Mushroom},
text={marching mushroom},
plural={marching shrooms},
prefix={a\space},
category={indexed},
parent={plant},
description={relieve tiredness when chewed, but slow the body and mind.
Once eaten, people ignore \glsentrytext{ep} Penalties for $1D6$~\glsfmtplural{interval}, but with -1 Penalty to Dexterity, Speed, Intelligence and Wits.
A patch of the mushrooms will serve as an Earth \glsentrytext{ingredient}},
}
\longnewglossaryentry{horseDrops}{
name={Horse-Drops},
text={horse-drop moss},
plural={horse-drops},
prefix={some\space},
category={indexed},
parent={plant},
description={are red little patches of moss, which grow on the roadside.
Horses, donkeys, and mules love them, because they also love being eaten by those fast-moving animals.
......@@ -2182,6 +2307,7 @@ While floods occur, everyone gains a +1 Bonus to their Water \glsentrytext{spher
name={Disgnome Blooms},
text={disgnome bloom},
prefix={a\space},
category={indexed},
parent={plant},
description={have yellow petals the size of a forearm, which sprout only in the warmer seasons.
The rest of the time, they look like any other plain bush.
......
......@@ -892,6 +892,8 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
\setcounter{r3c}{1}
\newcounter{r4b}
\setcounter{r4b}{\day}
\divide\value{r4b} by 7
\stepcounter{r4b}
\newcounter{rn4tn1}
\setcounter{rn4tn1}{-3}
......
......@@ -1127,7 +1127,7 @@
\fi
}% SKILLS
{}% KNACKS
{\ifodd\value{r3b}\lootGoblin\fi\rations}% EQUIPMENT
{\ifodd\value{r3b}\lootGoblin, \fi\rations}% EQUIPMENT
{\ifnum\value{noAppearing}=1
\mutation{r4}%
\fi}% ABILITIES
......
\newcounter{season}
\setcounter{season}{\month}
\setcounter{season}{\month}
\newcounter{temperature}
\newcounter{cycle}
\setcounter{cycle}{\month}
\roundUp{cycle}
\newcommand\season{}
\newcounter{fenestraYear}
\setcounter{fenestraYear}{3}
\setcounter{fenestraYear}{\year}
\multiply\value{fenestraYear}by 4
\newcounter{cycle}
\setcounter{cycle}{\year}
\multiply\value{cycle} by 3
\addtocounter{cycle}{0}
\newcommand\cycleDesc{}
\newcommand\setCycle[2]{%
\setcounter{cycle}{#1}% Month
\addtocounter{cycle}{-1}%
\multiply\value{cycle} by 30%
\addtocounter{cycle}{#2}% Day
\divide\value{cycle} by 14%
\addtocounter{cycle}{0}%
\whileboolexpr{%
test {\ifnumcomp{\value{cycle}}{>}{5}}%
}{%
\addtocounter{cycle}{-5}%
}%
\setTemperature%
}
%%% State a Cycle's name.
\newcommand\showCycle[1][\value{cycle}]{%
\ifcase#1%
\glsentrytext{cOne}%
\renewcommand\cycleDesc{\glsentrydesc{cOne}}%
\or%
\glsentrytext{cTwo}%
\renewcommand\cycleDesc{\glsentrydesc{cTwo}}%
\or%
\glsentrytext{cThree}%
\renewcommand\cycleDesc{\glsentrydesc{cThree}}%
\or%
\glsentrytext{cFour}%
\renewcommand\cycleDesc{\glsentrydesc{cFour}}%
\or%
\glsentrytext{cFive}%
\renewcommand\cycleDesc{\glsentrydesc{cFive}}%
\else
\glsentrytext{cSix}%
\renewcommand\cycleDesc{\glsentrydesc{cSix}}%
\fi%
}
%%% State a Season's name.
%%% Remove %%%
\newcommand\showSeason[1][\value{season}]{%
\ifcase#1\or%
......@@ -60,20 +101,10 @@
\fi%
}
\newcommand\showTemperature{%
\ifcase\value{temperature}%
cold%
\or%
mild%
\else%
hot%
\fi%
}
%%%
\newcommand\setTemperature{
\ifcase\value{season}\or%
\setcounter{temperature}{1}%
\or%
\ifcase\value{cycle}%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{0}%
......@@ -82,25 +113,24 @@
\or%
\setcounter{temperature}{2}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{3}%
\else
\setcounter{temperature}{2}%
\fi%
}
\newcommand\showTemperature{%
\ifcase\value{temperature}%
cold%
\or%
\setcounter{temperature}{1}%
mild%
\or%
\setcounter{temperature}{0}%
\else
\setcounter{temperature}{1}%
hot%
\else%
scorching%
\fi%
}
\setTemperature
\newcommand\showInterval[1]{%
\ifcase#1%
\gls{morning}%
......@@ -112,3 +142,5 @@
\gls{night}%
\fi%
}
\setCycle{\month}{\day}
......@@ -22,7 +22,7 @@ Words are needed after each subsection to avoid the boxes making problems.
This is a test document, to make sure new code works before sticking it in a project.
Current day should equal \arabic{r4b}.
That means the season in Fenestra is \showSeason, which means it's \showTemperature.
That means the season in Fenestra is \showCycle, which means it's \showTemperature.
\Person{\npc{\M\Hu}{Random Guy}}%
{{1}{1}{0}}% BODY
......