diff options
Diffstat (limited to '19.c')
-rw-r--r-- | 19.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -260,6 +260,7 @@ inventory_build_exhaustive(struct inventory * i, struct blueprint const * b, int // Try building a clay robot, and checking if that's better than anything else if (i->clay.robots < b->max_clay + && remaining > 5 && inventory_build(&test, b, CLAY) == 0) { // fprintf(stderr, "%d: building a clay robot (%ld)\n", remaining, test.clay.amount); @@ -272,6 +273,7 @@ inventory_build_exhaustive(struct inventory * i, struct blueprint const * b, int // Try building a ore robot, and checking if that's better than anything else if (i->ore.robots < b->max_ore + && remaining > 10 && inventory_build(&test, b, ORE) == 0) { // fprintf(stderr, "%d: building a ore robot (%ld)\n", remaining, test.ore.amount); |