Raczej niewykonalne w dzienniku - ale możesz zrobić przedmiot np. "Księga informacyjna"
INSTANCE Księga_Informacyjna(C_Item)
{
name = "Księga informacyjna";
mainflag = ITEM_KAT_DOCS;
flags = ITEM_MISSION;
value = 10;
visual = "ItWr_Book_02_03.3ds";
material = MAT_LEATHER;
scemeName = "MAP";
description = "Księga zawiera różne informacjei";
TEXT[5] = NAME_Value;
COUNT[5] = value;
on_state[0] = Use_Ksiega;
};
FUNC VOID Use_Ksiega()
{
var int nDocID;
nDocID = Doc_Create () ; // DocManager
Doc_SetPages ( nDocID, 2); //wieviel Pages
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" ); // -1 -> all pages
Doc_SetMargins ( nDocID, 0, 275, 20, 30, 20, 1 ); // 0 -> margins are in pixels
Doc_PrintLine ( nDocID, 0, "Księga informacyjna:" );
Doc_PrintLine ( nDocID, 0, "Reputacja w Starym Obozie" );
Doc_PrintLine ( nDocID, 0, repno );
Doc_PrintLine ( nDocID, 0, Reputacja w Nowym Obozie );
Doc_PrintLine ( nDocID, 0, repno );
};