summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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