aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/npc
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-11-08 15:51:26 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2017-11-08 15:51:26 -0500
commit2252904b8147419c551ad2653a20627281d0531f (patch)
treec1d76a132fa085940dd33d8af99c08dd9da04675 /gamemode/core/npc
parent07593f0c983ac6b16161829b20ea6fde887fa7e9 (diff)
downloadartery-2252904b8147419c551ad2653a20627281d0531f.tar.gz
artery-2252904b8147419c551ad2653a20627281d0531f.tar.bz2
artery-2252904b8147419c551ad2653a20627281d0531f.zip
Finished LDoc comments
Diffstat (limited to 'gamemode/core/npc')
-rw-r--r--gamemode/core/npc/sv_huntingspawner.lua2
-rw-r--r--gamemode/core/npc/sv_npcsystem.lua7
2 files changed, 5 insertions, 4 deletions
diff --git a/gamemode/core/npc/sv_huntingspawner.lua b/gamemode/core/npc/sv_huntingspawner.lua
index 0fe4aa0..f86fb59 100644
--- a/gamemode/core/npc/sv_huntingspawner.lua
+++ b/gamemode/core/npc/sv_huntingspawner.lua
@@ -1,4 +1,4 @@
----Lets huntable monsters drop loot!
+---Lets huntable monsters drop loot.
-- Register what monsters drop what loot
--@module sv_huntingspawner.lua
diff --git a/gamemode/core/npc/sv_npcsystem.lua b/gamemode/core/npc/sv_npcsystem.lua
index 0ed21d2..ac8ddc0 100644
--- a/gamemode/core/npc/sv_npcsystem.lua
+++ b/gamemode/core/npc/sv_npcsystem.lua
@@ -120,7 +120,7 @@ hook.Add("InitPostEntity", "artery_spawnmapnpcs", function()
loadMap()
end)
----Reloads the entities on the map
+---Reloads the entities on the map.
-- Removes and then reload all of the entities on the level ![Requires admin](./req_admin)
--@concommand artery_reloadmap
concommand.Add("artery_reloadmap", function(ply,cmd,args)
@@ -136,9 +136,10 @@ concommand.Add("artery_reloadmap", function(ply,cmd,args)
loadMap()
end)
----Create a new npc
+---Create a new npc.
-- Creates a new npc a the point the player is looking ![Requires admin](./req_admin)
---@concommand artery_makenpc <npc_name>
+--@usage artery_makenpc <npc_name>
+--@concommand artery_makenpc
concommand.Add("artery_makenpc", function(ply, cmd, args)
if not ply:IsAdmin() then return end
local na = args[1]