Queenie
Unknown
Wow! There's like a lot of words here: (you mean these lines?)
This one is on the bottom part:
Can you point out what to remove exactly? I'm sorry, I really have no clue how to do it. And I don't know if I'm missing any other part(s) that should also be edited.
Code:
case "1": //dice
if (!checkAttribute(pchar, "quest.gambling_with_girl"))
{
pchar.quest.gambling_with_girl = "";
}
if (allowSubQuests && CheckQuestAttribute("gambling_with_girl", "") && makeint(pchar.quest.gambling) >= 40 && makeint(pchar.money) >=100)
{
dialog.snd = "Voice\HADI\HADI002";
dialog.text = DLG_TEXT[3];
link.l1 = DLG_TEXT[4];
link.l1.go = "gambling_with_girl_1";
}
else
{
dialog.snd = "Voice\HADI\HADI003";
dialog.text = DLG_TEXT[5];
link.l1 = DLG_TEXT[6];
link.l1.go = "exit";
if (makeint(pchar.quest.gambling) >= 100 && makeint(npchar.money) >=100)
{
dialog.snd = "Voice\HADI\HADI004";
Dialog.text = DLG_TEXT[7];
link.l1 = DLG_TEXT[8];
link.l1.go = "exit";
}
if (makeint(pchar.quest.gambling) >= 50 && makeint(pchar.quest.gambling) < 100 && makeint(npchar.money) >=100)
{
dialog.snd = "Voice\HADI\HADI005";
Dialog.text = DLG_TEXT[9];
link.l1 = DLG_TEXT[10];
link.l1.go = "gambling";
link.l2 = DLG_TEXT[11];
link.l2.go = "exit";
}
if (makeint(pchar.quest.gambling) < 50 && makeint(npchar.money) >=100)
{
dialog.snd = pcharrepphrase("Voice\HADI\HADI006", "Voice\HADI\HADI007");
dialog.text = pcharrepphrase(DLG_TEXT[12], DLG_TEXT[13] + GetMyName(Pchar) + DLG_TEXT[14]);
if (makeint(pchar.money) >= 100)
{
link.l1 = DLG_TEXT[15];
link.l1.go = "gambling";
}
link.l2 = DLG_TEXT[16];
link.l2.go = "exit";
}
}
break;
}
Diag.TempNode = "First time";
break;
Code:
if (iPCDice > makeint(pchar.iEnemyDice))
{
dialog.snd = "Voice\HADI\HADI026";
Dialog.text = iPCDice + DLG_TEXT[57] + DLG_TEXT[58];
link.l1 = DLG_TEXT[59];
link.l1.go = "gambling_opponent_strike";
link.l2 = DLG_TEXT[60];
link.l2.go = "exit_sit";
PlayStereoSound("INTERFACE\took_item.wav");
AddMoneyToCharacter(pchar, gameBet);
npchar.money = makeint(npchar.money) - gameBet;
pchar.quest.gambling = makeint(pchar.quest.gambling) + 1;
/*//âûçîâ îò ìóæèêà ñ êëåâûìè êîñòÿìè
if (makeint(pchar.quest.gambling) == 60)
{
pchar.quest.exit_from_tavern.win_condition.l1 = "ExitFromLocation";
pchar.quest.exit_from_tavern.win_condition.l1.location = pchar.location;
pchar.quest.exit_from_tavern.win_condition = "exit_from_tavern";
}
//âûçîâ îò ìóæèêà èãðàþùåãî, êàê áîã
if (makeint(pchar.quest.gambling) == 100)
{
pchar.quest.exit_from_tavern.win_condition.l1 = "ExitFromLocation";
pchar.quest.exit_from_tavern.win_condition.l1.location = pchar.location;
pchar.quest.exit_from_tavern.win_condition = "exit_from_tavern";
}*/
}
if (iPCDice == makeint(pchar.iEnemyDice))
{
dialog.snd = "Voice\HADI\HADI027";
Dialog.text = DLG_TEXT[61];
link.l1 = DLG_TEXT[62];
link.l1.go = "gambling_opponent_strike";
link.l2 = DLG_TEXT[63];
link.l2.go = "exit_sit";
}
DeleteAttribute(pchar, "iEnemyDice");
break;