diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-09-08 18:48:13 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-09-08 18:48:13 -0400 |
| commit | 22f3c6d96fcb560c13445d4a6135ca3f01d27197 (patch) | |
| tree | bbabd4bc9d6b96acbbc6248833c602f8f3249a04 /gamemode/shared/loadnpcs.lua | |
| parent | 13a87c24b79ff4db6e1917409ce8a11b1d72b6e6 (diff) | |
| download | artery-22f3c6d96fcb560c13445d4a6135ca3f01d27197.tar.gz artery-22f3c6d96fcb560c13445d4a6135ca3f01d27197.tar.bz2 artery-22f3c6d96fcb560c13445d4a6135ca3f01d27197.zip | |
Deleted a lot of code
Deleted code that was not being used, and some of the images too.
Diffstat (limited to 'gamemode/shared/loadnpcs.lua')
| -rw-r--r-- | gamemode/shared/loadnpcs.lua | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/gamemode/shared/loadnpcs.lua b/gamemode/shared/loadnpcs.lua deleted file mode 100644 index de411df..0000000 --- a/gamemode/shared/loadnpcs.lua +++ /dev/null @@ -1,39 +0,0 @@ --- do return end --- local f = include("concommands.lua") --- --- ART = ART or {} --- --- local npcs = {} --- local autocompletef --- --- function ART.RegisterNPC(npc) --- assert(npc ~= nil, "Attempted to register a nil npc") --- assert(npc.Name ~= nil, "Attempted to register an npc without a name") --- npcs[npc.Name] = npc --- autocompletef = f.AutocompleteFunction(npcs) --- end --- --- function ART.CreateNPCByName(npcname, pos) --- print("Createing a " ,npcname ," at ", pos) --- local npctbl = npcs[npcname] --- local npc = ents.Create("npc_huntable") --- npc:SetPos(pos) --- for k,v in pairs(npctbl) do --- npc[k] = v --- end --- npc:Spawn() --- return npc --- end --- --- --- if SERVER then --- autocompletef = nil --- else --- autocompletef = f.AutocompleteFunction(npcs) --- end --- concommand.Add("artery_makenpc",function(ply,cmd,args) --- if not ply:IsAdmin() then return end --- local n = args[1] --- ART.CreateNPCByName(n,ply:GetEyeTrace().HitPos) --- end, --- autocompletef) |
