demo
var v = 3
proc/operator+(demo/o)
return v + o.v
mob/verb/TEST1()
var demo
a = new
b = new
world << (a + b)
mob
proc/operator+(mob/m)
return name + m.name
mob/verb/TEST2()
var mob
a = new
b = new
world << (a + b)
Results:
TEST1 returns 6 as intended.
TEST2 results in a runtime
runtime error: type mismatch: the mob (/mob) + the mob (/mob).
When does the problem NOT occur?
When using datums.