Welcome to the Builder Academy

Question Custom Object Names

More
10 Sep 2023 19:30 - 10 Sep 2023 19:31 #10345 by Sapphire
Custom Object Names was created by Sapphire
Hi everyone,
I'm trying to figure out how to use stock TBAMud code to implement custom objects. I'm able to get the game to where the objects receive their custom name at an enchanter type mob I created. The issue I am having is when a player logs out and returns, the game takes on the object prototype name instead of the one saved to the player's object file. Does anyone know how to get obj->name, obj->short_description to pull from the player's object/save file rather than a prototype of that objects VNUM? The end goal would be to have a player go to an enchanter mob, spend a token, being able to re-string the name of his/her object, and have their own custom named object to wear on their equipment. I have everything on that list working except the ability to log out, log back in, and for that custom name to not be switched back to what it was prior to the customization.

Thanks in advance!
Sapphire
Last edit: 10 Sep 2023 19:31 by Sapphire.

Please Log in or Create an account to join the conversation.

More
11 Sep 2023 20:50 - 11 Sep 2023 20:50 #10346 by thomas
Replied by thomas on topic Custom Object Names
It's as easy as setting the vnum of the object you altered to NOTHING, if I recall correctly.
Last edit: 11 Sep 2023 20:50 by thomas.

Please Log in or Create an account to join the conversation.

Time to create page: 0.243 seconds