Closed MaksyKun closed 5 months ago
Adds support for multiple Slots on the "InventoryLocation"-parameter as the following:
Use the parameter as always without impact: test-item.InventoryLocation: 3 # Item is set on slot 3
test-item.InventoryLocation: 3 # Item is set on slot 3
Use the parameter in a list of integers: test-item.InventoryLocation: [2,3,5,6] # Item is set on slots 2,3,5 & 6
test-item.InventoryLocation: [2,3,5,6] # Item is set on slots 2,3,5 & 6
Use the parameter as a stream of integers: test-item.InventoryLocation: "2:6" # Fills the slots 2-6 with this item
test-item.InventoryLocation: "2:6" # Fills the slots 2-6 with this item
As one of my examples:
Adds support for multiple Slots on the "InventoryLocation"-parameter as the following:
Use the parameter as always without impact:
test-item.InventoryLocation: 3 # Item is set on slot 3
Use the parameter in a list of integers:
test-item.InventoryLocation: [2,3,5,6] # Item is set on slots 2,3,5 & 6
Use the parameter as a stream of integers:
test-item.InventoryLocation: "2:6" # Fills the slots 2-6 with this item