Make Barracks an area (like all other workshops) with its own utilities - training dummies and practice targets. Allow townies to train there by implementing a r-click option. The amount of townies training should depend on the Barracks size and facilities (i.e. to be able to train you'd need 5 squares and 1 dummy/target per person training).
Lower the base stats for townies (I think they're too high right now) and make the following stats trainable - random stat increased by 1 when training counter reaches count limit:
- Code: Select all
Having them increase their <attackTurns> and <LOS> values could potentially be game breaking, so I'm excluding those.
Now for the fun part - I'll be using current <attack> value as an example:
As it is, this value is a constant integer which can only be modified by equipment. So it probably needs to be set to a variable (or part of), something like 4d3+$i, where $i would have an initial value of 12. When starting training, the game would randomly pick a stat to train and set a training counter individual for each trainee depending on his/her $i value, for example training counter limit $n = 15*$i^2 turns. When the counter reaches the limit the stat is increased by one ($i=$i++). I think this mechanic would provide the scalable training system where each subsequent stat increase would take longer to train. The game will also need to maintain the counter levels when trainees run off to eat/sleep. After the training is done there would be a cooldown before the townie can start his/her next training session, 960 turns - 8 ingame hours - should probably do it.
I'm thinking this should be fine in line with the hero system, where your soldiers would act as town guard and sometimes assist heroes. After all guards do spent their days training. Converting soldiers/guards back to civilians can slowly decrement the trained stats back to the basic levels, since you do lose your skills when leading a peaceful civilian life
I forgot something, I know I did. But I can't remember it right now. I'll post it when it comes to me.
I've been thinking about this for a while now. After finally brainstorming the idea for about an hour and starting this post I came to a shocking realization - it's much like the similar mechanic in DF ("Simpsons Already Did It" anyone?).
All numbers are arbitrary* and need work, I just put them in as an example.
* arbitrary - subject to individual will or judgment without restriction