-#ifndef MENUQC
-MODEL(Plasma_ITEM, Item_Model("a_cells.md3"));
-#endif
-
-REGISTER_ITEM(Plasma, Ammo) {
-#ifndef MENUQC
- this.m_model = MDL_Plasma_ITEM;
-#endif
- this.m_name = "plasma";
- this.m_icon = "ammo_plasma";
-#ifdef SVQC
- this.m_botvalue = 2000;
- this.m_itemid = IT_PLASMA;
-#endif
-}
-
-#ifndef MENUQC
-MODEL(Rockets_ITEM, Item_Model("a_rockets.md3"));
-#endif
-
-REGISTER_ITEM(Rockets, Ammo) {
-#ifndef MENUQC
- this.m_model = MDL_Rockets_ITEM;
-#endif
- this.m_name = "rockets";
- this.m_icon = "ammo_rockets";
-#ifdef SVQC
- this.m_botvalue = 3000;
- this.m_itemid = IT_ROCKETS;
-#endif
+METHOD(Shells, m_spawnfunc_hookreplace, GameItem(Shells this, entity e))
+{
+ if (autocvar_sv_q3acompat_machineshotgunswap && !Item_IsLoot(e))
+ {
+ return ITEM_Bullets;
+ }
+ return this;