First commit

This commit is contained in:
2025-02-26 13:42:34 +01:00
commit f465c9072c
2467 changed files with 426214 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
local distillingMachines = {
[5468] = 5512,
[5469] = 5513
}
function onUse(player, item, fromPosition, target, toPosition)
if not target:isItem() then
return false
end
local machine = distillingMachines[target:getId()]
if machine then
target:transform(machine, 1)
target:decay()
item:remove(1)
return true
end
return false
end