remove tests
This commit is contained in:
parent
0a61adf7b0
commit
1af9952b43
2 changed files with 0 additions and 64 deletions
|
@ -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))
|
|
|
@ -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"]
|
|
Loading…
Reference in a new issue