cryptixman / tzmud

Automatically exported from code.google.com/p/tzmud
GNU General Public License v3.0
1 stars 0 forks source link

add "destroy" command #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

I don't see a command for destroying items.

I'd would be a great addition ( for more realism ) that players are able to  
destroy certain kinds of objects. 

Dropping is not always convenient, since it allows other players to pick 
the object up.

Original issue reported on code.google.com by hello.ja...@gmail.com on 12 Jan 2009 at 10:22

GoogleCodeExporter commented 9 years ago

In some MUDs the command for that is called "sacrifice", although I don't like 
it.

I believe items should be made destroyable by default, which is more in 
agreement 
with real life.

Original comment by hello.ja...@gmail.com on 12 Jan 2009 at 10:25

GoogleCodeExporter commented 9 years ago
There is a wizard command @destroy

You think regular users should be able to destroy items?

Original comment by miss...@hotmail.com on 14 Jan 2009 at 12:21

GoogleCodeExporter commented 9 years ago
Exactly.

It's very useful.

Just as in real life, if I own something and I don't want to carry it/used it
anymore, you have the option to destroy it so that it is no more.

This is only one example but I can think of several uses of destroy for RPG.

This is also good for garbage collecting, as unwanted objects will not pile up 
all
around.

Some objects, of course, can always be made undestroyable at an author's 
discretion.

Original comment by hello.ja...@gmail.com on 14 Jan 2009 at 2:17

GoogleCodeExporter commented 9 years ago

So the way I personally would do it is that Item is destroyable=True and if 
authors
want their special item to be destroyable=False they'd extend the base class 
UndestroyableItem (or PermaItem for short)  instead.

Btw, you can use @zap for the wizard's destroy command, for contrast.
I think it's what they called in Dark Realms LPMUD.

Original comment by hello.ja...@gmail.com on 14 Jan 2009 at 2:39