Page 1 of 1

Using factorio to make the Hawk-Dove game?

Posted: Wed Mar 27, 2019 2:07 pm
by karnage
Hey,
I am looking to make a Hawk-Dove game in factorio. You can look it up online to get more information. I have already created two additional bots ( a Hawk bot and a Dove bot). Now, I want these bots to go to a chest ( with some infinite resource) and return with a some amount of resource depending upon their bot types, for example: if two dove bots go to the chest then they return with 50 iron each, if the two bots are hawks then both get only 25 iron each, however if a hawk and a dove go to the chest, the hawk gets a 100 iron and the dove goes back empty handed.
I know some coding but haven't been able to figure out how to run these scripts on the bots ingame. If someone could point me to a mod that does a similar thing then I might be able to learn from that.
Thanks for any help in advance.

Re: Using factorio to make the Hawk-Dove game?

Posted: Wed Mar 27, 2019 2:28 pm
by BlueTemplar
You could make it a more "realistic" version, and make the chest explode in a nuclear blast if both are hawks ? :P