• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How do you make a new changecoin?

brendan2

Sensation black
Joined
Feb 19, 2009
Messages
507
Reaction score
1
like how do you make 100cc turn into w.e you want?
tryed doing it myself but it doesnt seem to be working
 
aha for ots say /n crystal coin 100
MEGAFAIL :(

Anyways, in lib/constant.lua
After:
Code:
ITEM_CRYSTAL_COIN = 2160
add
Code:
ITEM_GOLDNUGGET = idhere

Then go to actions/scripts/other/changegold.lua
and after:
Lua:
elseif item.itemid == ITEM_CRYSTAL_COIN and item.type < ITEMCOUNT_MAX then
		doChangeTypeItem(item.uid, item.type - 1)
		doPlayerAddItem(cid, ITEM_PLATINUM_COIN, ITEMCOUNT_MAX)
		doSendAnimatedText(fromPosition, "$$$", TEXTCOLOR_LIGHTBLUE)
add:
Lua:
elseif item.itemid == ITEM_CRYSTAL_COIN and item.type == ITEMCOUNT_MAX then
		doChangeTypeItem(item.uid, item.type - item.type)
		doPlayerAddItem(cid, ITEM_GOLDNUGGET, 1)
		doSendAnimatedText(fromPosition, "$$$", TEXTCOLOR_YELLOW)
elseif item.itemid == ITEM_GOLDNUGGET then
		doChangeTypeItem(item.uid, item.type - 1)
		doPlayerAddItem(cid, ITEM_CRYSTAL_COIN, ITEMCOUNT_MAX)
		doSendAnimatedText(fromPosition, "$$$", TEXTCOLOR_LIGHTBLUE)
 
Back
Top