瀏覽代碼

* Follow-up r16971, documentation for map-cleaning commands.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16972 54d463be-8e91-2dee-dedb-b68131a5f0ec
euphyy 12 年之前
父節點
當前提交
f60980596d
共有 3 個文件被更改,包括 11 次插入2 次删除
  1. 1 1
      conf/groups.conf
  2. 2 1
      doc/atcommands.txt
  3. 8 0
      doc/script_commands.txt

+ 1 - 1
conf/groups.conf

@@ -187,8 +187,8 @@ groups: (
 		monstersmall: true
 		monsterbig: true
 		killmonster2: true
+		cleanarea: true
 		cleanmap: true
-        cleanarea: true
 		item: [true, true]
 		zeny: [true, true]
 		disguise: [true, true]

+ 2 - 1
doc/atcommands.txt

@@ -676,9 +676,10 @@ Deletes all inventory items (not equipped items).
 
 ---------------------------------------
 
+@cleanarea
 @cleanmap
 
-Deletes floor items in sight range.
+Deletes floor items in sight range or across the entire map.
 
 ---------------------------------------
 

+ 8 - 0
doc/script_commands.txt

@@ -4315,6 +4315,14 @@ If the map name is given as "this", the map the invoking character is on will be
 
 ---------------------------------------
 
+*cleanfloor "<map name>",<x1>,<y1>,<x2>,<y2>;
+*cleanmap "<map name>";
+
+These commands will clear all items lying on the ground on the specified map, either
+within the x1/y1-x2/y2 rectangle or across the entire map.
+
+---------------------------------------
+
 *searchitem <array name>,"<item name>";
 
 This command will fill the given array with the ID of items whose name matches