Mr. Versipellis wrote...
ShadowM wrote...
nw_o2_coninclude that should be a good place to start.
I think I can kind of see what needs doing. Aren't modules set up to use the SoU system by default, though? There's that x0_i0_treasure library attached to the scripts, and I really don't know how to work with this system.
If you follow the functions that are being used to create the items. You will find that all of the books are being created by one function in nw_o2_coninclude, That ShadowM pointed you to. The function is:
void CreateBook(object oTarget)
{
int nBook1 = Random(31) + 1;
string sRes = "NW_IT_BOOK01";
if (nBook1 < 10)
{
sRes = "NW_IT_BOOK00" + IntToString(nBook1);
}
else
{
sRes = "NW_IT_BOOK0" + IntToString(nBook1);
}
//dbSpeak("Create book");
dbCreateItemOnObject(sRes, oTarget);
}
EDIT: If you want a list of the books with there ResRef's, You can find them in the Lexicon
Home >
Resources >
Items > Book
Modifié par Lightfoot8, 04 juillet 2012 - 05:11 .