Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set max to 0.
- set lg to -180.
- set lt to -90.
- when true then {
- set checkg to latlng(lt,lg).
- set c to addons:scansat:resourceat(body, checkg, "graviolium").
- if c > max {
- set max to c.
- set maxg to checkg.
- }
- set lg to lg + 1.
- if lg >= 180 and lt >= 90 {
- print "done".
- print "Best is " + max.
- print "Best at " + maxg.
- }
- if lg >= 180 and lt < 90 {
- set lg to -180.
- set lt to lt + 1.
- }
- return lg < 180 and lt < 90.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement