Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Variables
- planet, _ = GetCelestial("P:5:350:7")
- galaxy = 1
- from = 350
- to = 410
- nbProbes = 1
- pctCargo = 0
- minimumResourcesToAttack = 40000
- minimumDefensesToIgnore = 0
- minimumMetalStorage = 0
- minimumCrystalStorage = 0
- minimumDeuteriumTank = 0
- minimumPlayerRank = 0
- espionageProbeRaids = true
- fastAttacking = true
- attackFromNearestPlanet = false
- attackFromNearestMoon = false
- metalRatio = 3
- crystalRatio = 2
- deuteriumRatio = 1
- // Script
- func farming() {
- NewFarmingSession(planet.GetID(),
- galaxy,
- from,
- to,
- nbProbes,
- pctCargo,
- minimumResourcesToAttack,
- minimumDefensesToIgnore,
- minimumMetalStorage,
- minimumCrystalStorage,
- minimumDeuteriumTank,
- minimumPlayerRank,
- espionageProbeRaids,
- fastAttacking,
- attackFromNearestPlanet,
- attackFromNearestMoon,
- HUNDRED_PERCENT,
- metalRatio,
- crystalRatio,
- deuteriumRatio)
- Print("Farming executed")
- }
- CronExec("@19h55", farming) // Execute farming every day
- <-OnQuitCh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement