3 #include <common/command/_mod.qh>
7 // 24 so it matches the limit for the .items field
9 #define Items_from(i) _Items_from(i, NULL)
11 REGISTRY_DEPENDS(Items, Models)
13 REGISTER_REGISTRY(Items)
14 #define REGISTER_ITEM(id, class) REGISTER(Items, ITEM, id, m_id, NEW(class))
18 STATIC_INIT(Items) { FOREACH(Items, true, it.m_id = i); }
22 GENERIC_COMMAND(dumpitems, "Dump all items to the console") {
24 case CMD_REQUEST_COMMAND: {
29 case CMD_REQUEST_USAGE: {
30 LOG_INFOF("Usage:^3 %s dumpitems", GetProgramCommandPrefix());
37 string Item_Model(string item_mdl);