if (planet.ore_stored < planet.ore_capacity) {
                            planet.ore_stored += planet.ore_hour * ratio;

                            if (planet.ore_stored > planet.ore_capacity) {
                                planet.ore_stored = planet.ore_capacity;