mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
Upload
This commit is contained in:
16
gamemodes/darkrp/plugins/n7stuff/items/sh_clean_clothes.lua
Normal file
16
gamemodes/darkrp/plugins/n7stuff/items/sh_clean_clothes.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Clean clothes"
|
||||
ITEM.model = Model("models/willardnetworks/clothingitems/torso_citizen2.mdl")
|
||||
ITEM.description = "Clean clothes after wash."
|
||||
ITEM.category = "misc"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
16
gamemodes/darkrp/plugins/n7stuff/items/sh_dirty_clothes.lua
Normal file
16
gamemodes/darkrp/plugins/n7stuff/items/sh_dirty_clothes.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Dirty clothes"
|
||||
ITEM.model = Model("models/willardnetworks/clothingitems/torso_citizen_refugee.mdl")
|
||||
ITEM.description = "Dirty clothes, need wash."
|
||||
ITEM.category = "misc"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
32
gamemodes/darkrp/plugins/n7stuff/items/sh_pda_cmu.lua
Normal file
32
gamemodes/darkrp/plugins/n7stuff/items/sh_pda_cmu.lua
Normal file
@@ -0,0 +1,32 @@
|
||||
--[[
|
||||
| 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 = "CMRU PDA"
|
||||
ITEM.model = Model("models/fruity/tablet/tablet_sfm.mdl")
|
||||
ITEM.description = "Civilian issued PDA for local CMRU groups."
|
||||
ITEM.category = "Combine"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.KeepOnDeath = true
|
||||
|
||||
ITEM.functions.Open = {
|
||||
OnRun = function(item)
|
||||
net.Start("ixDataFilePDA_CMU_Open")
|
||||
net.Send(item.player)
|
||||
|
||||
return false
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
return item.player:Team() == FACTION_MEDICAL or character:IsVortigaunt() and character:GetBioticPDA() == "CMU"
|
||||
end
|
||||
}
|
||||
32
gamemodes/darkrp/plugins/n7stuff/items/sh_pda_cwu.lua
Normal file
32
gamemodes/darkrp/plugins/n7stuff/items/sh_pda_cwu.lua
Normal file
@@ -0,0 +1,32 @@
|
||||
--[[
|
||||
| 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 = "CWU PDA"
|
||||
ITEM.model = Model("models/fruity/tablet/tablet_sfm.mdl")
|
||||
ITEM.description = "Civilian issued PDA for local CWU groups."
|
||||
ITEM.category = "Combine"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.KeepOnDeath = true
|
||||
|
||||
ITEM.functions.Open = {
|
||||
OnRun = function(item)
|
||||
net.Start("ixDataFilePDA_CWU_Open")
|
||||
net.Send(item.player)
|
||||
|
||||
return false
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
return item.player:Team() == FACTION_WORKERS or character:IsVortigaunt() and character:GetBioticPDA() == "CWU"
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user