justi2023567 / CodeFactory

Factory game where you can manually program robots using real code
0 stars 4 forks source link

Ore placement randomization system #31

Closed Brand24376 closed 1 year ago

Brand24376 commented 1 year ago

Make the ore randomize to a different set location when a new one is made. System will be used to make the mining areas. Will require a change on how the ore is made. Should be changed to automatically spawn in its set location after some time has passed but it shouldn't be able to spawn in the same location as another ore. Requires Issue #2 for completion. Edit: Ores will now be spawned in a set area determined by the x and z coordinates. Pathfinding for the bots have to be changed with new ores spawning.

Brand24376 commented 1 year ago

Ores randomly spawn in the sky and fall down to the floor. Walkbot and flybot's pathfinding messes up sometimes because of this and I don't know why.

Brand24376 commented 1 year ago

This didn't cause issue #59 and I was mistaken. That means this issue can be closed.