Pets
Dog
verb
Speak(msg as text)
usr << msg
LoudDog
verb
Speak(msg as text)
usr << msg
..(msg)
Cats
Problem description:
As you see from above, I'm trying to create subclass within a superclass where LoudDog is a Dog and Dog is a Pet. The problem here is when I run it, it says I have a duplicated definition. I'm pretty sure you're allowed to override and/or overload them.
mob
P
verb/history()
world << "P"
O
verb/history()
world << "O"
..() // call P.history()
Problem description:
The code above this one also has the same problem when running it, and I got this from the Help in the Dream Maker.
Can someone explain to me what the problem is here?
This is what you do when you override any other procedure, like Login(), Move(), etc. You don't type /mob/proc/Login().