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
createMobileStore
()
public/mud-client/src/game/mobile/mobileStore.js:5
↓ 1 callers
Function
createNPCSpawner
(token, spawner, cb, errorCb)
public/app/src/api/npcspawners.js:53
↓ 1 callers
Function
createOverlayStore
()
public/mud-client/src/game/ui/overlayStore.js:7
↓ 1 callers
Function
createRoom
(token, room, cb, errorCb)
public/app/src/api/rooms.js:97
↓ 1 callers
Function
createSampleDialog
()
cmd/dialog_sandbox/main.go:213
↓ 1 callers
Function
createSettingsStore
()
public/mud-client/src/game/SettingsStore.js:21
↓ 1 callers
Method
createState
createState creates a new Lua state with modules and sandbox applied
pkg/scripts/runner/lua/luarunner.go:181
↓ 1 callers
Function
createStore
()
public/app/src/creator/old/__RoomsEditorStore.js:3
↓ 1 callers
Function
createStore
()
public/app/src/creator/old/__ItemsEditorStore.js:3
↓ 1 callers
Function
createSubMenuStore
()
public/app/src/stores.js:3
↓ 1 callers
Function
createSubMenuStore
()
public/mud-client/src/stores.js:3
↓ 1 callers
Function
createUserStore
()
public/app/src/stores.js:31
↓ 1 callers
Function
createUserStore
()
public/mud-client/src/stores.js:31
↓ 1 callers
Function
deleteNPCSpawner
(token, id, cb, errorCb)
public/app/src/api/npcspawners.js:81
↓ 1 callers
Function
deleteRoom
(token, id, cb, errorCb)
public/app/src/api/rooms.js:27
↓ 1 callers
Function
df
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
equipSkill
(game def.GameCtrl, message *messages.Message, skillName string)
pkg/mudserver/game/commands/skills.go:118
↓ 1 callers
Function
examineItem
examineItem generates a detailed description of an item
pkg/mudserver/game/commands/examine.go:76
↓ 1 callers
Function
executeItemScript
executeItemScript runs the OnUse Lua script
pkg/mudserver/game/commands/use.go:184
↓ 1 callers
Method
executeWithTimeout
executeWithTimeout executes Lua code with timeout protection
pkg/scripts/runner/lua/luarunner.go:313
↓ 1 callers
Function
extractSnippet
extractSnippet returns a short code snippet around the given position for error messages.
pkg/importer/validator.go:412
↓ 1 callers
Function
extract_tiles
Extract tiles from a sprite sheet. Args: input_path: Path to the sprite sheet image tile_width: Width of each tile in pixels
scripts/asset-pipeline/extract_tiles.py:260
↓ 1 callers
Function
fetchJWKS
fetchJWKS retrieves JWKS keys from Auth0, using an in-memory cache with TTL.
pkg/server/auth.go:45
↓ 1 callers
Function
ff
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
findOnlinePlayer
findOnlinePlayer searches for an online player by character name (case-insensitive). Returns (userID, characterName, found).
pkg/mudserver/game/commands/tell.go:64
↓ 1 callers
Function
formatItemSubType
formatItemSubType formats item subtype for display
pkg/mudserver/game/commands/examine.go:259
↓ 1 callers
Function
formatItemType
formatItemType formats item type for display
pkg/mudserver/game/commands/examine.go:237
↓ 1 callers
Function
formatLabel
(playerName string, playerLevel int32, enemyName string, enemyLevel int32)
pkg/mudserver/game/combat/simutil/simutil.go:270
↓ 1 callers
Function
formatLevelUpMessage
formatLevelUpMessage creates a formatted level-up notification message
pkg/mudserver/game/leveling/leveling.go:120
↓ 1 callers
Function
formatQuality
formatQuality formats item quality for display
pkg/mudserver/game/commands/examine.go:277
↓ 1 callers
Function
formatSlot
formatSlot formats equipment slot for display
pkg/mudserver/game/commands/examine.go:295
↓ 1 callers
Function
formatSlotName
formatSlotName returns a display-friendly slot name
pkg/mudserver/game/commands/equipment.go:85
↓ 1 callers
Function
fromGridItems
(items)
public/mud-client/src/game/layout/LayoutStore.js:55
↓ 1 callers
Method
generateDescription
(c *gin.Context, req *GenerateCharacterRequest, characterName string)
pkg/server/handler/generate.go:117
↓ 1 callers
Function
generateGuestRefID
()
pkg/service/guest.go:73
↓ 1 callers
Method
generateName
(c *gin.Context, req *GenerateCharacterRequest)
pkg/server/handler/generate.go:92
↓ 1 callers
Function
generateStatID
()
pkg/service/gueststats.go:39
↓ 1 callers
Function
generateUUID
generateUUID generates a UUID v4
pkg/scripts/runner/lua/luarunner.go:426
↓ 1 callers
Function
getAvailableOptions
(dialog *d.Dialog, state *d.DialogState)
cmd/dialog_sandbox/main.go:103
↓ 1 callers
Function
getDodgeBuffPercent
getDodgeBuffPercent returns total dodge buff percent from status effects
pkg/mudserver/game/combat/engine_skills.go:55
↓ 1 callers
Function
getItemStats
getItemStats returns a brief stats summary for an item
pkg/mudserver/game/commands/equipment.go:113
↓ 1 callers
Function
getItems
(token, filters, cb, errorCb)
public/app/src/api/items.js:51
↓ 1 callers
Function
getKeyFunc
getKeyFunc returns a function to be used as the jwt.Keyfunc for JWT token validation. It verifies the 'aud' and 'iss' claims and extracts the PEM cert
pkg/server/auth.go:107
↓ 1 callers
Function
getMimeType
getMimeType returns the MIME type for a given filename
pkg/server/handler/backgrounds.go:57
↓ 1 callers
Function
getNPCSpawner
(token, id, cb, errorCb)
public/app/src/api/npcspawners.js:20
↓ 1 callers
Function
getNPCSpawnersByRoom
(token, roomId, cb, errorCb)
public/app/src/api/npcspawners.js:49
↓ 1 callers
Method
getNext
* Returns the next entry
public/app/src/game/echo/HistoryController.js:47
↓ 1 callers
Method
getNext
()
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
getNext
* Returns the next entry
public/mud-client/src/game/echo/HistoryController.js:47
↓ 1 callers
Function
getPemCert
getPemCert retrieves the PEM certificate matching the JWT token's key ID from cached JWKS keys.
pkg/server/auth.go:90
↓ 1 callers
Function
getPlayerColor
(playerName)
public/mud-client/src/game/playerColors.js:54
↓ 1 callers
Method
getPrevious
* Returns the previous entry
public/app/src/game/echo/HistoryController.js:38
↓ 1 callers
Method
getPrevious
()
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
getPrevious
* Returns the previous entry
public/mud-client/src/game/echo/HistoryController.js:38
↓ 1 callers
Method
getReturnValue
getReturnValue gets the return value from the Lua stack
pkg/scripts/runner/lua/luarunner.go:348
↓ 1 callers
Function
getRoom
(token, id, cb, errorCb)
public/app/src/api/rooms.js:4
↓ 1 callers
Function
getRooms
(token, filters, cb, errorCb)
public/app/src/api/rooms.js:54
↓ 1 callers
Function
getRoomsValueHelp
(token, cb, errorCb)
public/app/src/api/rooms.js:69
↓ 1 callers
Function
getSharedFragment
(fragment, candidates)
public/app/src/game/echo/Utils.js:165
↓ 1 callers
Function
getSharedFragment
(fragment, candidates)
public/mud-client/src/game/echo/Utils.js:165
↓ 1 callers
Method
getSkillTargets
getSkillTargets returns the target(s) for a skill based on its targeting type
pkg/mudserver/game/combat/engine_skills.go:504
↓ 1 callers
Function
gn
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
handleBroadcastMessages
()
pkg/mudserver/mudserver.go:304
↓ 1 callers
Function
handleCharacterSelected
(game def.GameCtrl, user *entities.User, character *characters.Character)
pkg/mudserver/game/commands/select_character.go:46
↓ 1 callers
Method
handleClientTimeouts
()
pkg/mudserver/mudserver.go:91
↓ 1 callers
Method
handleCombatUpdates
handleCombatUpdates processes combat tick (turn timeouts, NPC actions)
pkg/mudserver/game/game.go:175
↓ 1 callers
Method
handleDefaultMessage
handleDefaultMessage implements implicit "say" behavior. When player input doesn't match any command, treat it as room speech. This allows players to
pkg/mudserver/game/game_handlers.go:14
↓ 1 callers
Method
handleGameUpdates
HP regeneration every 10 seconds
pkg/mudserver/game/game.go:150
↓ 1 callers
Method
handleInCombatAttack
handleInCombatAttack handles an attack action during combat (queues target switch)
pkg/mudserver/game/commands/attack.go:191
↓ 1 callers
Method
handleInitiateCombat
handleInitiateCombat handles attacking an NPC to start combat
pkg/mudserver/game/commands/attack.go:66
↓ 1 callers
Function
handleInput
(data)
public/app/src/game/Client.js:134
↓ 1 callers
Function
handleInput
(data)
public/mud-client/src/game/Client.js:393
↓ 1 callers
Method
handleNPCUpdates
handleNPCUpdates processes all NPC instances for state updates
pkg/mudserver/game/game_npcs.go:9
↓ 1 callers
Function
handleQuestAction
handleQuestAction processes quest accept/complete/progress actions from dialog options
pkg/mudserver/game/commands/dialog_select.go:289
↓ 1 callers
Function
handleQuestDialogOption
handleQuestDialogOption handles a quest option that was injected into the dialog by the talk command. It shows the NPC response text and then performs
pkg/mudserver/game/commands/dialog_select.go:448
↓ 1 callers
Method
handleReadComplete
* Handle input completion
public/app/src/game/echo/LocalEchoController.js:399
↓ 1 callers
Method
handleReadComplete
()
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
handleReadComplete
* Handle input completion
public/mud-client/src/game/echo/LocalEchoController.js:399
↓ 1 callers
Method
handleRegenerationUpdates
handleRegenerationUpdates processes HP regeneration for all online players. Called every 10 seconds by the regeneration ticker.
pkg/mudserver/game/game_regeneration.go:19
↓ 1 callers
Method
handleRoomUpdates
()
pkg/mudserver/game/game_rooms.go:74
↓ 1 callers
Method
handleSpawnerUpdates
handleSpawnerUpdates processes all spawners and spawns new instances as needed
pkg/mudserver/game/game_spawners.go:11
↓ 1 callers
Function
handleTokenError
handleTokenError handles the case where the JWT token is invalid. It logs the error and aborts the gin context with a 401 status.
pkg/server/auth.go:134
↓ 1 callers
Function
handleTokenSuccess
handleTokenSuccess handles the case where the JWT token is valid. It sets the user ID and user in the gin context, if they don't already exist. It als
pkg/server/auth.go:144
↓ 1 callers
Method
handleUserJoined
(user *entities.User)
pkg/mudserver/game/game_handlers.go:79
↓ 1 callers
Method
handleUserQuit
(user *entities.User)
pkg/mudserver/game/game_handlers.go:34
↓ 1 callers
Function
hasActiveBuffFromSkill
hasActiveBuffFromSkill checks if the player already has an active status effect from a specific skill
pkg/mudserver/game/combat/simutil/simutil.go:348
↓ 1 callers
Function
hashName
Simple string hash → index in [0, 16).
public/mud-client/src/game/playerColors.js:42
↓ 1 callers
Function
hy
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
importDialogs
(yamlDialogs []*YAMLDialog)
pkg/importer/importer.go:546
↓ 1 callers
Method
importItems
(yamlItems []*YAMLItem)
pkg/importer/importer.go:514
↓ 1 callers
Method
importLootTables
(yamlLootTables []*YAMLLootTable)
pkg/importer/importer.go:530
↓ 1 callers
Method
importNPCs
(yamlNPCs []*YAMLNPC)
pkg/importer/importer.go:562
↓ 1 callers
Method
importQuests
(yamlQuests []*YAMLQuest)
pkg/importer/importer.go:594
↓ 1 callers
Method
importRooms
(yamlRooms []*YAMLRoom)
pkg/importer/importer.go:632
↓ 1 callers
Method
importScripts
Import functions
pkg/importer/importer.go:498
↓ 1 callers
Method
importSkills
(yamlSkills []*YAMLSkill)
pkg/importer/importer.go:610
↓ 1 callers
Method
importSpawners
(yamlSpawners []*YAMLSpawner)
pkg/importer/importer.go:578
↓ 1 callers
Method
initializeResidents
initializeResidents loads unique NPCs (non-templates) into the instance manager. NPCs are discovered two ways: 1. Listed in a Room's NPC list (Room.NP
pkg/mudserver/game/npc_manager.go:82
↓ 1 callers
Function
isAlreadyResting
isAlreadyResting checks if a character is currently resting.
pkg/mudserver/game/commands/rest.go:69
↓ 1 callers
Function
isIncompleteInput
(input)
public/app/src/game/echo/Utils.js:81
← previous
next →
1,101–1,200 of 2,537, ranked by callers