]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/all.qc
927b2ece26c1ed5282d9dda604c765a1aac0c281
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / all.qc
1 #ifndef ITEMS_ALL_C
2 #define ITEMS_ALL_C
3 #include "all.qh"
4
5 #include "all.inc"
6
7 void Dump_Items()
8 {
9     FOREACH(Items, true, LAMBDA(
10         ITEM_HANDLE(Show, it);
11     ));
12 }
13
14 string Item_Model(string item_mdl)
15 {
16     string output = strcat("models/items/", item_mdl);
17 #ifdef SVQC
18     MUTATOR_CALLHOOK(ItemModel, item_mdl, output);
19     output = item_model_output;
20 #endif
21     return output;
22 }
23
24 #endif