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
isIncompleteInput
(input)
public/mud-client/src/game/echo/Utils.js:81
↓ 1 callers
Function
isStunned
isStunned returns true if the combatant has an active stun effect
pkg/mudserver/game/combat/engine_skills.go:66
↓ 1 callers
Function
isUsable
isUsable checks if an item can be used
pkg/mudserver/game/commands/use.go:93
↓ 1 callers
Function
itoa
itoa converts int to string without importing strconv
pkg/mudserver/game/loot.go:150
↓ 1 callers
Function
itoa
(n int32)
pkg/mudserver/game/combat/combat_sim_test.go:253
↓ 1 callers
Function
itoa64
itoa64 converts int64 to string
pkg/mudserver/game/loot.go:170
↓ 1 callers
Function
j_
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
jm
(e,t,n,i,r,o,s)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
lastIndexOf
lastIndexOf returns the last index of substr in s, or -1 if not found
pkg/mudserver/game/npc_manager.go:523
↓ 1 callers
Function
li
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
loadDialogs
()
pkg/importer/importer.go:427
↓ 1 callers
Method
loadItems
()
pkg/importer/importer.go:384
↓ 1 callers
Method
loadLootTables
()
pkg/importer/importer.go:397
↓ 1 callers
Function
loadMap
Load the name→colorIndex map from localStorage.
public/mud-client/src/game/playerColors.js:26
↓ 1 callers
Method
loadNPCs
()
pkg/importer/importer.go:414
↓ 1 callers
Method
loadQuests
()
pkg/importer/importer.go:470
↓ 1 callers
Method
loadRooms
()
pkg/importer/importer.go:444
↓ 1 callers
Method
loadScripts
()
pkg/importer/importer.go:371
↓ 1 callers
Method
loadSkills
()
pkg/importer/importer.go:483
↓ 1 callers
Method
loadSpawners
()
pkg/importer/importer.go:457
↓ 1 callers
Function
loadVisitedRooms
()
public/mud-client/src/game/MUDXPlusStore.js:30
↓ 1 callers
Method
logModuleDiagnostics
logModuleDiagnostics logs the current state of key Lua modules/functions.
pkg/scripts/runner/lua/luarunner.go:148
↓ 1 callers
Function
lookAtNPC
lookAtNPC generates a description of an NPC
pkg/mudserver/game/commands/look.go:261
↓ 1 callers
Function
lookAtRoom
lookAtRoom handles the case when a player looks at the room without specifying a target
pkg/mudserver/game/commands/look.go:28
↓ 1 callers
Function
lookAtTarget
lookAtTarget handles the case when a player looks at a specific object or NPC
pkg/mudserver/game/commands/look.go:92
↓ 1 callers
Function
luaTableToMap
luaTableToMap converts a Lua table to a Go map or slice
pkg/scripts/runner/lua/luarunner.go:383
↓ 1 callers
Function
main
()
scripts/asset-pipeline/reorganize_tiles.py:287
↓ 1 callers
Function
main
()
scripts/asset-pipeline/extract_tiles.py:340
↓ 1 callers
Function
main
()
scripts/asset-pipeline/scale_sprites.py:55
↓ 1 callers
Method
matchesDynamicCommand
(key string, room *rooms.Room, message *messages.Message)
pkg/mudserver/game/commands/roomprocessor.go:87
↓ 1 callers
Method
migrateItemTemplates
migrateItemTemplates migrates data from the old itemtemplates table to items table. It adds isTemplate: true to each item and removes the script field
pkg/db/sqlite/sqlite.go:151
↓ 1 callers
Function
mn
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
mr
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
mt
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
mv
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
needsUpdate
(room *rooms.Room)
pkg/mudserver/game/game_rooms.go:9
↓ 1 callers
Method
newScriptRuntime
()
pkg/scripts/runner/defaultscriptrunner.go:114
↓ 1 callers
Method
notifyAllPlayersInInstance
notifyAllPlayersInInstance sends a message to all players regardless of alive/fled status
pkg/mudserver/game/game_combat.go:391
↓ 1 callers
Function
parseDuration
parseDuration parses a duration string like "5m" or "30s"
pkg/importer/converters.go:356
↓ 1 callers
Function
parsePositiveInt
parsePositiveInt parses a positive integer, returns 0 on failure
pkg/mudserver/game/npc_manager.go:533
↓ 1 callers
Function
parsePositiveInt32
parsePositiveInt32 parses a positive int32 from string
pkg/server/handler/loottables.go:123
↓ 1 callers
Function
parsePositiveInt64
parsePositiveInt64 parses a positive int64 from string
pkg/server/handler/loottables.go:135
↓ 1 callers
Function
parseSlotName
parseSlotName converts slot names/aliases to ItemSlot
pkg/mudserver/game/commands/unequip.go:113
↓ 1 callers
Function
pg
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
pi
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
pr
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
println
* Prints a message and changes line
public/app/src/game/echo/LocalEchoController.js:150
↓ 1 callers
Method
println
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
println
* Prints a message and changes line
public/mud-client/src/game/echo/LocalEchoController.js:150
↓ 1 callers
Method
processAllTurns
processAllTurns processes all combatant turns (NPC and player) in sequence
pkg/mudserver/game/game_combat.go:505
↓ 1 callers
Method
processCombatDefeat
processCombatDefeat handles death penalties and sends the defeat message
pkg/mudserver/game/game_combat.go:856
↓ 1 callers
Method
processCombatVictory
processCombatVictory handles XP, gold, loot rewards and sends the victory message
pkg/mudserver/game/game_combat.go:669
↓ 1 callers
Method
processPlayerAutoAttack
processPlayerAutoAttack processes a player's turn automatically
pkg/mudserver/game/game_combat.go:956
↓ 1 callers
Method
pruneRateLimits
pruneRateLimits removes stale rate limit entries (older than 1 hour).
pkg/service/guest.go:360
↓ 1 callers
Function
qt
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
questPrereqsMet
questPrereqsMet checks if a character meets the prerequisites for a quest
pkg/mudserver/game/commands/talk.go:199
↓ 1 callers
Method
readChar
* Return a promise that will be resolved when the user types a single * character. * * This can be active in addition to `.read()` and will b
public/app/src/game/echo/LocalEchoController.js:118
↓ 1 callers
Method
readChar
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
readChar
* Return a promise that will be resolved when the user types a single * character. * * This can be active in addition to `.read()` and will b
public/mud-client/src/game/echo/LocalEchoController.js:118
↓ 1 callers
Method
receiveMessages
OnMessage .. broadcast receiver func (server *server) OnMessage(message interface{}) {
pkg/mudserver/mudserver.go:330
↓ 1 callers
Method
registerCommands
()
pkg/mudserver/game/commands/roomprocessor.go:77
↓ 1 callers
Method
registerCommands
()
pkg/mudserver/game/commands/commandprocessor.go:68
↓ 1 callers
Method
registerUtilsModule
registerUtilsModule registers basic utility functions
pkg/scripts/runner/lua/luarunner.go:244
↓ 1 callers
Method
relocateCharacters
relocateCharacters checks each character's room against the imported world. Characters whose current room still exists are left in place. Characters w
pkg/importer/importer.go:717
↓ 1 callers
Method
removeOfflineCharacters
Checks for characters that are "stuck" in the wrong room as well as offline players to remove the characters from the room
pkg/mudserver/game/game_rooms.go:28
↓ 1 callers
Function
reorganize_tiles
Move tiles from uncategorized to proper category folders.
scripts/asset-pipeline/reorganize_tiles.py:248
↓ 1 callers
Function
resetState
resetState resets a Lua state for reuse
pkg/scripts/runner/lua/pool.go:105
↓ 1 callers
Method
resolveSecondaryEffect
(instance *combat.CombatInstance, caster *combat.CombatantRef, skill *skills.Skill, targetID string, result *S
pkg/mudserver/game/combat/engine_skills.go:447
↓ 1 callers
Method
resolveSkillBuff
(instance *combat.CombatInstance, caster *combat.CombatantRef, skill *skills.Skill, result *SkillResult)
pkg/mudserver/game/combat/engine_skills.go:348
↓ 1 callers
Method
resolveSkillDamage
--- Skill Effect Resolution ---
pkg/mudserver/game/combat/engine_skills.go:260
↓ 1 callers
Method
resolveSkillDebuff
(instance *combat.CombatInstance, caster *combat.CombatantRef, skill *skills.Skill, targetID string, result *S
pkg/mudserver/game/combat/engine_skills.go:379
↓ 1 callers
Method
resolveSkillDot
(instance *combat.CombatInstance, caster *combat.CombatantRef, skill *skills.Skill, basePower int32, targetID
pkg/mudserver/game/combat/engine_skills.go:405
↓ 1 callers
Method
resolveSkillHeal
(instance *combat.CombatInstance, caster *combat.CombatantRef, skill *skills.Skill, basePower int32, result *S
pkg/mudserver/game/combat/engine_skills.go:335
↓ 1 callers
Method
resolveSkillHot
(instance *combat.CombatInstance, caster *combat.CombatantRef, skill *skills.Skill, basePower int32, result *S
pkg/mudserver/game/combat/engine_skills.go:429
↓ 1 callers
Method
respawnNPC
respawnNPC resets an NPC to alive state at its spawn room
pkg/mudserver/game/game_npcs.go:46
↓ 1 callers
Method
resume
()
public/mud-client/src/game/echo/LocalEchoController.js:293
↓ 1 callers
Method
rewind
* Rewind history cursor on the last entry
public/app/src/game/echo/HistoryController.js:31
↓ 1 callers
Method
rewind
()
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
rewind
* Rewind history cursor on the last entry
public/mud-client/src/game/echo/HistoryController.js:31
↓ 1 callers
Function
ri
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
rollDice
rollDice parses and rolls dice notation like "2d6" or "1d20+5"
pkg/scripts/runner/lua/modules/utils.go:145
↓ 1 callers
Function
runDialog
(dialog *d.Dialog, state *d.DialogState, playerInteracted bool, choiceFunc func(string, bool) (bool, bool))
cmd/dialog_sandbox/main.go:133
↓ 1 callers
Function
runImport
(folderName, sqlitePath string, verbose, dryRun bool)
cmd/tales/main.go:64
↓ 1 callers
Method
runMigrations
runMigrations performs data migrations after schema init.
pkg/db/sqlite/sqlite.go:142
↓ 1 callers
Method
runRoomEnterScript
(enter *messages.EnterRoomMessage)
pkg/mudserver/mudserver.go:374
↓ 1 callers
Function
sa
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
sanitizeStringModule
sanitizeStringModule removes dangerous functions from the string module
pkg/scripts/runner/lua/sandbox.go:61
↓ 1 callers
Function
saveMap
Persist the map.
public/mud-client/src/game/playerColors.js:35
↓ 1 callers
Function
scale_sprites
Scale all PNG files in directory (recursively) by scale_factor.
scripts/asset-pipeline/scale_sprites.py:11
↓ 1 callers
Function
searchSubstring
(s, substr string)
pkg/mudserver/game/leveling/attribute_caps_test.go:245
↓ 1 callers
Function
sendDialogMessage
sendDialogMessage sends the current dialog state to the player
pkg/mudserver/game/commands/talk.go:238
↓ 1 callers
Function
sendMessage
(msg)
public/app/src/game/Client.js:110
↓ 1 callers
Function
sendMessage
(msg)
public/mud-client/src/game/Client.js:369
↓ 1 callers
Function
sendQuestLogToPlayer
sendQuestLogToPlayer sends the full quest log with enriched quest details
pkg/mudserver/game/commands/select_character.go:170
↓ 1 callers
Function
sendQuestOnlyDialog
sendQuestOnlyDialog sends a dialog with only quest options (for NPCs without dialogs)
pkg/mudserver/game/commands/talk.go:217
↓ 1 callers
Method
sendToRoom
(room *rooms.Room, msg interface{})
pkg/mudserver/mudserver.go:258
↓ 1 callers
Method
sendUserPings
()
pkg/mudserver/mudserver.go:103
↓ 1 callers
Function
serve
()
public/mud-client/rollup.config.js:50
↓ 1 callers
Method
setContext
setContext sets the context variables in the Lua state
pkg/scripts/runner/lua/luarunner.go:296
↓ 1 callers
Function
setUser
setUser sets the user in the gin context. It retrieves the user ID from the context and calls the facade's UsersService to find or create a new user.
pkg/server/auth.go:187
← previous
next →
1,201–1,300 of 2,537, ranked by callers