butsam
Level: Master Delver
Rank Points: 114
Registered: 05-20-2003
IP: Logged
|
Editing holds if not the creator (0)
I know this has been brought up with King Dugan's hold, but I wish to address the issue with holds in general. If you give anyone who passes the hold permission to edit the hold, or anyone at all permission to edit the hold, it should create a separate copy of the hold for them to edit so they can keep the original. Otherwise, how do you go back and play the original? I know this has been addressed with King Dugan's hold, but here is my proposal:
When someone decides to edit a hold:
1) Check to see if they created the hold, or are the editor for the hold.
If Yes: Allow edit. (no further steps necessary)
If No: Go on to step 2.
2) Check to see if they are qualified to edit the hold.
If Yes: Go on to step 3.
If No: Post error message and do not allow them to edit the hold.
3) Check to see if a hold by the name of $PLAYER's $HOLDNAME exists (where $PLAYER is the name of the player and $HOLDNAME is the name of the hold).
If Yes: Present a warning that all data from that hold will be overwritten, and go to step 4.
If No: Go to step 5.
4) Ask if the player wants to overwrite that hold.
If Yes: Delete the hold by the name of $PLAYER's $HOLDNAME. Go to step 5.
If No: Present a message that the hold could not be edited, and terminate.
5) Copy the hold to a new file named $PLAYER's $HOLDNAME (where $PLAYER is the name of the player and $HOLDNAME is the name of the hold). (Notice I don't say RENAME, I say COPY.) Go on to step 6.
6) Make that hold $PLAYER's $HOLDNAME have the editor $PLAYER instead of whoever the original editor was. Keep the creator the same, so the original creator is still credited. Have the editor open up this new hold.
Note whenever a new hold is created, both the creator and editor would both be initialized as the current player.
This would be a MUCH better way to do it, and solves the problem for ANY hold being overwritten upon edit.
Sam
[Edited by butsam on 07-08-2003 at 01:17 AM]
|