/*
	Sodan Cloaking Device for GarrysMod10
	Copyright (C) 2007  Catdaemon

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
--################### Head
SWEP.Category = "Stargate";
SWEP.PrintName = "Sodan Cloaking";
SWEP.Author = "Catdaemon"; -- And a slight modification by me (aVoN) - But it's still his code so I haven't added myself to it. Lua comment is sufficient :)
SWEP.Purpose = "Cloak yourself";
SWEP.Instructions = "Press primaryattack to cloak yourself and secondary to uncloak!";
SWEP.Base = "weapon_base";		
SWEP.Slot = 3;
SWEP.SlotPos = 4;
SWEP.DrawAmmo	= false;
SWEP.DrawCrosshair = true;
SWEP.ViewModel = "";
SWEP.WorldModel = "models/roltzy/w_sodan.mdl";
SWEP.AnimPrefix = "melee";

-- primary.
SWEP.Primary.ClipSize = -1;
SWEP.Primary.DefaultClip = -1;
SWEP.Primary.Automatic = true;
SWEP.Primary.Ammo	= "none";

-- secondary
SWEP.Secondary.ClipSize = -1;
SWEP.Secondary.DefaultClip = -1;
SWEP.Secondary.Automatic = false;
SWEP.Secondary.Ammo = "none";

-- spawnables.
SWEP.Spawnable = true;
SWEP.AdminSpawnable = true;