diff --git a/tests/NodeTest.gd b/tests/NodeTest.gd deleted file mode 100644 index b8ecb0a..0000000 --- a/tests/NodeTest.gd +++ /dev/null @@ -1,44 +0,0 @@ -extends Node - -onready var _LineNode: LineNode = self.get_node("Line") - -var _json_structure = { - "speaker": { - "id": 5, - "emotion": "happy" - }, - "scene": { - "id": 2 - }, - "dialog": { - "message": "plop", - "choices_multiple": [ - { - "title": "test", - "conditions": [ - { - "id": "coucou", - "value": 5 - } - ], - "infobox": { - "text": "info info", - "conditions": [ - { - "id": "zzzz", - "value": 1 - } - ] - } - }, - { - "title": "cc", - "conditions": [] - } - - ] - } -} - -func _on_Button_pressed(): - _LineNode.set_text(JSON.print(_json_structure)) diff --git a/tests/NodeTest.tscn b/tests/NodeTest.tscn deleted file mode 100644 index 2c9b857..0000000 --- a/tests/NodeTest.tscn +++ /dev/null @@ -1,20 +0,0 @@ -[gd_scene load_steps=3 format=2] - -[ext_resource path="res://addons/EXP-System-Dialog/Dialog Editor/Nodes/Line/Line_Node.tscn" type="PackedScene" id=1] -[ext_resource path="res://tests/NodeTest.gd" type="Script" id=2] - -[node name="NodeTest" type="Node"] -script = ExtResource( 2 ) - -[node name="Line" parent="." instance=ExtResource( 1 )] - -[node name="Button" type="Button" parent="."] -margin_left = 378.27 -margin_top = 132.451 -margin_right = 427.27 -margin_bottom = 152.451 -text = "LOAD" -__meta__ = { -"_edit_use_anchors_": false -} -[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]