turf
house/fridge
icon = 'household.dmi'
icon_state = "fridge"
density = 1
verb
Cheese(mob/M in view(6))
set category = "Refridgerator"
set name = "Eat Cheese"
usr << "You eat some cheese. Ahh, behold the power of cheese... It is just so good."
M << "You see [usr] eat some cheese... you suddenly want some too!"
Turkey(mob/M in view(6))
set category = "Refridgerator"
set name = "Eat Turkey"
usr << "You eat some lunch meat turkey."
M << "You see [usr] eat some turkey... you suddenly want some too!"
Peppers(mob/M in view(6))
set category = "Refridgerator"
set name = "Eat a Hot Pepper"
usr << "You eat some hot peppers... HOT!!!!!! WATER WATER!!!!!!!"
M << "You see [usr] eat some hot peppers and go crazy... think you should help him?"
Milk(mob/M in view(6))
set category = "Refridgerator"
set name = "Drink Milk"
usr << "You drink some milk... MOOOOOOOOOO!"
M << "You see [usr] drink some milk... MOOOOOOO!"
Yo_J(mob/M in view(6))
set category = "Refridgerator"
set name = "Drink Yo-J"
usr << "You drink some Yo-J... if you don't know what Yo-J is, too bad."
M << "You see [usr] drink some Yo-J... if you don't know what that is, you don't know what you are missing!"
Root_Beer(mob/M in view(6))
set category = "Refridgerator"
set name = "Drink Root Beer"
usr << "You drink some delicious Root Beer."
M << "You see [usr] drink some Root Beer... watch out for burps..."
Cream_Soda(mob/M in view(6))
set category = "Refridgerator"
set name = "Drink Cream Soda"
usr << "You drink the BEST pop in the world... CREAM SODA!!!!!!!"
M << "You see [usr] drink some Root Beer... watch out for burps..."
Propel(mob/M in view(6))
set category = "Refridgerator"
set name = "Drink Propel"
usr << "You drink some Propel... good tasting water, and healthy too."
M << "You see [usr] drink some Propel... Looks like water... maybe you should try some too..."
ID:148123
![]() Jul 3 2003, 9:39 am
|
|
OK, I did some editing, now the verbs won't work again... trying to get it where only those near see the M line..
turf house/fridge icon = 'household.dmi' icon_state = "fridge" density = 1 verb Cheese(mob/M in oview(usr)) set category = "Refridgerator" set name = "Eat Cheese" set src in oview(1) usr << "You eat some cheese. Ahh, behold the power of cheese... It is just so good." M << "You see [usr] eat some cheese... you suddenly want some too!" Turkey(mob/M in oview(usr)) set category = "Refridgerator" set name = "Eat Turkey" set src in oview(1) usr << "You eat some lunch meat turkey." M << "You see [usr] eat some turkey... you suddenly want some too!" Peppers(mob/M in oview(usr)) set category = "Refridgerator" set name = "Eat a Hot Pepper" set src in oview(1) usr << "You eat some hot peppers... HOT!!!!!! WATER WATER!!!!!!!" M << "You see [usr] eat some hot peppers and go crazy... think you should help him?" Milk(mob/M in oview(usr)) set category = "Refridgerator" set name = "Drink Milk" set src in oview(1) usr << "You drink some milk... MOOOOOOOOOO!" M << "You see [usr] drink some milk... MOOOOOOO!" Yo_J(mob/M in oview(usr)) set category = "Refridgerator" set name = "Drink Yo-J" set src in oview(1) usr << "You drink some Yo-J... if you don't know what Yo-J is, too bad." M << "You see [usr] drink some Yo-J... if you don't know what that is, you don't know what you are missing!" Root_Beer(mob/M in oview(usr)) set category = "Refridgerator" set name = "Drink Root Beer" set src in oview(1) usr << "You drink some delicious Root Beer." M << "You see [usr] drink some Root Beer... watch out for burps..." Cream_Soda(mob/M in oview(usr)) set category = "Refridgerator" set name = "Drink Cream Soda" set src in oview(1) usr << "You drink the BEST pop in the world... CREAM SODA!!!!!!!" M << "You see [usr] drink some Root Beer... watch out for burps..." Propel(mob/M in oview(usr)) set category = "Refridgerator" set name = "Drink Propel" set src in oview(1) usr << "You drink some Propel... good tasting water, and healthy too." M << "You see [usr] drink some Propel... Looks like water... maybe you should try some too..." |
you defined M as the mob using the verb. im fairly sure that if you take out the definition for the mob and you replace M<< with veiwers<< it should give you the expected outcome.:)
|
2. How does it not work?
It could be that you need
as the first line of each verb. This tells DM to let you use the verb if you are next to the object - the refridgerator in this case.