preload button hover image:
Current Time: Jun 28, 2022, 01:44:54 pm
 Dwarf Fortress File Depot » Utilities » Fix Sterility
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: Fix Sterility
Last Updated: Sep 06, 2014, 08:17:43 pm
File version: 0.1 beta
For DF version: 0.40.10
Downloads: 566 Size: 1.4 KB
Views: 7,040 Type: ZIP
Rating (0 votes): Unrated
This is a DFhack lua script to fix sterility in animals that won't breed. It currently works with DFHack 40.12 r1.
The script functions as follows:
fixster <fert|ster> [all|animals|only:<creature>]
Required arg:
fert: sets the flag to make creature(s) are fertile
ster: sets the flag to make creature(s) are sterile

Optional args:
With no optional argument, the script will only process the currently selected creature
all: process all creatures currently on the map
animals: processes everything but dwarves on the map
only:<creature>: processes all of the creatures matching the specified creature on the map

>fixster fert
Makes the current selected unit fertile
>fixster ster all
Makes all creatures on the map sterile
>fixster fert animals
Makes all the non-dwarven creatures on the map fertile.
>fixster ster only:cats
Sterilizes all cats on the map

-Pregnant animals will still carry to term.
-This only affects currently spawned units. Any units that spawn after the script is used will need to have the script run on them to be effected.
-Currently non-dwarven civilized creatures are still effected when "animals" is picked. Working on a more robust solution to this so that only non-learners are processed.
-There is currently no "help" arg to print out the usage. Probably make that part of the next release.
Raw Data: JSON / Text
Checksum / Hash
SHA-256: 8c3368797b73e0c48559654ff4cbd1cb92888fa34856c18488c88633f9008f30
IP: logged
More From This Author
No comments have been posted for this file yet.

Website © 2022 FenriSoft. The core site script is PHCDownload (© 2005-2022).
Hosted by Linode.