Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
35
scripts/AlternativeChoices/AlternativeChoiceTimeline_6.gd
Normal file
35
scripts/AlternativeChoices/AlternativeChoiceTimeline_6.gd
Normal file
|
@ -0,0 +1,35 @@
|
|||
extends "res://scripts/AlternativeChoices/AlternativeChoiceBase.gd"
|
||||
|
||||
func Localization():
|
||||
localization = ["", "", "", ""];
|
||||
|
||||
func SetCursorStates():
|
||||
cursorStates = [CursorState.Talk, CursorState.Talk, CursorState.Press, CursorState.Walk, ];
|
||||
|
||||
func _on_Orange_button_up():
|
||||
if not CheckHover():return ;
|
||||
if Dialogic.get_variable("Talked_to_Orange") == "0":
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "13.4");
|
||||
else :
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "13.orange");
|
||||
|
||||
End()
|
||||
|
||||
func _on_Yellow_button_up():
|
||||
if not CheckHover():return ;
|
||||
if Dialogic.get_variable("Talked_to_Yellow") == "0":
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "13.3");
|
||||
else :
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "13.yellow");
|
||||
|
||||
End()
|
||||
|
||||
func _on_Sofa_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "13.2");
|
||||
End()
|
||||
|
||||
func _on_Door_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "13.1");
|
||||
End()
|
Loading…
Add table
Add a link
Reference in a new issue