Closed GoogleCodeExporter closed 9 years ago
The @clone is not causing the traceback. See issue 46 for more on that.
As it stands now, @clone Exit will create a broken exit. It is broken because
it has no destination.
What do you recommend as the default destination? The current room? void?
Original comment by miss...@hotmail.com
on 30 Dec 2010 at 4:19
I think that the objects cloneability should be conditional. For instance, you
should be able to make "Exit" be an object that can only be cloned if a
destination is given as parameter (@clone Exit nameofnewexit destination).
Since this takes some time to implement, an easier thing to do is simply to
mark objects as cloneable or not, since with @dig we don't really need to clone
exits anyway.
Original comment by marcos.m...@optimus.pt
on 30 Dec 2010 at 4:48
Right. Since there is @dig, I don't think it is a major problem.
The reason I went back and made Exit a separate cloneable is because now you
can have Exit subclasses that you may want to clone separately and then @dig
through them. For instance, there is the PlayersOnly type of Exit.
So, you might do:
@clone PlayersOnly as west
@dig west to nomobzone
and @dig will use the existing PlayersOnly exit.
When the PlayersOnly is first cloned, though, it is "broken."
I wonder if maybe there should just be a different message when an Exit type
does not have any destination. Instead of saying "Exit is broken...." it might
say, "Exit is unfinished." or "Exit leads nowhere."
Original comment by miss...@hotmail.com
on 30 Dec 2010 at 5:44
Hmm, well, yes, the best thing would be to have a message like that "You try to
go west but you don't seem to be able to find out how to" ;-)
Original comment by marcos.m...@optimus.pt
on 30 Dec 2010 at 5:59
This issue was closed by revision r445.
Original comment by miss...@hotmail.com
on 31 Dec 2010 at 3:58
Original issue reported on code.google.com by
marcos.m...@optimus.pt
on 30 Dec 2010 at 4:15