Nexela / Nanobots

Early version of ghost building construction bots. Allows researching automated construction earlier (for blueprints etc)
MIT License
29 stars 17 forks source link

Automatic unit launcher only launches 1 bot, where throwing can result in multiple #80

Open Boodals opened 5 years ago

Boodals commented 5 years ago

The automatic unit launcher only ever creates one combat robot, whereas throwing the capsule manually can create multiple. This makes using it much less efficient than manually throwing the capsules. When thrown, the defender capsule will only create 1 defender robot, but the distractor creates 3, and the destroyer 5.

Seems to be determined by the array size of the following value: projectilePrototype.action.action_delivery.target_effects[1].offsets https://github.com/wube/factorio-data/blob/2126b3120855d093913bcddf2c27e6d66b7d7197/base/prototypes/entity/projectiles.lua#L971

Would also be nice if they spawned with the offsets in the value above, at max range, in the direction of the nearest enemy.

Confirmed in version 2.0.7.

Nexela commented 5 years ago

I can't reproduce this. It does stack them all on one so I will look into spawning on the offsets.