forked from Mirrors/openclonk
Add tool tip to dialogue editor action
parent
d670291aba
commit
6e6f642be6
|
@ -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" };
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue