Space Engineers

Space Engineers

Automated Inventory Sorting
Drats666 2015 年 2 月 18 日 上午 2:33
Custom Category
trying to add a new category for a mod i downloaded. mod is life support which adds several food items. some of which my beacon is complaining about.
"Unknown objects: CleanWater Ingot, WaterFood Ingot, 88shell, 88hekc, 250shell"

I add into the script just below the ammo category the following
" AddSorter("Food",
"CleanWater Ingot", "WaterFood Ingot"); " however items are not being pulled into my cargo container named
"Food [Food:P1]"
any help would be appreciated
< >
正在显示第 1 - 2 条,共 2 条留言
Tiger 2015 年 2 月 21 日 下午 12:22 
No special editing of the script is needed. These two work fine together, if a little tricky. You can use in-game code to handle most things.

Refineries will process ice as they would any other ore; just use the [ore] wildcard to let them grab it.

Putting [water] in the name of a container will pull all greywater, drinkable water, and the water food item.

Leave the water processor set to "use conveyor system" to purify all water automatically. It will pull any greywater it can find. If you have the aforementioned container with "[water]" in the name, it will remove the drinkable water in turn.

IIRC... putting [nutrient] on a container or the food processor catches all the bioreactor's output.

Bioreactors and hydroponics can have their input regulated by simply putting [ingot:500] or any number in there. They can only pull water and stone anyway, so the wildcards work great.

[food] might work for pulling the food processor's output... but since it serves only decorative purposes now, it's not very important. You can manually sort it easily enough, or make a container specifically for food and move things into that.

Custom codenames can usually be gleaned from a component or ingot's given in-game name (try "[vegetable]" and see if that grabs stuff). The wildcard trick is pretty flexible in this regard.
最后由 Tiger 编辑于; 2015 年 2 月 21 日 下午 12:27
Drats666 2015 年 2 月 21 日 下午 3:41 
no no i dont think you understood the post, maybe i didn't explain it very well.
I am talking about actually putting a custom category into the script itself that list all the food items from advance life support. i made the category but it doesnt seem to pull the stuff right. so i am not sure if the script can handle custome categories or if i simply did it wrong.. what i put into the script and not container is
"" AddSorter("Food",
"CleanWater Ingot", "WaterFood Ingot");" i later expanded it to include the other items from the mod, however items listed in the food category are not being put into the cargo container with the tag "Food [Food:P1]"
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50