Vasil 71 Report post Posted November 15, 2016 Hello great community! I wanted to know if it's possible to make some gems forgeable with another type of refining gem. Examples: Unique gems,cracked,chipped forges with 1st tier of ref gem Azz gems and gr8 gems forges with 2nd tier of ref Rock gems. forges with 3rd tier of ref IS it possible? if yes, can you people help me to create it? and instead of recreating same scripts all over,storing the gem ids by variables? Thanks! -Vasil pkoDev Quote Share this post Link to post Share on other sites
Eviles 179 Report post Posted November 15, 2016 (edited) Hello. I'll give you just a example, you can organizate as you like to make it more simple and easy for all type of refs : -- can_forge_item_main ( Table ) if (GetItemID(Item_Stone2)) ~= ### and CheckAzzGems(GetItemID(Item_Stone1)) == 1 then SystemNotice(role, GetItemName(GetItemID(Item_Stone1)).." can be forged only with Novice Ref Gem!"); return 0 end -- end of forge / functions.lua function CheckAzzGems(GemID) if GemID == 5845 or GemID == 5846 or GemID == 5847 or GemID == 5848 then return 1 else return 0 end end Edited November 15, 2016 by Satan Quote Share this post Link to post Share on other sites
Vasil 71 Report post Posted November 16, 2016 7 hours ago, Satan said: Hello. I'll give you just a example, you can organizate as you like to make it more simple and easy for all type of refs : -- can_forge_item_main ( Table ) if (GetItemID(Item_Stone2)) ~= ### and CheckAzzGems(GetItemID(Item_Stone1)) == 1 then SystemNotice(role, GetItemName(GetItemID(Item_Stone1)).." can be forged only with Novice Ref Gem!"); return 0 end -- end of forge / functions.lua function CheckAzzGems(GemID) if GemID == 5845 or GemID == 5846 or GemID == 5847 or GemID == 5848 then return 1 else return 0 end end I'll give it a try! Thank you! Quote Share this post Link to post Share on other sites