APPs Config
Config.App = {
name = "boosting",
label = "Boosting", -- You can rename the app by editing this field
isEnabled = function(serial)
return true
end
}Config.App = {
name = "boosting",
label = "Boosting",
isEnabled = function(serial)
return exports['av_laptop']:hasItem('water')
end
}Config.App = {
name = "boosting",
label = "Boosting",
isEnabled = function(serial)
return exports['av_laptop']:hasItem({"water", "sandwich"})
end
}Laptop Container
exports['av_laptop']:hasDevice(itemName,laptopSerial)
Config.App = { name = "boosting", label = "Boosting", isEnabled = function(serial) local hasDevice = exports['av_laptop']:hasDevice("black_usb", serial) print("hasDevice?", hasDevice) -- should print true/false in F8 return hasDevice end }
Last updated