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
↓ 16 callers
Function
Me
(e,t=i)
public/mud-client/public/bundle.js:26
↓ 16 callers
Function
RunMatchup
RunMatchup runs N iterations of a matchup and aggregates results
pkg/mudserver/game/combat/simutil/simutil.go:145
↓ 16 callers
Function
Zr
(e)
public/mud-client/public/bundle.js:26
↓ 16 callers
Function
newSQLiteGenericRepo
(dbConn *sql.DB, table string, gen func() interface{})
pkg/repository/sqlite_generic.go:20
↓ 15 callers
Method
Delete
(id string)
pkg/repository/interfaces.go:150
↓ 15 callers
Method
GetGame
GetGame returns the game controller
pkg/scripts/runner/lua/luarunner.go:68
↓ 15 callers
Method
GetQuestLog
Quest progress operations
pkg/service/quests.go:24
↓ 15 callers
Method
Store
(npc *npc.NPC)
pkg/repository/interfaces.go:147
↓ 15 callers
Function
Yu
(e,t,n,i)
public/mud-client/public/bundle.js:26
↓ 14 callers
Function
Bd
(e)
public/mud-client/public/bundle.js:26
↓ 14 callers
Method
Update
(id string, npc *npc.NPC)
pkg/repository/interfaces.go:149
↓ 14 callers
Function
jl
(e,t)
public/mud-client/public/bundle.js:26
↓ 13 callers
Function
G
(e,t,n)
public/mud-client/public/bundle.js:7
↓ 13 callers
Function
j
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 13 callers
Function
m
(e,t,n,i)
public/mud-client/public/bundle.js:6
↓ 13 callers
Method
notifyPlayersInCombat
notifyPlayersInCombat sends a message to all players in the combat instance
pkg/mudserver/game/game_combat.go:372
↓ 12 callers
Method
AddLogEntry
AddLogEntry adds a new entry to the combat log
pkg/entities/combat/instance.go:269
↓ 12 callers
Method
CheckCombatEnd
CheckCombatEnd checks if combat should end and returns the new state
pkg/mudserver/game/combat/engine.go:559
↓ 12 callers
Method
DropCollection
()
pkg/repository/sqlite_generic.go:28
↓ 12 callers
Function
NewInventoryUpdateMessage
NewInventoryUpdateMessage creates an inventory update from the current character state
pkg/mudserver/game/messages/responses.go:303
↓ 12 callers
Function
NewRoomBasedMessage
NewRoomBasedMessage ... creates a new Websocket message
pkg/mudserver/game/messages/responses.go:232
↓ 12 callers
Function
itoa64
itoa64 converts int64 to string
pkg/mudserver/game/commands/inventory.go:150
↓ 11 callers
Method
$on
(e,t)
public/mud-client/public/bundle.js:26
↓ 11 callers
Function
CheckLevelUp
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 callers
Method
EndCombat
EndCombat finalizes a combat instance with the given result
pkg/mudserver/game/combat/engine.go:581
↓ 11 callers
Function
Mc
(e,t)
public/mud-client/public/bundle.js:26
↓ 11 callers
Method
Render
(state *DialogState)
pkg/entities/dialogs/dialogs.go:125
↓ 11 callers
Method
setCursor
* 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 callers
Method
setCursor
(e)
public/mud-client/public/bundle.js:26
↓ 11 callers
Method
setCursor
* 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 callers
Method
AddItem
AddItem adds an item ID to the room
pkg/entities/rooms/rooms.go:192
↓ 10 callers
Function
AllClassConfigs
AllClassConfigs returns configurations for all 6 starter classes
pkg/mudserver/game/combat/simutil/char_factory.go:45
↓ 10 callers
Function
CalculateEnemyGoldReward
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 callers
Method
CreateInstanceFromTemplate
(templateID string)
pkg/service/items.go:21
↓ 10 callers
Method
GetInstanceByPlayerID
GetInstanceByPlayerID returns the combat instance a player is in
pkg/mudserver/game/combat/manager.go:57
↓ 10 callers
Method
IsPlayerInCombat
IsPlayerInCombat checks if a player is currently in combat
pkg/mudserver/game/def/gamectrl.go:39
↓ 10 callers
Function
NewAttribute
NewAttribute ...
pkg/entities/characters/character.go:63
↓ 10 callers
Function
SkillByID
SkillByID returns the skill with the given ID, or nil
pkg/entities/skills/registry.go:49
↓ 10 callers
Function
V
(e,t,n)
public/mud-client/public/bundle.js:7
↓ 10 callers
Function
createBaseAttributes
(str, dex, _int, wis, sta int32)
pkg/entities/characters/templates.go:75
↓ 10 callers
Function
me
(e,t,n,i,r,o,s,l,c,u,h,d)
public/mud-client/public/bundle.js:26
↓ 10 callers
Function
wc
(e)
public/mud-client/public/bundle.js:26
↓ 9 callers
Function
ApplyLevelUp
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 callers
Function
Bh
(e)
public/mud-client/public/bundle.js:26
↓ 9 callers
Method
DialogsService
()
pkg/service/facade.go:18
↓ 9 callers
Function
EnemyConfigByName
EnemyConfigByName returns the enemy config for the given name, or nil
pkg/mudserver/game/combat/simutil/enemy_factory.go:37
↓ 9 callers
Method
FindItemByName
FindItemByName finds an item by partial name match (case-insensitive)
pkg/entities/items/inventory.go:93
↓ 9 callers
Method
GetCombatEngine
GetCombatEngine returns the combat engine controller
pkg/mudserver/game/def/gamectrl.go:87
↓ 9 callers
Method
IsBound
IsBound returns true if this item is bound to a character
pkg/entities/items/items.go:195
↓ 9 callers
Function
Mm
()
public/mud-client/public/bundle.js:26
↓ 9 callers
Method
NextTurn
NextTurn advances to the next turn, handling round progression
pkg/mudserver/game/combat/engine.go:508
↓ 9 callers
Method
ToEntity
ToEntity converts a YAMLNPC to an NPC entity
pkg/importer/converters.go:136
↓ 9 callers
Function
checkDuplicateIDs
checkDuplicateIDs detects duplicate IDs within a single entity type.
pkg/importer/validator.go:275
↓ 9 callers
Function
getAttributeValue
getAttributeValue retrieves the value of an attribute by short name
pkg/mudserver/game/leveling/stat_calculator.go:118
↓ 9 callers
Method
loadYAMLFiles
YAML loading functions
pkg/importer/importer.go:336
↓ 8 callers
Function
CreateCharacter
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 callers
Method
FindItemByTargetName
FindItemByTargetName finds an item by its target name (name-suffix format)
pkg/entities/items/inventory.go:121
↓ 8 callers
Function
Fm
()
public/mud-client/public/bundle.js:26
↓ 8 callers
Method
GetDisplayName
GetDisplayName returns the name shown to players
pkg/entities/npcs/npc.go:98
↓ 8 callers
Method
GetPlayerByID
GetPlayerByID finds a player combatant by their character ID
pkg/entities/combat/instance.go:191
↓ 8 callers
Method
GetProgress
(characterID, questID string)
pkg/service/quests.go:25
↓ 8 callers
Method
GetTargetName
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 callers
Function
NewCharacterUpdateMessage
NewCharacterUpdateMessage creates a character update from the current character state
pkg/mudserver/game/messages/responses.go:347
↓ 8 callers
Method
RegisterModule
RegisterModule registers a custom module loader
pkg/scripts/runner/lua/luarunner.go:75
↓ 8 callers
Method
RemoveItem
RemoveItem removes an item ID from the room
pkg/entities/rooms/rooms.go:208
↓ 8 callers
Method
RunWithResult
RunWithResult executes a script and returns detailed result information
pkg/scripts/scriptrunner.go:44
↓ 8 callers
Function
ValidateAttributeSpend
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 callers
Function
Ve
(e,t)
public/mud-client/public/bundle.js:26
↓ 8 callers
Function
pc
(e)
public/mud-client/public/bundle.js:26
↓ 8 callers
Method
push
* Push an entry and maintain ring buffer size
public/app/src/game/echo/HistoryController.js:14
↓ 8 callers
Function
qd
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 8 callers
Method
send
(v interface{})
pkg/mudserver/mudserver.go:36
↓ 8 callers
Method
sendMessage
(id string, msg interface{})
pkg/mudserver/mudserver.go:234
↓ 8 callers
Method
setInput
* 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 callers
Method
setInput
(e,t=!0)
public/mud-client/public/bundle.js:26
↓ 8 callers
Method
setInput
* 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 callers
Function
to
(e)
public/mud-client/public/bundle.js:26
↓ 8 callers
Function
wt
(e)
public/mud-client/public/bundle.js:26
↓ 8 callers
Function
zd
(e)
public/mud-client/public/bundle.js:26
↓ 7 callers
Function
Bl
(e,t)
public/mud-client/public/bundle.js:26
↓ 7 callers
Method
FindByCharacterAndQuest
(characterID, questID string)
pkg/repository/interfaces.go:225
↓ 7 callers
Method
FindByName
(name string)
pkg/service/quests.go:17
↓ 7 callers
Method
GetAttributeModifier
GetAttributeModifier returns the modifier for an attribute (value - 10) / 2
pkg/entities/characters/character.go:150
↓ 7 callers
Method
GetCurrentTurnCombatant
GetCurrentTurnCombatant returns the combatant whose turn it is
pkg/entities/combat/instance.go:159
↓ 7 callers
Method
GetInstance
GetInstance returns an NPC instance by ID
pkg/mudserver/game/def/gamectrl.go:15
↓ 7 callers
Method
IsEnemy
IsEnemy returns true if this NPC has enemy behavior
pkg/entities/npcs/npc.go:73
↓ 7 callers
Function
M
(e,t)
public/mud-client/public/bundle.js:7
↓ 7 callers
Method
ProcessAttack
ProcessAttack handles an attack from attacker to target
pkg/mudserver/game/combat/engine.go:224
↓ 7 callers
Method
RenderPlain
(state *DialogState)
pkg/entities/dialogs/dialogs.go:134
↓ 7 callers
Method
ResetConversation
ResetConversation resets the conversation to the main node
pkg/service/conversations.go:26
↓ 7 callers
Function
RoomWithCharacterReveals
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 callers
Method
Run
()
pkg/mudserver/mudserver.go:22
↓ 7 callers
Method
ScriptsService
()
pkg/service/facade.go:14
↓ 7 callers
Method
With
With adds a parameter and returns the QueryParams for chaining.
pkg/db/query.go:20
↓ 7 callers
Method
applyStatusEffect
--- 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 callers
Function
ar
(e)
public/mud-client/public/bundle.js:26
↓ 7 callers
Function
cr
(e)
public/mud-client/public/bundle.js:26
↓ 7 callers
Function
hu
(e)
public/mud-client/public/bundle.js:26
↓ 7 callers
Function
lr
(e)
public/mud-client/public/bundle.js:26
↓ 7 callers
Function
oc
(e,t)
public/mud-client/public/bundle.js:26
← previous
next →
101–200 of 2,537, ranked by callers