changed string Bamort to BaMoRT

This commit is contained in:
2026-01-25 21:57:58 +01:00
parent 5112090718
commit e79067b39f
14 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
This package is part of the Bamort monorepo and is licensed under the PolyForm Noncommercial License 1.0.0.
This package is part of the BaMoRT monorepo and is licensed under the PolyForm Noncommercial License 1.0.0.
See ../LICENSE
+2 -2
View File
@@ -224,7 +224,7 @@ func GetCharacterExperienceAndWealth(c *gin.Context) {
}
// Berechne Gesamtvermögen in Silbergroschen
// Annahme: 1 GS = 10 SS, 1 SS = 10 KS (typische Midgard Währung)
// Annahme: 1 GS = 10 SS, 1 SS = 10 KS (typische PRG Währung)
gs := character.Vermoegen.Goldstuecke
ss := character.Vermoegen.Silberstuecke
ks := character.Vermoegen.Kupferstuecke
@@ -1750,7 +1750,7 @@ func getSpellLECost(level int) int {
// Query the database for the LE cost for this level
err := database.DB.Where("level = ? AND game_system = ?", level, "midgard").First(&spellLECost).Error
if err != nil {
// If not found in database, fall back to standard Midgard costs
// If not found in database, fall back to standard RPG costs
spellLECosts := map[int]int{
1: 1,
2: 2,
+3 -3
View File
@@ -17,9 +17,9 @@ import (
"github.com/gin-gonic/gin"
)
// @title Bamort API
// @title BaMoRT API
// @version 1
// @description This is the API for Bamort
// @description This is the API for BaMoRT
// @host localhost:8180
// @BasePath /
// @schemes http
@@ -39,7 +39,7 @@ func main() {
logger.SetMinLogLevel(logger.INFO)
}
logger.Info("Bamort Server wird gestartet...")
logger.Info("BaMoRT Server wird gestartet...")
logger.Debug("Debug-Modus ist aktiviert")
logger.Info("Environment: %s", cfg.Environment)
logger.Info("testingDB Set: %s", cfg.DevTesting)
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"strings"
)
// ExportCharToVTT converts a Bamort character to VTT JSON format
// ExportCharToVTT converts a BaMoRT character to VTT JSON format
func ExportCharToVTT(char *models.Char) (*CharacterImport, error) {
vtt := &CharacterImport{}
+1 -1
View File
@@ -1,4 +1,4 @@
# Environment variables for Bamort development environment
# Environment variables for BaMoRT development environment
# API Configuration
# API_URL=http://localhost:8180
+1 -1
View File
@@ -6,7 +6,7 @@
BACKEND_URL="http://localhost:8180"
ENDPOINT="/api/maintenance/transfer-sqlite-to-mariadb"
echo "=== Bamort Data Transfer: SQLite to MariaDB ==="
echo "=== BaMoRT Data Transfer: SQLite to MariaDB ==="
echo ""
# Check if clear parameter is provided