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 |
|---|---|---|---|---|---|---|---|---|
src\component.lua | https://github.com/EncryptedEthan/KeyGuider/blob/961dd95b63d60c5a0a34bb8158dc892e7e8e772e/src\component.lua | EncryptedEthan/KeyGuider | A lightweight and easy to use keybind combination guider | [
"7kayoh"
] | 961dd95b63d60c5a0a34bb8158dc892e7e8e772e | The MIT License (MIT)
Copyright va1kio 2021
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, dis... | https://github.com/EncryptedEthan/KeyGuider/blob/961dd95b63d60c5a0a34bb8158dc892e7e8e772e/LICENSE | return function(Text: string, Parent: instance): Frame
local Key = Instance.new("Frame")
local Container = Instance.new("Frame")
local Background = Instance.new("Frame")
local Body = Instance.new("Frame")
local Key2 = Instance.new("TextLabel")
local UICorner = Instance.new("UICorner")
local UICorner2 = Instance.... |
src\init.lua | https://github.com/EncryptedEthan/KeyGuider/blob/961dd95b63d60c5a0a34bb8158dc892e7e8e772e/src\init.lua | EncryptedEthan/KeyGuider | A lightweight and easy to use keybind combination guider | [
"7kayoh"
] | 961dd95b63d60c5a0a34bb8158dc892e7e8e772e | The MIT License (MIT)
Copyright va1kio 2021
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, dis... | https://github.com/EncryptedEthan/KeyGuider/blob/961dd95b63d60c5a0a34bb8158dc892e7e8e772e/LICENSE | local module = {}
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local Common = ReplicatedStorage.Common
local Flipper = require(Common.Flipper)
local Component = require(script.component)
local springProps = {
frequency = 2,
dampingRatio ... |
conf.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/conf.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-next-line
function love.conf(t)
t.window.vsync = 0 -- Enable vsync (1 by default)
t.window.width = 960
t.window.height = 540
t.window.usedpiscale = false
t.window.title = "Kicking Kobolds"
-- Other configurations...
end
|
controls.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/controls.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 | --- Controls Module
--- This module provides access to the ControlSchemeManager, which manages
--- multiple named control schemes and delegates to the active one.
---
--- For backward compatibility, this module returns the ControlSchemeManager
--- which behaves like the original single Controls instance but with added
... |
debugger.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/debugger.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 | -- We set up local lua debugger, this is optional but suggested!
if os.getenv "LOCAL_LUA_DEBUGGER_VSCODE" == "1" then require("lldebugger").start() end
if os.getenv "LOCAL_LUA_DEBUGGER_VSCODE" == "1" then
local lldebugger = require "lldebugger"
lldebugger.start()
local run = love.run
--- @diagnostic disable-n... |
game.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/game.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 LevelGenerator = require "modules.generation.generator"
local StateManager = require "modules.utilities.common.statemanager"
--- Configuration for different level types
local LEVEL_CONFIGS = {
surface = {
width = 40,
height = 30,
},
mine = {
width = 50,
height = 40,
},
}
--- @class Game ... |
globals.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/globals.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 Globals
--- @field debug boolean
--- @field startingDepth integer
_G.GLOBALS = {
debug = true,
startingDepth = 0,
modules = {},
}
prism.behaviors = {}
_G.inspect = require "libs.inspect"
|
main.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/main.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 | require "debugger"
require "prism"
require "globals"
local utf8 = require "utf8"
print(utf8.codepoint "⇒")
-- Set up logging
prism.logger.setOptions { level = "trace" }
-- Enable system loggers from environment flags (optional for dev)
require "modules.utilities.logging.bootstrap"
-- Load all modules
prism.loadModu... |
controls\gameplay.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/controls\gameplay.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 | -- Controls can be mapped to keys, text, gamepad buttons, joystick axes, or mouse presses.
-- Prefix the control with the type, e.g. "axis:lefty-", "mouse:1", "button:rightshoulder", "text:>".
-- If no prefix is given, the control is assumed to be a key.
-- Controls can also be combinations of inputs, e.g. "lshift a" o... |
controls\init.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/controls\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 | --- ControlSchemeManager
--- Manages multiple named control schemes and delegates to the active one.
--- Provides backward compatibility with the original single-controls approach.
---
--- Usage:
--- local controls = require "controls"
--- controls:update() -- Updates active scheme
--- controls... |
controls\menu.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/controls\menu.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 | --- Menu/UI Navigation Control Scheme
--- This scheme provides consistent navigation controls for UI states like
--- InventoryState, ShopState, and other menu-driven interfaces.
---
--- This scheme is mutually exclusive with the gameplay scheme - activate it
--- when entering UI states and deactivate when returning to ... |
definitions\gamedata.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/definitions\gamedata.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 EchosGameState: GameState
---@field display? Display
---@field level? Level
---@field drawBackground? function
---@field previousState? EchosGameState
-- ==================================================================
-- Lighting Data
-- ==================================================================
... |
display\palette.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/display\palette.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 Color4 = prism.Color4
local function hex(value) return Color4.fromHex(value) end
local base = {
black = Color4(0, 0, 0, 1),
white = hex(0xFFF1E8),
red = hex(0xFF004D),
green = hex(0x008751),
lime = hex(0x00E436),
blue = hex(0x29ADFF),
navy = hex(0x1D2B53),
purple = hex(0x7E2553),
brown = hex(0... |
gamestates\basestate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\basestate.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 KeyboardUtils = require "modules.utilities.input.keyboardutils"
--- Base gamestate class that provides common functionality for all custom gamestates
--- Extends spectrum.GameState and adds keyboard utility methods
---
--- @class BaseState : EchosGameState
--- @field display Display|nil The display object for re... |
gamestates\confirmstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\confirmstate.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 BaseState = require "gamestates.basestate"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
--- @class ConfirmState : BaseState
--- @field ui UIManager
--- @field modal ModalWidget
--- @field message string The confirmati... |
gamestates\containerstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\containerstate.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 BaseState = require "gamestates.basestate"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
local ListWidget = require "ui.widgets.listwidget"
local TextUtils = require "modules.utilities.text.textutils"
local Log = prism... |
gamestates\debugmenustate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\debugmenustate.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 Drawing = require "modules.utilities.render.drawing"
local CoinUtils = require "modules.features.economy.coins"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
local MenuWidget = require "ui.widgets.menuwidget"
--- @clas... |
gamestates\depthselectionstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\depthselectionstate.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 BaseState = require "gamestates.basestate"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
local DepthDataManager = require "modules.utilities.data.managers.depthdatamanager"
local TextUtils = ... |
gamestates\gamelevelstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\gamelevelstate.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 DepthSelectionState = require "gamestates.depthselectionstate"
local ContainerState = require "gamestates.containerstate"
local GameInputHandler = require "modules.utilities.input.input"
local GameDisplayHandler = require "modules.utilities.render.render"
local EventManager = require "... |
gamestates\inventoryactionstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\inventoryactionstate.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 MenuWidget = require "ui.widgets.menuwidget"
local ModalWidget = require "ui.widgets.modalwidget"
local UIManager = require "ui.core.uimanager"
local BaseState = require "gamestates.basestate"
local TextUtils = require "modules.utilities.text.textutils"
local Widget = req... |
gamestates\inventorystate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\inventorystate.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 BaseState = require "gamestates.basestate"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
local InventoryActionState = require "gamestates.inventoryactionstate"
local Equipment = require "modules.features.equipment.comp... |
gamestates\saveloadstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\saveloadstate.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: missing-parameter
local Palette = require "display.palette"
local BaseState = require "gamestates.basestate"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
local ConfirmState = require "gamestates.confirmstate"
local TextInputState = require "g... |
gamestates\shopstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\shopstate.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 BaseState = require "gamestates.basestate"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
local CoinUtils = require "modules.features.economy.coins"
local ConfirmState = require "gamestates.confirmstate"
local ListWidge... |
gamestates\signpopupstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\signpopupstate.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 BaseState = require "gamestates.basestate"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
local ListWidget = require "ui.widgets.listwidget"
local TextUtils = require "modules.utilities.text.textutils"
--- @class SignPo... |
gamestates\textinputstate.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/gamestates\textinputstate.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 BaseState = require "gamestates.basestate"
local UIManager = require "ui.core.uimanager"
local ModalWidget = require "ui.widgets.modalwidget"
local TextInputWidget = require "ui.widgets.textinputwidget"
--- @class TextInputState : BaseState
--- @field ui UIManager
--- @f... |
libs\inspect.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/libs\inspect.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 _tl_compat
if (tonumber((_VERSION or ""):match "[%d.]*$") or 0) < 5.3 then
local p, m = pcall(require, "compat53.module")
if p then _tl_compat = m end
end
local math = _tl_compat and _tl_compat.math or math
local string = _tl_compat and _tl_compat.string or string
local table = _tl_compat and _tl_compat.table... |
libs\json.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/libs\json.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 | --
-- json.lua
--
-- Copyright (c) 2020 rxi
--
-- 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, ... |
modules\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\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 | require "modules.utilities.module"
prism.loadModule "modules/core"
prism.loadModule "modules/content"
prism.loadModule "modules/features"
prism.Collision.assignNextAvailableMovetype "walk"
prism.Collision.assignNextAvailableMovetype "fly"
prism.Collision.assignNextAvailableMovetype "swim"
|
modules\content\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\content\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 | -- Content module
-- Actors, cells and messages are auto-loaded by Prism
|
modules\content\messages\descend.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\content\messages\descend.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 DescendMessage : Message
--- @overload fun(descender: Actor): DescendMessage
local DescendMessage = prism.Message:extend "DescendMessage"
--- @param descender Actor
function DescendMessage:__new(descender) self.descender = descender end
return DescendMessage
|
modules\content\messages\lose.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\content\messages\lose.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 LoseMessage : Message
--- @overload fun(): LoseMessage
local LoseMessage = prism.Message:extend "LoseMessage"
return LoseMessage
|
modules\content\messages\mineshaftdepthselection.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\content\messages\mineshaftdepthselection.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 MineShaftDepthSelectionMessage : Message
--- @overload fun(player: Actor, mineShaft: Actor, availableDepths: table<integer>): MineShaftDepthSelectionMessage
local MineShaftDepthSelectionMessage = prism.Message:extend "MineShaftDepthSelectionMessage"
--- @param player Actor The player selecting depth
--- @pa... |
modules\content\messages\mineshaftreturntosurface.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\content\messages\mineshaftreturntosurface.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 MineShaftReturnToSurfaceMessage : Message
--- @overload fun(player: Actor, mineShaft: Actor): MineShaftReturnToSurfaceMessage
local MineShaftReturnToSurfaceMessage = prism.Message:extend "MineShaftReturnToSurfaceMessage"
--- @param player Actor The player returning to surface
--- @param mineShaft Actor The ... |
modules\content\messages\opencontainer.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\content\messages\opencontainer.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 Container = require "modules.core.components.container"
--- @class OpenContainerMessage : Message
--- @overload fun(player: Actor, mineShaft: Actor): OpenContainerMessage
local OpenContainerMessage = prism.Message:extend "OpenContainerMessage"
--- @param player Actor The player returning to surface
--- @param c... |
modules\content\messages\transitiontodepth.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\content\messages\transitiontodepth.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 TransitionToDepthMessage : Message
--- @overload fun(player: Actor, targetDepth: integer): TransitionToDepthMessage
local TransitionToDepthMessage = prism.Message:extend "TransitionToDepthMessage"
--- @param player Actor The player transitioning
--- @param targetDepth integer The target depth level
function... |
modules\core\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\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 | -- Core module
-- Components, actions and systems are auto-loaded by Prism
|
modules\core\actions\opencontainer.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\opencontainer.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 Name = prism.components.Name
local Log = prism.components.Log
--- Target for opening containers
--- Must have Container component, be within range 1, and be sensed (visible)
local OpenContainerTarget = prism.Target():with(prism.components.Container):range(1):sensed()
--- @class OpenContainer : Action
--- Action... |
modules\core\actions\combat\attack.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\combat\attack.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 CombatDataCache = require "modules.utilities.data.combatdatacache"
local CombatAction = require "modules.utilities.actions.combataction"
local TargetFactory = require "modules.utilities.target.targetfactory"
local Equipment = require "modules.features.equipment.components.equipment"
local Weapon = require "module... |
modules\core\actions\combat\bite.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\combat\bite.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 CooldownCombatAction = require "modules.utilities.actions.cooldowncombataction"
local TargetFactory = require "modules.utilities.target.targetfactory"
local BiteTarget = TargetFactory.createCombatTarget(1, true)
---@class Bite : CooldownCombatAction
---@overload fun(owner: Actor, target: Actor): Bite
local Bite... |
modules\core\actions\combat\damage.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\combat\damage.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 TargetFactory = require "modules.utilities.target.targetfactory"
local DamageTarget = TargetFactory.createDamageTarget()
--- @class Damage : Action
--- @overload fun(owner: Actor, damage: number): Damage
local Damage = prism.Action:extend "Damage"
Damage.name = "Damage"
Damage.targets = { DamageTarget }
-- Note... |
modules\core\actions\combat\die.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\combat\die.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 Die : Action
---@overload fun(owner: Actor): Die
local Die = prism.Action:extend "Die"
--- @param level Level
function Die:perform(level)
-- Handle drop table before removing the actor
local x, y = self.owner:getPosition():decompose()
local dropTable = self.owner:get(prism.components.DropTable)
if d... |
modules\core\actions\combat\kick.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\combat\kick.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 CombatDataCache = require "modules.utilities.data.combatdatacache"
local KickTarget = TargetFactory.createKickTarget()
---@class KickAction : CombatAction
local Kick = Com... |
modules\core\actions\combat\scratch.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\combat\scratch.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 CooldownCombatAction = require "modules.utilities.actions.cooldowncombataction"
local TargetFactory = require "modules.utilities.target.targetfactory"
local ScratchTarget = TargetFactory.createCombatTarget(1, true)
---@class Scratch : CooldownCombatAction
---@overload fun(owner: Actor, target: Actor): Scratch
l... |
modules\core\actions\interaction\interact.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\interaction\interact.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 TargetFactory = require "modules.utilities.target.targetfactory"
local ComponentValidator = require "modules.utilities.common.componentvalidator"
-- Target for interaction - must be an actor with Interactable c... |
modules\core\actions\interaction\reveal_map.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\interaction\reveal_map.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 Query = require "modules.utilities.query.query"
local Log = prism.components.Log
---@class RevealMap : Action
local RevealMap = prism.Action:extend "RevealMap"
RevealMap.name = "RevealMap"
RevealMap.requiredComponents = {
prism.components.PlayerController,
prism.components.Senses... |
modules\core\actions\movement\descend.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\movement\descend.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 TargetFactory = require "modules.utilities.target.targetfactory"
local DescendTarget = TargetFactory.createStairTarget()
---@class Descend : Action
---@overload fun(owner: Actor, stairs: Actor): Descend
local Descend = prism.Action:extend "Descend"
Descend.targets = { DescendTarget }
function Descend:perform(l... |
modules\core\actions\movement\fall.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\movement\fall.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 Fall : Action
--- @overload fun(owner: Actor): Fall
local Fall = prism.Action:extend "Fall"
--- @param level Level
function Fall:canPerform(level)
local x, y = self.owner:getPosition():decompose()
local cell = level:getCell(x, y)
-- We can only fall on pit cells.
if not cell or cell:getName() ~= "P... |
modules\core\actions\movement\mineshaftinteract.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\movement\mineshaftinteract.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 MineShaftComponent = require "modules.core.components.mineshaftcomponent"
local TargetFactory = require "modules.utilities.target.targetfactory"
local Query = require "modules.utilities.query.query"
local MineShaftTarget = TargetFactory.createMineShaftTarget()
---@class MineShaftInteract : Action
---@overload f... |
modules\core\actions\movement\move.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\movement\move.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 TargetFactory = require "modules.utilities.target.targetfactory"
local MoveTarget = TargetFactory.createMovementTarget()
---@class Move : Action
---@field name string
---@field targets Target[]
---@field previousPosition Vector2
local Move = prism.Action:extend "Move"
Move.name = "move"
Move.targets = { MoveTar... |
modules\core\actions\movement\returnshaftinteract.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\movement\returnshaftinteract.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 ReturnShaftComponent = require "modules.core.components.returnshaftcomponent"
local TargetFactory = require "modules.utilities.target.targetfactory"
local ReturnShaftTarget = TargetFactory.createReturnShaftTarget()
---@class ReturnShaftInteract : Action
---@overload fun(owner: Actor, returnShaft: Actor): Return... |
modules\core\actions\movement\wait.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\actions\movement\wait.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 Wait : Action
local Wait = prism.Action:extend "Wait"
function Wait:canPerform() return true end
function Wait:perform(level) end
return Wait
|
modules\core\behaviortrees\datadrivenbehaviortree.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\behaviortrees\datadrivenbehaviortree.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-driven behavior tree factory that generates behavior trees from JSON configuration
--- @class DataDrivenBehaviorTree
local DataDrivenBehaviorTree = {}
--- @class BehaviorController
--- @field state table State storage for behavior persistence
local AIDataManager = require "modules.utilities.data.managers.aid... |
modules\core\behaviortrees\actions\combat.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\behaviortrees\actions\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 actions for data-driven BT
local Combat = {}
local Query = require "modules.utilities.query.query"
--- Scratch attack (light melee)
function Combat.scratch(level, actor, actionConfig)
local player = Query.findPlayer(level, actor)
if not player then return false end
local action = prism.actions.Scratc... |
modules\core\behaviortrees\actions\merchant.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\behaviortrees\actions\merchant.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 MathUtils = require "modules.utilities.math.mathutils"
--- Merchant-specific actions for data-driven BT
local Merchant = {}
--- Interact placeholder (e.g., could open shop UI)
function Merchant.interact(level, actor, actionConfig, controller)
if controller then controller.state.lastActionType = "interact" end... |
modules\core\behaviortrees\actions\movement.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\behaviortrees\actions\movement.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 | --- Movement and generic navigation actions for data-driven BT
local Movement = {}
local Query = require "modules.utilities.query.query"
--- Creates a generic move action toward target (player) using pathfinding
--- @param level Level
--- @param actor Actor
--- @param actionConfig table
--- @return Action|boolean
fun... |
modules\core\behaviortrees\conditions\constant.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\behaviortrees\conditions\constant.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 | --- Constant condition evaluator
return {
--- @param level Level
--- @param actor Actor
--- @param condition table
--- @return boolean
constant = function(level, actor, condition) return not not condition.value end,
}
|
modules\core\behaviortrees\conditions\cooldown.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\behaviortrees\conditions\cooldown.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 | --- Cooldown-based condition evaluator
return {
--- @param level Level
--- @param actor Actor
--- @param condition table
--- @return boolean
cooldown = function(level, actor, condition)
local ability = condition.ability
local value = condition.value -- false means ability is available (not on cooldown... |
modules\core\behaviortrees\conditions\distance.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\behaviortrees\conditions\distance.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 | --- Distance-based condition evaluator
return {
--- @param level Level
--- @param actor Actor
--- @param condition table
--- @return boolean
distance = function(level, actor, condition)
local Query = require "modules.utilities.query.query"
local TargetFactory = require "modules.utilities.target.target... |
modules\core\behaviortrees\conditions\visibility.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\behaviortrees\conditions\visibility.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 | --- Visibility/FOV-based condition evaluator
return {
--- @param level Level
--- @param actor Actor
--- @param condition table
--- @return boolean
visibility = function(level, actor, condition)
local target = condition.target
local value = condition.value
if target == "player" then
local si... |
modules\core\components\container.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\container.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 Container : Component
--- Tag component for actors that can be opened to reveal their inventory contents
--- Requires an Inventory component to store items
--- @overload fun(): Container
local Container = prism.Component:extend "Container"
--- Specifies that Container requires an Inventory component
--- @re... |
modules\core\components\cooldowns.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\cooldowns.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 Cooldowns = prism.Component:extend "Cooldowns"
function Cooldowns:__new(initialCooldowns)
self.cooldowns = {}
if initialCooldowns then
for abilityName, turns in pairs(initialCooldowns) do
self:setCooldown(abilityName, turns)
end
end
end
function Cooldowns:setCooldown(abilityName, turns)
a... |
modules\core\components\mineshaftcomponent.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\mineshaftcomponent.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 MineShaftComponent : Component
--- @field availableDepths table<integer> List of depths accessible from this shaft
--- @field maxDepth integer Maximum depth this shaft can access
--- @field isMainEntrance boolean Whether this is the main surface entrance
local MineShaftComponent = prism.Component:extend "Min... |
modules\core\components\resourcecomponent.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\resourcecomponent.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 ResourceComponent : Component
--- Base class for components that manage resources (quantity-based values)
--- Consolidates common patterns from Currency, MiningTool, LightSource, MineableResource
--- @field current number Current resource amount
--- @field max number Maximum resource amount (0 = unlimited)
-... |
modules\core\components\returnshaftcomponent.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\returnshaftcomponent.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 ReturnShaftComponent : Component
--- @field isReturnOnly boolean Always true for return shafts
local ReturnShaftComponent = prism.Component:extend "ReturnShaftComponent"
ReturnShaftComponent.name = "ReturnShaftComponent"
function ReturnShaftComponent:__new() self.isReturnOnly = true end
return ReturnShaftC... |
modules\core\components\attributes\attacker.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\attributes\attacker.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 Attacker : Component
--- @field baseDamage integer
--- @field baseDamageType string?
--- @overload fun(baseDamage: integer, baseDamageType: string?)
local Attacker = prism.Component:extend "Attacker"
--- @param baseDamage integer?
--- @param baseDamageType string?
function Attacker:__new(baseDamage, baseDam... |
modules\core\components\attributes\health.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\attributes\health.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 Health : Component
--- @field maxHP integer
--- @field hp integer
--- @field invulnerable boolean
--- @overload fun(maxHP: integer)
local Health = prism.Component:extend "Health"
--- @param maxHP integer
function Health:__new(maxHP)
self.maxHP = maxHP
self.hp = maxHP
self.invulnerable = false
end
ret... |
modules\core\components\attributes\mover.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\attributes\mover.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 Mover : Component
--- @field mask Bitmask
local Mover = prism.Component:extend "Mover"
Mover.name = "Mover"
--- @param movetypes string[]
function Mover:__new(movetypes) self.mask = prism.Collision.createBitmaskFromMovetypes(movetypes) end
return Mover
|
modules\core\components\interactables\cityinteractable.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\interactables\cityinteractable.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 Interactable = require "modules.core.components.interactables.interactable"
-- CityInteractable class extending Interactable
local CityInteractable = Interactable:extend "CityInteractable"
--- @param type string
--- @param config table
function CityInteractable:__new(type, confi... |
modules\core\components\interactables\inninteractable.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\interactables\inninteractable.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 CityInteractable = require "modules.core.components.interactables.cityinteractable"
-- InnInteractable subclass for inn-specific logic
local InnInteractable = CityInteractable:extend "InnInteractable"
function InnInteractable:__new(config) CityInteractable.__new(self, "inn", con... |
modules\core\components\interactables\interactable.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\interactables\interactable.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 Interactable : Component
--- Base interface for interactable objects
local Interactable = prism.Component:extend "Interactable"
function Interactable:__new(config)
self.interactionText = config.interactionText
self.isActive = config.isActive ~= false
self.type = config.type
end
--- Called when an act... |
modules\core\components\interactables\mineshaftinteractable.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\interactables\mineshaftinteractable.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 Interactable = require "modules.core.components.interactables.interactable"
local MineShaftInteract = require "modules.core.actions.movement.mineshaftinteract"
local EngLog = require "modules.utilities.logging.engine"
--- @class MineShaftInteractable : Interactable
--- @field owner Actor The actor that owns thi... |
modules\core\components\interactables\returnshaftinteractable.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\interactables\returnshaftinteractable.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 Interactable = require "modules.core.components.interactables.interactable"
local ReturnShaftInteract = require "modules.core.actions.movement.returnshaftinteract"
local EngLog = require "modules.utilities.logging.engine"
--- @class ReturnShaftInteractable : Interactable
--- @field owner Actor The actor that ow... |
modules\core\components\interactables\shopinteractable.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\interactables\shopinteractable.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 CityInteractable = require "modules.core.components.interactables.cityinteractable"
-- ShopInteractable subclass for shop-specific logic
local ShopInteractable = CityInteractable:extend "ShopInteractable"
function ShopInteractable:__new(config) CityInteractable.__new(self, "shop", config) end
function ShopInte... |
modules\core\components\world\depthtracker.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\world\depthtracker.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 DepthTracker : Component
--- @field currentDepth integer Current mine depth (0 = surface)
--- @field maxDepthReached integer Deepest level player has accessed
local DepthTracker = prism.Component:extend "DepthTracker"
DepthTracker.name = "DepthTracker"
--- Creates a new DepthTracker component
--- @param cur... |
modules\core\components\world\stair.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\components\world\stair.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 Stair : Component
local Stair = prism.Component:extend "Stair"
Stair.name = "Stair"
return Stair
|
modules\core\controllers\behaviortreecontroller.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\controllers\behaviortreecontroller.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 BehaviorTreeController : Controller
--- @field behaviorId string The ID of the behavior tree to use
--- @field rootNode BehaviorTree.Root The behavior tree root node
local BehaviorTreeController = prism.components.Controller:extend "BehaviorTreeController"
local AIDataManager = require "modules.utilities.dat... |
modules\core\systems\cooldownsystem.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\systems\cooldownsystem.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 | --- CooldownSystem manages ability cooldowns for all actors with Cooldowns components
--- @class CooldownSystem : System
local CooldownSystem = prism.System:extend "CooldownSystem"
local Cooldowns = require "modules.core.components.cooldowns"
--- Constructor for CooldownSystem
function CooldownSystem:__new()
-- No ... |
modules\core\systems\fallsystem.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\core\systems\fallsystem.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 FallSystem : System
local FallSystem = prism.System:extend "FallSystem"
--- @param level Level
--- @param actor Actor
function FallSystem:onMove(level, actor)
local fall = prism.actions.Fall(actor)
if level:canPerform(fall) then level:perform(fall) end
end
return FallSystem
|
modules\features\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\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 | -- Features module - loads all feature submodules
prism.loadModule "modules/features/equipment"
prism.loadModule "modules/features/lighting"
prism.loadModule "modules/features/mining"
prism.loadModule "modules/features/economy"
|
modules\features\economy\coins.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\economy\coins.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 S = require "modules.utilities.actors.spawner"
local COIN_NAME = "Gold Coin"
--- @class CoinUtils
--- Utility functions for managing physical coin items in inventory
local CoinUtils = {}
--- Creates a coin item actor
--- @param amount integer Number of coins
--- @retur... |
modules\features\economy\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\economy\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 | -- Economy feature module
-- Components are auto-registered by Prism
|
modules\features\economy\trade.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\economy\trade.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 Merchant = prism.components.Merchant
local CoinUtils = require "modules.features.economy.coins"
local TargetFactory = require "modules.utilities.target.targetfactory"
local ComponentValidator = require "modules... |
modules\features\economy\components\currency.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\economy\components\currency.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 Currency : ResourceComponent
--- @field transactions table<table> Transaction history with timestamps (alias for history)
--- @overload fun(initialAmount: integer)
local Currency = ResourceComponent:extend "Currency"
--- @param i... |
modules\features\economy\components\merchant.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\economy\components\merchant.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 ShopItem
--- @field itemType string Type of item ("tool", "supply", "upgrade")
--- @field name string Display name
--- @field description string Item description
--- @field basePrice integer Base purchase price
--- @field sellPrice integer Price when selling to shop
--- @field stock integer Available quantit... |
modules\features\equipment\actions\equip.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\equipment\actions\equip.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 Name = prism.components.Name
local Equipment = require "modules.features.equipment.components.equipment"
local Equippable = require "modules.features.equipment.components.equippable"
local sf = string.format
-- Target for equipping - must be an inventory item with Equippable com... |
modules\features\equipment\actions\togglelight.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\equipment\actions\togglelight.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 Name = prism.components.Name
local Equipment = require "modules.features.equipment.components.equipment"
local LightLog = require "modules.utilities.logging.lighting"
local Query = require "modules.utilities.query.query"
local sf = string.format
---@class ToggleLight : Action
lo... |
modules\features\equipment\actions\unequip.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\equipment\actions\unequip.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 Name = prism.components.Name
local Equipment = require "modules.features.equipment.components.equipment"
local Equippable = require "modules.features.equipment.components.equippable"
local sf = string.format
---@class Unequip : Action
--- @field slotType string? The slot to uneq... |
modules\features\equipment\components\armor.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\equipment\components\armor.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 | --- Armor component for items that provide defense
--- @class Armor : Component
--- @field armorType string The type of armor (leather, chain, plate, etc.)
--- @field defense number Base defense provided by this armor
--- @field durability number Current durability of the armor
--- @field maxDurability number Maximum d... |
modules\features\equipment\components\equipment.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\equipment\components\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 | local EquipmentDataManager = require "modules.utilities.data.managers.equipmentdatamanager"
local Equippable = require "modules.features.equipment.components.equippable"
--- @class Equipment : Component
--- @field owner Actor The actor that owns this equipment component
--- @field equipped table<string, Actor> Mapping... |
modules\features\equipment\components\equippable.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\equipment\components\equippable.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 | --- Equippable component for items that can be equipped to equipment slots
--- @class Equippable : Component
--- @field slotType string The equipment slot this item can be equipped to
--- @field stats table<string, number> Stat bonuses provided when equipped
--- @field requirements table<string, any> Requirements to eq... |
modules\features\equipment\components\weapon.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\equipment\components\weapon.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 CombatDataCache = require "modules.utilities.data.combatdatacache"
local QueryUtils = require "modules.utilities.query.query"
--- Weapon component for items that can deal damage
--- @class Weapon : Component
--- @field weaponType string The type of weapon (dagger, sword, axe, etc.)
--- @field damage number Base ... |
modules\features\lighting\module.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\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 | -- Lighting feature module
-- Components and systems are auto-registered by Prism
-- Components are auto-registered by Prism
-- Manual registration not needed for:
-- - FuelEfficiencyBooster
-- - EmergencyLight
-- - LightSourceUpgrade
-- - FuelItem
-- Actions are also auto-registered by Prism
-- Manual registration n... |
modules\features\lighting\actions\activateemergencylight.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\actions\activateemergencylight.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 Name = prism.components.Name
local EmergencyLight = prism.components.EmergencyLight
-- Target: an inventory item that is EmergencyLight and not depleted
local EmergencyLightTarget = prism.targets
.InventoryTarget()
:with(prism.components.Item)
:with(EmergencyLight)
:filte... |
modules\features\lighting\actions\applyfuelbooster.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\actions\applyfuelbooster.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 Equipment = require "modules.features.equipment.components.equipment"
local Log = prism.components.Log
local Name = prism.components.Name
local FuelEfficiencyBooster = prism.components.FuelEfficiencyBooster
local LightSource = prism.components.LightSource
-- Target: an inventory item that is FuelEfficiencyBoost... |
modules\features\lighting\actions\deactivateemergencylight.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\actions\deactivateemergencylight.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 Name = prism.components.Name
local EmergencyLight = prism.components.EmergencyLight
-- Target: an inventory item that is EmergencyLight and currently active
local ActiveEmergencyLightTarget = prism.targets
.InventoryTarget()
:with(prism.components.Item)
:with(EmergencyLight... |
modules\features\lighting\actions\managefuel.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\actions\managefuel.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 Equipment = require "modules.features.equipment.components.equipment"
local Log = prism.components.Log
local Name = prism.components.Name
local LightSource = prism.components.LightSource
local FuelItem = prism.components.FuelItem
local EmergencyLight = prism.components.EmergencyLight
local FuelEfficiencyBooster ... |
modules\features\lighting\actions\refuel.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\actions\refuel.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 Equipment = require "modules.features.equipment.components.equipment"
local Log = prism.components.Log
local Name = prism.components.Name
local FuelItem = prism.components.FuelItem
local LightSource = prism.components.LightSource
-- Target: an inventory item that is FuelItem and compatible with the owner's ligh... |
modules\features\lighting\actions\resetemergencylight.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\actions\resetemergencylight.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 Name = prism.components.Name
local EmergencyLight = prism.components.EmergencyLight
-- Target: an inventory item that is EmergencyLight and depleted
local DepletedEmergencyLightTarget = prism.targets
.InventoryTarget()
:with(prism.components.Item)
:with(EmergencyLight)
:f... |
modules\features\lighting\actions\upgradelightsource.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\actions\upgradelightsource.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 Equipment = require "modules.features.equipment.components.equipment"
local Currency = require "modules.features.economy.components.currency"
local Log = prism.components.Log
local Name = prism.components.Name
local LightSourceUpgrade = prism.components.LightSourceUpgrade
local LightSource = prism.components.Lig... |
modules\features\lighting\components\emergencylight.lua | https://github.com/HexSleeves/Kicking-Kobolds/blob/caf98b248532269dae489a72e160931eaa36bbb7/modules\features\lighting\components\emergencylight.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 EmergencyLight : Component
--- Represents a backup light source that can automatically activate when main lights fail
--- @field lightRadius integer Light radius when activated
--- @field duration integer How long the emergency light lasts (in turns)
--- @field autoActivate boolean Whether this light auto-ac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.