Welcome to the Builder Academy

Question Corpse name

More
21 Feb 2018 22:16 #7614 by JTP
Corpse name was created by JTP
When typing exa corpse, it writes:

corpse (here):

How do i gt it to look like:

the corpse of a Cityguard (here) :

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

More
22 Feb 2018 19:49 #7616 by JTP
Replied by JTP on topic Corpse name
Æ

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

More
28 Feb 2018 20:59 - 28 Feb 2018 21:02 #7640 by cunning
Replied by cunning on topic Corpse name
Modify as necessary: I name the corpses of our players and mobiles. In fight.c make_corpse()


if (IS_NPC(ch))
corpse->name = strdup("corpse");
else {
snprintf(buf, sizeof(buf), "corpse %s", GET_NAME(ch));
corpse->name = strdup(buf);
}

snprintf(buf, sizeof(buf), "The corpse of %s is laying here.", GET_NAME(ch));
corpse->description = strdup(buf);

snprintf(buf, sizeof(buf), "the corpse of %s", GET_NAME(ch));
corpse->short_description = strdup(buf);
Last edit: 28 Feb 2018 21:02 by cunning.

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

More
28 Feb 2018 21:42 - 01 Mar 2018 09:39 #7641 by JTP
Replied by JTP on topic Corpse name
That part i Got covered when looking in a room, its when i examine a corpse

Stock just says:
Corpse(here)

When you look inside, i would like it to look like:
the corpse of a cityguard(here)
Last edit: 01 Mar 2018 09:39 by JTP.

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

Time to create page: 0.210 seconds