diff --git a/planet/Objects.ocd/Clonk.ocd/Script.c b/planet/Objects.ocd/Clonk.ocd/Script.c index 7d71528a3..27aed9abe 100644 --- a/planet/Objects.ocd/Clonk.ocd/Script.c +++ b/planet/Objects.ocd/Clonk.ocd/Script.c @@ -1274,6 +1274,10 @@ func Definition(def) { Target = UserAction->GetObjectEvaluator("IsClonk", "Clonk"), MaxContentsCount = new UserAction.Evaluator.Integer { Name="$MaxContentsCount$", EmptyName = Format("$Default$ (%d)", def.MaxContentsCount) } } } ); + + // Turn around + if (!def.EditorActions) def.EditorActions = {}; + def.EditorActions.turn_around = { Name="$TurnAround$", EditorHelp="$TurnAroundHelp$", Command="SetDir(1-GetDir())" }; _inherited(def); } diff --git a/planet/Objects.ocd/Clonk.ocd/StringTblDE.txt b/planet/Objects.ocd/Clonk.ocd/StringTblDE.txt index d3371d510..a7ba4e501 100644 --- a/planet/Objects.ocd/Clonk.ocd/StringTblDE.txt +++ b/planet/Objects.ocd/Clonk.ocd/StringTblDE.txt @@ -17,4 +17,6 @@ MaxContentsCount=Anzahl Inventarplaetze Default=Standard Skin=Skin -SkinHelp=Aussehen des Clonks. \ No newline at end of file +SkinHelp=Aussehen des Clonks. +TurnAround=Umdrehen +TurnAroundHelp=Wechselt die Blickrichtung des Clonks. \ No newline at end of file diff --git a/planet/Objects.ocd/Clonk.ocd/StringTblUS.txt b/planet/Objects.ocd/Clonk.ocd/StringTblUS.txt index bf56c395a..a619fc763 100644 --- a/planet/Objects.ocd/Clonk.ocd/StringTblUS.txt +++ b/planet/Objects.ocd/Clonk.ocd/StringTblUS.txt @@ -17,4 +17,6 @@ MaxContentsCount=Inventory slot count Default=Default Skin=Skin -SkinHelp=How the clonk looks. \ No newline at end of file +SkinHelp=How the clonk looks. +TurnAround=Turn around +TurnAroundHelp=Changes the view direction of the clonk. \ No newline at end of file