Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ITEM.CanCombine = function( itemData1, itemData2 ) -- itemData1 is the itemData from the 1st entity and itemData2 is from the 2nd entity
- if( itemData1[1] == itemData2[1] ) then
- return true -- return true to say that they can be combined
- end
- return false -- return false to prevent combining of the items
- end
Advertisement
Add Comment
Please, Sign In to add comment