[DGD] Shadows issue

Dread Quixadhal quixadhal at chartermi.net
Fri Jul 17 13:05:14 CEST 2009


If you keep the player object and the body object distinct in your design,
you should be able to swap body objects at will... you might need to keep
the "original" body around somewhere to restore it if it's a temporary
change.  If your inventory and such is also kept as distinct objects, you
could probably just pass a reference around between bodies, so a sex change
would still show your normal inventory, but a polymorph might hide it (since
wolves don't have pockets or backpacks, for example).

It's also important to know if you're designing a persistent game (via
statedumps), or a reset-based game.  Things that work very easily in a
persistent mudlib are more problematic if you have to save/load/restore
things all the time.



More information about the DGD mailing list