2022-07-10 00:01:46 -06:00
|
|
|
petcapRemover
|
|
|
|
=============
|
sync tags spreadsheet to git
spreadsheet - https://docs.google.com/spreadsheets/d/1hiDlo8M_bB_1jE-5HRs2RrrA_VZ4cRu9VXaTctX_nwk/edit#gid=170388995
sync command - for fname in *rst; do name=$(echo $fname | sed 's/[.]rst//'); tagline=$(egrep ",$name," ~/Downloads/DFHack\ taxonomy\ -\ Tool\ tags.csv | ~/Downloads/csvtotags.sh); sed -ri "s;[*]*Tags:.*;$tagline;" $fname; done
contents of csvtotags.sh -
fgrep . | sed -r 's/^[^,]+,([^,]+),[^.]+[.]"?,/\1,/' | awk -F, '
function tag(idx, tagname) {
if ($idx == "TRUE") {
if (hastag == 1) {printf(", ")}
printf("`tag/%s`", tagname)
hastag = 1
}
}
{
printf("%s", "**Tags:** ")
hastag = 0
tag(2, "adventure")
tag(3, "fort")
tag(4, "legends")
tag(5, "embark")
tag(6, "system")
tag(7, "dev")
tag(8, "auto")
tag(9, "productivity")
tag(10, "inspection")
tag(11, "design")
tag(12, "quickfort")
tag(13, "interface")
tag(14, "fps")
tag(15, "fix")
tag(16, "mod")
tag(17, "armok")
tag(18, "animals")
tag(19, "buildings")
tag(20, "items")
tag(21, "jobs")
tag(22, "map")
tag(23, "labors")
tag(24, "units")
tag(25, "stockpiles")
tag(26, "trees")
printf("\n")
}
'
2022-08-05 18:55:33 -06:00
|
|
|
**Tags:** `tag/fort`, `tag/armok`, `tag/animals`
|
2022-07-28 17:46:10 -06:00
|
|
|
:dfhack-keybind:`petcapRemover`
|
|
|
|
|
|
|
|
Modify the pet population cap. In vanilla DF, pets will not reproduce unless the
|
|
|
|
population is below 50 and the number of children of that species is below a
|
|
|
|
certain percentage. This plugin allows removing these restrictions and setting
|
|
|
|
your own thresholds. Pets still require PET or PET_EXOTIC tags in order to
|
|
|
|
reproduce. In order to make population more stable and avoid sudden population
|
|
|
|
booms as you go below the raised population cap, this plugin counts pregnancies
|
|
|
|
toward the new population cap. It can still go over, but only in the case of
|
|
|
|
multiple births.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
2022-07-28 17:46:10 -06:00
|
|
|
``enable petcapRemover``
|
|
|
|
Enables the plugin and starts running with default settings.
|
|
|
|
``petcapRemover cap <value>``
|
|
|
|
Set the new population cap per species to the specified value. If set to 0,
|
|
|
|
then there is no cap (good luck with all those animals!). The default cap
|
|
|
|
is 100.
|
|
|
|
``petcapRemover``
|
|
|
|
Impregnate female pets that have access to a compatible male, up to the
|
|
|
|
population cap.
|
|
|
|
``petcapRemover every <ticks>``
|
|
|
|
Set how often the plugin will cause pregnancies. The default frequency is
|
|
|
|
every 10,000 ticks (a little over 8 game days).
|
|
|
|
``petcapRemover pregtime <ticks>``
|
|
|
|
Sets the pregnancy duration to the specified number of ticks. The default
|
|
|
|
value is 200,000 ticks, which is the natural pet pregnancy duration.
|