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?
Code
- 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