r/lua • u/Salt-Discount-1381 • Aug 14 '26
Help Help with my simulation
https://drive.google.com/drive/folders/1O3x6_2Vb7Q37Ic65WBjaxEX_vMx_1n4O?usp=drive_linkHello, I'm new to Lua and, after reading some documentation, I am trying to do basic a simulation of work and property. I have a base script for each worker and a base script for each workstation, but I need help to code how the worker decides in what workstation work and how the workstation's capacity to hold workers on a day is changed by that. I wrote some notes on the scripts, I think that they clarify very well where I need help. The link is to a folder with the scripts.
0
Upvotes
View all comments
Show parent comment
2
u/blobules Aug 14 '26
"Solving" is not "understanding". As it was said above, you are new to programming, not just Lua. Take some time to understand the basics of programming, then get back to the workers workstation.