This commit is contained in:
lifestorm
2024-08-04 22:55:00 +03:00
parent 0e770b2b49
commit 94063e4369
7342 changed files with 1718932 additions and 14 deletions

View File

@@ -0,0 +1,34 @@
--[[
| 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/
--]]
ENT.Type = "anim"
ENT.Base = "base_anim"
ENT.PrintName = "Oil Lamp"
ENT.Author = "Nak"
ENT.Purpose = "An old lamp with a moden sun-sensor."
ENT.Instructions = "Place it somewhere"
ENT.Category = "StormFox2"
ENT.WireDebugName = "Oil Lamp"
ENT.Editable = true
ENT.Spawnable = true
ENT.AdminOnly = false --true
ENT.RenderGroup = RENDERGROUP_BOTH
function ENT:IsOn()
if SERVER then
return self.on
else
return self:GetNWInt("on",0) > 0
end
end