aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/npc/sv_npcsystem.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/npc/sv_npcsystem.lua')
-rw-r--r--gamemode/core/npc/sv_npcsystem.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/gamemode/core/npc/sv_npcsystem.lua b/gamemode/core/npc/sv_npcsystem.lua
index 78b041f..c53f6ae 100644
--- a/gamemode/core/npc/sv_npcsystem.lua
+++ b/gamemode/core/npc/sv_npcsystem.lua
@@ -12,7 +12,7 @@ end
function n.CreateNPCByName(npcname, pos)
assert(npcs[npcname],string.format("No npc named %q, valid names are:\n%s",npcname,table.concat(table.GetKeys(npcs),"\n")))
- print("Createing a ", npcname, " at ", pos)
+ --print("Createing a ", npcname, " at ", pos)
local npctbl = npcs[npcname]
local npc = ents.Create("npc_huntable")
npc:SetPos(pos)
@@ -28,13 +28,13 @@ end
--Creates a shop npc with this tbl
function n.CreateShop(npc)
- print("Createing shop npc")
+ --print("Createing shop npc")
local npcent = ents.Create("npc_shop")
for k,v in pairs(npc) do
npcent[k] = v
end
npcent:Spawn()
- print("Called spawn")
+ --print("Called spawn")
end
--Creates a townie npc with this tbl
@@ -87,11 +87,11 @@ local function loadMap()
local foldername = "artery/maps/" .. mapname
ExecuteOnFolder(foldername,true,function(path)
- print("I want to run",path)
+ --print("I want to run",path)
local filetxt = file.Read(path,"DATA")
- print("File text is", filetxt)
+ --print("File text is", filetxt)
CompileString(filetxt,path)()
- print("I want to execute",path)
+ --print("I want to execute",path)
end)
end