pandemonium_cms/game/Main.tscn

63 lines
1.5 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=11 format=2]
2022-08-23 11:49:38 +02:00
2022-08-23 15:24:20 +02:00
[ext_resource path="res://Main.gd" type="Script" id=1]
2022-08-25 01:51:27 +02:00
[ext_resource path="res://addons/web_pages/classes/WebPage.gd" type="Script" id=2]
2022-08-25 15:09:54 +02:00
[ext_resource path="res://addons/web_pages/classes/post_entries/WebPageEntryTitleText.gd" type="Script" id=3]
[ext_resource path="res://addons/web_pages/classes/post_entries/WebPageEntryText.gd" type="Script" id=4]
[ext_resource path="res://addons/web_pages/classes/post_entries/WebPageEntryImage.gd" type="Script" id=5]
2022-08-25 15:09:54 +02:00
[sub_resource type="Resource" id=1]
script = ExtResource( 3 )
id = 1
2022-08-25 15:20:18 +02:00
text = "asdasdasd"
2022-08-25 15:09:54 +02:00
hsize = 1
[sub_resource type="Resource" id=4]
script = ExtResource( 4 )
id = 2
text = "asdasd
asda
TEST
A
"
[sub_resource type="Resource" id=5]
script = ExtResource( 5 )
id = 3
image_path = "res://test_img/icon.png"
image_url = "img"
alt = "Addalt"
image_size = Vector2i( 100, 100 )
2022-08-25 15:09:54 +02:00
[sub_resource type="Resource" id=3]
script = ExtResource( 3 )
id = 4
2022-08-25 15:20:18 +02:00
text = "rtrtrtrttrtA"
2022-08-25 15:09:54 +02:00
hsize = 1
[sub_resource type="Resource" id=2]
script = ExtResource( 3 )
id = 5
text = "weqweqwe"
hsize = 1
2022-08-23 15:24:20 +02:00
[node name="WebServer" type="WebServerSimple"]
script = ExtResource( 1 )
[node name="WebRoot" type="WebRoot" parent="."]
[node name="index" type="StaticWebPage" parent="WebRoot"]
uri_segment = "/"
2022-08-25 15:35:23 +02:00
data = "<a href=\"/page\">Page</a>"
2022-08-23 16:21:12 +02:00
2022-08-25 15:35:23 +02:00
[node name="page" type="WebNode" parent="WebRoot"]
uri_segment = "page"
2022-08-23 16:21:12 +02:00
script = ExtResource( 2 )
allow_web_interface_editing = true
entries = [ SubResource( 1 ), SubResource( 4 ), SubResource( 5 ), SubResource( 3 ), SubResource( 2 ) ]