Guest User

Untitled

a guest
Nov 20th, 2020
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. ITEM.CanCombine = function( itemData1, itemData2 ) -- itemData1 is the itemData from the 1st entity and itemData2 is from the 2nd entity
  2.     if( itemData1[1] == itemData2[1] ) then
  3.         return true -- return true to say that they can be combined
  4.     end
  5.  
  6.     return false -- return false to prevent combining of the items
  7. end
Advertisement
Add Comment
Please, Sign In to add comment