here's something I proposed to Splinterz (and Meph a while back).
An option to alter the startdwarf count as well as embark points count on the front gui.
I pretty much have 75% of it figured out.
I think it would be a great idea. I always start with higher than normal # of dwarfs/embark points to "quickstart" myself into play
this script would be autorun (i.e. dfhack.init). I just don't know how to tell it to listen until this condition is true.
local vs = dfhack.gui.getCurViewscreen()
if df.viewscreen_choose_start_sitest:is_instance(vs) then
print("Can apply points & startdwarf")
else
print("Nope!")
end
now I just have to figure out how to call a script within a lua script and read variables from a text file.
But now a player could specify in the gui the starting embark points and startdwarf number
I'll update my progress
Update:
a script is just going to run/close as soon as it's ran. if I want it to listen for an event... then i'm probably going to have to build a plugin
eventhandler could do it. But i've never actually programmed one of those except for in class... I guess it would be easier with dfhack, but if the event handler isn't defined...
update:
For anyone else who wants to try this out jj from dfhack said
"<jj``> when you're on a screen, type 'rb_eval p df.curview._rtti_classname' to show the name"