From b990ab8ea595041c8a9e20a773d27e577285a288 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jan 2015 17:45:12 +0300 Subject: add basic skill omly on first map. Also replace skill id to skill constant. --- npc/000-0-0/sailors.txt | 2 +- npc/000-2-0/julia.txt | 2 -- npc/functions/main.txt | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/npc/000-0-0/sailors.txt b/npc/000-0-0/sailors.txt index 4488b89e..c59c7c35 100644 --- a/npc/000-0-0/sailors.txt +++ b/npc/000-0-0/sailors.txt @@ -63,9 +63,9 @@ OnTalk: next; restorecam; + adddefaultskills; warp "000-2-1.gat", 50, 38; savepoint "000-2-1.gat", 50, 38; - adddefaultskills; closedialog; close; diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt index c13a68c4..644ff288 100644 --- a/npc/000-2-0/julia.txt +++ b/npc/000-2-0/julia.txt @@ -33,8 +33,6 @@ // 25 Reward taken from the box. 000-2-0,27,24,0 script Julia 404,2,10,{ - adddefaultskills; - mesn; mesq lg("Hello dear!"); next; diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 9fbec0d3..030adc77 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -38,6 +38,6 @@ function script col { } function script adddefaultskills { - skill 1, 1, 0; // Add basic skill. + skill NV_BASIC, 1, 0; return; } -- cgit v1.2.3-70-g09d2