DarkCastleMUD / DarkCastle

Dark Castle is a text-based MUD (multi-user dungeon) that was originally based on DIKU MUD around 1995. It has been running since then.
https://www.dcastle.org/
GNU Lesser General Public License v2.1
12 stars 11 forks source link

changes not propagating to non-CUSTOM items #164

Open jhhudso opened 3 years ago

jhhudso commented 3 years ago

When a short/long description change is made it should affect items after a player logs out and back in but this is not happening. Same with weight.

jhhudso commented 3 years ago

weight turned out not to be an issue. long desc, short desc, action desc, name (keywords) and more flags are all issues because in put_obj_in_store() it checks if those values differ than VNUM's version of those value. Instead I will set during load or string/restring and check during save if CUSTOM_NAME or CUSTOM_SHORT_DESC is set and only save NAME/SHORT/LONG/etc custom values under those circumstances.

I may also want to give oedit/medit command an option to affect all copies in game instead of just VNUM copy.