This commit is contained in:
lifestorm
2024-08-04 22:55:00 +03:00
parent 8064ba84d8
commit 73479cff9e
7338 changed files with 1718883 additions and 14 deletions

View File

@@ -0,0 +1,48 @@
--[[
| 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/
--]]
local PLUGIN = PLUGIN
ITEM.name = "Radio de Bienfaiteur"
ITEM.category = "Radio"
ITEM.model = Model("models/props_lab/citizenradio.mdl")
ITEM.description = "Une radio fabriquée dont la fréquence est synchronisée sur une station de radio de l'Union, qui propose à la fois de la musique classique et patriotique."
ITEM.width = 4
ITEM.height = 3
ITEM.functions.Deploy = {
name = "Poser",
OnRun = function(itemTable)
local client = itemTable.player
if client.CantPlace then
client:NotifyLocalized("Vous devez attendre avant de pouvoir placer ceci !..")
return false
end
client.CantPlace = true
timer.Simple(3, function()
if client then
client.CantPlace = false
end
end)
local radio = ents.Create("wn_musicradio")
local tr = client:GetEyeTrace()
local dist = client:EyePos():Distance(tr.HitPos)
radio:SetPos(client:EyePos() + (tr.Normal * math.Clamp(dist, 0, 75)))
radio:Spawn()
radio:SetRadioClass("benefactor")
ix.saveEnts:SaveEntity(radio)
return true
end
}

View File

@@ -0,0 +1,48 @@
--[[
| 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/
--]]
local PLUGIN = PLUGIN
ITEM.name = "Radio rebelle"
ITEM.category = "Radio"
ITEM.model = Model("models/props_lab/citizenradio.mdl")
ITEM.description = "Une radio récupérée dont la fréquence est synchronisée sur une station de radio qui propose des chansons synth-pop des années 1980. Cette musique est interdite par le régime."
ITEM.width = 4
ITEM.height = 3
ITEM.functions.Deploy = {
name = "Placer",
OnRun = function(itemTable)
local client = itemTable.player
if client.CantPlace then
client:NotifyLocalized("Vous devez attendre avant de pouvoir placer ceci!..")
return false
end
client.CantPlace = true
timer.Simple(3, function()
if client then
client.CantPlace = false
end
end)
local radio = ents.Create("wn_musicradio")
local tr = client:GetEyeTrace()
local dist = client:EyePos():Distance(tr.HitPos)
radio:SetPos(client:EyePos() + (tr.Normal * math.Clamp(dist, 0, 75)))
radio:Spawn()
radio:SetRadioClass("pirate")
ix.saveEnts:SaveEntity(radio)
return true
end
}

View File

@@ -0,0 +1,26 @@
--[[
| 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/
--]]
ITEM.name = "Syntoniseur radio approuvé le cartel"
ITEM.description = "Un syntoniseur radio qui peut être utilisé pour modifier les fréquences qu'une radio peut capter."
ITEM.category = "Radio"
ITEM.width = 1
ITEM.height = 1
ITEM.model = "models/willardnetworks/skills/circuit.mdl"
ITEM.colorAppendix = {["blue"] = "You can acquire this item via the Crafting skill."}
ITEM.maxStackSize = 1
ITEM.functions.install = {
name = "Install",
tip = "Install this item into the radio you're looking at.",
icon = "icon16/wrench.png",
OnRun = function(item)
ix.musicRadio:InstallTuner(item.player, false)
end
}

View File

@@ -0,0 +1,26 @@
--[[
| 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/
--]]
ITEM.name = "Syntoniseur radio de la Résistance"
ITEM.description = "Un syntoniseur radio capable de modifier les fréquences qu'une radio peut capter. Il s'agit d'un syntoniseur de gamme supérieure capable d'atteindre des fréquences de diffusion lointaines."
ITEM.category = "Radio"
ITEM.width = 1
ITEM.height = 1
ITEM.model = "models/willardnetworks/skills/circuit.mdl"
ITEM.colorAppendix = {["blue"] = "You can acquire this item via the Crafting skill.", ["red"] = "It is suspicious to carry this item."}
ITEM.maxStackSize = 1
ITEM.functions.install = {
name = "Install",
tip = "Install this item into the radio you're looking at.",
icon = "icon16/wrench.png",
OnRun = function(item)
ix.musicRadio:InstallTuner(item.player, true)
end
}