From 2f45d8c7ea9dad008dec53e1eab270c16732e6e6 Mon Sep 17 00:00:00 2001 From: Euphy Date: Sun, 12 Jan 2014 17:39:43 -0500 Subject: [PATCH] Some minor edits. Follow-up c0e87af: changed file encoding. Signed-off-by: Euphy --- AUTHORS | Bin 5042 -> 2375 bytes doc/item_group.txt | 41 ++++++++++++++++++++------------------- doc/script_commands.txt | 12 ++++++------ npc/test/OnInterInit.txt | 4 ++-- 4 files changed, 29 insertions(+), 28 deletions(-) diff --git a/AUTHORS b/AUTHORS index 963ccc4d6d1c8c5ede83d42bee60eabbd87f94af..4637701c72616d5a76c821ffef6ba38c45a1ce94 100644 GIT binary patch literal 2375 zcmZ8jUvC@75r3agaX^b8K~Y1N9Kd=rMe09Au_SFdDr#YPH{z{sZ}+-;OX(N{u;kco z(>QQYG|5Ygx@b|-JIeJ#0N%{(?7x}W-^}ph`S*iVqJ68i zJyd2C6=Dl5(OXe$^E?<;D)CXuV}ZhyP7OmTNmSaX#I{7nqHU3jDI>cdHJ~$$8E3;N zovo;ZoxegfNZDjjWdp8q5o=w`4hOp=I-l1Q&*~Ic2`neRTa<)vV zAx;T3)HNrH_<)_EM#e6HD#H%C%mq&k&6v<)J#ju1M-3BK*^C<{y-;s3B|Bki6o~Dr za+(@WG2yIIa;UvEBWi^Admq>iHO7KC;@k=|)8j9H`1V^`V%9iX!Kx)TMiLrwS=!)P zEzZ$WtNW{0AKj&)<~U2Omg|eO_X{~fwjB680c&w5*4}rQ`_2 z*u}Z|s}LrWidr2h%d7JX)N&l#UU!vRy;VwrL4&fX?bBQdnBSCnbWXxtHT3NHOK+9usOe>mIQq!@r8+{0> zC@KP|Lx#InoFo%OmT4c4HKCOX5HhqX1%OT?H5$#rw`v`p_-Fw89IZMLvt*Ab#p}@; zyP+~QD{2x9)0${NLdB5O41cK=V=7ARNcO{s7bp!Qq4nlAt(yd2wy%6j8+5=+wiMc^ zec#A|(hUpTM@zybL=T|T!Jq=1DB}@6MVpNHgSt`5HEXjZwcrt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ylxk;?B$N0`z$ylQ(c>y zs%Vw(5wGs8$8&Sf?<>zNox9K=X52^_kZ%gDbT6sId~_f8O{Fj2Vk5rH8kW@w7Su7A zNRF%RA_^0qceQpuu0(xZt(CB*j5Iy-ms5#NpOcdp1aL3RDP({0M*L&5ppb`(!0MpTpUJnN!9mRJ16YANg5%@g&m z&LdYQ*?m`>IaY3i$7Xd!{W)*$;!$6 z3E1~H!%Kh7KiPXQ0`u4Y!vo&){qp^evf_gNT&X`jd3Rvicb+bN4b9p!e*a9rhu@rk U4qSTqYlX90>3i usage: 'getgroupitem(IG_MyItemGroup);' - - Player always get 1x Knife and 1x Dagger + - Player always gets 1x Knife and 1x Dagger - Player has chance to get 1x Stiletto by chance 5/7 from group 1 - Player has chance to get 1x Stiletto_ by chance 2/7 from group 1 - Player has chance to get 1x Stiletto by chance 5/9 from group 2 @@ -95,33 +97,32 @@ Random: Set this to '0' and the item always be obtained ("must" item). - 1x Dagger always be obtained and also has chance to get 1 more by chance 5/7 - 1x Stiletto can be obtained by chance 2/7 - So, player will get 1x Knife, 1x Dagger, and 1x Dagger or 1x Stiletto + result -> player will get 1x Knife, 1x Dagger, and 1x Dagger or 1x Stiletto -> usage: 'getrandgroupitem(IG_MyItemGroup2,1);' (Ignores 'Amount' field) - 1x Knife never be obtained! - 1x Dagger can be obtained by chance 5/7 - 1x Stiletto can be obtained by chance 2/7 - So, player will get only 1x Dagger or 1x Stiletto + result -> player will get only 1x Dagger or 1x Stiletto --------------------------------------- -isAnnounced: If player obtained this item, it will be broadcasted! - "[Player] has won [Item] from 'Box'" +isAnnounced: If player obtained this item, it will be broadcast to the server. + "[Player] has won [Item] from 'Box'" --------------------------------------- -Duration: Makes the item as rental item, will be removed when it is expire in - certain minute. If wanted it as hour, just do x*60. - Better use this for non-stackable item only. +Duration: Makes the item a rental item, which will be expire in the given amount + of minutes. Not intended for use with stackable items. --------------------------------------- -isNamed: Makes the item is marked by the obtainer's name. +isNamed: Inscribes the item with the obtainer's name. --------------------------------------- -isBound: Makes the obtained item as bound item. - See doc/script_commands.txt at 'getitembound' for valid bound types. +isBound: Binds the obtained item. + See 'getitembound' in 'doc/script_commands.txt' for valid bound types. --------------------------------------- diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 7d7c3dbf28..4a93449947 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4495,7 +4495,7 @@ Gives item(s) to the attached player based on item group contents. This is not working like 'getrandgroupitem' which only give 1 item for specified item group. -Can use const data for 'group_id', see db/const.txt at 'Item Group ID' section +For contants, see the "Item Group ID" section in 'db/const.txt'. --------------------------------------- @@ -5172,12 +5172,12 @@ Flags: (Default is 0) &8: Remove when player logs out. Types: - This will be used to decide negative or positive buff for 'debuff_on_logout' + This will be used to decide negative or positive buff for 'debuff_on_logout'. 0: Ignore the buff type and won't be removed if the flag is not &8 (Default) 1: Buff 2: Debuff -Status_icon: See db/const.txt at 'Status Icon'. Default is SI_BLANK or -1 +Status_icon: See "Status Icon" section in 'db/const.txt'. Default is SI_BLANK (-1). Example: // Apple gives you +5 Str bonus for 1 minute when it's consumed. @@ -5898,7 +5898,7 @@ This command will broadcast a message to all or most players, similar to The region the broadcast is heard in (target), source of the broadcast and the color the message will come up as is determined by the flags. -The flag values are coded as constants in db/const.txt to make them easier to use. +The flag values are coded as constants in 'db/const.txt' to make them easier to use. Target flags: - bc_all: Broadcast message is sent server-wide (default). @@ -7287,7 +7287,7 @@ Each of these can be 'on' or 'off'. Together they define a cell's behavior. This command lets you alter these flags for all map cells in the specified (x1,y1)-(x2,y2) rectangle. The 'flag' can be 0 or 1 (0:clear flag, 1:set flag). -The 'type' defines which flag to modify. Possible options see const.txt. +The 'type' defines which flag to modify. Possible options see 'db/const.txt'. Example: @@ -7321,7 +7321,7 @@ remove a nonwalkable row of cells after the barricade mobs. This command will return 1 or 0, depending on whether the specified cell has the 'type' flag set or not. There are various types to check, all mimicking -the server's cell_chk enumeration. The types can be found in db/const.txt. +the server's cell_chk enumeration. The types can be found in 'db/const.txt'. The meaning of the individual types can be confusing, so here's an overview: - cell_chkwall/water/cliff diff --git a/npc/test/OnInterInit.txt b/npc/test/OnInterInit.txt index 775f3e6eb8..b3b3224fa3 100644 --- a/npc/test/OnInterInit.txt +++ b/npc/test/OnInterInit.txt @@ -1,8 +1,8 @@ - script OnInterChk -1,{ - OnInterIfInit: +OnInterIfInit: debugmes "Loaded OnInterIfInit <-------"; end; - OnInterIfInitOnce: +OnInterIfInitOnce: debugmes "Loaded OnInterIfInitOnce <-------"; end; }