- Added missing header to mapcache.c

- Fixed a documentation typo for 'makeitem'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10184 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-04-08 12:28:03 +00:00
parent 75da66f876
commit f6cc6e26d3
2 changed files with 8 additions and 5 deletions

View File

@ -71,6 +71,8 @@
//= Removed all .gat refferences from the examples [Lupus] //= Removed all .gat refferences from the examples [Lupus]
//= 3.04.20070330 //= 3.04.20070330
//= Adjusted the 'itemskill' description due to recent change [ultramage] //= Adjusted the 'itemskill' description due to recent change [ultramage]
//= 3.04.20070409
//= Fixed the incorrect order of parameters in 'makeitem' [ultramage]
//===== Compatible With =================================== //===== Compatible With ===================================
//= LOL, can be used by anyone hopefully //= LOL, can be used by anyone hopefully
//===== Description ======================================= //===== Description =======================================
@ -3715,18 +3717,18 @@ Example:
} }
--------------------------------------- ---------------------------------------
!!!!!!!!!!!!!!!
*makeitem <item id>,<amount>,<X>,<Y>,"<map name>"; *makeitem <item id>,<amount>,"<map name>",<X>,<Y>;
*makeitem "<item name>",<amount>,<X>,<Y>,"<map name>"; *makeitem "<item name>",<amount>,"<map name>",<X>,<Y>;
This command will create an item lying around on a specified map in the This command will create an item lying around on a specified map in the
specified location. specified location.
itemid - Found in 'db/item_db.txt' itemid - Found in 'db/item_db.txt'
amount - Amount you want produced amount - Amount you want produced
map name - The map name
X - The X coordinate X - The X coordinate
Y - The Y coordinate Y - The Y coordinate.
map name - The map name.
This item will still disappear just like any other dropped item. Like 'getitem', This item will still disappear just like any other dropped item. Like 'getitem',
it also accepts an 'english name' field from the database and creates apples if it also accepts an 'english name' field from the database and creates apples if

View File

@ -9,6 +9,7 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "../common/cbasetypes.h"
#include "grfio.h" #include "grfio.h"
#define MAP_NAME_LENGTH 12 #define MAP_NAME_LENGTH 12