Pages:<< prev 1 next >>
Fledgling

GroupMembers
Posts3
JoinedMar 13, 2023
Hey guys, I dont remember where the snippet is found.
Its the idstrings for items, it works with the extradesc system.
Anyways I got everything installed right and got it saving on the Key'd Areas. But I have no idea how to get it to load it.
This used to go into the load_objs before Key'd areas.
Its the idstrings for items, it works with the extradesc system.
Anyways I got everything installed right and got it saving on the Key'd Areas. But I have no idea how to get it to load it.
This used to go into the load_objs before Key'd areas.
else if( letter == 'E' )
{
EXTRA_DESCR_DATA *ed;
char *ed_key = fread_string( fp );
id_string *ids;
if( !str_cmp( ed_key, "idstring" ) )
{
STRFREE( ed_key );
CREATE( ids, id_string, 1 );
ids->txt = fread_string( fp );
LINK( ids, pObjIndex->first_id_string, pObjIndex->last_id_string, next, prev );
}
else
{
CREATE( ed, EXTRA_DESCR_DATA, 1 );
ed->keyword = ed_key;
ed->description = fread_string( fp );
LINK( ed, pObjIndex->first_extradesc, pObjIndex->last_extradesc,
next, prev );
top_ed++;
}
}
Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
Glad you got it figured out
Pages:<< prev 1 next >>