From: Lyberta Date: Thu, 5 Oct 2017 18:04:12 +0000 (+0300) Subject: Player templates: More item pickups. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f4224cb9509040613c09e47b4faf229964bab164;p=xonotic%2Fxonotic-data.pk3dir.git Player templates: More item pickups. --- diff --git a/qcsrc/server/playertemplates.qc b/qcsrc/server/playertemplates.qc index f053db4a68..0b67eb611f 100644 --- a/qcsrc/server/playertemplates.qc +++ b/qcsrc/server/playertemplates.qc @@ -502,6 +502,11 @@ float PlayerTemplateHook_ItemTouch(entity player, entity item, string template) return PlayerTemplate_GivePlayerItem(player, template, "pickup_item_plasma"); } + case "item_fuel": + { + return PlayerTemplate_GivePlayerItem(player, template, + "pickup_item_fuel"); + } case "weapon_blaster": { return PlayerTemplate_GivePlayerItem(player, template, @@ -581,6 +586,26 @@ float PlayerTemplateHook_ItemTouch(entity player, entity item, string template) return PlayerTemplate_GivePlayerItem(player, template, "pickup_weapon_fireball"); } + case "weapon_minelayer": + { + return PlayerTemplate_GivePlayerItem(player, template, + "pickup_weapon_minelayer"); + } + case "weapon_hlac": + { + return PlayerTemplate_GivePlayerItem(player, template, + "pickup_weapon_hlac"); + } + case "weapon_rifle": + { + return PlayerTemplate_GivePlayerItem(player, template, + "pickup_weapon_rifle"); + } + case "weapon_seeker": + { + return PlayerTemplate_GivePlayerItem(player, template, + "pickup_weapon_seeker"); + } case "weapon_vaporizer": { return PlayerTemplate_GivePlayerItem(player, template,