instance Lester_Bugfixbook(C_Item)
{
name = "Schicke Lester nach Hause";
mainflag = ITEM_KAT_DOCS;
flags = ITEM_MISSION;
value = 100;
visual = "ItWr_Book_02_05.3ds";
material = MAT_LEATHER;
scemeName = "MAP";
on_state[0] = UseLester_Bugfixbook;
};
func void UseLester_Bugfixbook()
{
var int nDocID;
var C_Npc bugfix_lester;
nDocID = Doc_Create();
Doc_SetPages(nDocID,2);
Doc_SetPage(nDocID,0,"Book_Mage_L.tga",0);
Doc_SetPage(nDocID,1,"Book_Mage_R.tga",0);
Doc_SetFont(nDocID,-1,"font_10_book.tga");
Doc_SetMargins(nDocID,0,275,20,30,20,1);
Doc_PrintLine(nDocID,0,"Zwinge Baal Lukor");
Doc_PrintLine(nDocID,0,"in den Followmode");
Doc_PrintLines(nDocID,0,"");
Doc_PrintLine(nDocID,0,"");
Doc_PrintLines(nDocID,0,"");
Doc_PrintLine(nDocID,0,"");
Doc_SetMargins(nDocID,-1,30,20,275,20,1);
Doc_PrintLine(nDocID,1,"");
Doc_PrintLine(nDocID,1,"");
Doc_PrintLines(nDocID,1,"");
Doc_PrintLine(nDocID,1,"");
Doc_PrintLines(nDocID,1,"");
Doc_Show(nDocID);
bugfix_lester = Hlp_GetNpc(PC_Psionic);
Npc_ExchangeRoutine(bugfix_lester,"start");
Npc_RemoveInvItem(hero,Lester_Bugfixbook);
Wld_RemoveItem(Lester_Bugfixbook);
};