file_path stringlengths 4 154 | file_url stringlengths 83 244 | repo_name stringlengths 8 65 | repo_description stringlengths 1 350 ⌀ | contributors listlengths 0 100 | commit_hash stringlengths 40 40 | license stringlengths 0 20.1k | license_url stringlengths 0 150 | file_content stringlengths 4 182k |
|---|---|---|---|---|---|---|---|---|
modules\features\lighting\components\fuelefficiencybooster.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\components\fuelefficiencybooster.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class FuelEfficiencyBooster : Component
--- Represents an item that can improve fuel efficiency when used with light sources
--- @field efficiencyMultiplier number Multiplier for fuel efficiency (1.5 = 50% more efficient)
--- @field description string Description of the efficiency boost
--- @overload fun(efficienc... |
modules\features\lighting\components\fuelitem.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\components\fuelitem.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class FuelItem : Component
--- Represents a consumable fuel item that can refuel compatible light sources
--- @field fuelType string Identifier matching LightSource.resourceType (e.g., "lantern_oil", "fuel")
--- @field fuelAmount integer Amount of fuel restored per unit used
--- @overload fun(fuelType: string, fue... |
modules\features\lighting\components\lightsource.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\components\lightsource.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local ResourceComponent = require "modules.core.components.resourcecomponent"
--- @class LightSource : ResourceComponent
--- @field radius integer Light radius in tiles
--- @field fuelConsumption number Fuel consumed per turn
--- @field lightType string Type of light source
--- @field isActive boolean Whether the ligh... |
modules\features\lighting\components\lightsourceupgrade.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\components\lightsourceupgrade.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class LightSourceUpgrade : Component
--- Represents upgrades that can be applied to light sources for better performance
--- @field upgradeType string Type of upgrade ("efficiency", "capacity", "brightness", "durability")
--- @field upgradeLevel integer Level of the upgrade (1-5)
--- @field efficiencyBonus number ... |
modules\features\lighting\systems\emergencylightingsystem.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\systems\emergencylightingsystem.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local EventManager = require "modules.utilities.common.eventmanager"
local LightLog = require "modules.utilities.logging.lighting"
--- Emergency Lighting System that manages backup light sources and auto-activation
--- @class EmergencyLightingSystem : System
local EmergencyLightingSystem = prism.System:extend "Emergen... |
modules\features\lighting\systems\lightmanagement.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\systems\lightmanagement.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Game = require "game"
local Spawner = require "modules.utilities.actors.spawner"
local EventManager = require "modules.utilities.common.eventmanager"
local StateManager = require "modules.utilities.common.statemanager"
local Sight = require "prism.extra.sight.systems.sight"
local LightLog = require "modules.utili... |
modules\features\mining\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\mining\module.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | -- Mining feature module
-- Components and actions are auto-registered by Prism
|
modules\features\mining\actions\mine.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\mining\actions\mine.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Log = prism.components.Log
local ActionLogger = require "modules.utilities.actions.actionlogger"
local MiningTool = prism.components.MiningTool
local MineableResource = prism.components.MineableResource
local ResourceItem = prism.components.ResourceItem
local ResourceDataManager = require "modules.utilities.data... |
modules\features\mining\components\mineableresource.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\mining\components\mineableresource.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local ResourceComponent = require "modules.core.components.resourcecomponent"
--- @class MineableResource : ResourceComponent
--- @field resourceType string Type of resource ("coal", "iron", "gold", "diamond")
--- @field hardness integer Mining difficulty (1-10)
--- @field requiredTool string Minimum tool type require... |
modules\features\mining\components\miningtool.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\mining\components\miningtool.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local ResourceComponent = require "modules.core.components.resourcecomponent"
--- @class MiningTool : ResourceComponent
--- @field toolType string Type of mining tool ("pickaxe", "drill", "explosive")
--- @field efficiency number Mining speed multiplier (0.5-2.0)
--- @field resourceTypes table<string, boolean> Resourc... |
modules\features\mining\components\resourceitem.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\mining\components\resourceitem.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class ResourceItem : Component
--- @field resourceType string Type of resource ("coal", "iron", "gold", etc.)
--- @field baseValue integer Base market value per unit
--- @overload fun(resourceType: string, baseValue: integer)
local ResourceItem = prism.Component:extend "ResourceItem"
--- @param resourceType strin... |
modules\generation\generator.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\generation\generator.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Utils = require "modules.generation.utils"
local DepthDataManager = require "modules.utilities.data.managers.depthdatamanager"
local GenerationTemplateDataManager = require "modules.utilities.data.managers.generationtemplatedatamanager"
local LevelTemplateDataManager = require "modules.utilities.data.managers.lev... |
modules\generation\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\generation\module.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | -- Generation module
-- Level generators and utilities
|
modules\generation\utils.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\generation\utils.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class GenerationUtils
--- Utility functions for level generation
local Utils = {}
--- Pre-computes and caches all empty cells in the level for efficient random selection
--- @param builder LevelBuilder
--- @param width integer
--- @param height integer
--- @return table<table> emptyCells Array of {x, y} coordinat... |
modules\generation\algorithms\rooms.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\generation\algorithms\rooms.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local LevelTemplateDataManager = require "modules.utilities.data.managers.leveltemplatedatamanager"
local GenerationUtils = require "modules.generation.utils"
local RoomsGenerator = {}
--- Generates a classic room-and-corridor dungeon using data-driven templates.
--- @param rng RNG
--- @param depth integer
--- @param... |
modules\utilities\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\module.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | -- Utilities module
-- Register decoupled EventManager listeners for cross-system coordination
local Log = prism.components.Log
local Name = prism.components.Name
local EventManager = require "modules.utilities.common.eventmanager"
local LightLog = require "modules.utilities.logging.lighting"
local EngLog = require "m... |
modules\utilities\table.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\table.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class TableUtils
local M = {}
--- Checks if a table contains a specific value
--- @param t table The table to search
--- @param value any The value to search for
--- @return boolean true if the value is found, false otherwise
function M.contains(t, value)
for _, v in pairs(t) do
if v == value then return tr... |
modules\utilities\actions\actionlogger.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\actions\actionlogger.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local sf = string.format
local Log = prism.components.Log
local Name = prism.components.Name
--- @class ActionLogger
--- Utility for standardizing action logging patterns across all actions
--- Eliminates 60% of repeated logging code in Attack, Kick, Mine, Interact, etc.
local ActionLogger = {}
--- Gets the lowercase... |
modules\utilities\actions\combataction.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\actions\combataction.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local ActionLogger = require "modules.utilities.actions.actionlogger"
local CombatLog = require "modules.utilities.logging.combat"
--- Base class for combat actions that deal damage and handle combat logging
--- Eliminates 80% of duplication between Attack and Kick actions
--- @class CombatAction : Action
--- @field n... |
modules\utilities\actions\combatactionfactory.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\actions\combatactionfactory.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local CombatAction = require "modules.utilities.actions.combataction"
local CooldownCombatAction = require "modules.utilities.actions.cooldowncombataction"
local TargetFactory = require "modules.utilities.target.targetfactory"
--- @class CombatActionFactory
--- Factory utility for creating combat actions with standard... |
modules\utilities\actions\cooldowncombataction.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\actions\cooldowncombataction.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local CombatAction = require "modules.utilities.actions.combataction"
local TargetFactory = require "modules.utilities.target.targetfactory"
local Cooldowns = require "modules.core.components.cooldowns"
local CombatDataCache = require "modules.utilities.data.combatdatacache"
--- @class CooldownCombatAction : CombatAct... |
modules\utilities\actors\actorfactory.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\actors\actorfactory.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local DataFactory
local Palette = require "display.palette"
local ActorDataManager = require "modules.utilities.data.managers.actordatamanager"
--- @class ActorFactory
--- Utility functions for standardized actor creation patterns
--- Eliminates boilerplate in actor creation and ensures consistent component setups
loc... |
modules\utilities\actors\chestfactory.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\actors\chestfactory.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class ChestFactory
--- Factory for creating treasure chest actors with configurable loot
local ChestFactory = {}
local ChestDataManager = require "modules.utilities.data.managers.chestdatamanager"
local DataFactory = require "modules.utilities.data.datafactory"
local DataLog = require "modules.utilities.logging.d... |
modules\utilities\actors\merchantfactory.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\actors\merchantfactory.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class MerchantFactory
--- Factory utilities for creating merchant NPCs
--- Eliminates 75% of code duplication across GeneralMerchant, ToolMerchant, SupplyMerchant
local MerchantFactory = {}
local Palette = require "display.palette"
local DataFactory = require "modules.utilities.data.datafactory"
--- @class Merch... |
modules\utilities\actors\spawner.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\actors\spawner.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | ---@class SpawnerUtils
local M = {}
local ActorFactory = require "modules.utilities.actors.actorfactory"
--- Cache for coin item factory to enable stacking
local coinItemFactory = nil
--- Spawns an ambient light actor
--- @param level Level
--- @param currentDepth integer
--- @return Actor newAmbientLightActor The c... |
modules\utilities\common\componentvalidator.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\common\componentvalidator.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class ComponentValidator
--- Utility for standardizing component validation patterns across actions
--- Eliminates repeated :expect(), :get(), and :has() validation code
local ComponentValidator = {}
--- @class ValidationResult
--- @field success boolean Whether validation passed
--- @field error string? Error me... |
modules\utilities\common\eventmanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\common\eventmanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- EventManager Utility
--- Centralized pub/sub for decoupled system coordination
--- Follows project conventions (3-space indent, snake_case locals, CamelCase classes)
--- @class EventManager
--- @field _listeners table<string, table> Map of event -> array of listener records
--- @field _index table<integer, {event:... |
modules\utilities\common\statemanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\common\statemanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- StateManager Utility
--- Centralized shared-state coordination with change notifications
--- Follows project conventions (3-space indent, snake_case locals, CamelCase classes)
local EventManager = require "modules.utilities.common.eventmanager"
local EngLog = require "modules.utilities.logging.engine"
--- @class ... |
modules\utilities\components\itemmeta.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\components\itemmeta.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class ItemMeta : Component
--- Stores stable identity for items to support robust save/load
--- @field itemId string
local ItemMeta = prism.Component:extend "ItemMeta"
function ItemMeta:__new(itemId) self.itemId = itemId end
return ItemMeta
|
modules\utilities\data\cellfactory.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\cellfactory.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class CellFactory
local CellFactory = {}
local Palette = require "display.palette"
local CellDataManager = require "modules.utilities.data.managers.celldatamanager"
local DataLog = require "modules.utilities.logging.data"
local logger = DataLog
--- Resolves a palette entry from a string or returns the provided... |
modules\utilities\data\combatdatacache.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\combatdatacache.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class CombatDataCache
--- Centralized utility for caching and managing combat data access
--- Reduces repeated GameData.getCombat() calls and provides efficient data lookup
local CombatDataCache = {}
local CombatDataManager = require "modules.utilities.data.managers.combatdatamanager"
local DataLog = require "mo... |
modules\utilities\data\datafactory.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\datafactory.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class DataFactory
--- Factory for creating actors from data files using the DataRegistry and domain managers
--- Extends ActorFactory with data-driven creation methods
local DataFactory = {}
local Palette = require "display.palette"
local CoinUtils = require "modules.features.economy.coins"
local PlayerDataManage... |
modules\utilities\data\dataregistry.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\dataregistry.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class DataRegistry
--- Central registry for domain-specific data managers
local DataRegistry = {}
local ready = false
local managers = {}
local registrationOrder = {}
--- Registers a manager for a domain key
--- @param domain string
--- @param manager table
function DataRegistry.register(domain, manager)
manag... |
modules\utilities\data\droptablebuilder.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\droptablebuilder.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class DropTableBuilder
--- Converts data-driven drop table definitions into Prism DropTable components
local DropTableBuilder = {}
local DropTableDataManager = require "modules.utilities.data.managers.droptabledatamanager"
local DataLog = require "modules.utilities.logging.data"
--- Converts a quantity definitio... |
modules\utilities\data\init.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\init.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class DataSystem
--- Main initialization and setup for the data-driven game system
--- This module should be required early in the game's startup process
local DataSystem = {}
local DataIntegration = require "modules.utilities.data.integration"
local DataLog = require "modules.utilities.logging.data"
--- Initial... |
modules\utilities\data\integration.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\integration.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class DataIntegration
--- Integration module for transitioning from old hardcoded systems to new data-driven approach
--- Provides compatibility wrappers and migration utilities
local DataIntegration = {}
local DataRegistry = require "modules.utilities.data.dataregistry"
local DataLog = require "modules.utilities... |
modules\utilities\data\spawning.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\spawning.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class DataSpawning
--- Data-driven spawning system for resources and entities
--- Replaces hardcoded spawning logic with configurable data files
local DataSpawning = {}
local DataFactory = require "modules.utilities.data.datafactory"
local DepthDataManager = require "modules.utilities.data.managers.depthdatamanag... |
modules\utilities\data\managers\actordatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\actordatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class ActorDataManager
--- Manages actor data definitions
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
-- Note: createSimple is defined in BaseDataManager but Lua Language Server may need restart to recognize it
local ActorDataManager = BaseD... |
modules\utilities\data\managers\aidatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\aidatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class AIDataManager
--- Manages AI behavior tree configuration data
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
local AIDataManager = BaseDataManager.createSimple("ai", "AIDataManager")
-- Add backward-compatible method name
function AIData... |
modules\utilities\data\managers\basedatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\basedatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class BaseDataManager
--- Base class for all data managers providing common initialization and access patterns
--- Supports simple data storage, indexed lookups, and custom extensions
--- @field create fun(config: table): table Creates a new data manager instance
--- @field createSimple fun(dataKey: string, name: ... |
modules\utilities\data\managers\celldatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\celldatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class CellDataManager
--- Manages cell/terrain data with per-item validation
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
--- Validates a single cell definition
--- @param cellId string
--- @param cellDef table
local function validateCellDefinition(cellId, cellDef)
assert(ty... |
modules\utilities\data\managers\chestdatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\chestdatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class ChestDataManager
--- Manages chest data for treasure containers with depth-based spawning
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
local ChestDataManager = BaseDataManager.createSimple("chests", "ChestDataManager")
-- Add backward-... |
modules\utilities\data\managers\combatdatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\combatdatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class CombatDataManager
--- Manages combat system configuration data
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
local CombatDataManager = BaseDataManager.createSimple("combat", "CombatDataManager")
-- Add backward-compatible method name
fu... |
modules\utilities\data\managers\depthdatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\depthdatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class DepthDataManager
--- Manages depth-specific level configuration data
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
local DepthDataManager = BaseDataManager.createSimple("depths", "DepthDataManager")
-- Add depth-specific accessor (depth... |
modules\utilities\data\managers\droptabledatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\droptabledatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class DropTableDataManager
--- Manages drop table data for creatures with depth-based scaling
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
local DropTableDataManager = BaseDataManager.createSimple("drops", "DropTableDataManager")
-- Add back... |
modules\utilities\data\managers\equipmentdatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\equipmentdatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class EquipmentDataManager
--- Manages equipment slot configuration data
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
local EquipmentDataManager = BaseDataManager.createSimple("equipment", "EquipmentDataManager")
-- Add backward-compatible m... |
modules\utilities\data\managers\generationtemplatedatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\generationtemplatedatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class GenerationTemplateDataManager
--- Manages generation algorithm template configuration data
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
-- Note: Base class already validates that data is a table, so no custom validation needed
local Gen... |
modules\utilities\data\managers\itemdatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\itemdatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class ItemDataManager
--- Manages item data with category-based indexing
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Build indexes: flatten category structure into byId and byCategory indexes
local function buildItemIndexes(itemsData)
local itemsById = {}
local itemsBy... |
modules\utilities\data\managers\leveltemplatedatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\leveltemplatedatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class LevelTemplateDataManager
--- Manages level template configuration data
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
-- Note: Base class already validates that data is a table, so no custom validation needed
local LevelTemplateDataManage... |
modules\utilities\data\managers\lightingdatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\lightingdatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class LightingDataManager
--- Manages lighting system configuration data
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
local LightingDataManager = BaseDataManager.createSimple("lighting", "LightingDataManager")
-- Add backward-compatible meth... |
modules\utilities\data\managers\merchantdatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\merchantdatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class MerchantDataManager
--- Manages merchant data with depth-based filtering and pricing logic
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create manager using base class
local MerchantDataManager = BaseDataManager.createSimple("merchants", "MerchantDataManager")
-- Add... |
modules\utilities\data\managers\playerdatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\playerdatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class PlayerDataManager
--- Manages player-specific configuration data (extracted from actors)
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Create a custom manager since player data is extracted from actors, not a separate data file
local PlayerDataManager = {}
local player... |
modules\utilities\data\managers\resourcedatamanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\data\managers\resourcedatamanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class ResourceDataManager
--- Manages resource data with depth-based indexing
local BaseDataManager = require "modules.utilities.data.managers.basedatamanager"
-- Build indexes: create depth-based lookup table
local function buildResourceIndexes(resources)
local resourcesByDepth = {}
if resources then
fo... |
modules\utilities\input\input.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\input.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
-- Command pattern integration
local InputCommandRegistry = require "modules.utilities.input.inputcommandregistry"
do
-- Auto-register all commands in the directory to reduce boilerplate
InputCommandRegistry.registerDirectory "modules/utilities/input/commands"
end
--- @class Ga... |
modules\utilities\input\inputcommandregistry.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\inputcommandregistry.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local commands = {}
local loggingEnabled = true
local InputCommandRegistry = {}
local InputLog = require "modules.utilities.logging.input"
--- Registers a command instance and keeps the list sorted by priority
--- @param command table
function InputCommandRegistry.register(command)
InputLog.debug("Registering comman... |
modules\utilities\input\keyboardutils.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\keyboardutils.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Utility functions for handling keyboard input in Love2D
---
--- Love2D's keypressed callback only provides lowercase keys, so shift detection
--- must be done separately using love.keyboard.isDown()
---
--- Example usage in a gamestate:
--- ```lua
--- local KeyboardUtils = require "modules.utilities.input.keyboardu... |
modules\utilities\input\commands\debugmenuinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\debugmenuinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local DebugMenuInputCommand = InputCommand:new()
DebugMenuInputCommand.commandName = "DebugMenu"
local function isControlPressed(control) return control and control.pressed end
function DebugMenuInputComm... |
modules\utilities\input\commands\descendinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\descendinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local DescendInputCommand = InputCommand:new()
DescendInputCommand.commandName = "Descend"
local MineShaftComponent = require "modules.core.components.mineshaftcomponent"
local ReturnShaftComponent = requi... |
modules\utilities\input\commands\equipinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\equipinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local EquipInputCommand = InputCommand:new()
EquipInputCommand.commandName = "Equip"
local function isControlPressed(control) return control and control.pressed end
function EquipInputCommand:getPriority(... |
modules\utilities\input\commands\inputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\inputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local InputCommand = {}
function InputCommand:new()
local instance = {}
setmetatable(instance, self)
self.__index = self
return instance
end
--- Determines whether this command can execute for the current input state
--- @param owner Actor
--- @param level Level
--- @param state LevelState
--- @param decision... |
modules\utilities\input\commands\interactinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\interactinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local query = require "modules.utilities.query.query"
local InteractInputCommand = InputCommand:new()
InteractInputCommand.commandName = "Interact"
local function isControlPressed(control) return control a... |
modules\utilities\input\commands\inventoryinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\inventoryinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local InventoryInputCommand = InputCommand:new()
InventoryInputCommand.commandName = "Inventory"
local function isControlPressed(control) return control and control.pressed end
function InventoryInputComm... |
modules\utilities\input\commands\lightinginputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\lightinginputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local LightingInputCommand = InputCommand:new()
local function isControlPressed(control) return control and control.pressed end
function LightingInputCommand:getPriority() return 5 end
function LightingI... |
modules\utilities\input\commands\mininginputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\mininginputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local query = require "modules.utilities.query.query"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local MiningInputCommand = InputCommand:new()
MiningInputCommand.commandName = "Mine"
local function isControlPressed(control) return control and contr... |
modules\utilities\input\commands\movementinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\movementinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local Interactable = require "modules.core.components.interactables.interactable"
local Container = require "modules.core.components.container"
local Equipment = require "modules.features.equipment.componen... |
modules\utilities\input\commands\pickupinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\pickupinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local PickupInputCommand = InputCommand:new()
PickupInputCommand.commandName = "Pickup"
local function isControlPressed(control) return control and control.pressed end
function PickupInputCommand:getPrior... |
modules\utilities\input\commands\revealmapinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\revealmapinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local RevealMapInputCommand = InputCommand:new()
RevealMapInputCommand.commandName = "RevealMap"
local function isControlPressed(control) return control and control.pressed end
function RevealMapInputComm... |
modules\utilities\input\commands\unequipinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\unequipinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local UnequipInputCommand = InputCommand:new()
UnequipInputCommand.commandName = "Unequip"
local function isControlPressed(control) return control and control.pressed end
function UnequipInputCommand:getP... |
modules\utilities\input\commands\waitinputcommand.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\input\commands\waitinputcommand.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local controls = require "controls"
local InputCommand = require "modules.utilities.input.commands.inputcommand"
local WaitInputCommand = InputCommand:new()
WaitInputCommand.commandName = "Wait"
local function isControlPressed(control) return control and control.pressed end
function WaitInputCommand:getPriority() re... |
modules\utilities\inventory\inventoryutils.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\inventory\inventoryutils.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class InventoryUtils
--- Utility functions for managing inventory operations and item stacking
--- Eliminates heavy duplication in coins.lua, trade.lua, and mine.lua
local InventoryUtils = {}
--- Finds all items of a specific type in an inventory
--- @param inventory Inventory The inventory to search
--- @param i... |
modules\utilities\logging\ai.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\ai.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- AI/Behavior Tree logger (re-exports from unified logging system)
--- Usage:
--- local AILog = require "modules.utilities.logging.ai"
--- AILog.setEnabled(true) -- turn on debug prints
--- AILog.debug("engine", "Generating behavior tree for: merchant")
local UnifiedLog = require "modules.utilities.logging.uni... |
modules\utilities\logging\bootstrap.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\bootstrap.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | -- Bootstrap for unified logging system
-- Reads environment flags and enables specific system loggers at boot
-- Env flags (1|true|on to enable):
-- ECHOS_LOG_ALL
-- ECHOS_LOG_BT, ECHOS_LOG_ENG, ECHOS_LOG_LIGHT, ECHOS_LOG_DATA, ECHOS_LOG_INPUT,
-- ECHOS_LOG_EQUIP, ECHOS_LOG_MINE, ECHOS_LOG_ECON, ECHOS_LOG_GEN, E... |
modules\utilities\logging\combat.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\combat.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Combat system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.combat
|
modules\utilities\logging\data.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\data.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Data system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.data
|
modules\utilities\logging\economy.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\economy.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Economy system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.economy
|
modules\utilities\logging\engine.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\engine.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Engine/system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.engine
|
modules\utilities\logging\equipment.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\equipment.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Equipment system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.equipment
|
modules\utilities\logging\factory.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\factory.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | -- Logger factory to create standardized, toggleable loggers per subsystem
-- API:
-- local Factory = require "modules.utilities.logging.factory"
-- local Log = Factory.newLogger { name = "ENGINE", prefix = "[ENG]", enabled = false }
-- Log.debug("init", "Engine starting")
-- Log.setEnabled(true)
local functio... |
modules\utilities\logging\generation.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\generation.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Generation system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.generation
|
modules\utilities\logging\input.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\input.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Input system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.input
|
modules\utilities\logging\lighting.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\lighting.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Lighting system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.lighting
|
modules\utilities\logging\mining.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\mining.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Mining system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.mining
|
modules\utilities\logging\shop.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\shop.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Shop system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.shop
|
modules\utilities\logging\ui.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\ui.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- UI system logger (re-exports from unified logging system)
local UnifiedLog = require "modules.utilities.logging.unified"
return UnifiedLog.ui
|
modules\utilities\logging\unified.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\logging\unified.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- Unified logging system that wraps prism.logger with subsystem prefixes
--- All loggers are disabled by default and can be enabled via environment flags
--- Usage:
--- local Log = require "modules.utilities.logging.unified"
--- Log.ai.debug("engine", "Behavior tree generated")
--- Log.data.info("Loading resour... |
modules\utilities\math\mathutils.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\math\mathutils.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class MathUtils
--- Utility functions for common mathematical operations
--- Consolidates repeated mathematical patterns throughout the codebase
local MathUtils = {}
--- Clamps a value between minimum and maximum bounds
--- @param value number Value to clamp
--- @param min number Minimum allowed value
--- @param ... |
modules\utilities\query\query.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\query\query.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Game = require "game"
local Interactable = require "modules.core.components.interactables.interactable"
---@class QueryUtils
local M = {}
function M.isPlayer(actor) return actor:has(prism.components.PlayerController) end
--- Finds a target of a given resource type at the owner's position or adjacent positions
... |
modules\utilities\render\drawing.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\render\drawing.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Palette = require "display.palette"
local TextUtils = require "modules.utilities.text.textutils"
local MathUtils = require "modules.utilities.math.mathutils"
local utf8 = require "utf8"
local Widget = require "ui.core.widget"
---@diagnostic disable: invisible
---@class DrawingUtils
local M = {}
-- #############... |
modules\utilities\render\render.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\render\render.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Game = require "game"
local Palette = require "display.palette"
local Drawing = require "modules.utilities.render.drawing"
local MathUtils = require "modules.utilities.math.mathutils"
local TextUtils = require "modules.utilities.text.textutils"
local Interactable = require "modules.core.components.interactables.i... |
modules\utilities\save\savedata.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\save\savedata.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Query = require "modules.utilities.query.query"
--- @class SaveData
local SaveData = {}
--- @class ItemReference
--- @field kind "item"|"resource"|"name" Item reference type
--- @field id string Item identifier
--- @field quantity integer Item quantity
--- @field weapon table|nil Weapon durability state
--- @fi... |
modules\utilities\save\savemanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\save\savemanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- SaveManager: handles save/load of game and level state
--- Uses Prism's serializer for the Level graph and a shallow table for Game
--- @class SaveManager
local SaveManager = {}
local EngLog = require "modules.utilities.logging.engine"
--- @class SaveFileBundle
--- @field version string Save file version
--- @fie... |
modules\utilities\systems\systems.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\systems\systems.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | ---@diagnostic disable: invisible
---@class SystemUtils
local M = {}
local EngLog = require "modules.utilities.logging.engine"
--- Removes a system from the level's system manager.
--- @param level Level
--- @param systemToRemove System
function M.removeSystem(level, systemToRemove)
local foundSystem = level:getSys... |
modules\utilities\target\targetfactory.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\target\targetfactory.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | --- @class TargetFactory
--- Utility for creating standardized target definitions for actions
--- Eliminates repeated target creation patterns across action files
local TargetFactory = {}
--- Creates a basic actor target with optional component requirements
--- @param componentType table? Component type that the targe... |
modules\utilities\text\textutils.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\utilities\text\textutils.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | ---@diagnostic disable: invisible
---@class TextUtils
local M = {}
--- Truncates text to a maximum length and adds ellipsis if truncated
---@param text string The text to truncate
---@param maxLength integer The maximum length allowed
---@return string truncatedText The truncated text with ellipsis if needed
function ... |
ui\core\uimanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/ui\core\uimanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local ThemeManager = require "ui.themes.thememanager"
local Widget = require "ui.core.widget"
---@class UIManager
---@field display Display
---@field widgets Widget[]
---@field theme ThemeManager
local UIManager = {}
UIManager.__index = UIManager
---@param display Display
---@return UIManager
function UIManager.new(d... |
ui\core\widget.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/ui\core\widget.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | ---@class Widget : Object
---@field x number
---@field y number
---@field width number
---@field height number
---@field visible boolean
---@field enabled boolean
---@field layer number Z-index/layer for rendering order
---@field children Widget[]
---@field parent Widget|nil
local Widget = prism.Object:extend "Widget"
... |
ui\layout\layoutengine.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/ui\layout\layoutengine.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | ---@class LayoutEngine
---@field screenWidth number
---@field screenHeight number
local LayoutEngine = {}
LayoutEngine.__index = LayoutEngine
---@param screenWidth number|nil
---@param screenHeight number|nil
---@return LayoutEngine
function LayoutEngine.new(screenWidth, screenHeight)
---@type LayoutEngine
local s... |
ui\navigation\navigationmanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/ui\navigation\navigationmanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | ---@class NavigationManager
---@field focus any|nil
local NavigationManager = {}
NavigationManager.__index = NavigationManager
---@return NavigationManager
function NavigationManager.new()
---@type NavigationManager
local self = setmetatable({}, NavigationManager)
self.focus = nil
return self
end
---@param wi... |
ui\themes\thememanager.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/ui\themes\thememanager.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Palette = require "display.palette"
---@class ThemeManager
---@field colors { primary: any, secondary: any, success: any, warning: any, error: any, text: any, muted: any, bgPanel: any, border: any }
local ThemeManager = {}
ThemeManager.__index = ThemeManager
---@type { colors: { primary: any, secondary: any, su... |
ui\widgets\hudwidget.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/ui\widgets\hudwidget.lua | HexSleeves/Kicking-Kobolds | null | [
"HexSleeves"
] | caf98b248532269dae489a72e160931eaa36bbb7 | MIT License
Copyright (c) 2025 PrismRL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/LICENSE | local Widget = require "ui.core.widget"
local StatsPanelWidget = require "ui.widgets.panels.statspanelwidget"
local LogPanelWidget = require "ui.widgets.panels.logpanelwidget"
local MapBorderWidget = require "ui.widgets.panels.mapborderwidget"
---@class HUDWidget : Widget
---@field statsPanel StatsPanelWidget
---@fiel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.