Sistema De Food 7.9 Para 7.6 :)

Triston
em Actions e Talkactions

Triston

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 14/04/06Posts: 9

Bom eu não sou muio de explicar ta ai sistema de food 7.9 para 7.6

em data/action/scripts/food.lua (se não ter crie) e apague tudo e cole isto:

--Food System 7.6 by Triston Fails OT--

MAX_FOOD = 1200

 

function onUse(cid, item, frompos, item2, topos)

 

 

if item.itemid == 2328 then

doPlayerSay(cid,"Crunch.",16)

food = 96

elseif item.itemid == 2362 then

doPlayerSay(cid,"Crunch.",16)

food = 96

elseif item.itemid == 2666 then

doPlayerSay(cid,"Munch.",16)

food = 180

elseif item.itemid == 2667 then

doPlayerSay(cid,"Munch.",16)

food = 144

elseif item.itemid == 2668 then

doPlayerSay(cid,"Munch.",16)

food = 120

elseif item.itemid == 2669 then

doPlayerSay(cid,"Munch!",16)

food = 254

elseif item.itemid == 2670 then

doPlayerSay(cid,"Chump.",16)

food = 196

elseif item.itemid == 2671 then

doPlayerSay(cid,"Chomp.",16)

food = 360

elseif item.itemid == 2672 then

doPlayerSay(cid,"Chomp...",16)

food = 720

elseif item.itemid == 2673 then

doPlayerSay(cid,"Chomp.",16)

food = 56

elseif item.itemid == 2674 then

doPlayerSay(cid,"Crunch.",16)

food = 72

elseif item.itemid == 2675 then

doPlayerSay(cid,"Chump.",16)

food = 156

elseif item.itemid == 2676 then

doPlayerSay(cid,"Munch.",16)

food = 96

elseif item.itemid == 2677 then

doPlayerSay(cid,"Ploc.",16)

food = 12

elseif item.itemid == 2678 then

doPlayerSay(cid,"Hmm.",16)

food = 160

elseif item.itemid == 2679 then

doPlayerSay(cid,"Yum.",16)

food = 12

elseif item.itemid == 2680 then

doPlayerSay(cid,"Hmm.",16)

food = 24

elseif item.itemid == 2681 then

doPlayerSay(cid,"Yum.",16)

food = 108

elseif item.itemid == 2682 then

doPlayerSay(cid,"Chump.",16)

food = 240

elseif item.itemid == 2683 then

doPlayerSay(cid,"Chump.",16)

food = 240 --MODIFIC

elseif item.itemid == 2684 then

doPlayerSay(cid,"Crunch.",16)

food = 96

elseif item.itemid == 2685 then

doPlayerSay(cid,"Chump.",16)

food = 46

elseif item.itemid == 2686 then

doPlayerSay(cid,"Croc.",16)

food = 108

elseif item.itemid == 2687 then

doPlayerSay(cid,"Crunch.",16)

food = 24

elseif item.itemid == 2688 then

doPlayerSay(cid,"Hmm.",16)

food = 126  --MODIFIC

elseif item.itemid == 2689 then

doPlayerSay(cid,"Crunch.",16)

food = 120

elseif item.itemid == 2690 then

doPlayerSay(cid,"Munch.",16)

food = 72

elseif item.itemid == 2691 then

doPlayerSay(cid,"Munch.",16)

food = 96

-------------------------------

elseif item.itemid == 2695 then

doPlayerSay(cid,"Crunch.",16)

food = 96

elseif item.itemid == 2696 then

doPlayerSay(cid,"Smack.",16)

food = 108

elseif item.itemid == 2787 then

doPlayerSay(cid,"Hmm.",16)

food = 72  --102

elseif item.itemid == 2788 then

doPlayerSay(cid,"Hmm.",16)

food = 48

elseif item.itemid == 2789 then

doPlayerSay(cid,"Yum.",16)

food = 264

elseif item.itemid == 2790 then

doPlayerSay(cid,"Hmm.",16)

food = 84

elseif item.itemid == 2791 then

doPlayerSay(cid,"Hmm.",16)

food = 84

elseif item.itemid == 2792 then

doPlayerSay(cid,"Hmm.",16)

food = 140

elseif item.itemid == 2793 then

doPlayerSay(cid,"Hmm.",16)

food = 126

elseif item.itemid == 2794 then

doPlayerSay(cid,"Hmm.",16)

food = 111

elseif item.itemid == 2795 then

doPlayerSay(cid,"Hmm.",16)

food = 136

elseif item.itemid == 2796 then

doPlayerSay(cid,"Yum.",16)

food = 60

 

else

return 0

end

 

if (getPlayerFood(cid) + food > MAX_FOOD) then

doPlayerSendCancel(cid,"You are full.")

return 1

end

 

doPlayerFeed(cid,food)

doRemoveItem(item.uid,1)

return 1

end

 

Ó não é 100% é ums 95% por que algumas falas eu improvisei porque não sabia e quando vc tenta comer com "Full" vc nao come e fala oque falaria quandu vc ia comer!

se quizer mudar a fala e só muda doPlayerSay(cid,"AQUI",16)

user posted image

Triston Fails 7.6

tristonfailsot.servegame.com

http://tristonfailsot.servegame.com:8090/
Eu sou
Mapper[||||||||||]1000%
Monster Marker Rl Tibia [||||||||||]100%
Spell Maker For Monster RL Tibia [||||||||||]90%
Action Maker[||||||||||]20%

Fagunz

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 28/12/06Posts: 74

Bom Trabalho...

:confused:



user posted image

 

user posted image

 

user posted image

 

[imperator Blaze]

 

"Faça Acontecer que eu Faço Valer a Pena"

tibiaa4e

Ex amante de Tibia
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 18/12/05Posts: 912Gênero: MasculinoChar no Tibia: Kohzete

se vc seguisse

meu script

faria um rl

+ se for seguir coloque os devidos creditos

 

flws :hi:

Aposentado de OTserver e Tibia

Meus melhores tutoriais
Enciclopédia Pasta Data
Tutorial de quest

Triston

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 14/04/06Posts: 9

Não eu mesmo que fiz by min! =P Mas o script dele é pra 7.6 tbm?

user posted image

Triston Fails 7.6

tristonfailsot.servegame.com

http://tristonfailsot.servegame.com:8090/
Eu sou
Mapper[||||||||||]1000%
Monster Marker Rl Tibia [||||||||||]100%
Spell Maker For Monster RL Tibia [||||||||||]90%
Action Maker[||||||||||]20%

Templarr

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 06/09/06Posts: 69

Tutorial maneiro e bem explicado, bom pra iniciantes e continue inovando o forum com coisas novas q vc vai longe ...

 

Abraço,

Templarr.

GOD Zé

avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 03/12/06Posts: 255

Tutorial Longo Mas Rox Mto Bom Irá Ajudar A Mta Gente hehe x]~ Flws...

QUOTE
Aí GaLeRa CoM Um BrAçO Só ( _o/ _o/ _o/ ) AgOrAaa cOm O OuTrO ( \o_ \o_ \o_ ) AgOraaa COm Os DoiS ( \o/ \o/ \o/ ) VaMo Lá!! MãO Na CaBeÇa ( <o> <o> <o> ) PrA CimA (|o| |o| |o|) AGorA NenhUm DoS doiS ( _o_ _o_ _o_ ) IsSo... aGoRa QuErU VeR GeRaL PrUm LaDo ( o/ o/ o/ ) GeRaL PrO OuTrO ( \o \o \o ) BaTeNu PaLmInHa ( /o\ \o/ /o\ ) AgOrA AnImAe!¡!¡!

Universal Storm Ats União :-)

~*~~*~
Use minha fan bar
~*~~*~

soulblaster

avatar
Cavaleiro
Cavaleiro

INFOS

Grupo: CavaleiroRegistrado: 22/10/05Posts: 196

Hiho!

 

eu vejo um erro no seu script... se o cara estiver full, ele ira falar (humm, yun, chomp, etc) do mesmo jeito...

 

cya ^__^

Assinatura feita por Kilerzinhow:
untitled3mg3.jpg
| Wey.Ctba | Wey.Ctba | Rafix | UnderNight | Xedegux |

franline

Das Antiga
avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 09/01/06Posts: 130Char no Tibia: Ascos Jone

legal,vou usa-lo

eu gosto de incrementar actions no meu ot ^^

principalmente oque eu to fazendo..

peguei um originalzinho 7.6 ;D

HunterHero

avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 19/02/07Posts: 254

Boa action.

Nem o tibia real ainda usava essas falas no 7.6!

--

ouP0C.gif

Registo no xTibia 19/02/2007

De volta ao activo Novembro 2011

Entrada no projecto Sindarion 12/11/2011

Saída do projecto Sindarion 04/01/2012