summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-27 22:32:03 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-27 22:32:03 +0000
commit09fff394aa3ea58393967f346adb7c2ca4bdc198 (patch)
treefc50dbb9feec9a710baef0b15c3556bc8c98a928
parent19a9eb956b628d9e43e98491a2b2ebdc483b243f (diff)
downloadhercules-09fff394aa3ea58393967f346adb7c2ca4bdc198.tar.gz
hercules-09fff394aa3ea58393967f346adb7c2ca4bdc198.tar.bz2
hercules-09fff394aa3ea58393967f346adb7c2ca4bdc198.tar.xz
hercules-09fff394aa3ea58393967f346adb7c2ca4bdc198.zip
* Follow-up r16971, documentation for map-cleaning commands.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16972 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--conf/groups.conf2
-rw-r--r--doc/atcommands.txt3
-rw-r--r--doc/script_commands.txt8
3 files changed, 11 insertions, 2 deletions
diff --git a/conf/groups.conf b/conf/groups.conf
index 2d689bf93..d988437ad 100644
--- a/conf/groups.conf
+++ b/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]
diff --git a/doc/atcommands.txt b/doc/atcommands.txt
index 28fcc342c..cec5685d3 100644
--- a/doc/atcommands.txt
+++ b/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.
---------------------------------------
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index a116fcf41..bbb988307 100644
--- a/doc/script_commands.txt
+++ b/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