Adv Comp Startup Script vs Disk Startup Script
RedAngel121 opened this issue ยท 1 comments
Minecraft Version
1.20.x
Version
1.108.4
Details
I am having issues with the startup scripts and peripherals.
I have an Advanced Computer next to a disk drive, I have a /startup.lua
file on the disk and on the adv computer.
When using the /startup.lua
on the Adv Computer, everything goes along fine, but if I don't use the /startup.lua
from the Adv Computer and I only use the disk/startup.lua
from the disk drive it seems to not recognize that the disk/startup.lua
script exists when starting the computer, and I have to manually load the disk/startup.lua
script to access the peripherals and code I wrote.
Based on my limited understanding of how this works, it seems like the computer checks for startup scripts before it checks for peripherals and does not look for startup scripts after it has found my peripheral disk. Currently, I am using the /startup.lua
to execute the disk/startup.lua
after a sleep(0.1)
is invoked, allowing the Computer to check for peripherals and still use the /startup.lua
Both Scripts Exist and it works fine:
But if i remove the Adv Computer Startup.lua it stops working:
Related: SwitchCraftCC/issues/issues/31 and #1399