Using factorio to make the Hawk-Dove game?

Looking for a mod? Have a review on a mod you'd like to share?
Post Reply
karnage
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Mar 27, 2019 1:55 pm
Contact:

Using factorio to make the Hawk-Dove game?

Post 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.

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2420
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

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

Post by BlueTemplar »

You could make it a more "realistic" version, and make the chest explode in a nuclear blast if both are hawks ? :P
BobDiggity (mod-scenario-pack)

Post Reply

Return to “Questions, reviews and ratings”