diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-29 23:10:29 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-29 23:10:29 +0000 |
commit | c14faa2c92a458259abfa14a71e7c05bbdc08027 (patch) | |
tree | 691259cc2a4f9d1517fcdbd7a8bbb30a0500a374 /src/map/atcommand.c | |
parent | 2c7f11d977221665d99f7b1d4fe494ace4558786 (diff) | |
download | hercules-c14faa2c92a458259abfa14a71e7c05bbdc08027.tar.gz hercules-c14faa2c92a458259abfa14a71e7c05bbdc08027.tar.bz2 hercules-c14faa2c92a458259abfa14a71e7c05bbdc08027.tar.xz hercules-c14faa2c92a458259abfa14a71e7c05bbdc08027.zip |
- Starting preparatives for Auctions System.
- Added the @auction command to open the auctions. Just to start working on it and if someone wants to help.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12270 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index f2947372b..e32f288ce 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8170,6 +8170,17 @@ int atcommand_feelreset(const int fd, struct map_session_data* sd, const char* c } /*========================================== + * AUCTION SYSTEM + *------------------------------------------*/ +int atcommand_auction(const int fd, struct map_session_data *sd, const char *command, const char *message) +{ + nullpo_retr(0,sd); + + clif_Auction_openwindow(sd); + return 0; +} + +/*========================================== * Kill Steal Protection *------------------------------------------*/ int atcommand_ksprotection(const int fd, struct map_session_data *sd, const char *command, const char *message) @@ -8509,6 +8520,7 @@ AtCommandInfo atcommand_info[] = { { "homshuffle", 60, atcommand_homshuffle }, { "showmobs", 10, atcommand_showmobs }, { "feelreset", 10, atcommand_feelreset }, + { "auction", 60, atcommand_auction }, { "mail", 1, atcommand_mail }, { "noks", 0, atcommand_ksprotection }, { "allowks", 6, atcommand_allowks }, |