mob/Login()
if(!loc) Move(locate(/area/Hong_Kong))
return ..()
mob
var/first = 0
area/Hong_Kong
name="Hong Kong"
desc="A sliver of land, controlled by the British, in China."
Entered(O)
if (mob/var/first==0)
O << "You start your merchant business in Hong Kong."
return ..()
else
O << "Welcome to Hong Kong."
verb/goto_Tokyo()
if(loc) Move(locate(/area/Tokyo))
first= mob/var/first + 1
return
/area/Tokyo
name="Tokyo"
verb/goto_Hongkong()
if(loc) Move(locate(/area/Hong_Kong))
return
////////////////////////
area/var/stablity = 100
area/var/armssup = 25//arms in inventories
area/var/armsprod = 15//production of arms
area/var/armsdemnd = 10//demand for arms
Problem description:
loading Taipan.dme
Taipan.dm:13:error:mob:undefined var
Taipan.dm:13:error:var/first:undefined var
Taipan.dm:19:error:Move:undefined proc
Taipan.dm:20:error:first:undefined var
Taipan.dm:20:error:mob:undefined var
Taipan.dm:20:error:var/first:undefined var
Taipan.dm:26:error:Move:undefined proc
Taipan.dmb - 7 errors, 0 warnings (double-click on an error to jump to it)
I absolutely cannot figure out what is wrong.
As for Move being an undefined proc, you must define something to move. In this case you would use src since it is not a mob verb - In other words, use src.Move.