General
Welcome to LAU. This section covers the basics of the language, the editor, and the core environment. You are not just a normal player controlling a caracter, but a programmer who automates the game.
Getting Started
LAU this code you write will bring life to your greatest assistant The Drone. You will control your drone for plant, crop, sell and other automations.
Every programmer's journey begins with writing code. but before writing something you need learn the system.
Whats is Our Goal?
1. Buy Seeds: Purchase seeds you want to plant from the market.
2. Code: write code for your drone to plant seeds and water them (optional)
3. Plant, Harvest and Sale: earn money by harvesting and selling grown crops, and build better outomations.
About the Editor
The LAU Editor provides syntax highlighting, auto-completion, and error checking directly in the game UI. I dont have that much thing to say about it you will understand while using it.
Scripts
You can access Scripts page with clicking "Scripts" button in the game UI. there is few buttons as you see;
first one is "Create New Script": you can crete script files from this button. you can set script name and color you want. there has 2 different script options Script and ModuleScript. for now you will only use Script you will learn ModuleScript later.
Second one is View Output: you can see your scripts outputs here. its very important for see if your code working or getting error. you can place this to main screen with clicking button if you want. after that you will see output buttom on main screen you can right click to move it where you want.
Now you know how to create scripts but how you will use it? if you see there has a empty place in right of the screen, you can drag scripts there if you place your script here your script will added in your drone and you can run this selected script with clicking "Run" button in main menu.
Now you know how to create and use scripts but the inside of scripts is empty. so lets Start Writing Something!!!
there is Functions in LAU which are ready commands for do things like print something. we can call these functions with their name lemme give you few examples.
Farm
The Farm is where your code physically executes its effects, translating LAU commands into real-world farming actions.
Script Extensions
Extend your scripts using custom libraries and external modules tailored for advanced farming.
Output
Use the output console to debug your scripts, track plant growth cycles, and view error messages.