-#define REGISTER_ARMOR(id, ...) \
- REGISTER_ITEM(id, Armor, LAMBDA({ \
- MAP(WITH, __VA_ARGS__) \
- }))
-
-REGISTER_ARMOR(ArmorSmall
- , model = "models/items/item_armor_small.md3"
- , sound = "misc/armor1.wav"
- , respawntime = SPAWNTIME_SHORT
- , respawntimejitter = SPAWNTIME_SHORT
- , name = "5 Armor"
- , itemid = IT_ARMOR_SHARD
- , botvalue = BOT_PICKUP_RATING_LOW
+DEFINE(ArmorSmall
+ ,IF(ALL, CONFIGURE
+ , model = "models/items/item_armor_small.md3"
+ , sound = "misc/armor1.wav"
+ , name = "5 Armor"
+ , itemid = IT_ARMOR_SHARD
+ )
+ ,IF(SV, CONFIGURE
+ , botvalue = BOT_PICKUP_RATING_LOW
+ , respawntime = SPAWNTIME_SHORT
+ , respawntimejitter = SPAWNTIME_SHORT
+ )