Haha, I usually embark on terrifying/reanimating biomes, preferrably close to a tower, so I can see some action. Which hasn't really worked very well, I mostly get a single necromancer siege, and by the time next siege should arrive I start getting necromancer visitors due to having a library and tavern set up already.
I take many stag dewbeetles on embark, (and a few does to get more dewbeetles) with a lvl 5 leatherworker, and as soon as I slaughter them, I forbid their tallow from being cooked and start hardening chitin. I also take a lvl 5 potash maker/wood burner to fertilize the fields for the first pig tail harvest, so I usually get to build 6 to 7 libraries on the first year, 2-3 of them being warfare, and the spare quires are usually invested on an early vanilla library. All my civilians are on a militia, except miners (since hunters don't thrive on undead/reanimating biomes) due to civilian uniform conflicts, having studied hammers & mauls (I make warhammers with whichever most abundant metal I find), armor, shields, melee, dodgin bitin kickin & strikin, all fully geared up with chitinplates. Common leather goes for padded clothing. xD My silk collectors usually deal with whatever they find on the caverns, unless it's a big swarm of powerful creatures, in which case the war animals assigned to them usually buy some time. At this point all my civvies usually just rock the undead with their copper/gold/silver/cobalt/tungsten warhammers, so injured dwarves usually are not a problem and undead are only there to cause fps death due to the sheer amount of teeth spread all over the place, LOL.
Unfortunately, 70% of caravans get scared by something and simply explode leaving tons of free goods. I end up getting a huge clutter of every good possible, which doesn't really help against fps death either :/ I only get the occasional migrant death due to being attacked by some sort of flying corpse, since once fps starts diving, stationing militia don't act right, and take a long time to respond to kill orders. Also, I don't even bother with marksdwarves due to their AI being awful. And I also use the weaponsmith/armorsmith tactic for possible moods, but I'm so unlucky with them, I get possessed mood way too often :/
/rant
Anyways, what does this .lua script do?