This commit is contained in:
Nordi98 2025-08-04 04:28:47 +02:00
parent 875c8448e1
commit c81ae4bb6d
219 changed files with 8036 additions and 7 deletions

View file

@ -0,0 +1,29 @@
local overrideFunction = {}
overrideFunction.methods = {
addItem = {
originalMethod = 'addInventoryItem',
},
removeItem = {
originalMethod = 'removeInventoryItem',
},
getItem = {
originalMethod = 'getInventoryItem',
},
setMetaData = { -- not exist :()
},
canCarryItem = {
originalMethod = 'canCarryItem',
},
items = {
originalMethod = 'getInventory',
modifier = {
effect = function(originalFun)
return originalFun.items
end
}
},
}
return overrideFunction