|
|
|
@ -16,6 +16,9 @@ func change_portrait(packet):
|
|
|
|
|
func change_view(packet):
|
|
|
|
|
view.texture = load("res://Res/Img/Scene/" + packet["loc"] + ".png")
|
|
|
|
|
|
|
|
|
|
func _on_action_decided(action_decided):
|
|
|
|
|
get_parent().act(action_decided)
|
|
|
|
|
|
|
|
|
|
# Modify Available Actions
|
|
|
|
|
func consider_actions(packet):
|
|
|
|
|
if packet['clear_box']:
|
|
|
|
@ -25,6 +28,7 @@ func consider_actions(packet):
|
|
|
|
|
var b = Button.new()
|
|
|
|
|
b.set_text(tr(a))
|
|
|
|
|
action.add_child(b)
|
|
|
|
|
b.connect("button_up", self, "_on_action_decided", [a])
|
|
|
|
|
|
|
|
|
|
# Modify Prose in Dialogue Box
|
|
|
|
|
func write_prose(packet):
|
|
|
|
|