4 #include <common/command/all.qh>
8 REGISTRY(Items, BITS(5))
9 #define Items_from(i) _Items_from(i, NULL)
10 REGISTER_REGISTRY(Items)
11 #define REGISTER_ITEM(id, class) REGISTER(Items, ITEM, id, m_id, NEW(class))
15 STATIC_INIT(Items) { FOREACH(Items, true, it.m_id = i); }
19 GENERIC_COMMAND(dumpitems, "Dump all items to the console") {
21 case CMD_REQUEST_COMMAND: {
26 case CMD_REQUEST_USAGE: {
27 LOG_INFOF("\nUsage:^3 %s dumpitems", GetProgramCommandPrefix());
34 string Item_Model(string item_mdl);