Skip to content

Phone app (Harvest) ​

With np_phone running, np_farming registers the Harvest app (green seedling tile): check your plots from anywhere, get a push when they need you, watch prices and look up what a crop needs. The app is a separate page (web/dist/phone.html) inside np_phone, registered again whenever np_phone restarts.

Harvest: a push, the Fields tab and the almanac

Harvest: Market, Me and the almanac for wheat

Tab Shows
Fields A map of each plot (ripe, growing, thirsty slots), the to-do list ("Needs you": harvest, water, collect, deliver, rent, animals, hives, threats) with a GPS button, a weather strip for the next 4 hours
Market The best price for what you carry (per unit, best stars, best buyer), your active contracts with their progress, your co-op's week
Almanac Per crop: best and closed seasons, time to ripe, yield, rot window, the harvest tool and whether you have one, rotation, soils, growing notes
Me Farmer level and XP, your numbers (planted, harvested, sold, processed, contracts, earned), the perks and the level that unlocks each
Fields Almanac Market Me
Fields Almanac Market Me

/harvest [fields|market|almanac|me] opens the phone in the app.

Pushes ​

np_farming compares every online farmer's to-dos every 30 seconds and pushes what is new, at most 3 per pass (the rest as one "+N more" line), the same push at most once in 30 minutes. The app's badge is the number of to-dos.

Push When
ripe Plants are ready to harvest
thirsty Plants are thirsty
rot A ripe plant rots within 10 minutes
batchDone A station tray is full
contractDue A contract is late or due within 24 hours
theft Someone harvests your plot (also threats on your plots); with np_phone a Maps pin
levelUp A new farmer level
animal, hive A pen runs low on feed or water / a hive is full or weak
rent A plot's rent runs out within 24 hours
summary One line after the login

Without np_phone, or for a player who has not installed the app, every push is a HUD toast and a GPS waypoint replaces the Maps pin.

Config ​

Config.Phone in shared/config/phone.lua:

Option Default Description
app id = 'harvest', name = 'Harvest', icon = 'fa-solid fa-seedling', tint = 'green', ui = 'web/dist/phone.html', default = false, featured = true The app entry. default = true installs it on every phone (else from the app store); job = 'farmer' restricts it to a job
notify.<kind> all true Switch each push off with false
command 'harvest' The command ('' = none)
rotWarnMinutes 10 Warn this long before a ripe plant rots
forecastHours 4 The weather strip on Fields
pollSeconds / maxPerPoll / repeatMinutes 30 / 3 / 30 How often to-dos are compared, pushes per pass, the dedupe window

All of these except app and command are editable live in np_admin (pollSeconds on restart).