Documentation and Optimization Part 1 (#2)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://game/items/escitems/empty_sheet_escitem.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://game/items/escitems/pen_escitem.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://game/items/escitems/wrench_escitem.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://game/items/escitems/filled_sheet_escitem.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/items_inventory.gd" type="Script" id=5]
|
||||
[ext_resource path="res://game/items/escitems/bottle_escitem.tscn" type="PackedScene" id=6]
|
||||
|
||||
[node name="ESCORIA_ALL_ITEMS" type="Node2D"]
|
||||
visible = false
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="empty_sheet" parent="." instance=ExtResource( 1 )]
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 0, 0 )
|
||||
}
|
||||
|
||||
[node name="filled_sheet" parent="." instance=ExtResource( 4 )]
|
||||
position = Vector2( -29.7823, 133.569 )
|
||||
interact_positions = {
|
||||
"default": Vector2( -29.7823, 133.569 )
|
||||
}
|
||||
|
||||
[node name="pen" parent="." instance=ExtResource( 2 )]
|
||||
position = Vector2( 136.277, 13.5374 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 136.277, 13.5374 )
|
||||
}
|
||||
|
||||
[node name="wrench" parent="." instance=ExtResource( 3 )]
|
||||
position = Vector2( 293.311, 2.70747 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 293.311, 2.70747 )
|
||||
}
|
||||
|
||||
[node name="bottle" parent="." instance=ExtResource( 6 )]
|
||||
position = Vector2( 59.4604, 167.678 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 59.4604, 167.678 )
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/rooms/room3/smoke.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="Gradient" id=1]
|
||||
|
||||
@@ -1,27 +1,26 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/rooms/room5/items/empty_sheet.png" type="Texture" id=2]
|
||||
[ext_resource path="res://game/items/inventory/empty_sheet_escinventoryitem.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://game/items/inventory/empty_sheet.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=2]
|
||||
[ext_resource path="res://game/rooms/room5/items/empty_sheet.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 86.9568, 115.211 )
|
||||
|
||||
[node name="empty_sheet" type="Area2D"]
|
||||
script = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
global_id = "r5_empty_sheet"
|
||||
esc_script = "res://game/items/escitems/empty_sheet.esc"
|
||||
tooltip_name = "Empty sheet"
|
||||
default_action = "look"
|
||||
default_action_inventory = "look"
|
||||
combine_if_action_used_among = PoolStringArray( "use", "give" )
|
||||
use_from_inventory_only = true
|
||||
inventory_item_scene_file = ExtResource( 3 )
|
||||
interact_positions = {
|
||||
"default": null
|
||||
}
|
||||
inventory_item_scene_file = ExtResource( 1 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = 0.0218604
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/items/inventory/filled_sheet_escinventoryitem.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/items/inventory/filled_sheet.tscn" type="PackedScene" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
|
||||
@@ -15,9 +15,6 @@ combine_is_one_way = true
|
||||
use_from_inventory_only = true
|
||||
inventory_item_scene_file = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 0, 0 )
|
||||
}
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
|
||||
@@ -1,28 +1,26 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/rooms/room5/items/pen.png" type="Texture" id=2]
|
||||
[ext_resource path="res://game/items/inventory/pen_escinventoryitem.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://game/rooms/room5/items/pen.png" type="Texture" id=1]
|
||||
[ext_resource path="res://game/items/inventory/pen.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 51.8881, 43.8187 )
|
||||
|
||||
[node name="pen" type="Area2D"]
|
||||
script = ExtResource( 1 )
|
||||
script = ExtResource( 3 )
|
||||
global_id = "r5_pen"
|
||||
esc_script = "res://game/items/escitems/pen.esc"
|
||||
tooltip_name = "Pen"
|
||||
default_action = "look"
|
||||
default_action_inventory = "look"
|
||||
combine_if_action_used_among = PoolStringArray( "use", "give" )
|
||||
use_from_inventory_only = true
|
||||
inventory_item_scene_file = ExtResource( 3 )
|
||||
inventory_item_scene_file = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 0, 0 )
|
||||
}
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
@@ -1,25 +1,26 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/rooms/room5/items/wrench.png" type="Texture" id=2]
|
||||
[ext_resource path="res://game/items/inventory/wrench_escinventoryitem.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://game/items/inventory/wrench.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=2]
|
||||
[ext_resource path="res://game/rooms/room5/items/wrench.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 44.696, 49.0953 )
|
||||
|
||||
[node name="wrench" type="Area2D"]
|
||||
script = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
global_id = "r5_wrench"
|
||||
esc_script = "res://game/items/escitems/wrench.esc"
|
||||
tooltip_name = "Wrench"
|
||||
default_action = "look"
|
||||
default_action_inventory = "look"
|
||||
combine_if_action_used_among = PoolStringArray( "use" )
|
||||
use_from_inventory_only = true
|
||||
inventory_item_scene_file = ExtResource( 3 )
|
||||
inventory_item_scene_file = ExtResource( 1 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
@@ -1,15 +1,15 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_127.png" type="Texture" id=2]
|
||||
[ext_resource path="res://game/items/inventory/bottle_escinventoryitem.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_127.png" type="Texture" id=1]
|
||||
[ext_resource path="res://game/items/inventory/bottle.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 28.3873, 74.7806 )
|
||||
|
||||
[node name="bottle" type="Area2D"]
|
||||
z_index = 1
|
||||
script = ExtResource( 1 )
|
||||
script = ExtResource( 3 )
|
||||
global_id = "r9_bottle"
|
||||
esc_script = "res://game/items/escitems/bottle.esc"
|
||||
tooltip_name = "Bottle"
|
||||
@@ -17,11 +17,11 @@ default_action = "pickup"
|
||||
default_action_inventory = "look"
|
||||
combine_if_action_used_among = PoolStringArray( "use" )
|
||||
use_from_inventory_only = true
|
||||
inventory_item_scene_file = ExtResource( 3 )
|
||||
inventory_item_scene_file = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
@@ -1,13 +0,0 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escinventoryitem.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_020.png" type="Texture" id=2]
|
||||
|
||||
[node name="axe" type="TextureButton"]
|
||||
margin_right = 94.0
|
||||
margin_bottom = 128.0
|
||||
texture_normal = ExtResource( 2 )
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_127.png" type="Texture" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escinventoryitem.gd" type="Script" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_inventory_item.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_127.png" type="Texture" id=2]
|
||||
|
||||
[node name="empty_sheet" type="TextureButton"]
|
||||
margin_right = 50.0
|
||||
margin_bottom = 140.0
|
||||
texture_normal = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
texture_normal = ExtResource( 2 )
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_038.png" type="Texture" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escinventoryitem.gd" type="Script" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_inventory_item.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_038.png" type="Texture" id=2]
|
||||
|
||||
[node name="empty_sheet" type="TextureButton"]
|
||||
margin_right = 98.0
|
||||
margin_bottom = 124.0
|
||||
texture_normal = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
texture_normal = ExtResource( 2 )
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://game/rooms/room5/items/filled_sheet.png" type="Texture" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escinventoryitem.gd" type="Script" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_inventory_item.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/rooms/room5/items/filled_sheet.png" type="Texture" id=2]
|
||||
|
||||
[node name="filled_sheet" type="TextureButton"]
|
||||
margin_right = 88.0
|
||||
margin_bottom = 124.0
|
||||
texture_normal = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
texture_normal = ExtResource( 2 )
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escinventoryitem.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_010.png" type="Texture" id=2]
|
||||
|
||||
[node name="hammer" type="TextureButton"]
|
||||
margin_right = 70.0
|
||||
margin_bottom = 104.0
|
||||
texture_normal = ExtResource( 2 )
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_026.png" type="Texture" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escinventoryitem.gd" type="Script" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_inventory_item.gd" type="Script" id=2]
|
||||
|
||||
[node name="pen" type="TextureButton"]
|
||||
margin_right = 42.0
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://game/items/textures/genericItem_color_004.png" type="Texture" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escinventoryitem.gd" type="Script" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_inventory_item.gd" type="Script" id=2]
|
||||
|
||||
[node name="wrench" type="TextureButton"]
|
||||
margin_right = 70.0
|
||||
Reference in New Issue
Block a user