From f4224cb9509040613c09e47b4faf229964bab164 Mon Sep 17 00:00:00 2001 From: Lyberta Date: Thu, 5 Oct 2017 21:04:12 +0300 Subject: [PATCH] Player templates: More item pickups. --- qcsrc/server/playertemplates.qc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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, -- 2.39.5