Bazooka/Grenade Training: Make weapon selection detection future-proof
The old check relied on hardcoded slot IDs for the weapons, which is not good.
-- Library for parameters handling
params = {}
function parseParams()
if ScriptParam ~= nil then
for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
params[k] = v
end
end
end