Is there a way to tell, in script, if a chest is a single or double size? If I have a script to cycle through items in inventory and left-click on each to store it into a chest, the item slot numbers of inventory vary depending on if storing into a single or double chest.
There is a command named 'CRAFTANDWAIT' i believe, i havn't used it myself but i know it exists, test it out , or scroll back and there is some context of its usage
Thank you for the reply, I had seen that, but I'm puzzled not by how to craft, but why looping isn't working in my second script.
I'll perhaps try to work with the craftandwait later today, but was really hoping someone could explain why the looped script does nothing.
I admit I am stumped. I am just getting started with this mod, so am not certain if I am stumbling around something that isn't working right in this pre-release, or if I am not writing the code correctly.
Looking back a few pages, there were some examples for an auto-crafting type of script. I've been playing with that auto crafting script and can't get any of it to do anything on my setup, so I started over, looked at those examples and below are my results.
If I code hard and explicitly write everything out, line by line, the script will work. If I try to do the same in a nice compact looping format, nothing happens. Well, the key(use) gets sent, but then nothing.
These example assumes player inventory is full of supply needed, player aims at a workbench and presses the keybind to call the script.
The working script, yields 4 stacks of product in my inventory screen:
0
Is there a way to tell, in script, if a chest is a single or double size? If I have a script to cycle through items in inventory and left-click on each to store it into a chest, the item slot numbers of inventory vary depending on if storing into a single or double chest.
0
Thank you for the reply, I had seen that, but I'm puzzled not by how to craft, but why looping isn't working in my second script.
I'll perhaps try to work with the craftandwait later today, but was really hoping someone could explain why the looped script does nothing.
0
Looking back a few pages, there were some examples for an auto-crafting type of script. I've been playing with that auto crafting script and can't get any of it to do anything on my setup, so I started over, looked at those examples and below are my results.
If I code hard and explicitly write everything out, line by line, the script will work. If I try to do the same in a nice compact looping format, nothing happens. Well, the key(use) gets sent, but then nothing.
These example assumes player inventory is full of supply needed, player aims at a workbench and presses the keybind to call the script.
The working script, yields 4 stacks of product in my inventory screen:
While lengthy, this script works as I desire.
The nicer, more compact looping versions does nothing:
Nice and compact, easier to follow, this does nothing but the key(use)..
Am I missing something or ???
0
0
46
voted
no comment (yet)