diff --git a/config.ld b/config.ld index bc27a3a..76adf51 100644 --- a/config.ld +++ b/config.ld @@ -38,9 +38,9 @@ custom_tags = { custom_display_name_handler = function(item, default_handler) if item.type == "function" and item.module then - if item.module.type == "aclassmod" then + if item.module.type == "meta" then return item.module.mod_name .. ":" .. default_handler(item) - elseif item.module.type == "ahooks" then + elseif item.module.type == "hooks" then if item.module.mod_name == "Class" then return "CLASS:" .. default_handler(item) elseif item.module.mod_name == "Faction" then @@ -56,10 +56,10 @@ end new_type("factions", "Factions", true) new_type("classes", "Classes", true) new_type("information", "Information", true) -new_type("alibrary", "Libraries", true) -new_type("ahooks", "Hooks", true) -new_type("aclassmod", "Meta", true) -new_type("aconfigurations", "Configurations", true) +new_type("library", "Libraries", true) +new_type("hooks", "Hooks", true) +new_type("meta", "Meta", true) +new_type("configurations", "Configurations", true) new_type("structures", "Structures", true) new_type("store", "Store", true) tparam_alias("inventory", "Inventory") diff --git a/skeleton/schema/config/shared.lua b/skeleton/schema/config/shared.lua index 4f4f04e..e361e88 100644 --- a/skeleton/schema/config/shared.lua +++ b/skeleton/schema/config/shared.lua @@ -3,7 +3,7 @@ Lilia's configuration options. This is meant to override Lilia's configuration options. ]] --- @configurationgeneral Lilia +-- @configuration Lilia --- A list of available commands for use within the game. -- Each command is represented by a table with fields defining its functionality. diff --git a/skeleton/schema/items/universalammo.lua b/skeleton/schema/items/universalammo.lua index 6f33d63..453bb9f 100644 --- a/skeleton/schema/items/universalammo.lua +++ b/skeleton/schema/items/universalammo.lua @@ -1,19 +1,4 @@ ---- Structure of UniversalAmmunition Item. --- @structureitems UniversalAmmunition - ---- This table defines the fields of the universal ammo item. --- @table Configurations --- @realm shared --- @field name The name of the item | **string** --- @field desc The description of the item | **string** --- @field model The model of the item | **string** --- @field width The width of the item in inventory | **number** --- @field height The height of the item in inventory | **number** --- @field health The amount of health the item restores | **number** --- @field ammoAmount The amount of ammunition in the box | **number** --- @field category The category of the item | **string** --- @field blacklistedWeapons The list of weapons that can't use this ammunition | **table** -ITEM.name = "Box of Ammunition" +ITEM.name = "Box of Ammunition" ITEM.desc = "A box that contains sixty bullets.\nUse items with the gun you want loaded out." ITEM.model = "models/Items/BoxSRounds.mdl" ITEM.ammoAmount = 60 diff --git a/skeleton/schema/schema.lua b/skeleton/schema/schema.lua index 5192663..f83fc56 100644 --- a/skeleton/schema/schema.lua +++ b/skeleton/schema/schema.lua @@ -3,7 +3,7 @@ This is meant to define the Schema's default information. ]] --- @configurationgeneral Schema +-- @configuration Schema --- A list of schema fields that define the gamemode you are making. -- These options are defined by the 'SCHEMA' table.