Glidarn
Member
So i'm on the last part of this chartan mission when you are suppose to collect items to fix the teleport...
but the thing is when you are going to use the sacred coal on the water nothing happends
i changed the script because the ids that were in the script wasnt the correct one for my datapack, anyway this is my script:
and this is the "unchanged" version of it:
none of these are working, but i thought since i don't know what
(what UID it suppose to be) i thought i could change that to
but that didnt work either 
but the thing is when you are going to use the sacred coal on the water nothing happends
i changed the script because the ids that were in the script wasnt the correct one for my datapack, anyway this is my script:
LUA:
elseif(item.itemid == 12251 and itemEx.itemid == 493) then -- coal usage - water clean, teleport done
doCreatureSay(cid, "As you give the coal into the pool the corrupted fluid begins to dissolve, leaving purified, refreshing water.", TALKTYPE_ORANGE_1)
doPlayerRemoveItem(cid, 12251, 1)
setPlayerStorageValue(cid, STORAGE_TELEPORT, 1)
end
and this is the "unchanged" version of it:
LUA:
elseif(item.itemid == 12290 and itemEx.itemid == 12304) then -- coal usage - water clean, teleport done
doCreatureSay(cid, "As you give the coal into the pool the corrupted fluid begins to dissolve, leaving purified, refreshing water.", TALKTYPE_ORANGE_1)
doRemoveItem(item.uid)
setPlayerStorageValue(cid, STORAGE_TELEPORT, 1)
end
none of these are working, but i thought since i don't know what
LUA:
doRemoveItem(item.uid)
LUA:
doPlayerRemoveItem(cid, 12251, 1)
Last edited: