diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-09-02 17:34:27 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-09-02 17:34:27 -0400 |
| commit | 9ba957b99603590b099f4bcd22a9cc86525dbcde (patch) | |
| tree | 1e807a2c80367025d26ed28859f35d3c4454aced /entities | |
| parent | 984b841c008ba29ead9ecb12aa86a57de2b0597a (diff) | |
| download | artery-9ba957b99603590b099f4bcd22a9cc86525dbcde.tar.gz artery-9ba957b99603590b099f4bcd22a9cc86525dbcde.tar.bz2 artery-9ba957b99603590b099f4bcd22a9cc86525dbcde.zip | |
Various debugging things
Diffstat (limited to 'entities')
| -rw-r--r-- | entities/entities/art_chest/init.lua | 2 | ||||
| -rw-r--r-- | entities/entities/art_lootchest/init.lua | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/entities/entities/art_chest/init.lua b/entities/entities/art_chest/init.lua index e2d70e1..fb0fef5 100644 --- a/entities/entities/art_chest/init.lua +++ b/entities/entities/art_chest/init.lua @@ -7,7 +7,7 @@ local track = nrequire("inventory/sv_invtracker.lua") --local invfuncs = include("../../../gamemode/shared/inventory_common.lua") function ENT:Initialize() self.Openedby = {} - self:SetModel("models/props_junk/Rock001a.mdl") + self:SetModel(self.Model or "models/props_junk/Rock001a.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_NONE) self:SetSolid(SOLID_VPHYSICS) diff --git a/entities/entities/art_lootchest/init.lua b/entities/entities/art_lootchest/init.lua index 2ef04a7..4e6dd52 100644 --- a/entities/entities/art_lootchest/init.lua +++ b/entities/entities/art_lootchest/init.lua @@ -11,6 +11,9 @@ ENT.lastused = CurTime() function ENT:Use(ply) local nowtime = CurTime() print("Last used time:",self.lastused,"now it's ",nowtime) + for i = self.lastused,nowtime,100 do + + end self.lastused = nowtime print("Ply opened:",ply) self.Openedby[ply] = true |
