Variable comparisons in Developer Help
|
|
How can I access the mob variables like so?
mob var eat = "eating" sleep = "sleeping" drink = "drinking"
verb eat() sleep() drink()
proc info_access() var/Option_Datum/option = new/Option_Datum var/info = option.Return_Info()
|
Basically the options datum will return text that directly matches up with the variable, so how can I compare the two, so that I can give the player the information that the variable holds?
|