What function stores cases? I am making a create_weapon function, but it fails to keep the case. The function has 3 args. And I've tried different things like this:
I've also used the one_argument on all args. But the case still doesn't save.
(Example, if I created a weapon that should have long desc as "The Ultimate Sword lies here" it comes out as "the ultimate sword lies here".)
Or, how would I have it store cases?
This may help to know, too:
sprintf( buf, "%s", arg1 );
STRFREE( weapon->name );
weapon->name = STRALLOC( buf );
I've also used the one_argument on all args. But the case still doesn't save.
(Example, if I created a weapon that should have long desc as "The Ultimate Sword lies here" it comes out as "the ultimate sword lies here".)
Or, how would I have it store cases?
This may help to know, too:
weapon = create_object(get_obj_index(OBJ_VNUM_CUSTOM_WEAP), 0);