Mehr reproduktion [More reproduction]

Startprobleme? Du kommst nicht mehr weiter?
Antworten
Zdumi
Beiträge: 2
Registriert: Do 27. Dez 2018, 14:55

Mehr reproduktion [More reproduction]

Beitrag von Zdumi »

Hi and Hallo.

Ich werde anfangs sagen, dass mein Deutsch nicht gut ist. Ich werde also Google Translate für diejenigen verwenden, die kein Englisch sprechen:
Ich hoffe, es gibt immer noch aktive Leute in diesem Forum.
Ich habe also ein einfaches Problem, das ich fast zwei Tage damit verbringe, ohne Erfolg zu lösen. Mein Problem ist, dass meine Wiggles nicht wirklich mit ihren Partnern kopulieren wollen. Es geht nicht um die Bevölkerungsgrenze, sondern um wirklich Pech - denke ich. Hier ist meine Frage, ist es möglich, manuell (mit Debug-Konsole oder in Dateien) zu ändern, wie bereit Wiggles ist, die Fortpflanzung zu versuchen? Oh, und ich möchte die Schwangerschaft nicht selbst einstellen (mit partner_info setpregnancy ‹objref› ‹pregnancy›), da ich immer noch die Chance habe, Glück für neue Wiggles zu haben. Vielen Dank für alle Antworten :D


Original English:
I hope there are still active people on this forum.
So, I have a simple issue, that i spend almost 2 days trying to solve, without any luck. My problem is that my Wiggles don't really want to copulate with their partners. It's not the matter of population limit, but rather really bad luck - I think. So here is my question, is it possible to manually (with debug console or in files) change how willing Wiggles are to try procreating? Oh, and i don't want to set pregnancy itself (with partner_info setpregnancy ‹objref› ‹pregnancy›), since I like to still have luck based chance for new Wiggles. Many thanks for any and all answers :D

p.s Mach dir keine Sorgen. Sie können auf Deutsch antworten ;)
Zdumi
Beiträge: 2
Registriert: Do 27. Dez 2018, 14:55

Re: Mehr reproduktion [More reproduction]

Beitrag von Zdumi »

Hi again, posting here if anyone is interested in answer.
I searched through code trying to understand anything, and finally found it. In "Scripts\classes\zwerg\z_spare_reprod.tcl" you can alter the code a bit to increase your luck for getting more Wiggless. Note that my workaround is a very basic one and can break some things.
At 288th line there should be:

Code: Alles auswählen

set rnd [expr {rand()}]
change it to:

Code: Alles auswählen

set rnd [expr {rand()*X}]
where reciprocal of X is how much more your Wigless will want to copulate. So for example:

Code: Alles auswählen

set rnd [expr {rand()*0.5}]

would mean that they will be two times as eager to mate... at least in theory.
Again, this is a very basic solution for unlucky ones, but I hope someone will find this useful.
Antworten