Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onAddItem(moveitem, tileitem, position)
- local config = {
- [1] = 2338, -- left horn
- [2] = 2337, -- right horn
- [3] = 2341, -- helmet adornment
- [4] = 2340, -- helmet piece
- [5] = 2336, -- gem holder
- [6] = 2339, -- damaged helmet
- [7] = 2335 -- helmet ornament
- }
- if getThingfromPos({x=33198, y=32876, z=11, stackpos = 2}).uid, config[1] then
- doTransformItem(config, 2342)
- doSendMagicEffect(position, CONST_ME_EXPLOSIONAREA)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement