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

Help Mining script!

soul destroyer

New Member
Joined
May 25, 2009
Messages
87
Reaction score
0
I just need some info on where I can obtain a Mining script and this is how I'd want it to work...

Example---> okay, well first of all like maybe you would use a pick in the mining area on some rocks and from those rocks you obtain gems, then you upgrade the gems somehow and then use them to upgrade your gear.

If anyone can help me find a script like this that would be awesome! Thanks guys. :D
 
Lua:
local getStorage = getCreatureStorage(cid, itemEx.actionid)
if((itemEx.actionid == 11111) and isInArray({354, 355, 11436}, itemEx.itemid)) then
	if getStorage == -1 then
		local key = doCreateItemEx(2153)
		doItemSetActionId(key, 100)
		doPlayerAddItemEx(cid, key)
		doCreatureSetStorage(cid, itemEx.actionid, 1)
		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found a Gem.")
	else
		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"Nothing to see here.")
	end
	doTransformItem(itemEx.uid, 385)
	doSendMagicEffect(toPosition, CONST_ME_POFF)
	return true
end

part 1 for pick
 
I have the 1st part for the pick. but now I need another part. If anyone is willing to dish one out for me that'd be awesome. (I will not take ANY credit for any script handed to me you get 100% credit!)
 
Back
Top