I6: Multiobjects

I don’t get it. I’ve done it before, copied it, and it doesn’t work.

Constant MAX_FISH = 10;

Class Fishclass(MAX_FISH)
  with name 'fish' 'fishes//p',
  short_name 'fish',
  plural "fishes";

[ MyRoutine obj;
  if(obj==nothing) "You reel in the string - no catch.";
  move obj to player;

causes a nice “Call to non-routine” fatal error when trying to print obj. What have I done wrong again?!?

short_name is a printable string, so it needs to be in double quotes.


So much to learn…