Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Euius

Pages: 1 [2]
16
Utilities and 3rd Party Applications / Re: DFHack 0.40.08-r2
« on: August 16, 2014, 01:22:18 pm »
Spoiler (click to show/hide)

Have been noticing this problem in every pre-release, but as they weren't official I didn't report.  Simple fix, just wrap the statement in a "if v then"

(Of course, you have to completely restart because it's cached in memory)

Second issue: Alt-key keybindings are being applied to non-alt keypresses.  This is immediately noticeable when hitting r to turn on repeat in a workshop will bring up the room list

Third: Running showmood when the dwarf has already started construction hard crashes the game.

17
Did you happen to check the orientation flag of any wild animals or offspring to see if they were being affected too?  Would save me some time testing if you can just take a peek at the flags =P.

The Giant Sparrow's in the post are wild, and they're not breeding.  This is hindered by the single female with an orientation flag of 2

Unlisted was a large group of amphibian men (7 females, 6 males) who were not pregnant, probably for the same reason the dwarves were not yet even though expressing "proper" orientation flags.

18
In case you're curious, this is a dump of the unit.status.current_soul.unk1 flag - which as posted in the dfhack thread is supposed to be the orientation of the unit

This is from a brand new embark on 40.08, in a world generated in 40.08.  The Starter Pack with the addition of a pre-release dfhack, but no other changes.  I used the "Ruin Assault" embark which brings a lot of animals, but the script I wrote as well displays foreign ("monster") units as well.  I unpaused after embark and let the game run - dwarves idle - until Summer.

This was an interesting embark as even though I had previous embarks where an entire species would not get pregnant - presumably due to a "sterile" male - this one had every species get pregnant even the single female cat and pig, but did have several examples of sterile females alongside fertile ones.  5 of 6 dogs and 4 of 6 turkey hens are fertile.

Code: [Select]
                BIRD_TURKEY(177)[Female]        00010000  8
                BIRD_TURKEY(177)[Female]        00000000  0
Pregnant:       BIRD_TURKEY(177)[Female]        00100000  4
Pregnant:       BIRD_TURKEY(177)[Female]        00100000  4
Pregnant:       BIRD_TURKEY(177)[Female]        00100000  4
Pregnant:       BIRD_TURKEY(177)[Female]        00100000  4
                BIRD_TURKEY(177)[Male]          01001000  18
Pregnant:       CAT(158)[Female]                00101000  20
                CAT(158)[Male]                  00001000  16
                DOG(157)[Female]                01000000  2
Pregnant:       DOG(157)[Female]                00100000  4
Pregnant:       DOG(157)[Female]                00100000  4
Pregnant:       DOG(157)[Female]                00110000  12
Pregnant:       DOG(157)[Female]                00100000  4
Pregnant:       DOG(157)[Female]                00110000  12
                DOG(157)[Male]                  00001000  16
                GIANT_SPARROW(38)[Female]       01000000  2
                GIANT_SPARROW(38)[Male]         00010000  8
                GIANT_SPARROW(38)[Male]         00001000  16
                GIANT_SPARROW(38)[Male]         00001000  16
                GIANT_SPARROW(38)[Male]         00001000  16
                GIANT_SPARROW(38)[Male]         00000000  0
                HORSE(161)[Female]              00100000  4
                HORSE(161)[Female]              01000000  2
Pregnant:       PIG(164)[Female]                00100000  4
                PIG(164)[Male]                  00001000  16
                Degel Thukkanustuth[Male]       00001000  16
                Goden Rithuthir[Female]         00100000  4
                Goden Ulabthob[Male]            01001000  18
                Rith Sazirluzat[Female]         00100000  4
                Thikut Ingiztarem[Female]       00100000  4
                Udib Edimalath[Female]          00100000  4
                Zasit Arakingiz[Female]         00100000  4

As a further experiment, I set the turkey hens "orientation" that was zero to 4, and the dogs that 2 to 4 and they both got (nearly instantly) pregnant.

So, the problem cause is confirmed, and fixable with dfhack. 

Quote
I updated the bug report with my findings.  I also added justifcation why the inclusion of gay animals may want to be reconsidered if this is intended behavior.  Basically, while the inclusion of gay animals would be great from a representational standpoint, making an effecient meat industry would tend to incentivise slaughting gay animals in favor of ones that produce offspring, which is pobably not the message that Toady was going for.

Let's also note that homosexual is not sterile, and even if you could argue behavior differences and resistance to normal breeding  (a male animal...maybe..a female, almost certainly not) even then, artificial insemination has been practiced as far back as the 13th century.

Pages: 1 [2]