View Single Post
ploturo
Member
 
Join Date: May 2021
Posts: 84

Old April 24th, 2022, 08:21 PM
For example, if you created a thing id="rDwarfSubrace" you could put a script on it with timing PreLevels:100 like this:
Code:
~ set focus on the Pick for the original race
perform hero.childFound[rDwarf].setfocus

~ if focus wasn't successfully set, something went wrong so stop
doneif (state.isfocus = 0)

~ remove the goblin language
perform focus.delete[Language.lGoblin]

~ add the Elven language
perform focus.assign[Language.lElven]

~ change the female minimum weight field 
focus.field[rWeightMnF].value = 145

~ change the die size used for the height by deleting any
~ existing tags and adding the correct one
perform focus.delete[HeightSize.?]
perform focus.assign[HeightSize.8]
ploturo is offline   #5 Reply With Quote