gastamper / groundzero2

A fork of the GroundZero2 codebase with bug fixes, standardization, and sanity-related changes.
8 stars 7 forks source link

destroy and purge overlap #23

Open gastamper opened 7 years ago

gastamper commented 7 years ago

The 'destroy' command destroys everything in the room (except ITEM_TEAM_ENTRANCE). The 'purge' command serves the same purpose (with no arguments), but can also purge specific people (not in room(?)).

There is at least some basic error checking on purge. Propose the following: destroy becomes targeted for destroying single items/mobs. purge becomes room-wide, only affects objects/mobiles unless player is targeted. Add error checking to destroy to provide an error message if player is targeted.