diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-04 19:53:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-04 19:53:00 +0300 |
commit | b5ba5b06918d5b6a48aed7929d8107c052c5bf25 (patch) | |
tree | 8f9ec7e15d5bb6733dff5c3cc9fb8dad9622b95e /npc/functions | |
parent | 3e1aae83d7ca2599d44d746569cb7bbf4b0a8c66 (diff) | |
download | serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.gz serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.bz2 serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.xz serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.zip |
Fix code style.
Add missing spaces, remove useless empty lines.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/inventoryplace.txt | 3 | ||||
-rw-r--r-- | npc/functions/sailordialogue.txt | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/npc/functions/inventoryplace.txt b/npc/functions/inventoryplace.txt index 4b3990b7..2a78ccfe 100644 --- a/npc/functions/inventoryplace.txt +++ b/npc/functions/inventoryplace.txt @@ -10,9 +10,8 @@ // @countitem = Count item's number. function script InventoryPlace { - getinventorylist; - set @iteminfo, getiteminfo(@item,2); + set @iteminfo, getiteminfo(@item, 2); set @countitem, countitem(@item); if (checkweight(@item, @count) == 0) goto l_Warn; diff --git a/npc/functions/sailordialogue.txt b/npc/functions/sailordialogue.txt index 33d86ac6..4eb132bb 100644 --- a/npc/functions/sailordialogue.txt +++ b/npc/functions/sailordialogue.txt @@ -7,7 +7,7 @@ function script SailorFood { mesn; - set @q, rand(0,400)/100; + set @q, rand(0, 400) / 100; if (@q == 0) goto l_RandomA; if (@q == 1) goto l_RandomB; if (@q > 1) goto l_RandomC; @@ -49,5 +49,4 @@ l_RandomC: next; return; - }
\ No newline at end of file |