changed string Bamort to BaMoRT
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
@@ -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)
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
# Environment variables for Bamort development environment
|
||||
# Environment variables for BaMoRT development environment
|
||||
|
||||
# API Configuration
|
||||
# API_URL=http://localhost:8180
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user