Обновить Digilines

VinAdmin 2024-09-17 11:20:55 +03:00
parent 4dbd48e30d
commit fb6e7ab918

@ -32,4 +32,50 @@
- sending "single" will make the autocrafter make a single craft, note: there is no limit as - sending "single" will make the autocrafter make a single craft, note: there is no limit as
- to how fast you can send this - to how fast you can send this
- sending a nested table with 3 rows/collumns in the format of what was returned by - sending a nested table with 3 rows/collumns in the format of what was returned by
- "get_recipe" will set the autocrafter's recipe to that - "get_recipe" will set the autocrafter's recipe to that
### Digiline Detecting Pneumatic Tube Segment
- if an item goes through it it will send the itemstack (in a table form)
### Digiline Filter-Injector
- if you send it an itemstring (like "default:dirt 99" ) it will send 99 dirt
- if you send it a table.... well.... ummm....
`{
sloteq = "priority", -- can be "priority", "random", or "rotation"
exmatch = true, -- a boolean, turns off/on exact matching
sloteq_index = 1, -- can only be 1 or nil, setting it to 1 will reset the sloteq
tag = "any tag",
tags = {"a","b"}, -- sets the item tag filter to that, the tags field takes prio
nofire = "not nil", -- if this is any value other than nil or false, it won't fi
-- all of theese are filters:
name = "default:dirt",
group = "group:soil",
count = 99,
wear = 0,
metadata = {},
-- this is also a way to make multiple filters
-- if the fields name/group/count/wear/metadata are present theese will be ignor
[1] = {
name = "default:dirt",
group = "group:soil",
count = 99,
wear = 0,
metadata = {},
},
[2] = ...
}`
example usage:
pushing out 99 dirt:
`{
name = "default:dirt",
count = 99
}`
pushing out 99 of anything:
`{count = 99}`