Jump to content

Dragon Alchemy Trade


Recommended Posts

Hey guys. I "Stole" an idea from Rubinum that trades one Dragon Alchemy Stone with a new one with new bonuses. But the function item.remove() doesn't work. Any help?

	when 20001.take with item.vnum == 124400 and game.get_event_flag("perlen") == 1 begin 
		say(gameforge[get_lang()].dss_trade._010)
		say(gameforge[get_lang()].dss_trade._020)
		say(gameforge[get_lang()].dss_trade._030)
		say("")
		if pc.count_item(124400) >= 1 and pc.money>= 5000000 then                
			item.remove()                
			pc.give_item2(124300, 1)
			pc.change_gold(-5000000)
			say(gameforge[get_lang()].dss_trade._040)
			say(gameforge[get_lang()].dss_trade._050)
			say("")
		else
			say(gameforge[get_lang()].dss_trade._060)
			say(gameforge[get_lang()].dss_trade._070)
		end   
	end


 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.