Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TalesMUD/talesmud
/ functions
Functions
2,537 in github.com/TalesMUD/talesmud
⨍
Functions
2,537
◇
Types & classes
440
↓ 1 callers
Function
Options
create dialog map structure and add all parameters to it
pkg/entities/dialogs/dialogs.go:103
↓ 1 callers
Function
Or
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
Params
Params returns the underlying parameter slice.
pkg/db/query.go:26
↓ 1 callers
Method
Parties
()
pkg/repository/factory.go:6
↓ 1 callers
Function
Pe
()
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
Pl
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
Pm
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
ProcessRoundStart
ProcessRoundStart handles round-start processing for all living combatants
pkg/mudserver/game/combat/engine_skills.go:644
↓ 1 callers
Method
ProcessStatusEffects
--- Status Effect Tick Processing --- ProcessStatusEffects processes all status effects on a combatant at the start of their turn. Returns true if the
pkg/mudserver/game/combat/engine_skills.go:538
↓ 1 callers
Method
Put
Put returns a Lua state to the pool If the pool is full or closed, the state is closed instead
pkg/scripts/runner/lua/pool.go:58
↓ 1 callers
Method
QuestProgress
()
pkg/repository/factory.go:19
↓ 1 callers
Method
RecordSessionEnd
(guestRefID string, endedAt time.Time)
pkg/service/gueststats.go:25
↓ 1 callers
Method
RecordSessionStart
(guestRefID string)
pkg/service/gueststats.go:24
↓ 1 callers
Function
RegisterAllModules
RegisterAllModules registers all Lua API modules with the runner
pkg/scripts/runner/lua/modules/register.go:8
↓ 1 callers
Method
RegisterNPC
RegisterNPC adds an NPC to a combat instance's lookup map
pkg/mudserver/game/combat/manager.go:88
↓ 1 callers
Method
RegisterPlayer
RegisterPlayer adds a player to a combat instance's lookup map
pkg/mudserver/game/combat/manager.go:81
↓ 1 callers
Method
RemoveItem
RemoveItem removes an item by ID and returns it
pkg/entities/items/inventory.go:73
↓ 1 callers
Method
RespawnInstance
RespawnInstance resets an instance to alive state
pkg/mudserver/game/npc_manager.go:294
↓ 1 callers
Method
RevealExit
RevealExit records that the character has revealed a hidden exit in a room
pkg/entities/characters/character.go:314
↓ 1 callers
Function
Rl
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
RollLootFromTable
RollLootFromTable implements LootTablesService.RollLootFromTable
pkg/service/loottables.go:59
↓ 1 callers
Function
RoomFromJSONString
RoomFromJSONString ...
pkg/entities/rooms/converter.go:10
↓ 1 callers
Function
RoomToJSONString
RoomToJSONString ...
pkg/entities/rooms/converter.go:32
↓ 1 callers
Function
RoomsToJSONString
RoomsToJSONString ...
pkg/entities/rooms/converter.go:38
↓ 1 callers
Function
Rr
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
RunWithResult
RunWithResult executes a script and returns detailed result information
pkg/scripts/runner/defaultscriptrunner.go:62
↓ 1 callers
Method
RunWithResult
RunWithResult executes a Lua script and returns detailed result information
pkg/scripts/runner/lua/luarunner.go:110
↓ 1 callers
Method
ScriptTypes
()
pkg/service/scripts.go:14
↓ 1 callers
Function
SeedSkills
SeedSkills returns the default skill definitions used to populate the database on first run.
pkg/entities/skills/seed.go:6
↓ 1 callers
Method
ServerSettings
()
pkg/repository/factory.go:17
↓ 1 callers
Method
SetDryRun
SetDryRun enables dry-run mode (validate only)
pkg/importer/importer.go:68
↓ 1 callers
Method
SetFacade
Internal setter for facade dependency
pkg/service/quests.go:40
↓ 1 callers
Method
SetRole
(userID string, role string)
pkg/service/users.go:19
↓ 1 callers
Method
SetServices
SetServices injects the required services into the runner
pkg/scripts/runner/defaultscriptrunner.go:35
↓ 1 callers
Method
SetServices
SetServices injects the required services into both runners
pkg/scripts/runner/factory.go:33
↓ 1 callers
Method
SetVerbose
SetVerbose enables verbose output
pkg/importer/importer.go:63
↓ 1 callers
Method
SetupInterrupt
SetupInterrupt sets up the interrupt mechanism for the Lua state
pkg/scripts/runner/lua/sandbox.go:76
↓ 1 callers
Method
ShouldRespawn
ShouldRespawn returns true if this NPC is dead and ready to respawn
pkg/entities/npcs/npc.go:112
↓ 1 callers
Function
SkillsForClass
SkillsForClass returns all skills a class can learn (regardless of level)
pkg/entities/skills/registry.go:74
↓ 1 callers
Method
SkillsService
()
pkg/service/facade.go:23
↓ 1 callers
Method
SpawnInstanceDirect
SpawnInstanceDirect spawns an NPC from a template (not via spawner)
pkg/mudserver/game/def/gamectrl.go:21
↓ 1 callers
Method
StartCleanupLoop
()
pkg/service/guest.go:32
↓ 1 callers
Method
Store
Store ...
pkg/service/characters.go:96
↓ 1 callers
Function
Tg
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
Tn
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
ToMap
ToMap converts the context to a map for Lua
pkg/scripts/events/context.go:135
↓ 1 callers
Method
UnbanUser
(userID string)
pkg/service/users.go:21
↓ 1 callers
Method
UpdateByField
(item interface{}, key string, value string)
pkg/repository/sqlite_generic.go:64
↓ 1 callers
Method
UpdateCombatantInTurnOrder
UpdateCombatantInTurnOrder updates a combatant's data in the turn order This is needed because TurnOrder contains copies, not references
pkg/entities/combat/instance.go:292
↓ 1 callers
Method
Upsert
(s *settings.ServerSettings)
pkg/repository/interfaces.go:204
↓ 1 callers
Method
Users
()
pkg/repository/factory.go:7
↓ 1 callers
Method
ValidateGuestToken
(tokenStr string)
pkg/service/guest.go:30
↓ 1 callers
Method
ValueHelp
()
pkg/service/rooms.go:17
↓ 1 callers
Function
Vt
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
Xm
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
Yn
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
__
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
_f
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
addAutocompleteHandler
(e,...t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
addGameFunctions
(vm *otto.Otto)
pkg/scripts/runner/defaultscriptrunner.go:152
↓ 1 callers
Method
addItemFunctions
(vm *otto.Otto)
pkg/scripts/runner/defaultscriptrunner.go:124
↓ 1 callers
Method
addRoomFunctions
(vm *otto.Otto)
pkg/scripts/runner/defaultscriptrunner.go:169
↓ 1 callers
Function
applyBuiltInEffects
applyBuiltInEffects applies data-driven effects from item Attributes
pkg/mudserver/game/commands/use.go:119
↓ 1 callers
Method
applyPragmas
()
pkg/db/sqlite/sqlite.go:55
↓ 1 callers
Method
applyRegeneration
applyRegeneration applies HP and mana regeneration to a character.
pkg/mudserver/game/game_regeneration.go:109
↓ 1 callers
Method
attach
* Attach controller to the terminal, handling events
public/app/src/game/echo/LocalEchoController.js:66
↓ 1 callers
Method
attach
()
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
attach
* Attach controller to the terminal, handling events
public/mud-client/src/game/echo/LocalEchoController.js:66
↓ 1 callers
Method
attachCharacterToMessage
Find the matching character for the user where the message originated
pkg/mudserver/game/game_handlers.go:60
↓ 1 callers
Function
buildDescriptionUserPrompt
(req *GenerateCharacterRequest, characterName string)
pkg/server/handler/generate.go:169
↓ 1 callers
Function
buildNameUserPrompt
(req *GenerateCharacterRequest)
pkg/server/handler/generate.go:143
↓ 1 callers
Method
buildObjectiveProgress
buildObjectiveProgress builds the objective progress list for messages
pkg/mudserver/game/quest_tracker.go:261
↓ 1 callers
Function
buildWhere
(params *db.QueryParams)
pkg/repository/sqlite_generic.go:170
↓ 1 callers
Method
calculateManaRegenAmount
calculateManaRegenAmount determines how much mana to regenerate based on character state.
pkg/mudserver/game/game_regeneration.go:87
↓ 1 callers
Method
calculatePositions
calculatePositions assigns X,Y positions to rooms without coordinates
pkg/server/handler/worldrenderer.go:83
↓ 1 callers
Method
calculateRegenAmount
calculateRegenAmount determines how much HP to regenerate based on character state.
pkg/mudserver/game/game_regeneration.go:66
↓ 1 callers
Function
characterFromTemplate
(template *characters.CharacterTemplate)
pkg/service/characters.go:65
↓ 1 callers
Method
checkRateLimit
checkRateLimit returns true if the IP is within the rate limit.
pkg/service/guest.go:336
↓ 1 callers
Method
clearWorldData
clearWorldData clears all world data except users and characters
pkg/importer/importer.go:301
↓ 1 callers
Function
closestRightBoundary
(input, offset)
public/app/src/game/echo/Utils.js:32
↓ 1 callers
Function
closestRightBoundary
(input, offset)
public/mud-client/src/game/echo/Utils.js:32
↓ 1 callers
Function
collectAutocompleteCandidates
(callbacks, input)
public/app/src/game/echo/Utils.js:135
↓ 1 callers
Function
collectAutocompleteCandidates
(callbacks, input)
public/mud-client/src/game/echo/Utils.js:135
↓ 1 callers
Function
consumeItem
consumeItem decrements quantity or removes the item from inventory
pkg/mudserver/game/commands/use.go:210
↓ 1 callers
Function
contains
(s []string, e string)
pkg/mudserver/mudserver.go:226
↓ 1 callers
Function
containsLower
(s, substr string)
pkg/mudserver/game/npc_manager.go:564
↓ 1 callers
Function
convertDialogOptions
convertDialogOptions recursively converts dialog options with cycle detection
pkg/importer/converters.go:276
↓ 1 callers
Method
copyAssets
copyAssets copies room images to the backgrounds folder
pkg/importer/importer.go:649
↓ 1 callers
Function
copyFile
(src, dst string)
pkg/importer/importer.go:697
↓ 1 callers
Function
countArguments
countArguments counts the number of arguments in a function call starting at the '(' position. Returns -1 if it can't reliably determine the count (e.
pkg/importer/validator.go:334
↓ 1 callers
Method
createBackup
createBackup creates a JSON backup of current world data
pkg/importer/importer.go:232
↓ 1 callers
Function
createFilterRequest
(path, filters)
public/app/src/api/npcspawners.js:4
↓ 1 callers
Function
createFilterRequest
(path, filters)
public/app/src/api/items.js:5
↓ 1 callers
Function
createFilterRequest
(path, filters)
public/app/src/api/rooms.js:39
↓ 1 callers
Function
createFilterRequest
(path, filters)
public/app/src/api/dialogs.js:4
↓ 1 callers
Function
createFilterRequest
(path, filters)
public/app/src/api/npcs.js:4
↓ 1 callers
Function
createIdleDialog
()
cmd/dialog_sandbox/main.go:193
↓ 1 callers
Method
createIndexes
createIndexes creates indexes on commonly queried JSON fields
pkg/db/sqlite/sqlite.go:105
↓ 1 callers
Function
createLayoutStore
()
public/mud-client/src/game/layout/LayoutStore.js:87
↓ 1 callers
Function
createManaBar
createManaBar creates a visual mana bar
pkg/mudserver/game/game_combat.go:462
← previous
next →
1,001–1,100 of 2,537, ranked by callers