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

Actually how does pick work?

furstwin

New Member
Joined
Aug 9, 2007
Messages
486
Reaction score
1
Location
Sweden
Heres the script (TFS one, not my own):
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)

if(itemEx.uid <= 65535 or itemEx.actionid > 0) and (itemEx.itemid == 354 or itemEx.itemid == 355) then
		
doTransformItem(itemEx.uid, 392)
		
doDecayItem(itemEx.uid)
		
doSendMagicEffect(toPosition, CONST_ME_POFF)
		
return TRUE
	
end
	
return FALSE

end

Code:
<action itemid="2553" script="tools/pick.lua"/>

Sincerely,
Furstwin.
 
itemEx is the item used with...

So, If the itemEx has unique id less than 65535 or itemEx has more than 0 in action id and itemsEx is item 354 or 355 then
do tranform itemEx to 392 and do decayItem(itemEx).

Yeah, a bit confusing :p
 
Aha.. I think i got it :p
One pick hole = aid 12354
another: aid 12644
and another one again is: aid 12342 and everyone will work to pick on? :p
 
354 or itemEx.itemid == 355 / these are the groundtiles you need to place on ur map, then simple set action id higher then 100, thats all :p
 
Back
Top