diff options
author | shennetsind <ind@henn.et> | 2013-09-17 08:25:07 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-17 08:25:07 -0300 |
commit | 5ac2ced45782fc15a9da9c0e714d201acfa5d20c (patch) | |
tree | a1098fe3cb3eb74d24bb4bc77442c5af0b15d7f2 /src/map/atcommand.c | |
parent | 1ffca100f401142260a6cbeb5d9052170e401728 (diff) | |
download | hercules-5ac2ced45782fc15a9da9c0e714d201acfa5d20c.tar.gz hercules-5ac2ced45782fc15a9da9c0e714d201acfa5d20c.tar.bz2 hercules-5ac2ced45782fc15a9da9c0e714d201acfa5d20c.tar.xz hercules-5ac2ced45782fc15a9da9c0e714d201acfa5d20c.zip |
HPM: Itemdb.c Interface
Fully Integrated. Closes #110
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index f13ad0a4e..2466c2cca 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1157,7 +1157,7 @@ ACMD(item) item_id = item_data->nameid; get_count = number; //Check if it's stackable. - if (!itemdb_isstackable2(item_data)) + if (!itemdb->isstackable2(item_data)) get_count = 1; for (i = 0; i < number; i += get_count) { @@ -2138,7 +2138,7 @@ ACMD(produce) item_id = item_data->nameid; - if (itemdb_isequip2(item_data)) { + if (itemdb->isequip2(item_data)) { int flag = 0; if (attribute < MIN_ATTRIBUTE || attribute > MAX_ATTRIBUTE) attribute = ATTRIBUTE_NORMAL; @@ -7222,7 +7222,7 @@ ACMD(iteminfo) item_data = item_array[i]; sprintf(atcmd_output, msg_txt(1277), // Item: '%s'/'%s'[%d] (%d) Type: %s | Extra Effect: %s item_data->name,item_data->jname,item_data->slot,item_data->nameid, - itemdb_typename(item_data->type), + itemdb->typename(item_data->type), (item_data->script==NULL)? msg_txt(1278) : msg_txt(1279) // None / With script ); clif->message(fd, atcmd_output); |