aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/inventory/common
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/inventory/common')
-rw-r--r--gamemode/core/inventory/common/items.lua1
-rw-r--r--gamemode/core/inventory/common/weapons.lua3
2 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/core/inventory/common/items.lua b/gamemode/core/inventory/common/items.lua
index 4b52a97..0a32f27 100644
--- a/gamemode/core/inventory/common/items.lua
+++ b/gamemode/core/inventory/common/items.lua
@@ -1,6 +1,7 @@
---Some common functions for working with items.
-- Just one function for now
--@shared items.lua
+--@alias items
local items = {}
diff --git a/gamemode/core/inventory/common/weapons.lua b/gamemode/core/inventory/common/weapons.lua
index 065d1a6..9067981 100644
--- a/gamemode/core/inventory/common/weapons.lua
+++ b/gamemode/core/inventory/common/weapons.lua
@@ -1,6 +1,7 @@
---Common functionality used in a lot of weapons.
-- Bits an peices that most weapons need
--@shared weapons.lua
+--@alias com
local com = {}
@@ -62,7 +63,7 @@ function com.swingarc(player,times,positions,onhit)
end)
end
----Creates a new attack table
+---Creates a new attack table.
-- Creates a table of ["forward|backward|left|right"] = function()
-- This is done before hand so that table is not re-generated on the fly each time a player attacks
--@tparam attacktbl tbl_attackdata The attack data to use