In Deutsch umschreiben.
Ich baue den Mod einer U-Bahnstation um. Um die Passagierplattform, die später an der installierten U-Bahnstation installiert werden kann, auf die Frachtplattform zu ändern, wird beim Laden des Spiels mit "type =" load_platform ", das der folgenden Syntax hinzugefügt wurde, eine solche Fehlermeldung angezeigt War.
Fehlermeldung:(Englisch)
lua error
file:res/construction/station/rail/mus_platform_cargo_5m.module
[string "mods/underground_station_passenger_1/res/cons..."]:9: unexpected symbol near '='
this error is usually caused by modding.the syntax of some game resources is not correct.
Vor der Eingabe von "type =" ladungsplattform ","
↓
local fn = require "mus_platform_module"
local platformWidth = 5
local stairsWidth = 3
local desc = {
name = _("Cargo platform"),
description = _("Platform for cargo"),
icon = "ui/construction/station/rail/mus_platform_5.tga"
}
data = fn(platformWidth, stairsWidth, desc, 1, {0})
Nach Eingabe von "type =" load_platform ","
↓
local fn = require "mus_platform_module"
local platformWidth = 5
local stairsWidth = 3
local desc = {
name = _("Cargo platform"),
description = _("Platform for cargo"),
icon = "ui/construction/station/rail/mus_platform_5.tga"
},
type = "cargo_platform",
}
data = fn(platformWidth, stairsWidth, desc, 1, {0})
Ich habe auf verschiedene Arten eingegeben und jedes Mal eine Fehlermeldung erhalten. Ich bin fertig
Weiß jemand etwas über eine Lösung für diesen Syntaxfehler?