MCPcopy Create free account

hub / github.com/TalesMUD/talesmud / functions

Functions2,537 in github.com/TalesMUD/talesmud

MethodStore
(spawner *npc.NPCSpawner)
pkg/repository/interfaces.go:182
MethodStore
(lootTable *items.LootTable)
pkg/repository/interfaces.go:194
MethodStore
(quest *quests.Quest)
pkg/repository/interfaces.go:213
MethodStore
(progress *quests.QuestProgress)
pkg/repository/interfaces.go:226
MethodStore
(skill *skills.Skill)
pkg/repository/interfaces.go:237
MethodStore
(session *entities.GuestStatSession)
pkg/repository/interfaces.go:252
MethodStore
(script *s.Script)
pkg/repository/scripts_sqlite.go:70
MethodStore
(n *npc.NPC)
pkg/repository/npcs_sqlite.go:78
MethodStore
(quest *quests.Quest)
pkg/repository/quests_sqlite.go:80
MethodSupportsLanguage
SupportsLanguage returns true if the runner supports the given language
pkg/scripts/runner/defaultscriptrunner.go:43
MethodSupportsLanguage
SupportsLanguage returns true if any runner supports the given language
pkg/scripts/runner/factory.go:73
MethodSupportsLanguage
SupportsLanguage returns true if the runner supports the given language
pkg/scripts/runner/lua/luarunner.go:82
FunctionTa
(e)
public/mud-client/public/bundle.js:26
FunctionTestApplyAttributeSpend_Basic
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:77
FunctionTestApplyAttributeSpend_Cumulative
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:110
FunctionTestApplyAttributeSpend_NilSpentMap
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:95
FunctionTestApplyLevelUpFullIntegration
TestApplyLevelUpFullIntegration tests the full level-up flow
pkg/mudserver/game/leveling/leveling_test.go:254
FunctionTestAttributeScalingNoGains
TestAttributeScalingNoGains tests levels where no attributes are gained
pkg/mudserver/game/leveling/leveling_test.go:242
FunctionTestAttributeScalingPartialLevels
TestAttributeScalingPartialLevels tests attribute gains for partial level ranges
pkg/mudserver/game/leveling/leveling_test.go:227
FunctionTestAttributeScalingPrimary
TestAttributeScalingPrimary tests +1 primary attribute every 5 levels
pkg/mudserver/game/leveling/leveling_test.go:187
FunctionTestAttributeScalingSecondary
TestAttributeScalingSecondary tests +1 secondary attribute every 10 levels
pkg/mudserver/game/leveling/leveling_test.go:213
FunctionTestBossesRequireHigherLevel
--- Balance Tests: Bosses should be hard ---
pkg/mudserver/game/combat/combat_sim_test.go:201
FunctionTestCalculateEnemyGoldRewardDifficulty
(t *testing.T)
pkg/mudserver/game/leveling/gold_rewards_test.go:31
FunctionTestCalculateEnemyGoldRewardMaxAlwaysGreaterThanMin
(t *testing.T)
pkg/mudserver/game/leveling/gold_rewards_test.go:85
FunctionTestCalculateEnemyGoldRewardMinimums
(t *testing.T)
pkg/mudserver/game/leveling/gold_rewards_test.go:61
FunctionTestCalculateEnemyGoldRewardNormal
(t *testing.T)
pkg/mudserver/game/leveling/gold_rewards_test.go:5
FunctionTestClassAttributeCaps_AllClassesHaveAllAttributes
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:173
FunctionTestClassAttributeCaps_UnknownClass
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:190
FunctionTestClassAttributeCaps_WarriorFavorsSTR
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:199
FunctionTestClassAttributeCaps_WizardFavorsINT
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:207
FunctionTestClassAttributeMapping
TestClassAttributeMapping tests that each class has correct primary/secondary attributes
pkg/mudserver/game/leveling/leveling_test.go:370
FunctionTestEnemyXPReward
TestEnemyXPReward tests XP calculation for enemies
pkg/mudserver/game/leveling/leveling_test.go:311
FunctionTestExplorationXPAlreadyDiscovered
(t *testing.T)
pkg/mudserver/game/leveling/xp_sources_test.go:39
FunctionTestExplorationXPNewArea
(t *testing.T)
pkg/mudserver/game/leveling/xp_sources_test.go:22
FunctionTestExplorationXPNewRoom
(t *testing.T)
pkg/mudserver/game/leveling/xp_sources_test.go:5
FunctionTestExplorationXPNilMaps
(t *testing.T)
pkg/mudserver/game/leveling/xp_sources_test.go:56
FunctionTestExplorationXPNoAreaName
(t *testing.T)
pkg/mudserver/game/leveling/xp_sources_test.go:71
FunctionTestFullBalanceMatrix
--- Full Balance Matrix (informational, does not fail) ---
pkg/mudserver/game/combat/combat_sim_test.go:242
FunctionTestGetDifficultyGoldMultiplier
(t *testing.T)
pkg/mudserver/game/leveling/gold_rewards_test.go:118
FunctionTestGetXPForNextLevel
TestGetXPForNextLevel tests the XP remaining calculation
pkg/mudserver/game/leveling/leveling_test.go:334
FunctionTestGetXPProgress
TestGetXPProgress tests the progress percentage calculation
pkg/mudserver/game/leveling/leveling_test.go:351
FunctionTestHPScalingVeryLowSTA
TestHPScalingVeryLowSTA tests that minimum HP is gained even with very low STA
pkg/mudserver/game/leveling/leveling_test.go:171
FunctionTestHPScalingWarrior
TestHPScalingWarrior tests HP scaling for high-STA class
pkg/mudserver/game/leveling/leveling_test.go:117
FunctionTestHPScalingWizard
TestHPScalingWizard tests HP scaling for low-STA class
pkg/mudserver/game/leveling/leveling_test.go:153
FunctionTestHollowKnightSweetSpot
TestHollowKnightSweetSpot focuses on finding the right HK stats for ~20-30% at L6, ~5% at L5
pkg/mudserver/game/combat/combat_balance_analysis_test.go:169
FunctionTestLevel1VsSameLevelEnemies
--- Balance Tests: L1 vs Same-Level Normal Enemies ---
pkg/mudserver/game/combat/combat_sim_test.go:98
FunctionTestLevel1VsTrivialEnemies
--- Balance Tests: L1 vs Trivial Enemies ---
pkg/mudserver/game/combat/combat_sim_test.go:70
FunctionTestLevel5VsLevel2Enemies
--- Balance Tests: L5 vs L2 Enemies (the original bug scenario) ---
pkg/mudserver/game/combat/combat_sim_test.go:130
FunctionTestLevelScaling
--- Level Scaling ---
pkg/mudserver/game/combat/combat_sim_test.go:48
FunctionTestLevelUpAtMaxCap
TestLevelUpAtMaxCap tests that level 50 is the hard cap
pkg/mudserver/game/leveling/leveling_test.go:86
FunctionTestLevelUpAwardsPoints
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:125
FunctionTestLevelUpAwardsPoints_Accumulates
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:158
FunctionTestLevelUpAwardsPoints_MultiLevel
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:141
FunctionTestLevelUpJustBelowThreshold
TestLevelUpJustBelowThreshold tests that XP just below threshold doesn't level up
pkg/mudserver/game/leveling/leveling_test.go:103
FunctionTestLevelUpMessageIncludesPoints
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:221
FunctionTestLevelUpMultipleLevels
TestLevelUpMultipleLevels tests gaining multiple levels at once
pkg/mudserver/game/leveling/leveling_test.go:69
FunctionTestLevelUpSingleLevel
TestLevelUpSingleLevel tests leveling from 1 to 2
pkg/mudserver/game/leveling/leveling_test.go:52
FunctionTestPointsPerLevelConstant
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:215
FunctionTestRollEnemyGold
(t *testing.T)
pkg/mudserver/game/leveling/gold_rewards_test.go:102
FunctionTestSameLevelVsNormalEnemies
--- Balance Tests: Same Level vs Normal Enemies ---
pkg/mudserver/game/combat/combat_sim_test.go:162
FunctionTestStatDiagnostics
--- Stat Diagnostics ---
pkg/mudserver/game/combat/combat_sim_test.go:13
FunctionTestValidateAttributeSpend_AlreadyAtCap
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:66
FunctionTestValidateAttributeSpend_ExceedsCap
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:49
FunctionTestValidateAttributeSpend_InsufficientPoints
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:19
FunctionTestValidateAttributeSpend_InvalidAttribute
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:29
FunctionTestValidateAttributeSpend_NegativeAmount
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:39
FunctionTestValidateAttributeSpend_Valid
(t *testing.T)
pkg/mudserver/game/leveling/attribute_caps_test.go:9
FunctionTestWarriorBalanceAnalysis
TestWarriorBalanceAnalysis runs detailed "what-if" scenarios for Warrior tuning
pkg/mudserver/game/combat/combat_balance_analysis_test.go:13
FunctionTestXPCurveFormula
TestXPCurveFormula verifies the XP formula produces values close to expected targets
pkg/mudserver/game/leveling/leveling_test.go:10
FunctionTestXPTableGeneration
TestXPTableGeneration verifies the precomputed XP table matches formula
pkg/mudserver/game/leveling/leveling_test.go:39
FunctionTimeTrack
TimeTrack ... see https://coderwall.com/p/cp5fya/measuring-execution-time-in-go
pkg/util/timetrack.go:9
MethodToEntity
ToEntity converts a YAMLRoom to a Room entity
pkg/importer/converters.go:20
MethodToEntity
ToEntity converts a YAMLItem to an Item entity
pkg/importer/converters.go:100
MethodToEntity
ToEntity converts a YAMLScript to a Script entity
pkg/importer/converters.go:244
MethodToEntity
ToEntity converts a YAMLDialog to a Dialog entity The YAML format uses a flat map of nodes, we need to convert to a tree structure
pkg/importer/converters.go:257
MethodToEntity
ToEntity converts a YAMLLootTable to a LootTable entity
pkg/importer/converters.go:322
MethodToEntity
ToEntity converts a YAMLSpawner to an NPCSpawner entity
pkg/importer/converters.go:368
MethodToEntity
ToEntity converts a YAMLQuest to a Quest entity
pkg/importer/converters.go:387
MethodToEntity
ToEntity converts a YAMLSkill to a Skill entity
pkg/importer/converters.go:443
FunctionUf
()
public/mud-client/public/bundle.js:26
FunctionUi
(e,t,n)
public/mud-client/public/bundle.js:26
MethodUnbanUser
UnbanUser removes the ban from a user by ID.
pkg/service/users.go:123
MethodUnbanUser
UnbanUser removes a ban from a user by ID (admin only).
pkg/server/handler/usermanagement.go:61
MethodUnmarshalYAML
UnmarshalYAML handles both string and object formats for room items
pkg/importer/models.go:31
MethodUnmarshalYAML
UnmarshalYAML handles both list and object formats for coordinates
pkg/importer/models.go:85
MethodUnregister
Unregister removes a script handler for an event
pkg/scripts/events/registry.go:81
MethodUnregisterAll
UnregisterAll removes all handlers for a script
pkg/scripts/events/registry.go:96
MethodUnregisterNPC
UnregisterNPC removes an NPC from the combat lookup map
pkg/mudserver/game/combat/manager.go:102
MethodUnregisterPlayer
UnregisterPlayer removes a player from the combat lookup map
pkg/mudserver/game/combat/manager.go:95
MethodUnsubscribe
Unsubscribe ...
pkg/mudserver/game/game.go:100
MethodUpdate
(s *settings.ServerSettings)
pkg/service/server_settings.go:11
MethodUpdate
(s *settings.ServerSettings)
pkg/service/server_settings.go:27
MethodUpdate
Update updates a skill and refreshes the cache.
pkg/service/skills.go:69
MethodUpdate
Update overrides the repository update to set updated timestamp
pkg/service/npcspawners.go:33
MethodUpdate
(id string, quest *quests.Quest)
pkg/service/quests.go:86
MethodUpdate
(item interface{}, id string)
pkg/repository/sqlite_generic.go:157
MethodUpdate
(id string, charachterSheet *e.Character)
pkg/repository/characters_sqlite.go:81
MethodUpdate
(id string, conv *conversations.Conversation)
pkg/repository/conversations_sqlite.go:91
MethodUpdate
(id string, s *npc.NPCSpawner)
pkg/repository/npcspawners_sqlite.go:90
MethodUpdate
(id string, room *r.Room)
pkg/repository/rooms_sqlite.go:87
← previousnext →2,001–2,100 of 2,537, ranked by callers