MCPcopy Create free account

hub / github.com/TalesMUD/talesmud / functions

Functions2,537 in github.com/TalesMUD/talesmud

↓ 4 callersMethodScripts
()
pkg/repository/factory.go:9
↓ 4 callersMethodSetContext
SetContext sets a context variable for dialog rendering
pkg/entities/conversations/conversation.go:107
↓ 4 callersFunctionSt
(e)
public/mud-client/public/bundle.js:26
↓ 4 callersMethodUpdateInstance
UpdateInstance updates an instance using a callback
pkg/mudserver/game/def/gamectrl.go:31
↓ 4 callersMethodUpdateInteraction
UpdateInteraction updates the last interaction time
pkg/entities/conversations/conversation.go:102
↓ 4 callersFunctionWd
(e,t)
public/mud-client/public/bundle.js:26
↓ 4 callersFunctionYt
(e)
public/mud-client/public/bundle.js:26
↓ 4 callersFunctionZ
(e,t)
public/mud-client/public/bundle.js:26
↓ 4 callersMethodapplyPromptOffset
* Advances the `offset` as required in order to accompany the prompt * additions to the input.
public/app/src/game/echo/LocalEchoController.js:210
↓ 4 callersMethodapplyPromptOffset
(e,t)
public/mud-client/public/bundle.js:26
↓ 4 callersMethodapplyPromptOffset
* Advances the `offset` as required in order to accompany the prompt * additions to the input.
public/mud-client/src/game/echo/LocalEchoController.js:210
↓ 4 callersMethodapplyPrompts
* Apply prompts to the given input
public/app/src/game/echo/LocalEchoController.js:198
↓ 4 callersMethodapplyPrompts
(e)
public/mud-client/public/bundle.js:26
↓ 4 callersMethodapplyPrompts
* Apply prompts to the given input
public/mud-client/src/game/echo/LocalEchoController.js:198
↓ 4 callersFunctionconvertQuestLogToEntries
convertQuestLogToEntries converts quest progress to quest log entries for messages
pkg/mudserver/game/commands/dialog_select.go:612
↓ 4 callersFunctionet
(e,t,n,i)
public/mud-client/public/bundle.js:26
↓ 4 callersFunctionfindMerchantInRoom
findMerchantInRoom finds a merchant NPC in the given room
pkg/mudserver/game/commands/trade.go:453
↓ 4 callersMethodfit
()
public/mud-client/public/bundle.js:26
↓ 4 callersFunctioninitAuth0
(config)
public/app/src/auth.js:21
↓ 4 callersFunctionio
(e)
public/mud-client/public/bundle.js:26
↓ 4 callersFunctionisCardinalDirection
isCardinalDirection checks if an exit name is a cardinal direction
pkg/server/handler/worldrenderer.go:72
↓ 4 callersFunctionluaValueToGo
luaValueToGo converts a Lua value to a Go value
pkg/scripts/runner/lua/luarunner.go:365
↓ 4 callersFunctionmo
(e)
public/mud-client/public/bundle.js:26
↓ 4 callersFunctionnormalizeClassID
normalizeClassID maps class ID aliases to canonical IDs used in skill definitions. e.g. "wizard" → "mage" (the entity class is ClassWizard with ID "wi
pkg/entities/skills/registry.go:10
↓ 4 callersFunctionoo
(e)
public/mud-client/public/bundle.js:26
↓ 4 callersMethodprint
(e)
public/mud-client/public/bundle.js:26
↓ 4 callersMethodprocessNPCTurns
processNPCTurns handles NPC turns in combat until it's a player's turn
pkg/mudserver/game/game_combat.go:310
↓ 4 callersMethodpush
* Push an entry and maintain ring buffer size
public/mud-client/src/game/echo/HistoryController.js:14
↓ 4 callersFunctionqm
(e,t)
public/mud-client/public/bundle.js:26
↓ 4 callersMethodrefreshCache
()
pkg/service/skills.go:86
↓ 4 callersFunctionro
(e)
public/mud-client/public/bundle.js:26
↓ 4 callersFunctionrunCustomMatchup
runCustomMatchup runs a matchup with custom weapon/armor stats
pkg/mudserver/game/combat/combat_balance_analysis_test.go:232
↓ 4 callersFunctionsanitizeFilename
sanitizeFilename ensures the filename is safe and prevents path traversal
pkg/server/handler/backgrounds.go:39
↓ 4 callersFunctionsm
(e,t)
public/mud-client/public/bundle.js:26
↓ 4 callersFunctionsumHP
(combatants []combatentity.CombatantRef)
pkg/mudserver/game/combat/simutil/simutil.go:260
↓ 4 callersFunctionzc
(e,t)
public/mud-client/public/bundle.js:26
↓ 3 callersMethodAbandonQuest
(characterID, questID string)
pkg/service/quests.go:27
↓ 3 callersMethodAddCharacter
AddCharacter ,,,
pkg/entities/rooms/rooms.go:139
↓ 3 callersFunctionAp
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionAvailableSkills
AvailableSkills returns skills unlocked at the given class and level
pkg/entities/skills/registry.go:88
↓ 3 callersFunctionB_
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersMethodCharacters
()
pkg/repository/factory.go:5
↓ 3 callersFunctionDm
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionEm
()
public/mud-client/public/bundle.js:26
↓ 3 callersMethodFindAllOnline
()
pkg/repository/interfaces.go:78
↓ 3 callersMethodFindAllTemplates
FindAllTemplates returns all NPCs marked as templates
pkg/service/npcs.go:22
↓ 3 callersMethodFindBySourceNPC
(npcID string)
pkg/service/quests.go:18
↓ 3 callersMethodFindInstanceByNameInRoom
FindInstanceByNameInRoom finds an instance by name in a room
pkg/mudserver/game/def/gamectrl.go:33
↓ 3 callersMethodFindTemplateByName
(name string)
pkg/repository/interfaces.go:124
↓ 3 callersMethodGet
(key string)
pkg/mudserver/game/state.go:14
↓ 3 callersMethodGetCombatInstance
GetCombatInstance returns the combat instance a player is in
pkg/mudserver/game/def/gamectrl.go:43
↓ 3 callersMethodGetCurrentNode
GetCurrentNode returns the current dialog node for a conversation
pkg/service/conversations.go:17
↓ 3 callersMethodGetDailyStats
(days int)
pkg/service/gueststats.go:27
↓ 3 callersMethodGetItemIDs
GetItemIDs returns a copy of the item IDs in the room
pkg/entities/rooms/rooms.go:226
↓ 3 callersMethodGetNPCAIAction
GetNPCAIAction determines what action an NPC should take
pkg/mudserver/game/combat/engine.go:596
↓ 3 callersFunctionGetXPForNextLevel
GetXPForNextLevel returns how much more XP is needed to reach the next level Returns 0 if already at max level (50)
pkg/mudserver/game/leveling/xp_curve.go:61
↓ 3 callersFunctionGetXPProgress
GetXPProgress returns the percentage progress to next level (0-100) Returns 100 if at max level
pkg/mudserver/game/leveling/xp_curve.go:89
↓ 3 callersFunctionGh
(e,t)
public/mud-client/public/bundle.js:26
↓ 3 callersMethodGrantQuestRewards
Reward granting
pkg/service/quests.go:37
↓ 3 callersFunctionGs
(e,t,n,i,r,o)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionH_
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersMethodHasCollectedCopyItem
HasCollectedCopyItem checks if the character has already collected a CopyOnPickup item
pkg/entities/characters/character.go:277
↓ 3 callersMethodHasVisited
HasVisited returns true if the player has visited a specific dialog node
pkg/entities/conversations/conversation.go:87
↓ 3 callersMethodIsNPCInCombat
IsNPCInCombat checks if an NPC is currently in combat
pkg/mudserver/game/def/gamectrl.go:41
↓ 3 callersFunctionJe
(e,t)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionLp
(e,t,n,i,r,o,s)
public/mud-client/public/bundle.js:26
↓ 3 callersMethodNPCSpawnersService
()
pkg/service/facade.go:17
↓ 3 callersFunctionNc
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionNe
(e,t=!1)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionNewDialogEndMessage
NewDialogEndMessage creates a message indicating the conversation has ended
pkg/mudserver/game/messages/responses.go:463
↓ 3 callersFunctionNewMessage
NewMessage ... creates a new message
pkg/mudserver/game/messages/messages.go:28
↓ 3 callersFunctionNewSQLiteFactory
NewSQLiteFactory returns a SQLite-backed repository factory.
pkg/repository/sqlite_factory.go:11
↓ 3 callersFunctionOm
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionQg
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersMethodQueuePlayerAction
QueuePlayerAction queues an action for a player's next auto-attack turn
pkg/mudserver/game/def/gamectrl.go:57
↓ 3 callersMethodRemoveInstance
RemoveInstance removes a combat instance completely
pkg/mudserver/game/combat/manager.go:109
↓ 3 callersFunctionRm
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersMethodServerSettingsService
()
pkg/service/facade.go:21
↓ 3 callersMethodSetAutoAttackTarget
SetAutoAttackTarget sets the persistent auto-attack target for a player
pkg/mudserver/game/def/gamectrl.go:59
↓ 3 callersMethodSpawnFromTemplate
SpawnFromTemplate creates a new NPC instance from a template The instance is returned but NOT persisted (memory-only)
pkg/service/npcs.go:29
↓ 3 callersFunctionStarterItemTemplateByName
StarterItemTemplateByName returns the starter item template with the given name, or nil if not found.
pkg/entities/items/starteritems_presets.go:205
↓ 3 callersFunctionSystemCharacterTemplatePresets
SystemCharacterTemplatePresets returns a hardcoded list of templates that can be seeded into the database. These are intended as "starter defaults" an
pkg/entities/characters/charactertemplates_presets.go:7
↓ 3 callersFunctionVc
(e,t)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionWl
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionZe
(e,t)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionZs
(e,t)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionae
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionam
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersMethodcleanupCombatInstance
cleanupCombatInstance cleans up after combat ends, processes rewards, and notifies players
pkg/mudserver/game/game_combat.go:590
↓ 3 callersMethodclearInput
* Clears the current prompt * * This function will erase all the lines that display the current prompt * and move the cursor in the beginning
public/app/src/game/echo/LocalEchoController.js:221
↓ 3 callersMethodclearInput
* Clears the current prompt * * This function will erase all the lines that display the current prompt * and move the cursor in the beginning
public/mud-client/src/game/echo/LocalEchoController.js:221
↓ 3 callersMethodclearRestingState
clearRestingState removes the resting flag from a character.
pkg/mudserver/game/game_regeneration.go:145
↓ 3 callersFunctioncontainsIgnoreCase
containsIgnoreCase checks if s contains substr (case-insensitive)
pkg/mudserver/game/npc_manager.go:548
↓ 3 callersFunctioncountLines
(input, maxCols)
public/app/src/game/echo/Utils.js:67
↓ 3 callersFunctioncountLines
(input, maxCols)
public/mud-client/src/game/echo/Utils.js:67
↓ 3 callersMethoddoAutoAttack
doAutoAttack performs the default auto-attack for a player
pkg/mudserver/game/game_combat.go:1026
↓ 3 callersFunctioneh
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctionformatAttrValue
formatAttrValue converts an attribute value to string. Handles numeric types as well as string values (Creator UI stores numbers as strings).
pkg/mudserver/game/commands/character.go:167
↓ 3 callersFunctionfr
(e)
public/mud-client/public/bundle.js:26
↓ 3 callersFunctiongetAttrMod
--- Attribute and Status Effect Helpers --- getAttrMod returns the attribute modifier for a combatant based on attribute name
pkg/mudserver/game/combat/engine_skills.go:15
← previousnext →301–400 of 2,537, ranked by callers