+#ifdef SVQC
+PROPERTY(float, g_pickup_armormedium_anyway);
+PROPERTY(int, g_pickup_armormedium);
+PROPERTY(int, g_pickup_armormedium_max);
+void item_armormedium_init(Pickup this, entity item)
+{
+ if(!item.max_armorvalue)
+ item.max_armorvalue = g_pickup_armormedium_max;
+ if(!GetResourceAmount(item, RES_ARMOR))
+ SetResourceAmount(item, RES_ARMOR, g_pickup_armormedium);
+}
+#endif