ID:191651
 
here is a good idea on how to make your people say different things, i might make a lib out of it!

mob/npc/Farmer
icon = 'NPCS.dmi'
icon_state = "23"
greeting
greeting1 = "You can farm here. Just go into one of my paddocks and plow the ground, then add the seeds to get some corn or other plant."
greeting2 = "Hey, buddy you know you can farm here! Just go into one of my paddocks and plow the ground, then add the seeds to get some corn!"
greeting3 = "What do you want i am busy, you can use my paddocks to farm but i aint gonna tell you much more."
verb/Talk()
set src in oview(1)
if(usr.alignment <= 40)
src.greeting = src.greeting3
else if(usr.alignment >= 60)
src.greeting = src.greeting2
else
src.greeting = src.greeting1
usr << "[greeting]"
Or better yet
mob/npc/Farmer
icon = 'NPCS.dmi'
icon_state = "23"
var{greeting1 = "You can farm here. Just go into one of my paddocks and plow the ground, then add the seeds to get some corn or other plant.";greeting2 = "Hey, buddy you know you can farm here! Just go into one of my paddocks and plow the ground, then add the seeds to get some corn!";greeting3 = "What do you want i am busy, you can use my paddocks to farm but i aint gonna tell you much more."}
verb/Talk()
set src in oview(1)
if(usr.alignment <= 40)usr<<"[greeting3]"
else if(usr.alignment >= 60)usr<<"[greeting2]"
else usr<<"[src.greeting1]"


This actually works more efficent.

Alatar
Wow i never knew i could do that!
In response to Mrhat99au
maybe I should make a demo on it. Nah, to lazy.

Alatar
In response to Alatar
Alatar wrote:
maybe I should make a demo on it. Nah, to lazy.

Alatar

I am already, i just decided to.