Trigger a feedback sensor to assign it with this contact! : Rückmeldekontakt auslösen, um ihn diesem Kontakt zuzuweisen!
TriggerContact : Kontakt oder Schalter auslösen
Trigger contact to learn new contact : Kontakt auslösen, um neuen Kontakt zu lernen
Trigger Contact/Switch at destination : Kontakt/Schalter am Ziel auslösen
Triggers {} when reaching destination : Löst bei Erreichen des Ziels {} aus
Turn : Richtung wechseln
turn train : Richtung des Zuges Wechseln
Turn allowed : Wenden erlaubt
@ -497,6 +502,7 @@ Turns the train, as if it went through a loop. : Dreht den Zug, als wenn er eine
@@ -497,6 +502,7 @@ Turns the train, as if it went through a loop. : Dreht den Zug, als wenn er eine
Type : Typ
Unknown action\: {} : Unbekannte Aktion: {}
Unknown decoder type : Unbekannter Decoder-Typ
Updating {}\: {} → {} : Aktualisiere {}: {} → {}
Use negative number to count from end. : Nutze negative Nummern, um von Ende zu zählen.
formInputs.add(t("Trigger Contact/Switch at destination")+": "+(isNull(destinationTrigger)?t("unset"):destinationTrigger),button(t("Select from plan"),Map.of(ACTION,ACTION_UPDATE,ASSIGN,CONTACT)));
@ -25,7 +25,8 @@ public class BlockFree extends Condition {
@@ -25,7 +25,8 @@ public class BlockFree extends Condition {
@Override
publicbooleanfulfilledBy(Contextcontext){
returnblock.isFreeFor(context)!=inverted;
if(!inverted)returnblock.isFreeFor(context);
return!block.isFreeFor(newContext(block));// block.isFreeFor würde true liefern, wenn der Zug im Kontext gleich dem Zug im Block wäre. Da wir aber nur wissen wollen, ob der Block belegt ist, brauchen wir einen Context ohne Zug.
}
@Override
@ -69,6 +70,7 @@ public class BlockFree extends Condition {
@@ -69,6 +70,7 @@ public class BlockFree extends Condition {
if(tileinstanceofBlock){
block=(Block)tile;
}elsereturnt("Clicked tile is not a {}!",t("block"));