r/lua • • Aug 14 '26

Help Help with my simulation

https://drive.google.com/drive/folders/1O3x6_2Vb7Q37Ic65WBjaxEX_vMx_1n4O?usp=drive_link

Hello, 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.

1 Upvotes

9 comments sorted by

View all comments

Show parent comment

5

u/magicalpoptart Aug 14 '26

they ARE trying to help you. nobody is going to do all the work FOR you.

0

u/Salt-Discount-1381 Aug 14 '26

I literally just asked how to connect two scripts. Telling me to go to search to another founts, even if the person who said it meant helping, it is not, because that does not solve my unique question.

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.

0

u/Salt-Discount-1381 Aug 14 '26

Well, that is a real advice.

Anyways, is really that hard for a begginer to do this? I just started doing this because trying something makes it faster to learn.

3

u/memes_gbc Aug 15 '26

sometimes it makes it worse if you don't understand the fundamentals first