Add tool tip to dialogue editor action

directional-lights
Sven Eberhardt 2016-10-10 16:43:56 -04:00
parent d670291aba
commit 6e6f642be6
3 changed files with 3 additions and 1 deletions

View File

@ -691,7 +691,7 @@ public func Definition(def)
UserAction->AddEvaluator("Object", nil, "$NPC$", "$NPCDesc$", "npc", [def, def.EvalObj_NPC]);
// Clonks can create a dialogue
if (!Clonk.EditorActions) Clonk.EditorActions = {};
Clonk.EditorActions.Dialogue = { Name="$Dialogue$", Command="SetDialogue(\"Editor\", true)", Select=true };
Clonk.EditorActions.Dialogue = { Name="$Dialogue$", EditorHelp = "$DialogueHelp$", Command="SetDialogue(\"Editor\", true)", Select=true };
// Dialogue EditorProps
if (!def.EditorProps) def.EditorProps = {};
def.EditorProps.dlg_target = { Name="$Target$", EditorHelp="$TargetDesc$", Type="object", Filter="IsClonk", Set="SetDialogueTarget" };

View File

@ -3,6 +3,7 @@ Description=Der Dialog erlaubt es dem Spieler, mit diesem Clonk zu interagieren
MsgSpeak=%s ansprechen
Next=Weiter
Dialogue=Dialog
DialogueHelp=Fuegt einen Dialog zu diesem Clonk hinzu und waehlt ihn aus.|Falls schon ein Dialog existiert, wird dieser stattdessen ausgewaehlt.
Message=Nachricht
Speaker=Sprecher
TargetPlayers=Zielspieler

View File

@ -3,6 +3,7 @@ Description=The dialogue allows the player to interact with this clonk and show
MsgSpeak=Speak to %s
Next=Next
Dialogue=Dialogue
DialogueHelp=Adds a dialogue to this clonk and selects it.|If a dialogue exists, it will be selected instead.
Message=Message
Speaker=Speaker
TargetPlayers=Target players