preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: Mar 18, 2024, 11:55:45 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: 123 Size: 1.4 KB
Views: 1,142 Type: ZIP
Rating (0 votes): Unrated
Description
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:
Code:
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

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

NOTES:
-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
Commands
More From This Author
Comments
No comments have been posted for this file yet.
HomeSearchRankingsStatisticsAboutContact

Website by Brett Flannigan. The core site script is PHCDownload (© 2005-2024).
Hosted by Linode.