How would one go about doing something like following.
You have town event generator.
You would like to generalise that for multiple towns but for each their own subtables.
For example
In generic town event generator
- common stuff
- localCharacterListKindX
-- randomMerchantX1
-- randomMerchantX2
- localCharacterListKindY
-- randomMerchantY1
-- randomMerchantY2
- localCharacterListKindZ
-- randomMerchantZ1
-- randomMerchantZ2
Town A
-localCharacterListKindX-A
- "Mikko Joosepinpoika, Ainutkertainen tyrkyttaja"
- "Joosua Aataminpoika, lestinheittäjä
-localCharacterListKindY-A
- Jakob Svensson, kyttä
- Jesper Adamsson, rosvo
for localCharacterListKindZ
uses one from generic
Town B
-localCharacterListKindX-B
- "Lena Schawabsson, shopkeeper"
- "Adam Schmidt, pushy salesguy"
-localCharacterListKindY-B
"Christina The actor"
but for the rest uses the list from generic
for localCharacterListKindZ
uses the list from generic
You have town event generator.
You would like to generalise that for multiple towns but for each their own subtables.
For example
In generic town event generator
- common stuff
- localCharacterListKindX
-- randomMerchantX1
-- randomMerchantX2
- localCharacterListKindY
-- randomMerchantY1
-- randomMerchantY2
- localCharacterListKindZ
-- randomMerchantZ1
-- randomMerchantZ2
Town A
-localCharacterListKindX-A
- "Mikko Joosepinpoika, Ainutkertainen tyrkyttaja"
- "Joosua Aataminpoika, lestinheittäjä
-localCharacterListKindY-A
- Jakob Svensson, kyttä
- Jesper Adamsson, rosvo
for localCharacterListKindZ
uses one from generic
Town B
-localCharacterListKindX-B
- "Lena Schawabsson, shopkeeper"
- "Adam Schmidt, pushy salesguy"
-localCharacterListKindY-B
"Christina The actor"
but for the rest uses the list from generic
for localCharacterListKindZ
uses the list from generic