What syntax would I use if I wanted to give the selfobj new grammar?
Is it the superclass operator? Or is it something different, as is likely?
What syntax would I use if I wanted to give the selfobj new grammar?
Is it the superclass operator? Or is it something different, as is likely?
What do you mean by giving an object new grammar?
I mean like a new noun. allowing it to be referred to as Fred. That kind of thing.
You could assign a function to selfobj.parse_name, thus giving it parse_name features in the usual way.
Or you could define a new object entirely and call ChangePlayer(newobj) in your Initialise function. (Do this before you set location to the start room.) This is described in chapter 21 of the manual.