Jump to content
Sign in to follow this  
Vasil

[FORGE QUESTION]Usage of x3 types of refining gems.

Recommended Posts

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

Share this post


Link to post
Share on other sites

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 :P :

 

	-- 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 by Satan

lelouch_signature_by_vahntheknight-d4uafwj.png

Share this post


Link to post
Share on other sites
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 :P :

 


	-- 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!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...