Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. // Variables
  2.  
  3. planet, _ = GetCelestial("P:5:350:7")
  4. galaxy = 1
  5. from = 350
  6. to = 410
  7. nbProbes = 1
  8. pctCargo = 0
  9. minimumResourcesToAttack = 40000
  10. minimumDefensesToIgnore = 0
  11. minimumMetalStorage = 0
  12. minimumCrystalStorage = 0
  13. minimumDeuteriumTank = 0
  14. minimumPlayerRank = 0
  15. espionageProbeRaids = true
  16. fastAttacking = true
  17. attackFromNearestPlanet = false
  18. attackFromNearestMoon = false
  19. metalRatio = 3
  20. crystalRatio = 2
  21. deuteriumRatio = 1
  22.  
  23. // Script
  24. func farming() {
  25.  
  26. NewFarmingSession(planet.GetID(),
  27. galaxy,
  28. from,
  29. to,
  30. nbProbes,
  31. pctCargo,
  32. minimumResourcesToAttack,
  33. minimumDefensesToIgnore,
  34. minimumMetalStorage,
  35. minimumCrystalStorage,
  36. minimumDeuteriumTank,
  37. minimumPlayerRank,
  38. espionageProbeRaids,
  39. fastAttacking,
  40. attackFromNearestPlanet,
  41. attackFromNearestMoon,
  42. HUNDRED_PERCENT,
  43. metalRatio,
  44. crystalRatio,
  45. deuteriumRatio)
  46.  
  47. Print("Farming executed")
  48.  
  49. }
  50.  
  51. CronExec("@19h55", farming) // Execute farming every day
  52. <-OnQuitCh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement