instance ie_397(C_Info)
{
npc = IE_397_Announcer;
condition = ie_397_condition;
information = ie_397_info;
important = 0;
permanent = 0;
description = "Выбрать персонажа";
};
func int ie_397_condition()
{
if(Kapitel < 2)
{
return TRUE;
};
};
func void ie_397_info()
{
Info_AddChoice(ie_397,"Псионик",ie_397_psi);
Info_AddChoice(ie_397,"Воин",ie_397_war);
Info_AddChoice(ie_397,"Убийца",ie_397_kil);
Info_AddChoice(ie_397,"Маг",ie_397_mag);
Info_AddChoice(ie_397,"Каторжник",ie_397_vlk);
Info_AddChoice(ie_397,"Оригинальный",ie_397_m);
Info_AddChoice(ie_397,"Повар",ie_397_p);
Info_AddChoice(ie_397,"Кузнец",ie_397_k);
Info_AddChoice(ie_397,"Закончить",ie_397_n);
};
func void ie_397_psi()
{
Mdl_SetVisual(hero,"HUMANS.MDS");
Mdl_SetVisualBody(hero,"hum_body_Naked0",1,1,"Hum_Head_Bald",97,0,DEFAULT);
};
func void ie_397_war()
{
Mdl_SetVisual(hero,"HUMANS.MDS");
Mdl_SetVisualBody(hero,"hum_body_Naked0",4,1,"Hum_Head_Fighter",17,2,DEFAULT);
};
func void ie_397_kil()
{
Mdl_SetVisual(hero,"HUMANS.MDS");
Mdl_SetVisualBody(hero,"hum_body_Naked0",1,0,"Hum_Head_Bald",12,2,DEFAULT);
};
func void ie_397_mag()
{
Mdl_SetVisual(hero,"HUMANS.MDS");
Mdl_SetVisualBody(hero,"hum_body_Naked0",1,1,"Hum_Head_Bald",95,1,-1);
};
func void ie_397_vlk()
{
Mdl_SetVisual(hero,"HUMANS.MDS");
Mdl_SetVisualBody(hero,"hum_body_Naked0",2,1,"Hum_Head_Bald",69,2,DEFAULT);
};
func void ie_397_n()
{
Info_ClearChoices(ie_397);
AI_StopProcessInfos(self);
};
func void ie_397_m()
{
Mdl_SetVisual(hero,"HUMANS.MDS");
Mdl_SetVisualBody(hero,"hum_body_Naked0",4,1,"Hum_Head_Pony",9,0,DEFAULT);
};
func void ie_397_p()
{
Mdl_SetVisual(hero,"HUMANS.MDS");
Mdl_SetVisualBody(hero,"Hum_Body_CookSmith",0,1,"Hum_Head_Fighter",81,1,-1);
};
func void ie_397_k()
{
Mdl_SetVisual(hero,"HUMANS.MDS");
Mdl_SetVisualBody(hero,"hum_Body_CookSmith",1,1,"Hum_Head_Fighter",16,4,-1);
};
instance ie_1(C_Info)
{
npc = IE_397_Announcer;
condition = ie_1_condition;
information = ie_1_info;
important = 0;
permanent = 1;
description = "Выбрать телосложение";
};
func int ie_1_condition()
{
if(Kapitel < 2)
{
return TRUE;
};
};
func void ie_1_info()
{
Info_AddChoice(ie_1,"Тощий",ie_1_t);
Info_AddChoice(ie_1,"Средний",ie_1_s);
Info_AddChoice(ie_1,"Толстый",ie_1_h);
Info_AddChoice(ie_1,"Закончить",ie_1_n);
};
func void ie_1_t()
{
Mdl_SetModelFatness(hero,0);
};
func void ie_1_s()
{
Mdl_SetModelFatness(hero,1);
};
func void ie_1_h()
{
Mdl_SetModelFatness(hero,2);
};
func void ie_1_n()
{
Info_ClearChoices(ie_1);
AI_StopProcessInfos(self);
};