diff options
Diffstat (limited to 'gamemode/server/sv_systems.lua')
| -rw-r--r-- | gamemode/server/sv_systems.lua | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gamemode/server/sv_systems.lua b/gamemode/server/sv_systems.lua deleted file mode 100644 index ad1b901..0000000 --- a/gamemode/server/sv_systems.lua +++ /dev/null @@ -1,21 +0,0 @@ ---[[ - Calculates various needs for the player, displayed in /gamemode/client/cl_systems.lua - Each need has a min and a max (ex health, stamina ect.) - - Provides: - ART.RegisterSystem(string_name, table_system) - Registers the system with all players. Two systems may not share the same name. -]] - -local pmeta = FindMetaTable("Player") - -pmeta.Systems = {} - -function ART.RegisterSystem(tbl) - assert(tbl.Name ~= nil,"Attempted to register a system with a nil name") - pmeta.Systems[name] = tbl -end - -concommand.Add("DisplaySystems",function() - PrintTable(pmeta.Systems) -end) |
