I want to create a subsection on my random encounters table that has a variable dependant on table choice rolled. Let me show you what I mean but forgive my lack of knowledge on the topic as I know its wrong to begin with... I just think I could illustrate it better if I show what I'm looking for.
Table: CombatEncounter
[
@CombatEncounterRace] is attacking
{$Nemesis} [|hunting party|caravan|lone traveler|warrior].
Table: CombatEncounterRace
An elf
[|an ogre|an orc|a goblin|a hobgoblin|a kobold]
An orc
[|a dwarf|an elf|a half-elf|a human]
Obviously, the red parts don't belong where I have them... but if I roll "An orc" then how do I get their nemesis into CombatEncounter table above? Is there a way to set a variable on the same line as the CombatEncounterRace results so that each race can have appropriate lists of hated foes? I know I could set up separate tables for each, but I want to do this for a lot of different creature races and would prefer not to create nemesis tables for each.
Comments
Use the double "==" so that the variable is assigned, but not output. Then reference the {$nemesis} variable.
I didn't know I could use inline pick brackets inside more brackets.
Danke Schön.