Nie tylko o tibii...
Dzisiaj w necie znalazłem fajny skrypcik oto on :
./data/talkactions/talkactions.xml
<talkaction words="!Masturb" script="Masturb.lua"/>
./data/talkactions/scripts/Masturb.lua
function Masturb(Param) local CID = Param.cid local COUNT = Param.count if (COUNT > 0) then COUNT = COUNT - 1 doSendAnimatedText(getPlayerPosition(CID), "Ohhh!!", math.random(1, 215)) doSendMagicEffect(getPlayerPosition(CID), CONST_ME_POFF) local Params = {} Params.cid = Param.cid Params.count = COUNT addEvent(Masturb, 200, Params) end if (COUNT == 0) then local Sperm = doCreateItem(2025, 22, getPlayerPosition(CID)) doSetItemSpecialDescription(Sperm, "It\'s sperm of ".. getCreatureName(CID) ..".") doDecayItem(Sperm) doSendAnimatedText(getPlayerPosition(CID), "Yeah!", 215) doCreatureSay(CID, "Ale spust...", TALKTYPE_ORANGE_1) end return TRUE end function onSay(cid, words, param) if (getPlayerLevel(cid) >= 200 or getPlayerAccess(cid) >= 3) then if (getPlayerSex(cid) == 1) then local Params = {} Params.cid = cid Params.count = 35 addEvent(Masturb, 200, Params) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Sorry, but you have pussy.") end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are to young for masturb!") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end return TRUE end
Dodatkowo wchodzimy w:
./data/items/items.xml
I pod tym:
<item id="20021" name="fruit juice"/>
Dodajemy:
<item id="20022" name="sperm"/>
Teraz logujemy sie na naszego goda, w celu stestowania i wpisujemy !Masturb.
Miłej zabawy
Offline