diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/inventoryplace.txt | 4 | ||||
-rw-r--r-- | npc/functions/sailordialogue.txt | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/npc/functions/inventoryplace.txt b/npc/functions/inventoryplace.txt index b34e773a..c51cbf1f 100644 --- a/npc/functions/inventoryplace.txt +++ b/npc/functions/inventoryplace.txt @@ -14,12 +14,12 @@ function script InventoryPlace { set @iteminfo, getiteminfo(getarg(0), 2); set @countitem, countitem(getarg(0)); - if (checkweight(getarg(0), getarg(1)) == 0) goto l_Warn; + if (checkweight(getarg(0), getarg(1)) == 0) goto L_Warn; if ((@iteminfo < 4) && (@countitem == 0) && (@inventorylist_count < 100)) return; if ((@iteminfo < 4) && (@countitem > 0)) return; if (@inventorylist_count + getarg(1) <= 100) return; -l_Warn: +L_Warn: mes ""; mesn "Narrator"; mes col(l("It looks like you can't carry anything else for now."), 9); diff --git a/npc/functions/sailordialogue.txt b/npc/functions/sailordialogue.txt index 4eb132bb..7ed802e0 100644 --- a/npc/functions/sailordialogue.txt +++ b/npc/functions/sailordialogue.txt @@ -8,18 +8,18 @@ function script SailorFood { mesn; set @q, rand(0, 400) / 100; - if (@q == 0) goto l_RandomA; - if (@q == 1) goto l_RandomB; - if (@q > 1) goto l_RandomC; + if (@q == 0) goto L_RandomA; + if (@q == 1) goto L_RandomB; + if (@q > 1) goto L_RandomC; -l_RandomA: +L_RandomA: mesq l("Hey."); next; mesq l("What did Gugli said about the box? Was it ok?"); next; menu - l("It's ok."), l_Fine, + l("It's ok."), L_Fine, l("He needs more food."), -; mes ""; @@ -28,21 +28,21 @@ l_RandomA: close; -l_Fine: +L_Fine: mes ""; mesn; mesq l("It's alright! Just one more box and it'll be ok."); close; -l_RandomB: +L_RandomB: mesq l("Thanks for the help!"); next; mesq l("These boxes are way too heavy to be brought alone onto the ship."); close; -l_RandomC: +L_RandomC: mesq l("I think that I'm soon done since I'll soon have a box full of @@s!", getitemlink("CrocClaw")); next; mesq l("And you? How's it going on your side?"); |