Overview
Patterns control how your character moves through fields while gathering pollen. Natro Macro includes 13 built-in patterns optimized for different field shapes and gathering strategies.Built-in Patterns
Natro Macro includes these default patterns:Auryn
Complex pattern with multiple movements, good for large fields
CornerXSnake
Efficient corner-to-corner snake pattern (default for most fields)
Diamonds
Diamond-shaped movement pattern
e_lol
Custom community pattern
Fork
Forked path movement
Lines
Simple line-based gathering
Slimline
Compact line pattern for narrow fields
Snake
Classic snake/zigzag pattern
Squares
Square spiral pattern
Stationary
Stay in one spot (for small fields like Clover)
SuperCat
Advanced pattern with complex movements
XSnake
X-shaped snake pattern
Pattern Variables
Patterns can use these variables to customize behavior:Pattern size multiplier. Larger values = wider movements.Common values:
- XS = 0.5
- S = 0.75
- M = 1
- L = 1.5
- XL = 2
Number of times to repeat the pattern.
Whether the character is facing a corner at pattern start.
Field-Specific Variables
These are automatically set by the macro based on your field configuration:FieldName- Current field nameFieldPattern- Pattern being usedFieldPatternSize- Pattern size (XS/S/M/L/XL)FieldPatternReps- Number of repetitionsFieldPatternShift- Pattern shift amountFieldPatternInvertFB- Invert forward/backwardFieldPatternInvertLR- Invert left/rightFieldReturnType- How to return to hiveFieldSprinklerLoc- Sprinkler locationFieldSprinklerDist- Distance from sprinklerFieldRotateDirection- Camera rotation directionFieldRotateTimes- Number of rotationsFieldDriftCheck- Enable drift correctionFieldUntilPack- Gather until backpack %FieldUntilMins- Gather for X minutes
Pattern Syntax
Patterns are written in AutoHotkey v2 and use movement functions:Movement Keys
Patterns use these key variables (mapped to WASD by default):TCFBKey/FwdKey- Forward (W)TCLRKey/LeftKey- Left (A)AFCFBKey/BackKey- Backward (S)AFCLRKey/RightKey- Right (D)RotLeft- Rotate camera left (,)RotRight- Rotate camera right (.)RotUp- Rotate camera up (PgUp)RotDown- Rotate camera down (PgDn)
Helper Functions
Available functions in patterns:Walk forward for specified number of tiles at current angle.
Walk in specified direction(s).Example:
nm_Walk(10, FwdKey, RightKey) walks diagonallySleep for duration in milliseconds.
Rotate camera. Direction: “Left”/“Right”, Turns: number of rotations
Creating Custom Patterns
- Create a new
.ahkfile in thepatterns/folder - Name it descriptively (e.g.,
MyCustomPattern.ahk) - Write your pattern using the syntax above
- Reload the macro to import the pattern
Importing Patterns
When you add a new pattern file:- The macro detects the new file on reload
- A security warning appears (unless it’s a verified default pattern)
- You must confirm you trust the pattern source
- The pattern is validated for syntax errors
- If valid, it’s imported and available for use
Pattern Import Process
Fromnatro_macro.ahk:172-304:
Pattern Security
The macro implements several security measures:- Hash verification: Default patterns are verified against known good hashes
- Syntax validation: Patterns are checked for errors before import
- User confirmation: New patterns require explicit user approval
- Deprecation detection: Old pattern syntax is rejected
settings/imported/patternHashes.ahk.
Using Patterns in Fields
Configure patterns for each field in the Gather tab:- Select field from Field 1/2/3 dropdown
- Choose pattern from Pattern dropdown
- Set pattern size (XS/S/M/L/XL)
- Set repetitions
- Enable shift, invert FB, or invert LR if needed
Pattern Tips
Field Shape Matching
- Square fields: Squares, Snake, CornerXSnake
- Rectangular fields: Lines, Slimline
- Circular fields: Stationary, Custom circular patterns
- Large fields: Auryn, XSnake, SuperCat
Optimization
- Start with default patterns for each field
- Adjust size based on field coverage
- Increase reps for longer gathering time
- Use Stationary for very small fields (Clover, Stump, Cactus)
Troubleshooting
Pattern not appearing in dropdown- Check file is in
patterns/folder - Ensure file has
.ahkextension - Reload the macro
- Check for syntax errors in validation
- Verify movement speed is set correctly
- Check key bindings match in-game controls
- Ensure camera is at correct angle at pattern start
- Adjust pattern size
- Check AutoHotkey v2 syntax
- Ensure all functions are defined
- Remove deprecated
patterns[]syntax - Check for typos in variable names