mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
Upload
This commit is contained in:
59
lua/autorun/pill_base_episodic.lua
Normal file
59
lua/autorun/pill_base_episodic.lua
Normal file
@@ -0,0 +1,59 @@
|
||||
--[[
|
||||
| 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/
|
||||
--]]
|
||||
|
||||
--------------------------
|
||||
-- BOOTSTRAP CODE START --
|
||||
--------------------------
|
||||
|
||||
if !pcall(require,"pk_pills") then
|
||||
if SERVER then
|
||||
hook.Add("PlayerInitialSpawn","pk_pill_extfail_cl",function(ply)
|
||||
if game.SinglePlayer() || ply:IsListenServerHost() then
|
||||
ply:SendLua('notification.AddLegacy("One or more pill extensions failed to load. Did you forget to install Parakeet\'s Pill Pack?",NOTIFY_ERROR,30)')
|
||||
end
|
||||
end)
|
||||
hook.Add("Initialize","pk_pill_extfail_sv",function(ply)
|
||||
print("[ALERT] One or more pill extensions failed to load. Did you forget to install Parakeet's Pill Pack?")
|
||||
end)
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
------------------------
|
||||
-- BOOTSTRAP CODE END --
|
||||
------------------------
|
||||
|
||||
AddCSLuaFile()
|
||||
|
||||
if SERVER then
|
||||
resource.AddWorkshop("417428923")
|
||||
end
|
||||
|
||||
game.AddParticles("particles/weapon_fx.pcf")
|
||||
PrecacheParticleSystem("weapon_combine_ion_cannon")
|
||||
PrecacheParticleSystem("weapon_combine_ion_cannon_explosion")
|
||||
|
||||
game.AddParticles("particles/striderbuster.pcf")
|
||||
PrecacheParticleSystem("striderbuster_attach")
|
||||
PrecacheParticleSystem("striderbuster_attach_flash")
|
||||
PrecacheParticleSystem("striderbuster_explode_core")
|
||||
PrecacheParticleSystem("striderbuster_explode_flash")
|
||||
PrecacheParticleSystem("striderbuster_break")
|
||||
|
||||
game.AddParticles("particles/advisor_fx.pcf")
|
||||
PrecacheParticleSystem("advisor_psychic_shield_idle")
|
||||
|
||||
pk_pills.packStart("Episode 1","ep1","games/16/hl2.png")
|
||||
pk_pills.packRequireGame("Half-Life 2: Episode 1",380)
|
||||
include("include/pill_ep1.lua")
|
||||
|
||||
pk_pills.packStart("Episode 2","ep2","games/16/hl2.png")
|
||||
pk_pills.packRequireGame("Half-Life 2: Episode 2",420)
|
||||
include("include/pill_ep2.lua")
|
||||
Reference in New Issue
Block a user