Tech_Rob
New Member
- Joined
- Oct 10, 2007
- Messages
- 100
- Reaction score
- 1
I need two pretty simple scripts. One is basically made already, just having a slight error.
This script is suppose to work like a windmill on Wheat. I can make the flour, but it does not remove the wheat. The other issue I had with a previous version I made, was it would delete a stack of 100 wheat and give 1 flour. I need it to either give 1 flour and remove 1 wheat, or give 100 flour and remove 100 wheat.
Next script I seem to be missing is a working way to fetch water from a well. I need a script so that I can start getting bread made on my project. Thanks in advance, any help is much appreciated.
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(itemEx.itemid == 2694) then
doPlayerAddItem(cid, 2692, 1)
doRemoveItem(itemEx.itemid)
return true
end
end
This script is suppose to work like a windmill on Wheat. I can make the flour, but it does not remove the wheat. The other issue I had with a previous version I made, was it would delete a stack of 100 wheat and give 1 flour. I need it to either give 1 flour and remove 1 wheat, or give 100 flour and remove 100 wheat.
Next script I seem to be missing is a working way to fetch water from a well. I need a script so that I can start getting bread made on my project. Thanks in advance, any help is much appreciated.