transforms.lua

main 14 lines · 276 bytes Raw
Alex Alex Commit Server upload 18/10/2026 23:38
1local transformItems = {
2 [3743] = 4404, [4404] = 3743
3}
4
5function onUse(player, item, fromPosition, target, toPosition, isHotkey)
6 local transformIds = transformItems[item:getId()]
7 if not transformIds then
8 return false
9 end
10
11 item:transform(transformIds)
12 return true
13end
14
Top