2 verbs instead of 9

This commit is contained in:
2023-02-08 15:00:48 +01:00
parent ba46a80728
commit aade44a99c
3 changed files with 7 additions and 95 deletions

View File

@@ -13,113 +13,25 @@ __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="open" type="Button" parent="."] [node name="action1" type="Button" parent="."]
margin_right = 161.0 margin_right = 161.0
margin_bottom = 85.0 margin_bottom = 85.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
toggle_mode = true toggle_mode = true
text = "Open" text = "Left click"
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="pickup" type="Button" parent="."] [node name="action2" type="Button" parent="."]
margin_left = 165.0 margin_left = 165.0
margin_right = 326.0 margin_right = 326.0
margin_bottom = 85.0 margin_bottom = 85.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
toggle_mode = true toggle_mode = true
text = "Pick up2" text = "Right click"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="push" type="Button" parent="."]
margin_left = 330.0
margin_right = 491.0
margin_bottom = 85.0
size_flags_horizontal = 3
size_flags_vertical = 3
toggle_mode = true
text = "Push"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="close" type="Button" parent="."]
margin_top = 89.0
margin_right = 161.0
margin_bottom = 174.0
size_flags_horizontal = 3
size_flags_vertical = 3
toggle_mode = true
text = "Close"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="look" type="Button" parent="."]
margin_left = 165.0
margin_top = 89.0
margin_right = 326.0
margin_bottom = 174.0
size_flags_horizontal = 3
size_flags_vertical = 3
toggle_mode = true
text = "Look at"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="pull" type="Button" parent="."]
margin_left = 330.0
margin_top = 89.0
margin_right = 491.0
margin_bottom = 174.0
size_flags_horizontal = 3
size_flags_vertical = 3
toggle_mode = true
text = "Pull"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="give" type="Button" parent="."]
margin_top = 178.0
margin_right = 161.0
margin_bottom = 263.0
size_flags_horizontal = 3
size_flags_vertical = 3
toggle_mode = true
text = "Give"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="use" type="Button" parent="."]
margin_left = 165.0
margin_top = 178.0
margin_right = 326.0
margin_bottom = 263.0
size_flags_horizontal = 3
size_flags_vertical = 3
toggle_mode = true
text = "Use"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="talk" type="Button" parent="."]
margin_left = 330.0
margin_top = 178.0
margin_right = 491.0
margin_bottom = 263.0
size_flags_horizontal = 3
size_flags_vertical = 3
toggle_mode = true
text = "Talk"
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }

View File

@@ -1,4 +1,4 @@
:look :action2
> [eq dialog_advance 0] > [eq dialog_advance 0]
say player ROOM1_look_wall_item_1:"I don't know what that stuff is." say player ROOM1_look_wall_item_1:"I don't know what that stuff is."
set_global dialog_advance 1 set_global dialog_advance 1

View File

@@ -107,7 +107,7 @@ script = ExtResource( 5 )
global_id = "r1_wall_item1" global_id = "r1_wall_item1"
esc_script = "res://gymkhana/rooms/home/esc/wall_item.esc" esc_script = "res://gymkhana/rooms/home/esc/wall_item.esc"
tooltip_name = "Artwork" tooltip_name = "Artwork"
default_action = "look" default_action = "action2"
combine_when_selected_action_is_in = [ ] combine_when_selected_action_is_in = [ ]
inventory_texture = ExtResource( 10 ) inventory_texture = ExtResource( 10 )
dialog_color = Color( 1, 1, 1, 1 ) dialog_color = Color( 1, 1, 1, 1 )
@@ -144,7 +144,7 @@ script = ExtResource( 5 )
global_id = "r1_wall_item2" global_id = "r1_wall_item2"
esc_script = "res://gymkhana/rooms/home/esc/wall_item_popupdialog.esc" esc_script = "res://gymkhana/rooms/home/esc/wall_item_popupdialog.esc"
tooltip_name = "Artwork 2" tooltip_name = "Artwork 2"
default_action = "look" default_action = "action2"
combine_when_selected_action_is_in = [ ] combine_when_selected_action_is_in = [ ]
inventory_texture = ExtResource( 9 ) inventory_texture = ExtResource( 9 )
dialog_color = Color( 1, 1, 1, 1 ) dialog_color = Color( 1, 1, 1, 1 )