Ir para conteúdo
  • 0

Problema com Food


mylorc

Pergunta

8 respostass a esta questão

Posts Recomendados

  • 0

Actions ->

 

<actions>
<!-- Tool Squeezings -->
<action fromid="10511" toid="10516" event="script" value="tools/squeezings.lua"/>
<!-- mounting -->
<action itemid="11191" event="script" value="mountsystem.lua"/>
<!-- Castle Mountain -->
<action actionid="4850" event="script" value="castlelever.lua"/>
<action actionid="4851" event="script" value="castlelever.lua"/>
<!-- Minas Mountain -->
<action actionid="4840" event="script" value="minalever.lua"/>
<action actionid="4841" event="script" value="minalever.lua"/>
<!-- Zao -->
<action actionid="4830" event="script" value="zaolever.lua"/>
<action actionid="4831" event="script" value="zaolever.lua"/>
<action actionid="4832" event="script" value="zaolever.lua"/>
<action actionid="4833" event="script" value="zaolever.lua"/>
<action actionid="4330" event="script" value="zaoquest.lua"/>
<action actionid="4331" event="script" value="zaoquest.lua"/>
<action uniqueid="8977" event="script" value="teltime.lua" />
<action uniqueid="30016" event="script" value="quests/DHQ.lua"/>
<action uniqueid="5567" event="script" value="quests/challenge.lua"/>
<action uniqueid="17956" script="quests/blue legs.lua" /> --- Blue legs
<action fromaid="23301" toaid="23304" event="script" value="football.lua"/>
<!-- Inquisition quest -->
<action uniqueid="5610" script="quests/inquisition.lua" />
<action uniqueid="5611" script="quests/inquisition.lua" />
<action uniqueid="5612" script="quests/inquisition.lua" />
<action uniqueid="5613" script="quests/inquisition.lua" />
<action uniqueid="5614" script="quests/inquisition.lua" />
<action uniqueid="5615" script="quests/inquisition.lua" />
<action uniqueid="5616" script="quests/inquisition.lua" />
<action uniqueid="5617" script="quests/inquisition.lua" />
<action uniqueid="5618" script="quests/inquisition.lua" />
<!-- Arena -->
<action actionid="42366" event="script" value="quests/arenadoors.lua"/>
<action actionid="42376" event="script" value="quests/arenadoors.lua"/>
<action actionid="42386" event="script" value="quests/arenadoors.lua"/>
<action actionid="42357" event="script" value="quests/arenadoors.lua"/>
<action fromaid="42361" toaid="42365" event="script" value="quests/arenareward.lua"/>
<action fromaid="42371" toaid="42375" event="script" value="quests/arenareward.lua"/>
<action fromaid="42381" toaid="42385" event="script" value="quests/arenareward.lua"/>
<!--<action actionid="42366" event="script" value="quests/arenadoors.lua"/>
<action actionid="42376" event="script" value="quests/arenadoors.lua"/>
<action actionid="42386" event="script" value="quests/arenadoors.lua"/>
<action actionid="42357" event="script" value="quests/arenadoors.lua"/>
<action actionid="42361" event="script" value="quests/arenareward.lua"/>
<action actionid="42362" event="script" value="quests/arenareward.lua"/>
<action actionid="42363" event="script" value="quests/arenareward.lua"/>
<action actionid="42364" event="script" value="quests/arenareward.lua"/>
<action actionid="42365" event="script" value="quests/arenareward.lua"/>
<action actionid="42371" event="script" value="quests/arenareward.lua"/>
<action actionid="42372" event="script" value="quests/arenareward.lua"/>
<action actionid="42373" event="script" value="quests/arenareward.lua"/>
<action actionid="42374" event="script" value="quests/arenareward.lua"/>
<action actionid="42375" event="script" value="quests/arenareward.lua"/>
<action actionid="42381" event="script" value="quests/arenareward.lua"/>
<action actionid="42382" event="script" value="quests/arenareward.lua"/>
<action actionid="42383" event="script" value="quests/arenareward.lua"/>
<action actionid="42384" event="script" value="quests/arenareward.lua"/>
<action actionid="42385" event="script" value="quests/arenareward.lua"/> -->
<!-- Apocalypse bomb quest -->
<action uniqueid="17756" script="quests/apocaquest.lua" /> --- Spirit cloak
<action uniqueid="17757" script="quests/murderess.lua" /> --- Greenwood coat
<!-- Bomb quest by Aarthec e Alissow -->
<action uniqueid="5997" event="script" value="bomb.lua"/>
<!-- Vocation Chests -->
<action uniqueid="3540" script="vochest.lua"/>
<action actionid="3542" script="yalahari.lua"/>
<action uniqueid="1900" script="desert quest.lua" />
<movevent event="StepIn" actionid="5927" script="leveltile.lua" />
<action uniqueid="15901" script="quests/solaraxequest.lua" /> --- Solar axe
<action uniqueid="15902" script="quests/solaraxequest.lua" /> --- the devileye
<action uniqueid="15903" script="quests/solaraxequest.lua" /> --- infernal bolt
<action uniqueid="15904" script="quests/solaraxequest.lua" /> --- spellscroll
<action uniqueid="14656" script="quests/firewalker.lua" /> --- firewalker boots
<!-- demon oak -->
<action uniqueid="12901" script="quests/DOQChests.lua" /> --- Demon legs
<action uniqueid="12902" script="quests/DOQChests.lua" /> --- Rainbow shield
<action uniqueid="12903" script="quests/DOQChests.lua" /> --- royal crossbow
<action uniqueid="12904" script="quests/DOQChests.lua" /> --- spellbook of dark mysteries
<action uniqueid="55100" script="quests/DOQgravestone.lua" />
<action itemid="8293" script="demonoak.lua"/>
<!-- Arena PvP -->
<action uniqueid="2217" script="arena.lua" />
<!-- New Actions by XvX -->
<action actionid="122" event="script" value="other/fibula_down.lua"/>
<!-- Enchant system -->
<action uniqueid="2133" script="shrinetele.lua" />
<action uniqueid="2135" script="firegem.lua" />
<action uniqueid="2134" script="thundergem.lua" />
<action uniqueid="2137" script="icegem.lua" />
<action uniqueid="2136" script="earthgem.lua" />
<!-- Weapons enchanting (Gems) -->
<action itemid="2146" event="script" value="other/enchanting.lua"/>
<action itemid="2147" event="script" value="other/enchanting.lua"/>
<action itemid="2150" event="script" value="other/enchanting.lua"/>
<action itemid="2149" event="script" value="other/enchanting.lua"/>
<action itemid="7759" event="script" value="other/enchanting.lua"/>
<action itemid="7760" event="script" value="other/enchanting.lua"/>
<action itemid="7761" event="script" value="other/enchanting.lua"/>
<action itemid="7762" event="script" value="other/enchanting.lua"/>
<!-- Alavanca de Potions -->
<action uniqueid="8000" script="healthpotion.lua"/>
<action uniqueid="8001" script="stronghp.lua"/>
<action uniqueid="8002" script="greathp.lua"/>
<action uniqueid="8003" script="manapotion.lua"/>
<action uniqueid="8004" script="strongmp.lua"/>
<action uniqueid="8005" script="greatmp.lua"/>
<action uniqueid="8022" script="ultimatehp.lua"/>
<action uniqueid="8023" script="spiritpot.lua"/>
<!-- Alavanca de Runes -->
<action uniqueid="5001" script="uh.lua"/>
<action uniqueid="5002" script="expl.lua"/>
<action uniqueid="5003" script="sd.lua"/>
<action uniqueid="5004" script="holy.lua"/>
<!-- Quests -->
<action uniqueid="5006" script="annichest.lua" />
<action uniqueid="5007" script="annichest.lua" />
<action uniqueid="5008" script="annichest.lua" />
<action uniqueid="5009" script="annichest.lua" />
<action itemid="1740" script="quests/quest.lua" />
<action itemid="1747" script="quests/quest.lua" />
<action itemid="1748" script="quests/quest.lua" />
<action itemid="1749" script="quests/quest.lua" />
<action itemid="1770" script="quests/quest.lua" />
<!-- Quests -->
<action actionid="2000" event="script" value="quests/system.lua"/>
<action actionid="2001" event="script" value="quests/system.lua"/>
<action uniqueid="30015" event="script" value="quests/annihilator.lua"/>
<!-- Tools -->
<action itemid="2420" event="script" value="tools/machete.lua"/>
<action itemid="2442" event="script" value="tools/machete.lua"/>
<action itemid="2550" event="script" value="tools/scythe.lua"/>
<action itemid="2580" event="script" value="tools/fishing.lua" allowfaruse="1"/>
<action itemid="10223" event="script" value="tools/fishing.lua" allowfaruse="1"/>
<action itemid="2554" event="script" value="tools/shovel.lua"/>
<action itemid="5710" event="script" value="tools/shovel.lua"/>
<action itemid="2120" event="script" value="tools/rope.lua"/>
<action itemid="7731" event="script" value="tools/rope.lua"/>
<action itemid="2553" event="script" value="tools/pick.lua"/>
<action itemid="5908" event="script" value="tools/obsidian_knife.lua"/>
<action itemid="5942" event="script" value="tools/blessed_wooden_stake.lua"/>
<!-- Liquids -->
<action itemid="1775" event="script" value="liquids/containers.lua"/>
<action itemid="2005" event="script" value="liquids/containers.lua"/>
<action itemid="2006" event="script" value="liquids/containers.lua"/>
<action itemid="2007" event="script" value="liquids/containers.lua"/>
<action itemid="2008" event="script" value="liquids/containers.lua"/>
<action itemid="2009" event="script" value="liquids/containers.lua"/>
<action itemid="2011" event="script" value="liquids/containers.lua"/>
<action itemid="2012" event="script" value="liquids/containers.lua"/>
<action itemid="2013" event="script" value="liquids/containers.lua"/>
<action itemid="2014" event="script" value="liquids/containers.lua"/>
<action itemid="2015" event="script" value="liquids/containers.lua"/>
<action itemid="2023" event="script" value="liquids/containers.lua"/>
<action itemid="2031" event="script" value="liquids/containers.lua"/>
<action itemid="2032" event="script" value="liquids/containers.lua"/>
<action itemid="2033" event="script" value="liquids/containers.lua"/>
<action itemid="2034" event="script" value="liquids/containers.lua"/>
<action itemid="2562" event="script" value="liquids/containers.lua"/>
<action itemid="2574" event="script" value="liquids/containers.lua"/>
<action itemid="2575" event="script" value="liquids/containers.lua"/>
<action itemid="2576" event="script" value="liquids/containers.lua"/>
<action itemid="2577" event="script" value="liquids/containers.lua"/>
<action itemid="3941" event="script" value="liquids/containers.lua"/>
<action itemid="3942" event="script" value="liquids/containers.lua"/>
<action itemid="5553" event="script" value="liquids/containers.lua"/>
<action itemid="10150" event="script" value="liquids/containers.lua"/>
<action itemid="6558" event="script" value="liquids/demonic_blood.lua"/>
<action itemid="7588;7591;8472;8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>
<action itemid="7439" event="script" value="liquids/berserk_potion.lua"/>
<action itemid="7440" event="script" value="liquids/mastermind_potion.lua"/>
<action itemid="7443" event="script" value="liquids/bullseye_potion.lua"/>
<action itemid="8474" event="script" value="liquids/antidote_potion.lua"/>
<!-- Food -->
<action fromid="2362" toid="2363" event="script" value="other/food.lua"/>
<action fromid="2666" toid="2691" event="script" value="other/food.lua"/>
<action fromid="2695" toid="2696" event="script" value="other/food.lua"/>
<action fromid="2787" toid="2796" event="script" value="other/food.lua"/>
<action itemid="5097" event="script" value="other/food.lua"/>
<action itemid="6125" event="script" value="other/food.lua"/>
<action itemid="6278" event="script" value="other/food.lua"/>
<action itemid="6279" event="script" value="other/food.lua"/>
<action itemid="6394" event="script" value="other/food.lua"/>
<action itemid="6501" event="script" value="other/food.lua"/>
<action fromid="6541" toid="6545" event="script" value="other/food.lua"/>
<action itemid="6569" event="script" value="other/food.lua"/>
<action itemid="6574" event="script" value="other/food.lua"/>
<action itemid="7158" event="script" value="other/food.lua"/>
<action itemid="7159" event="script" value="other/food.lua"/>
<action fromid="7372" toid="7377" event="script" value="other/food.lua"/>
<action itemid="7909" event="script" value="other/food.lua"/>
<action fromid="8838" toid="8845" event="script" value="other/food.lua"/>
<action itemid="8847" event="script" value="other/food.lua"/>
<!-- Increase/Decrease ItemId -->
<action itemid="461" event="function" value="increaseItemId"/>
<action itemid="462" event="function" value="decreaseItemId"/>
<action itemid="1873" event="function" value="increaseItemId"/>
<action itemid="1874" event="function" value="decreaseItemId"/>
<action itemid="1875" event="function" value="increaseItemId"/>
<action itemid="1876" event="function" value="decreaseItemId"/>
<action itemid="2162" event="function" value="increaseItemId"/>
<action itemid="2163" event="function" value="decreaseItemId"/>
<action itemid="3743" event="function" value="increaseItemId"/>
<action itemid="3744" event="function" value="decreaseItemId"/>
<action itemid="3947" event="function" value="increaseItemId"/>
<action itemid="3948" event="function" value="decreaseItemId"/>
<action itemid="1479" event="function" value="increaseItemId"/>
<action itemid="1480" event="function" value="decreaseItemId"/>
<action itemid="1945" event="function" value="increaseItemId"/>
<action itemid="1946" event="function" value="decreaseItemId"/>
<action itemid="2037" event="function" value="increaseItemId"/>
<action itemid="2038" event="function" value="decreaseItemId"/>
<action itemid="2039" event="function" value="increaseItemId"/>
<action itemid="2040" event="function" value="decreaseItemId"/>
<action itemid="2058" event="function" value="increaseItemId"/>
<action itemid="2059" event="function" value="decreaseItemId"/>
<action itemid="2060" event="function" value="increaseItemId"/>
<action itemid="2061" event="function" value="decreaseItemId"/>
<action itemid="2066" event="function" value="increaseItemId"/>
<action itemid="2067" event="function" value="decreaseItemId"/>
<action itemid="2068" event="function" value="increaseItemId"/>
<action itemid="2069" event="function" value="decreaseItemId"/>
<action itemid="2064" event="function" value="increaseItemId"/>
<action itemid="2065" event="function" value="decreaseItemId"/>
<action itemid="2578" event="function" value="increaseItemId"/>
<action itemid="2096" event="function" value="increaseItemId"/>
<action itemid="2097" event="function" value="decreaseItemId"/>
<action itemid="1786" event="function" value="increaseItemId"/>
<action itemid="1787" event="function" value="decreaseItemId"/>
<action itemid="1788" event="function" value="increaseItemId"/>
<action itemid="1789" event="function" value="decreaseItemId"/>
<action itemid="1790" event="function" value="increaseItemId"/>
<action itemid="1791" event="function" value="decreaseItemId"/>
<action itemid="1792" event="function" value="increaseItemId"/>
<action itemid="1793" event="function" value="decreaseItemId"/>
<action itemid="1634" event="function" value="increaseItemId"/>
<action itemid="1635" event="function" value="decreaseItemId"/>
<action itemid="1636" event="function" value="increaseItemId"/>
<action itemid="1637" event="function" value="decreaseItemId"/>
<action itemid="1638" event="function" value="increaseItemId"/>
<action itemid="1639" event="function" value="decreaseItemId"/>
<action itemid="1640" event="function" value="increaseItemId"/>
<action itemid="1641" event="function" value="decreaseItemId"/>
<action itemid="7058" event="function" value="increaseItemId"/>
<action itemid="7059" event="function" value="decreaseItemId"/>
<action itemid="8684" event="function" value="increaseItemId"/>
<action itemid="8685" event="function" value="decreaseItemId"/>
<action itemid="8686" event="function" value="increaseItemId"/>
<action itemid="8687" event="function" value="decreaseItemId"/>
<action itemid="8688" event="function" value="increaseItemId"/>
<action itemid="8689" event="function" value="decreaseItemId"/>
<action itemid="8690" event="function" value="increaseItemId"/>
<action itemid="8691" event="function" value="decreaseItemId"/>
<action itemid="9575" event="function" value="increaseItemId"/>
<action itemid="9576" event="function" value="decreaseItemId"/>
<action itemid="9577" event="function" value="increaseItemId"/>
<action itemid="9578" event="function" value="decreaseItemId"/>
<action itemid="9579" event="function" value="increaseItemId"/>
<action itemid="9580" event="function" value="decreaseItemId"/>
<action itemid="9581" event="function" value="increaseItemId"/>
<action itemid="9582" event="function" value="decreaseItemId"/>
<action itemid="9624" event="function" value="increaseItemId"/>
<action itemid="9625" event="function" value="decreaseItemId"/>
<action itemid="9747" event="function" value="increaseItemId"/>
<action itemid="9748" event="function" value="decreaseItemId"/>
<action itemid="9749" event="function" value="increaseItemId"/>
<action itemid="9750" event="function" value="decreaseItemId"/>
<action itemid="9825" event="function" value="increaseItemId"/>
<action itemid="9826" event="function" value="decreaseItemId"/>
<action itemid="9827" event="function" value="increaseItemId"/>
<action itemid="9828" event="function" value="decreaseItemId"/>
<action itemid="9973" event="function" value="increaseItemId"/>
<action itemid="9974" event="function" value="decreaseItemId"/>
<action itemid="10044" event="function" value="increaseItemId"/>
<action itemid="10045" event="function" value="decreaseItemId"/>
<!-- Spellbooks -->
<action itemid="2175" event="script" value="other/spellbook.lua"/>
<action itemid="6120" event="script" value="other/spellbook.lua"/>
<action fromid="8900" toid="8904" event="script" value="other/spellbook.lua"/>
<action itemid="8918" event="script" value="other/spellbook.lua"/>
<!-- Change gold -->
<action itemid="2148" event="script" value="other/changegold.lua"/>
<action itemid="2152" event="script" value="other/changegold.lua"/>
<action itemid="2160" event="script" value="other/changegold.lua"/>
<!-- Construction kits -->
<action fromid="3901" toid="3938" event="script" value="other/constructionkits.lua"/>
<action fromid="5086" toid="5088" event="script" value="other/constructionkits.lua"/>
<action fromid="6114" toid="6115" event="script" value="other/constructionkits.lua"/>
<action fromid="6372" toid="6373" event="script" value="other/constructionkits.lua"/>
<action fromid="7960" toid="7962" event="script" value="other/constructionkits.lua"/>
<action fromid="8692" toid="8693" event="script" value="other/constructionkits.lua"/>
<action itemid="7503" event="script" value="other/constructionkits.lua"/>
<action itemid="7700" event="script" value="other/constructionkits.lua"/>
<!-- Bed construction kits -->
<action fromid="7904" toid="7907" event="script" value="other/furniturebeds.lua"/>
<!-- Music, instruments -->
<action fromid="2070" toid="2085" event="script" value="other/music.lua"/>
<action itemid="2095" event="script" value="other/music.lua"/>
<action itemid="2332" event="script" value="other/music.lua"/>
<action itemid="2364" event="script" value="other/music.lua"/>
<action fromid="2367" toid="2374" event="script" value="other/music.lua"/>
<action fromid="3951" toid="3953" event="script" value="other/music.lua"/>
<action itemid="3957" event="script" value="other/music.lua"/>
<action itemid="5786" event="script" value="other/music.lua"/>
<action itemid="6572" event="script" value="other/music.lua"/>
<!-- Teleport (stairs, ladders) -->
<action itemid="430" event="script" value="other/teleport.lua"/>
<action itemid="1369" event="script" value="other/teleport.lua"/>
<action itemid="1386" event="script" value="other/teleport.lua"/>
<action itemid="3678" event="script" value="other/teleport.lua"/>
<action itemid="5543" event="script" value="other/teleport.lua"/>
<action itemid="8580" event="script" value="other/teleport.lua"/>
<action itemid="8599" event="script" value="other/teleport.lua"/>
<action itemid="10035" event="script" value="other/teleport.lua"/>
<!-- Destroy -->
<action id="2321;2376-2388;2390-2398;2400-2404;2406-2409;2411-2417;2419;2421-2441;2443-2454;3961-3964;3966;4846;6101;6528;6553;7379-7392;7402-7437;7449;7451-7456;7744-7758;7763-7777;7854-7883;7958;8601-8602;8924-8932;10293" event="script" value="other/destroy.lua"/>
<!-- Bread Creating -->
<action itemid="2692" event="script" value="other/createbread.lua"/>
<action itemid="2694" event="script" value="other/createbread.lua"/>
<action itemid="6277" event="script" value="other/createbread.lua"/>
<action itemid="8848" event="script" value="other/cookie.lua"/>
<!-- Windows -->
<action fromid="5303" toid="5305" event="script" value="other/windows.lua"/>
<action fromid="6436" toid="6473" event="script" value="other/windows.lua"/>
<action fromid="6788" toid="6791" event="script" value="other/windows.lua"/>
<action fromid="7025" toid="7032" event="script" value="other/windows.lua"/>
<action fromid="10264" toid="10267" event="script" value="other/windows.lua"/>
<action fromid="10488" toid="10491" event="script" value="other/windows.lua"/>
<!-- Doors -->
<action fromid="1209" toid="1214" event="script" value="other/doors.lua"/>
<action fromid="1219" toid="1262" event="script" value="other/doors.lua"/>
<action fromid="1539" toid="1542" event="script" value="other/doors.lua"/>
<action fromid="2086" toid="2092" event="script" value="other/doors.lua"/>
<action fromid="3535" toid="3552" event="script" value="other/doors.lua"/>
<action fromid="4913" toid="4918" event="script" value="other/doors.lua"/>
<action fromid="5082" toid="5085" event="script" value="other/doors.lua"/>
<action fromid="5098" toid="5145" event="script" value="other/doors.lua"/>
<action fromid="5278" toid="5295" event="script" value="other/doors.lua"/>
<action fromid="5515" toid="5518" event="script" value="other/doors.lua"/>
<action fromid="5732" toid="5737" event="script" value="other/doors.lua"/>
<action fromid="5745" toid="5749" event="script" value="other/doors.lua"/>
<action fromid="6192" toid="6209" event="script" value="other/doors.lua"/>
<action fromid="6249" toid="6266" event="script" value="other/doors.lua"/>
<action fromid="6795" toid="6802" event="script" value="other/doors.lua"/>
<action fromid="6891" toid="6908" event="script" value="other/doors.lua"/>
<action fromid="7033" toid="7050" event="script" value="other/doors.lua"/>
<action fromid="7054" toid="7057" event="script" value="other/doors.lua"/>
<action fromid="8541" toid="8558" event="script" value="other/doors.lua"/>
<action fromid="9165" toid="9184" event="script" value="other/doors.lua"/>
<action fromid="9267" toid="9284" event="script" value="other/doors.lua"/>
<action itemid="10032" event="script" value="other/doors.lua"/>
<action itemid="10091" event="script" value="other/doors.lua"/>
<action fromid="10268" toid="10285" event="script" value="other/doors.lua"/>
<action fromid="10468" toid="10486" event="script" value="other/doors.lua"/>
<action fromid="10774" toid="10776" event="script" value="other/doors.lua"/>
<action fromid="10779" toid="10785" event="script" value="other/doors.lua"/>
<action fromid="10788" toid="10791" event="script" value="other/doors.lua"/>
<!-- Watch -->
<action itemid="2036" event="script" value="other/watch.lua"/>
<action fromid="1728" toid="1731" event="script" value="other/watch.lua"/>
<action itemid="1877" event="script" value="other/watch.lua"/>
<action fromid="6091" toid="6092" event="script" value="other/watch.lua"/>
<action itemid="8187" event="script" value="other/watch.lua"/>
<!-- Decay To -->
<action fromid="2041" toid="2042" event="script" value="other/decayto.lua"/>
<action fromid="2044" toid="2045" event="script" value="other/decayto.lua"/>
<action fromid="2047" toid="2048" event="script" value="other/decayto.lua"/>
<action fromid="2050" toid="2055" event="script" value="other/decayto.lua"/>
<action fromid="5812" toid="5813" event="script" value="other/decayto.lua"/>
<action itemid="7183" event="script" value="other/decayto.lua"/>
<action itemid="9006" event="script" value="other/decayto.lua"/>
<action fromid="9976" toid="9979" event="script" value="other/decayto.lua"/>
<!-- Other -->
<action itemid="2114" event="script" value="other/piggybank.lua"/>
<action fromid="6570" toid="6571" event="script" value="other/surprisebag.lua"/>
<action fromid="5792" toid="5797" event="script" value="other/dice.lua"/>
<action itemid="6576" event="script" value="other/fireworksrocket.lua"/>
<action itemid="6578" event="script" value="other/partyhat.lua"/>
<action itemid="2785" event="script" value="other/blueberrybush.lua"/>
<action itemid="2579" event="script" value="other/trap.lua"/>
<action itemid="5791" event="script" value="other/stuffeddragon.lua"/>
<action itemid="6566" event="script" value="other/stuffeddragon.lua"/>
<action itemid="2566" event="script" value="cortapeixe.lua"/>
<action itemid="7441" script="gelo.lua" />
<action itemid="7442" script="gelo.lua" />
<action itemid="7444" script="gelo.lua" />
<action itemid="7445" script="gelo.lua" />
<action itemid="2581" script="telescopio.lua"/>
<action itemid="2582" script="telescopio.lua"/>
<action itemid="2583" script="telescopio.lua"/>
<action itemid="2584" script="telescopio.lua"/>
</actions>
Food -> Não encontrei =(
Link para o comentário
Compartilhar em outros sites

  • 0

food.lua se encontra na pasta data/actions/other, caso não exista crie um arquivo chamado food.lua e cole isso

local FOODS, MAX_FOOD = {
    [2328] = {84, "Gulp."},  [2362] = {48, "Yum."}, [2666] = {180, "Munch."}, [2667] = {144, "Munch."},
    [2668] = {120, "Mmmm."}, [2669] = {204, "Munch."}, [2670] = {48, "Gulp."}, [2671] = {360, "Chomp."},
    [2672] = {720, "Chomp."}, [2673] = {60, "Yum."}, [2674] = {72, "Yum."}, [2675] = {156, "Yum."},
    [2676] = {96, "Yum."}, [2677] = {12, "Yum."}, [2678] = {216, "Slurp."}, [2679] = {12, "Yum."},
    [2680] = {24, "Yum."}, [2681] = {108, "Yum."}, [2682] = {240, "Yum."}, [2683] = {204, "Munch."},
    [2684] = {60, "Crunch."}, [2685] = {72, "Munch."}, [2686] = {108, "Crunch."}, [2687] = {24, "Crunch."},
    [2688] = {24, "Mmmm."}, [2689] = {120, "Crunch."}, [2690] = {72, "Crunch."}, [2691] = {96, "Crunch."},
    [2695] = {72, "Gulp."}, [2696] = {108, "Smack."}, [8112] = {108, "Urgh."}, [2769] = {60, "Crunch."}, [2787] = {108, "Crunch."},
    [2788] = {48, "Munch."}, [2789] = {264, "Munch."}, [2790] = {360, "Crunch."}, [2791] = {108, "Crunch."},
    [2792] = {72, "Crunch."}, [2793] = {144, "Crunch."}, [2794] = {36, "Crunch."}, [2795] = {432, "Crunch."},
    [2796] = {300, "Crunch."}, [5097] = {48, "Yum."}, [5678] = {96, "Gulp."}, [6125] = {96, "Mmmm."},
    [6278] = {120, "Mmmm."}, [6279] = {180, "Mmmm."}, [6393] = {144, "Mmmm."}, [6394] = {180, "Mmmm."},
    [6501] = {240, "Mmmm."}, [6541] = {72, "Gulp."}, [6542] = {72, "Gulp."}, [6543] = {72, "Gulp."},
    [6544] = {72, "Gulp."}, [6545] = {72, "Gulp."}, [6569] = {12, "Mmmm."}, [6574] = {60, "Mmmm."},
    [7158] = {300, "Munch."}, [7159] = {180, "Munch."}, [7372] = {0, "Yummy."}, [7373] = {0, "Yummy."},
    [7374] = {0, "Yummy."},  [7375] = {0, "Yummy."}, [7376] = {0, "Yummy."}, [7377] = {0, "Yummy."},
    [7963] = {720, "Munch."},  [8838] = {120, "Gulp."}, [8839] = {60, "Yum."}, [8840] = {12, "Yum."},
    [8841] = {12, "Urgh."}, [8842] = {84, "Munch."}, [8843] = {60, "Crunch."}, [8844] = {12, "Gulp."},
    [8845] = {60, "Munch."}, [8847] = {132, "Yum."}, [9114] = {60, "Crunch."}, [9005] = {88, "Slurp."}, 
    [7245] = {84, "Munch."}, [9996] = {0, "Slurp."},
    [10454] = {0, "Your head begins to feel better."}
}, 1200
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
    if(item.itemid == 6280) then
        if(fromPosition.x == CONTAINER_POSITION) then
            fromPosition = getThingPosition(cid)
        end
 
        doCreatureSay(cid, getPlayerName(cid) .. " blew out the candle.", TALKTYPE_MONSTER)
        doTransformItem(item.uid, item.itemid - 1)
 
        doSendMagicEffect(fromPosition, CONST_ME_POFF)
        return true
    end
 
    local food = FOODS[item.itemid]
    if(food == nil) then
        return false
    end
 
    local size = food[1]
    if(getPlayerFood(cid) + size > MAX_FOOD) then
        doPlayerSendCancel(cid, "You are full.")
        return true
    end
 
    doPlayerFeed(cid, size)
    doRemoveItem(item.uid, 1)
 
    doCreatureSay(cid, food[2], TALKTYPE_MONSTER)
    return true
end
Editado por GiovaniRodrigo
Link para o comentário
Compartilhar em outros sites

  • 0

Quando entro no Otserv e clico em food fala -> You cannot use this object - Você não pode usar esse objeto.

Por favor me ajude,eu criei a pasta food dentro de actions/other.

Link para o comentário
Compartilhar em outros sites

  • 0

Primeiro que você postou o tópico na seção errada, a correta para enviar dúvidas é no:

Pedidos e Dúvidas - Scripting, mas como você é um membro novo, preste mais atenção, amigo.

Segundo, agradeço ao GiovaniRodrigo por lhe ajudar.

 

Tópico fechado & movido.

Atenciosamente,

Moderação XTibia

Editado por Mophus
Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...