MCPcopy Create free account

hub / github.com/TalesMUD/talesmud / functions

Functions2,537 in github.com/TalesMUD/talesmud

↓ 16 callersFunctionMe
(e,t=i)
public/mud-client/public/bundle.js:26
↓ 16 callersFunctionRunMatchup
RunMatchup runs N iterations of a matchup and aggregates results
pkg/mudserver/game/combat/simutil/simutil.go:145
↓ 16 callersFunctionZr
(e)
public/mud-client/public/bundle.js:26
↓ 16 callersFunctionnewSQLiteGenericRepo
(dbConn *sql.DB, table string, gen func() interface{})
pkg/repository/sqlite_generic.go:20
↓ 15 callersMethodDelete
(id string)
pkg/repository/interfaces.go:150
↓ 15 callersMethodGetGame
GetGame returns the game controller
pkg/scripts/runner/lua/luarunner.go:68
↓ 15 callersMethodGetQuestLog
Quest progress operations
pkg/service/quests.go:24
↓ 15 callersMethodStore
(npc *npc.NPC)
pkg/repository/interfaces.go:147
↓ 15 callersFunctionYu
(e,t,n,i)
public/mud-client/public/bundle.js:26
↓ 14 callersFunctionBd
(e)
public/mud-client/public/bundle.js:26
↓ 14 callersMethodUpdate
(id string, npc *npc.NPC)
pkg/repository/interfaces.go:149
↓ 14 callersFunctionjl
(e,t)
public/mud-client/public/bundle.js:26
↓ 13 callersFunctionG
(e,t,n)
public/mud-client/public/bundle.js:7
↓ 13 callersFunctionj
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 13 callersFunctionm
(e,t,n,i)
public/mud-client/public/bundle.js:6
↓ 13 callersMethodnotifyPlayersInCombat
notifyPlayersInCombat sends a message to all players in the combat instance
pkg/mudserver/game/game_combat.go:372
↓ 12 callersMethodAddLogEntry
AddLogEntry adds a new entry to the combat log
pkg/entities/combat/instance.go:269
↓ 12 callersMethodCheckCombatEnd
CheckCombatEnd checks if combat should end and returns the new state
pkg/mudserver/game/combat/engine.go:559
↓ 12 callersMethodDropCollection
()
pkg/repository/sqlite_generic.go:28
↓ 12 callersFunctionNewInventoryUpdateMessage
NewInventoryUpdateMessage creates an inventory update from the current character state
pkg/mudserver/game/messages/responses.go:303
↓ 12 callersFunctionNewRoomBasedMessage
NewRoomBasedMessage ... creates a new Websocket message
pkg/mudserver/game/messages/responses.go:232
↓ 12 callersFunctionitoa64
itoa64 converts int64 to string
pkg/mudserver/game/commands/inventory.go:150
↓ 11 callersMethod$on
(e,t)
public/mud-client/public/bundle.js:26
↓ 11 callersFunctionCheckLevelUp
CheckLevelUp determines if a character should level up based on their current XP Returns the number of levels gained and the new level Supports gainin
pkg/mudserver/game/leveling/leveling.go:29
↓ 11 callersMethodEndCombat
EndCombat finalizes a combat instance with the given result
pkg/mudserver/game/combat/engine.go:581
↓ 11 callersFunctionMc
(e,t)
public/mud-client/public/bundle.js:26
↓ 11 callersMethodRender
(state *DialogState)
pkg/entities/dialogs/dialogs.go:125
↓ 11 callersMethodsetCursor
* Set the new cursor position, as an offset on the input string * * This function: * - Calculates the previous and current
public/app/src/game/echo/LocalEchoController.js:314
↓ 11 callersMethodsetCursor
(e)
public/mud-client/public/bundle.js:26
↓ 11 callersMethodsetCursor
* Set the new cursor position, as an offset on the input string * * This function: * - Calculates the previous and current
public/mud-client/src/game/echo/LocalEchoController.js:314
↓ 10 callersMethodAddItem
AddItem adds an item ID to the room
pkg/entities/rooms/rooms.go:192
↓ 10 callersFunctionAllClassConfigs
AllClassConfigs returns configurations for all 6 starter classes
pkg/mudserver/game/combat/simutil/char_factory.go:45
↓ 10 callersFunctionCalculateEnemyGoldReward
CalculateEnemyGoldReward calculates a gold drop range for an enemy based on level and difficulty. Used as fallback when an enemy's EnemyTrait.GoldDrop
pkg/mudserver/game/leveling/gold_rewards.go:30
↓ 10 callersMethodCreateInstanceFromTemplate
(templateID string)
pkg/service/items.go:21
↓ 10 callersMethodGetInstanceByPlayerID
GetInstanceByPlayerID returns the combat instance a player is in
pkg/mudserver/game/combat/manager.go:57
↓ 10 callersMethodIsPlayerInCombat
IsPlayerInCombat checks if a player is currently in combat
pkg/mudserver/game/def/gamectrl.go:39
↓ 10 callersFunctionNewAttribute
NewAttribute ...
pkg/entities/characters/character.go:63
↓ 10 callersFunctionSkillByID
SkillByID returns the skill with the given ID, or nil
pkg/entities/skills/registry.go:49
↓ 10 callersFunctionV
(e,t,n)
public/mud-client/public/bundle.js:7
↓ 10 callersFunctioncreateBaseAttributes
(str, dex, _int, wis, sta int32)
pkg/entities/characters/templates.go:75
↓ 10 callersFunctionme
(e,t,n,i,r,o,s,l,c,u,h,d)
public/mud-client/public/bundle.js:26
↓ 10 callersFunctionwc
(e)
public/mud-client/public/bundle.js:26
↓ 9 callersFunctionApplyLevelUp
ApplyLevelUp applies all stat changes for leveling up Updates character level, HP, and attributes Returns a LevelUpResult with details for messaging a
pkg/mudserver/game/leveling/leveling.go:59
↓ 9 callersFunctionBh
(e)
public/mud-client/public/bundle.js:26
↓ 9 callersMethodDialogsService
()
pkg/service/facade.go:18
↓ 9 callersFunctionEnemyConfigByName
EnemyConfigByName returns the enemy config for the given name, or nil
pkg/mudserver/game/combat/simutil/enemy_factory.go:37
↓ 9 callersMethodFindItemByName
FindItemByName finds an item by partial name match (case-insensitive)
pkg/entities/items/inventory.go:93
↓ 9 callersMethodGetCombatEngine
GetCombatEngine returns the combat engine controller
pkg/mudserver/game/def/gamectrl.go:87
↓ 9 callersMethodIsBound
IsBound returns true if this item is bound to a character
pkg/entities/items/items.go:195
↓ 9 callersFunctionMm
()
public/mud-client/public/bundle.js:26
↓ 9 callersMethodNextTurn
NextTurn advances to the next turn, handling round progression
pkg/mudserver/game/combat/engine.go:508
↓ 9 callersMethodToEntity
ToEntity converts a YAMLNPC to an NPC entity
pkg/importer/converters.go:136
↓ 9 callersFunctioncheckDuplicateIDs
checkDuplicateIDs detects duplicate IDs within a single entity type.
pkg/importer/validator.go:275
↓ 9 callersFunctiongetAttributeValue
getAttributeValue retrieves the value of an attribute by short name
pkg/mudserver/game/leveling/stat_calculator.go:118
↓ 9 callersMethodloadYAMLFiles
YAML loading functions
pkg/importer/importer.go:336
↓ 8 callersFunctionCreateCharacter
CreateCharacter creates a fully equipped character at the specified level. It uses the real leveling system to apply HP and attribute gains.
pkg/mudserver/game/combat/simutil/char_factory.go:68
↓ 8 callersMethodFindItemByTargetName
FindItemByTargetName finds an item by its target name (name-suffix format)
pkg/entities/items/inventory.go:121
↓ 8 callersFunctionFm
()
public/mud-client/public/bundle.js:26
↓ 8 callersMethodGetDisplayName
GetDisplayName returns the name shown to players
pkg/entities/npcs/npc.go:98
↓ 8 callersMethodGetPlayerByID
GetPlayerByID finds a player combatant by their character ID
pkg/entities/combat/instance.go:191
↓ 8 callersMethodGetProgress
(characterID, questID string)
pkg/service/quests.go:25
↓ 8 callersMethodGetTargetName
GetTargetName returns the unique name for targeting commands For instances, this includes the suffix to distinguish between multiple spawns
pkg/entities/npcs/npc.go:104
↓ 8 callersFunctionNewCharacterUpdateMessage
NewCharacterUpdateMessage creates a character update from the current character state
pkg/mudserver/game/messages/responses.go:347
↓ 8 callersMethodRegisterModule
RegisterModule registers a custom module loader
pkg/scripts/runner/lua/luarunner.go:75
↓ 8 callersMethodRemoveItem
RemoveItem removes an item ID from the room
pkg/entities/rooms/rooms.go:208
↓ 8 callersMethodRunWithResult
RunWithResult executes a script and returns detailed result information
pkg/scripts/scriptrunner.go:44
↓ 8 callersFunctionValidateAttributeSpend
ValidateAttributeSpend checks if spending `amount` points on `attrShort` is allowed. Returns an error message if invalid, or empty string if valid.
pkg/mudserver/game/leveling/attribute_caps.go:48
↓ 8 callersFunctionVe
(e,t)
public/mud-client/public/bundle.js:26
↓ 8 callersFunctionpc
(e)
public/mud-client/public/bundle.js:26
↓ 8 callersMethodpush
* Push an entry and maintain ring buffer size
public/app/src/game/echo/HistoryController.js:14
↓ 8 callersFunctionqd
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 8 callersMethodsend
(v interface{})
pkg/mudserver/mudserver.go:36
↓ 8 callersMethodsendMessage
(id string, msg interface{})
pkg/mudserver/mudserver.go:234
↓ 8 callersMethodsetInput
* Replace input with the new input given * * This function clears all the lines that the current input occupies and * then replaces them with
public/app/src/game/echo/LocalEchoController.js:250
↓ 8 callersMethodsetInput
(e,t=!0)
public/mud-client/public/bundle.js:26
↓ 8 callersMethodsetInput
* Replace input with the new input given * * This function clears all the lines that the current input occupies and * then replaces them with
public/mud-client/src/game/echo/LocalEchoController.js:250
↓ 8 callersFunctionto
(e)
public/mud-client/public/bundle.js:26
↓ 8 callersFunctionwt
(e)
public/mud-client/public/bundle.js:26
↓ 8 callersFunctionzd
(e)
public/mud-client/public/bundle.js:26
↓ 7 callersFunctionBl
(e,t)
public/mud-client/public/bundle.js:26
↓ 7 callersMethodFindByCharacterAndQuest
(characterID, questID string)
pkg/repository/interfaces.go:225
↓ 7 callersMethodFindByName
(name string)
pkg/service/quests.go:17
↓ 7 callersMethodGetAttributeModifier
GetAttributeModifier returns the modifier for an attribute (value - 10) / 2
pkg/entities/characters/character.go:150
↓ 7 callersMethodGetCurrentTurnCombatant
GetCurrentTurnCombatant returns the combatant whose turn it is
pkg/entities/combat/instance.go:159
↓ 7 callersMethodGetInstance
GetInstance returns an NPC instance by ID
pkg/mudserver/game/def/gamectrl.go:15
↓ 7 callersMethodIsEnemy
IsEnemy returns true if this NPC has enemy behavior
pkg/entities/npcs/npc.go:73
↓ 7 callersFunctionM
(e,t)
public/mud-client/public/bundle.js:7
↓ 7 callersMethodProcessAttack
ProcessAttack handles an attack from attacker to target
pkg/mudserver/game/combat/engine.go:224
↓ 7 callersMethodRenderPlain
(state *DialogState)
pkg/entities/dialogs/dialogs.go:134
↓ 7 callersMethodResetConversation
ResetConversation resets the conversation to the main node
pkg/service/conversations.go:26
↓ 7 callersFunctionRoomWithCharacterReveals
RoomWithCharacterReveals returns a room view with character-specific hidden exits revealed. If the character has no reveals for this room, the origina
pkg/mudserver/game/util/game_utils.go:287
↓ 7 callersMethodRun
()
pkg/mudserver/mudserver.go:22
↓ 7 callersMethodScriptsService
()
pkg/service/facade.go:14
↓ 7 callersMethodWith
With adds a parameter and returns the QueryParams for chaining.
pkg/db/query.go:20
↓ 7 callersMethodapplyStatusEffect
--- Status Effect Management --- applyStatusEffect adds a status effect to a combatant, refreshing if the same skill+stat already exists
pkg/mudserver/game/combat/engine_skills.go:491
↓ 7 callersFunctionar
(e)
public/mud-client/public/bundle.js:26
↓ 7 callersFunctioncr
(e)
public/mud-client/public/bundle.js:26
↓ 7 callersFunctionhu
(e)
public/mud-client/public/bundle.js:26
↓ 7 callersFunctionlr
(e)
public/mud-client/public/bundle.js:26
↓ 7 callersFunctionoc
(e,t)
public/mud-client/public/bundle.js:26
← previousnext →101–200 of 2,537, ranked by callers