forked from Mirrors/openclonk
Add clonk EditorAction: Turn around
parent
27291ec977
commit
4b508134f8
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -17,4 +17,6 @@ MaxContentsCount=Anzahl Inventarplaetze
|
|||
Default=Standard
|
||||
|
||||
Skin=Skin
|
||||
SkinHelp=Aussehen des Clonks.
|
||||
SkinHelp=Aussehen des Clonks.
|
||||
TurnAround=Umdrehen
|
||||
TurnAroundHelp=Wechselt die Blickrichtung des Clonks.
|
|
@ -17,4 +17,6 @@ MaxContentsCount=Inventory slot count
|
|||
Default=Default
|
||||
|
||||
Skin=Skin
|
||||
SkinHelp=How the clonk looks.
|
||||
SkinHelp=How the clonk looks.
|
||||
TurnAround=Turn around
|
||||
TurnAroundHelp=Changes the view direction of the clonk.
|
Loading…
Reference in New Issue