MCPcopy Create free account

hub / github.com/TalesMUD/talesmud / functions

Functions2,537 in github.com/TalesMUD/talesmud

↓ 1 callersFunctionOptions
create dialog map structure and add all parameters to it
pkg/entities/dialogs/dialogs.go:103
↓ 1 callersFunctionOr
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callersMethodParams
Params returns the underlying parameter slice.
pkg/db/query.go:26
↓ 1 callersMethodParties
()
pkg/repository/factory.go:6
↓ 1 callersFunctionPe
()
public/mud-client/public/bundle.js:26
↓ 1 callersFunctionPl
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callersFunctionPm
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callersMethodProcessRoundStart
ProcessRoundStart handles round-start processing for all living combatants
pkg/mudserver/game/combat/engine_skills.go:644
↓ 1 callersMethodProcessStatusEffects
--- 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 callersMethodPut
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 callersMethodQuestProgress
()
pkg/repository/factory.go:19
↓ 1 callersMethodRecordSessionEnd
(guestRefID string, endedAt time.Time)
pkg/service/gueststats.go:25
↓ 1 callersMethodRecordSessionStart
(guestRefID string)
pkg/service/gueststats.go:24
↓ 1 callersFunctionRegisterAllModules
RegisterAllModules registers all Lua API modules with the runner
pkg/scripts/runner/lua/modules/register.go:8
↓ 1 callersMethodRegisterNPC
RegisterNPC adds an NPC to a combat instance's lookup map
pkg/mudserver/game/combat/manager.go:88
↓ 1 callersMethodRegisterPlayer
RegisterPlayer adds a player to a combat instance's lookup map
pkg/mudserver/game/combat/manager.go:81
↓ 1 callersMethodRemoveItem
RemoveItem removes an item by ID and returns it
pkg/entities/items/inventory.go:73
↓ 1 callersMethodRespawnInstance
RespawnInstance resets an instance to alive state
pkg/mudserver/game/npc_manager.go:294
↓ 1 callersMethodRevealExit
RevealExit records that the character has revealed a hidden exit in a room
pkg/entities/characters/character.go:314
↓ 1 callersFunctionRl
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callersMethodRollLootFromTable
RollLootFromTable implements LootTablesService.RollLootFromTable
pkg/service/loottables.go:59
↓ 1 callersFunctionRoomFromJSONString
RoomFromJSONString ...
pkg/entities/rooms/converter.go:10
↓ 1 callersFunctionRoomToJSONString
RoomToJSONString ...
pkg/entities/rooms/converter.go:32
↓ 1 callersFunctionRoomsToJSONString
RoomsToJSONString ...
pkg/entities/rooms/converter.go:38
↓ 1 callersFunctionRr
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callersMethodRunWithResult
RunWithResult executes a script and returns detailed result information
pkg/scripts/runner/defaultscriptrunner.go:62
↓ 1 callersMethodRunWithResult
RunWithResult executes a Lua script and returns detailed result information
pkg/scripts/runner/lua/luarunner.go:110
↓ 1 callersMethodScriptTypes
()
pkg/service/scripts.go:14
↓ 1 callersFunctionSeedSkills
SeedSkills returns the default skill definitions used to populate the database on first run.
pkg/entities/skills/seed.go:6
↓ 1 callersMethodServerSettings
()
pkg/repository/factory.go:17
↓ 1 callersMethodSetDryRun
SetDryRun enables dry-run mode (validate only)
pkg/importer/importer.go:68
↓ 1 callersMethodSetFacade
Internal setter for facade dependency
pkg/service/quests.go:40
↓ 1 callersMethodSetRole
(userID string, role string)
pkg/service/users.go:19
↓ 1 callersMethodSetServices
SetServices injects the required services into the runner
pkg/scripts/runner/defaultscriptrunner.go:35
↓ 1 callersMethodSetServices
SetServices injects the required services into both runners
pkg/scripts/runner/factory.go:33
↓ 1 callersMethodSetVerbose
SetVerbose enables verbose output
pkg/importer/importer.go:63
↓ 1 callersMethodSetupInterrupt
SetupInterrupt sets up the interrupt mechanism for the Lua state
pkg/scripts/runner/lua/sandbox.go:76
↓ 1 callersMethodShouldRespawn
ShouldRespawn returns true if this NPC is dead and ready to respawn
pkg/entities/npcs/npc.go:112
↓ 1 callersFunctionSkillsForClass
SkillsForClass returns all skills a class can learn (regardless of level)
pkg/entities/skills/registry.go:74
↓ 1 callersMethodSkillsService
()
pkg/service/facade.go:23
↓ 1 callersMethodSpawnInstanceDirect
SpawnInstanceDirect spawns an NPC from a template (not via spawner)
pkg/mudserver/game/def/gamectrl.go:21
↓ 1 callersMethodStartCleanupLoop
()
pkg/service/guest.go:32
↓ 1 callersMethodStore
Store ...
pkg/service/characters.go:96
↓ 1 callersFunctionTg
(e)
public/mud-client/public/bundle.js:26
↓ 1 callersFunctionTn
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callersMethodToMap
ToMap converts the context to a map for Lua
pkg/scripts/events/context.go:135
↓ 1 callersMethodUnbanUser
(userID string)
pkg/service/users.go:21
↓ 1 callersMethodUpdateByField
(item interface{}, key string, value string)
pkg/repository/sqlite_generic.go:64
↓ 1 callersMethodUpdateCombatantInTurnOrder
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 callersMethodUpsert
(s *settings.ServerSettings)
pkg/repository/interfaces.go:204
↓ 1 callersMethodUsers
()
pkg/repository/factory.go:7
↓ 1 callersMethodValidateGuestToken
(tokenStr string)
pkg/service/guest.go:30
↓ 1 callersMethodValueHelp
()
pkg/service/rooms.go:17
↓ 1 callersFunctionVt
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callersFunctionXm
(e)
public/mud-client/public/bundle.js:26
↓ 1 callersFunctionYn
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callersFunction__
(e)
public/mud-client/public/bundle.js:26
↓ 1 callersFunction_f
(e)
public/mud-client/public/bundle.js:26
↓ 1 callersMethodaddAutocompleteHandler
(e,...t)
public/mud-client/public/bundle.js:26
↓ 1 callersMethodaddGameFunctions
(vm *otto.Otto)
pkg/scripts/runner/defaultscriptrunner.go:152
↓ 1 callersMethodaddItemFunctions
(vm *otto.Otto)
pkg/scripts/runner/defaultscriptrunner.go:124
↓ 1 callersMethodaddRoomFunctions
(vm *otto.Otto)
pkg/scripts/runner/defaultscriptrunner.go:169
↓ 1 callersFunctionapplyBuiltInEffects
applyBuiltInEffects applies data-driven effects from item Attributes
pkg/mudserver/game/commands/use.go:119
↓ 1 callersMethodapplyPragmas
()
pkg/db/sqlite/sqlite.go:55
↓ 1 callersMethodapplyRegeneration
applyRegeneration applies HP and mana regeneration to a character.
pkg/mudserver/game/game_regeneration.go:109
↓ 1 callersMethodattach
* Attach controller to the terminal, handling events
public/app/src/game/echo/LocalEchoController.js:66
↓ 1 callersMethodattach
()
public/mud-client/public/bundle.js:26
↓ 1 callersMethodattach
* Attach controller to the terminal, handling events
public/mud-client/src/game/echo/LocalEchoController.js:66
↓ 1 callersMethodattachCharacterToMessage
Find the matching character for the user where the message originated
pkg/mudserver/game/game_handlers.go:60
↓ 1 callersFunctionbuildDescriptionUserPrompt
(req *GenerateCharacterRequest, characterName string)
pkg/server/handler/generate.go:169
↓ 1 callersFunctionbuildNameUserPrompt
(req *GenerateCharacterRequest)
pkg/server/handler/generate.go:143
↓ 1 callersMethodbuildObjectiveProgress
buildObjectiveProgress builds the objective progress list for messages
pkg/mudserver/game/quest_tracker.go:261
↓ 1 callersFunctionbuildWhere
(params *db.QueryParams)
pkg/repository/sqlite_generic.go:170
↓ 1 callersMethodcalculateManaRegenAmount
calculateManaRegenAmount determines how much mana to regenerate based on character state.
pkg/mudserver/game/game_regeneration.go:87
↓ 1 callersMethodcalculatePositions
calculatePositions assigns X,Y positions to rooms without coordinates
pkg/server/handler/worldrenderer.go:83
↓ 1 callersMethodcalculateRegenAmount
calculateRegenAmount determines how much HP to regenerate based on character state.
pkg/mudserver/game/game_regeneration.go:66
↓ 1 callersFunctioncharacterFromTemplate
(template *characters.CharacterTemplate)
pkg/service/characters.go:65
↓ 1 callersMethodcheckRateLimit
checkRateLimit returns true if the IP is within the rate limit.
pkg/service/guest.go:336
↓ 1 callersMethodclearWorldData
clearWorldData clears all world data except users and characters
pkg/importer/importer.go:301
↓ 1 callersFunctionclosestRightBoundary
(input, offset)
public/app/src/game/echo/Utils.js:32
↓ 1 callersFunctionclosestRightBoundary
(input, offset)
public/mud-client/src/game/echo/Utils.js:32
↓ 1 callersFunctioncollectAutocompleteCandidates
(callbacks, input)
public/app/src/game/echo/Utils.js:135
↓ 1 callersFunctioncollectAutocompleteCandidates
(callbacks, input)
public/mud-client/src/game/echo/Utils.js:135
↓ 1 callersFunctionconsumeItem
consumeItem decrements quantity or removes the item from inventory
pkg/mudserver/game/commands/use.go:210
↓ 1 callersFunctioncontains
(s []string, e string)
pkg/mudserver/mudserver.go:226
↓ 1 callersFunctioncontainsLower
(s, substr string)
pkg/mudserver/game/npc_manager.go:564
↓ 1 callersFunctionconvertDialogOptions
convertDialogOptions recursively converts dialog options with cycle detection
pkg/importer/converters.go:276
↓ 1 callersMethodcopyAssets
copyAssets copies room images to the backgrounds folder
pkg/importer/importer.go:649
↓ 1 callersFunctioncopyFile
(src, dst string)
pkg/importer/importer.go:697
↓ 1 callersFunctioncountArguments
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 callersMethodcreateBackup
createBackup creates a JSON backup of current world data
pkg/importer/importer.go:232
↓ 1 callersFunctioncreateFilterRequest
(path, filters)
public/app/src/api/npcspawners.js:4
↓ 1 callersFunctioncreateFilterRequest
(path, filters)
public/app/src/api/items.js:5
↓ 1 callersFunctioncreateFilterRequest
(path, filters)
public/app/src/api/rooms.js:39
↓ 1 callersFunctioncreateFilterRequest
(path, filters)
public/app/src/api/dialogs.js:4
↓ 1 callersFunctioncreateFilterRequest
(path, filters)
public/app/src/api/npcs.js:4
↓ 1 callersFunctioncreateIdleDialog
()
cmd/dialog_sandbox/main.go:193
↓ 1 callersMethodcreateIndexes
createIndexes creates indexes on commonly queried JSON fields
pkg/db/sqlite/sqlite.go:105
↓ 1 callersFunctioncreateLayoutStore
()
public/mud-client/src/game/layout/LayoutStore.js:87
↓ 1 callersFunctioncreateManaBar
createManaBar creates a visual mana bar
pkg/mudserver/game/game_combat.go:462
← previousnext →1,001–1,100 of 2,537, ranked by callers