Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.
Forum rules
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
emo_count = 0
emo_state = EMOTE_SURPRISE
function emote_talk(npc, ch)
if emo_state == EMOTE_SURPRISE then
state = "confused"
elseif emo_state == EMOTE_SAD then
state = "sad"
elseif emo_state == EMOTE_HAPPY then
state = "happy"
end
do_message(npc, ch, string.format("The emotional palm seems %s.", state))
v = do_choice(npc, ch,
"Stupid palm, you are ugly and everyone hates you!",
"You are such a nice palm, let me give you a hug.",
"Are you a cocos nucifera or a syagrus romanzoffiana?")
if (v == 1) then
emo_state = EMOTE_SAD
elseif (v == 2) then
emo_state = EMOTE_HAPPY
elseif (v == 3) then
emo_state = EMOTE_SURPRISE
end
do_npc_close(npc, ch)
end
function emote_update(npc)
emo_count = emo_count + 1
if emo_count > 50 then
emo_count = 0
tmw.effect_create(emo_state, npc)
end
end
former Manasource Programmer
former TMW Pixel artist
NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.