xabbo-scripts/Scripts/PlacePlantPickupSeed.csx
Administrator 7a548130a3 Move all scripts into Scripts/ subfolder
Keeps the repo root clean - only README.md visible on landing page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 09:49:37 +01:00

16 lines
493 B
C#

EnsureInventory();
var seeds = Inventory.Named("Semilla de planta");
var placedSeedsCount = 0;
if (seeds.Count() > 0) {
foreach (var seed in seeds) {
var tile = Rand(Heightmap.Where(t => t.IsFree));
if (tile != null) {
Place(seed, tile.Location);
Delay(35);
placedSeedsCount++;
if (placedSeedsCount >= 53) {
Talk(":pickall");
Delay(100);
placedSeedsCount = 0;
}}}}