mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 05:43:46 +03:00
Upload
This commit is contained in:
33
lua/entities/arccw_ammo_plinking.lua
Normal file
33
lua/entities/arccw_ammo_plinking.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
AddCSLuaFile()
|
||||
|
||||
ENT.Base = "arccw_ammo"
|
||||
ENT.RenderGroup = RENDERGROUP_TRANSLUCENT
|
||||
|
||||
ENT.PrintName = "Plinking Ammo"
|
||||
ENT.Category = "ArcCW - Ammo"
|
||||
|
||||
ENT.Spawnable = true
|
||||
ENT.Model = "models/items/arccw/plinking_ammo.mdl"
|
||||
|
||||
ENT.AmmoType = "plinking"
|
||||
ENT.AmmoCount = 100
|
||||
|
||||
ENT.DetonationDamage = 10
|
||||
ENT.DetonationRadius = 128
|
||||
ENT.DetonationSound = nil
|
||||
|
||||
DEFINE_BASECLASS(ENT.Base)
|
||||
function ENT:DetonateRound()
|
||||
BaseClass.DetonateRound(self)
|
||||
self:EmitSound("weapons/pistol/pistol_fire2.wav", 70, 175, 0.8)
|
||||
end
|
||||
Reference in New Issue
Block a user