There appears to be a problem in the snippet Kelsid provided, which likes to add a . on a new line. I am still tracking down the problem, but as written it does the following:
Also here:
A rat.
.
, A rat, and A rat.
.
I suspect that the area editor may pop one of those periods in there automatic from the long name of the mob, but I will keep at it.
Question about IWear however. I have managed to condense the EQ, INV lists to a single paragraph, but I am getting things like this;
You are wearing: <used as a light> a ball of light, <worn on the head> an iron helmet.
I find the item location redundant, as where else would you wear a helmet, heh. I would like very much to make that go away. So what we start with is:
if ( !found )
{
send_to_char( "\n\r", ch );
if ( victim != ch )
act( AT_PLAIN, "$N is wearing:", ch, NULL, victim, TO_CHAR );
else
act( AT_PLAIN, "You are wearing:", ch, NULL, NULL, TO_CHAR );
found = TRUE;
}
if( (!IS_NPC(victim)) && (victim->race>0) && (victim->race<MAX_PC_RACE))
send_to_char(race_table[victim->race]->where_name[iWear], ch);
else
send_to_char( where_name[iWear], ch );
send_to_char( format_obj_to_char( obj, ch, TRUE ), ch );
send_to_char( "\n\r", ch );
}
Will removing all the iWear references fix this? |