mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 12:26:14 +00:00
1451 lines
44 KiB
JSON
1451 lines
44 KiB
JSON
{
|
|
"namespace": "crafting_pocket",
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Creative Tabs Pocket
|
|
//---------------------------------------------------------------------------
|
|
|
|
"survival_icon@crafting.item_renderer": {
|
|
"layer": 3,
|
|
"property_bag": {
|
|
"#item_id_aux": 3538944,
|
|
"#collection_name": "inventory_tab",
|
|
"#collection_index": 0
|
|
}
|
|
},
|
|
|
|
"full_screen_icon@crafting.icon_image": {
|
|
"texture": "textures/ui/icon_expand"
|
|
},
|
|
|
|
"crafting_icon@crafting.icon_image": {
|
|
"texture": "textures/ui/icon_crafting"
|
|
},
|
|
|
|
"armor_icon@crafting.icon_image": {
|
|
"texture": "textures/ui/icon_armor"
|
|
},
|
|
|
|
"tab_wait_anim": {
|
|
"anim_type": "wait",
|
|
"duration": 0.8,
|
|
"next": "@crafting_pocket.tab_offset_anim"
|
|
},
|
|
|
|
"tab_offset_anim": {
|
|
"$top_tab_anim_start|default": [ 31, 0 ],
|
|
"$top_tab_anim_end|default": [ 0, 0 ],
|
|
"anim_type": "offset",
|
|
"easing": "out_cubic",
|
|
"from": "$top_tab_anim_start",
|
|
"to": "$top_tab_anim_end",
|
|
"duration": 0.5
|
|
},
|
|
|
|
"crafting_arrow_down": {
|
|
"type": "image",
|
|
"layer": 3,
|
|
"texture": "textures/ui/arrow_down",
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"size": [ 20, 30 ]
|
|
},
|
|
|
|
"empty_tab_panel": {
|
|
"type": "panel",
|
|
"size": [ 35, 33 ],
|
|
"controls": [
|
|
{ "$tab_icon@$tab_icon": {} }
|
|
]
|
|
},
|
|
|
|
"left_tab@common_tabs.tab_left": {
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"alpha": 0.2,
|
|
"$anims|default": [],
|
|
"anims": "$anims",
|
|
"$offset|default": [ 0, 0 ],
|
|
"offset": "$offset",
|
|
"$toggle_focus_enabled": false,
|
|
"$toggle_name": "navigation_tab",
|
|
"$toggle_group_default_selected": "$construction_index", //Construction Tab
|
|
"$tab_content": "crafting_pocket.empty_tab_panel"
|
|
},
|
|
|
|
"right_tab@common_tabs.tab_right": {
|
|
"anchor_from": "right_middle",
|
|
"anchor_to": "left_middle",
|
|
"$toggle_focus_enabled": false,
|
|
"$radio_toggle_group": true,
|
|
"$toggle_name": "right_inventory_navigation_tab",
|
|
"$toggle_group_default_selected": "$crafting_index", //Crafting Tab,
|
|
"$tab_content": "crafting_pocket.empty_tab_panel"
|
|
},
|
|
|
|
"full_screen_tab@crafting_pocket.right_tab": {
|
|
"$tab_view_binding_name": "full_screen_tab_toggle",
|
|
"$tab_icon": "crafting_pocket.full_screen_icon",
|
|
"$toggle_group_forced_index": "$full_screen_index"
|
|
},
|
|
|
|
"crafting_tab@crafting_pocket.right_tab": {
|
|
"$tab_view_binding_name": "crafting_tab_toggle",
|
|
"$tab_icon": "crafting_pocket.crafting_icon",
|
|
"$toggle_group_forced_index": "$crafting_index"
|
|
},
|
|
|
|
"armor_tab@crafting_pocket.right_tab": {
|
|
"$is_bottom_most_tab": true,
|
|
"$tab_view_binding_name": "armor_tab_toggle",
|
|
"$tab_icon": "crafting_pocket.armor_icon",
|
|
"$toggle_group_forced_index": "$armor_index"
|
|
},
|
|
|
|
"search_tab@crafting_pocket.left_tab": {
|
|
"$is_top_most_tab": true,
|
|
"$tab_view_binding_name": "search_tab_toggle",
|
|
"$tab_icon": "crafting.search_icon",
|
|
"$toggle_group_forced_index": "$search_index",
|
|
"$toggle_binding_type": "global",
|
|
"$toggle_state_binding_name": "#is_left_tab_search"
|
|
},
|
|
|
|
"construction_tab@crafting_pocket.left_tab": {
|
|
"$tab_view_binding_name": "construction_tab_toggle",
|
|
"$tab_icon": "crafting.construction_icon",
|
|
"$toggle_group_forced_index": "$construction_index",
|
|
"$toggle_binding_type": "global",
|
|
"$toggle_state_binding_name": "#is_left_tab_construct",
|
|
|
|
"$top_tab_tts_name": "craftingScreen.tab.construction",
|
|
|
|
"variables": [
|
|
{
|
|
"requires": "$animate",
|
|
"$anims": [ "@crafting_pocket.tab_wait_anim" ],
|
|
"$offset": "$top_tab_anim_start"
|
|
}
|
|
]
|
|
},
|
|
|
|
"equipment_tab@crafting_pocket.left_tab": {
|
|
"$tab_view_binding_name": "equipment_tab_toggle",
|
|
"$tab_icon": "crafting.equipment_icon",
|
|
"$toggle_group_forced_index": "$equipment_index",
|
|
"$toggle_binding_type": "global",
|
|
"$toggle_state_binding_name": "#is_left_tab_equipment",
|
|
|
|
"$top_tab_tts_name": "craftingScreen.tab.equipment",
|
|
|
|
"variables": [
|
|
{
|
|
"requires": "$animate",
|
|
"$anims": [ "@crafting_pocket.tab_wait_anim" ],
|
|
"$offset": "$top_tab_anim_start"
|
|
}
|
|
]
|
|
},
|
|
|
|
"items_tab@crafting_pocket.left_tab": {
|
|
"$tab_view_binding_name": "items_tab_toggle",
|
|
"$tab_icon": "crafting.miscellaneous_icon",
|
|
"$toggle_group_forced_index": "$items_index",
|
|
"$toggle_binding_type": "global",
|
|
"$toggle_state_binding_name": "#is_left_tab_items",
|
|
|
|
"$top_tab_tts_name": "craftingScreen.tab.items",
|
|
|
|
"variables": [
|
|
{
|
|
"requires": "$animate",
|
|
"$anims": [ "@crafting_pocket.tab_wait_anim" ],
|
|
"$offset": "$top_tab_anim_start"
|
|
}
|
|
]
|
|
},
|
|
|
|
"nature_tab@crafting_pocket.left_tab": {
|
|
"$tab_view_binding_name": "nature_tab_toggle",
|
|
"$tab_icon": "crafting.nature_icon",
|
|
"$toggle_group_forced_index": "$nature_index",
|
|
"$toggle_binding_type": "global",
|
|
"$toggle_state_binding_name": "#is_left_tab_nature",
|
|
|
|
"$top_tab_tts_name": "craftingScreen.tab.nature",
|
|
|
|
"variables": [
|
|
{
|
|
"requires": "$animate",
|
|
"$anims": [ "@crafting_pocket.tab_wait_anim" ],
|
|
"$offset": "$top_tab_anim_start"
|
|
}
|
|
]
|
|
},
|
|
|
|
"inventory_tab@crafting_pocket.left_tab": {
|
|
"$is_bottom_most_tab": true,
|
|
"$tab_view_binding_name": "survival_tab_toggle",
|
|
"$tab_icon": "crafting_pocket.survival_icon",
|
|
"$toggle_group_forced_index": "$survival_index",
|
|
"$toggle_binding_type": "global",
|
|
"$toggle_state_binding_name": "#is_left_tab_inventory"
|
|
},
|
|
|
|
"left_tab_navigation_panel_pocket": {
|
|
"type": "panel",
|
|
"size": [ 31, "100%" ],
|
|
"controls": [
|
|
{
|
|
"content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100% + 4px", "100%" ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"controls": [
|
|
{
|
|
"search_tab_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 29 ],
|
|
"controls": [
|
|
{
|
|
"search_tab@crafting_pocket.search_tab": {
|
|
"anchor_from": "center",
|
|
"anchor_to": "center"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"construction_tab_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 29 ],
|
|
"controls": [
|
|
{
|
|
"construction_tab_factory": {
|
|
"type": "factory",
|
|
"control_ids": {
|
|
"construction_tab": "@crafting_pocket.construction_tab"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"equipment_tab_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 29 ],
|
|
"controls": [
|
|
{
|
|
"equipment_tab_factory": {
|
|
"type": "factory",
|
|
"control_ids": {
|
|
"equipment_tab": "@crafting_pocket.equipment_tab"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"items_tab_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 29 ],
|
|
"controls": [
|
|
{
|
|
"items_tab_factory": {
|
|
"type": "factory",
|
|
"control_ids": {
|
|
"items_tab": "@crafting_pocket.items_tab"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nature_tab_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 29 ],
|
|
"controls": [
|
|
{
|
|
"nature_tab_factory": {
|
|
"type": "factory",
|
|
"control_ids": {
|
|
"nature_tab": "@crafting_pocket.nature_tab"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"fill": {
|
|
"type": "panel",
|
|
"size": [ "100%", "fill" ]
|
|
}
|
|
},
|
|
{
|
|
"inventory_tab@crafting_pocket.inventory_tab": {
|
|
"size": [ "100%", 29 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"right_tab_navigation_panel_pocket": {
|
|
"type": "panel",
|
|
"size": [ 31, "100%" ],
|
|
"controls": [
|
|
{
|
|
"content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100% + 4px", "100%" ],
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right",
|
|
"controls": [
|
|
{
|
|
"close": {
|
|
"type": "image",
|
|
"texture": "textures/ui/TabRightBackTopMost",
|
|
"size": [ "100%", 29 ],
|
|
|
|
"controls": [
|
|
{
|
|
"nodrop_zone@common.root_panel": {
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"size": [ "100%", "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"close_button@common.light_close_button": {
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"offset": [ 0, 0 ],
|
|
"layer": 2
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#close_button_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"fill": {
|
|
"type": "panel",
|
|
"size": [ "100%", "fill" ]
|
|
}
|
|
},
|
|
{
|
|
"full_screen_tab@crafting_pocket.full_screen_tab": {
|
|
"size": [ "100%", 29 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_creative_mode",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"crafting_tab@crafting_pocket.crafting_tab": {
|
|
"size": [ "100%", 29 ]
|
|
}
|
|
},
|
|
{
|
|
"armor_tab@crafting_pocket.armor_tab": {
|
|
"size": [ "100%", 29 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
"recipe_book_tab_content@crafting.tab_content": {
|
|
"$scrolling_pane_control": "crafting_pocket.recipe_book_scroll_panel_pocket"
|
|
},
|
|
|
|
"inventory_tab_content@crafting.tab_content": {
|
|
"$scrolling_pane_control": "crafting_pocket.survival_scroll_panel",
|
|
"$navigation_tab_name": "survival_tab_toggle"
|
|
},
|
|
|
|
"right_tab_content": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{
|
|
"bg@common.common_panel": {
|
|
"$dialog_background": "dialog_background_opaque",
|
|
"$show_close_button": false
|
|
}
|
|
},
|
|
{ "content@$right_tab_content_control": {} }
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "view",
|
|
"source_control_name": "$right_tab_view_toggle_name",
|
|
"source_property_name": "#toggle_state",
|
|
"target_property_name": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Crafting panels, 2x2 and 3x3
|
|
//---------------------------------------------------------------------------
|
|
|
|
"crafting_input_grid_item@crafting.inventory_container_item": {
|
|
"$item_collection_name": "crafting_input_items",
|
|
"size": [ 28, 28 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$item_renderer_panel_size": [ 28, 28 ],
|
|
"$item_renderer_size": [ 24, 24 ],
|
|
"$durability_bar_size": [ 18, 1 ],
|
|
"$durability_bar_offset": [ 0, 8 ],
|
|
"$background_images": "crafting.crafting_container_cell_images",
|
|
"$item_renderer_binding_condition": "always",
|
|
"$button_ref": "crafting.inventory_container_slot_button"
|
|
},
|
|
|
|
"crafting_grid_3x3": {
|
|
"type": "grid",
|
|
"size": [ 84, 84 ],
|
|
"layer": 10,
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"grid_dimensions": [ 3, 3 ],
|
|
"grid_item_template": "crafting_pocket.crafting_input_grid_item",
|
|
"collection_name": "crafting_input_items"
|
|
},
|
|
|
|
"crafting_grid_2x2": {
|
|
"type": "grid",
|
|
"size": [ 56, 56 ],
|
|
"layer": 10,
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"offset": [ 0, 25 ],
|
|
"grid_dimensions": [ 2, 2 ],
|
|
"grid_item_template": "crafting_pocket.crafting_input_grid_item",
|
|
"collection_name": "crafting_input_items"
|
|
},
|
|
|
|
"output_grid_and_label": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"recipe_item_label": {
|
|
"type": "label",
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"size": [ "default", "default" ],
|
|
"text": "#text",
|
|
"color": "$title_text_color",
|
|
"layer": 51,
|
|
"offset": [ 0, -30 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#recipe_item_name",
|
|
"binding_name_override": "#text",
|
|
"binding_type": "global",
|
|
"binding_condition": "always_when_visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"output_grid@crafting_pocket.output_grid": {
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"output_grid": {
|
|
"type": "grid",
|
|
"grid_dimensions": [ 1, 1 ],
|
|
"layer": 1,
|
|
"collection_name": "crafting_output_items",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ 28, 28 ],
|
|
"$durability_bar_size": [ 18, 1 ],
|
|
"$durability_bar_offset": [ 0, 8 ],
|
|
"controls": [
|
|
{
|
|
"work_bench_output@crafting.inventory_container_item": {
|
|
"size": [ 28, 28 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$item_collection_name": "crafting_output_items",
|
|
"$button_ref": "crafting.output_no_coalesce_container_slot_button",
|
|
"$background_images": "crafting.crafting_container_cell_images",
|
|
"$item_renderer_binding_condition": "always",
|
|
"$stack_count_binding_condition": "always",
|
|
"$item_renderer_panel_size": [ 28, 28 ],
|
|
"$item_renderer_size": [ 24, 24 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"crafting_grid_3x3_with_label": {
|
|
"type": "panel",
|
|
"size": [ 84, 94 ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"$grid_label_alignment|default": "left",
|
|
"controls": [
|
|
{
|
|
"crafting_label@crafting.crafting_label": {
|
|
"size": [ "100%", 10 ],
|
|
"text_alignment": "$grid_label_alignment"
|
|
}
|
|
},
|
|
{
|
|
"crafting_grid_3x3@crafting_pocket.crafting_grid_3x3": {
|
|
"offset": [ 0, 11 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"crafting_grid_2x2_with_label": {
|
|
"type": "panel",
|
|
"size": [ 56, 64 ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"$grid_label_alignment|default": "left",
|
|
"controls": [
|
|
{
|
|
"crafting_label@crafting.crafting_label": {
|
|
"size": [ "200%", 10 ],
|
|
"offset": [ "-50%", 0 ],
|
|
"text_alignment": "$grid_label_alignment"
|
|
}
|
|
},
|
|
{
|
|
"crafting_grid_2x2@crafting_pocket.crafting_grid_2x2": {
|
|
"offset": [ 0, 11 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"scroll_background_image": {
|
|
"type": "image",
|
|
"texture": "textures/ui/cell_image",
|
|
"size": [ 28, 28 ]
|
|
},
|
|
|
|
"grid_item_for_inventory@common.grid_item_for_inventory": {
|
|
"$scrolling_grid_item_size|default": [ 18, 18 ],
|
|
"size": "$scrolling_grid_item_size",
|
|
"$button_ref": "crafting.inventory_container_slot_button",
|
|
"$background_images": "crafting.container_cell_images"
|
|
},
|
|
|
|
"survival_inventory_grid@crafting.scroll_grid_panel": {
|
|
"$grid_rescaling_type": "horizontal",
|
|
"$grid_item_template": "crafting_pocket.grid_item_for_inventory"
|
|
},
|
|
|
|
"scroll_panel_pocket@crafting.scroll_panel": {
|
|
"$scrolling_grid_item_size": [ 28, 28 ],
|
|
"$item_renderer_panel_size": [ 28, 28 ],
|
|
"$item_renderer_size": [ 24, 24 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$durability_bar_size": [ 18, 1 ],
|
|
"$durability_bar_offset": [ 0, 8 ]
|
|
},
|
|
|
|
"recipe_book_scroll_panel_pocket@crafting_pocket.scroll_panel_pocket": {
|
|
"$scrolling_content": "crafting.scroll_grid_panel",
|
|
"$collection_name": "recipe_book"
|
|
},
|
|
|
|
"survival_scroll_panel@crafting_pocket.scroll_panel_pocket": {
|
|
"$scrolling_content": "crafting_pocket.survival_inventory_grid",
|
|
"$collection_name": "inventory_items"
|
|
},
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Player and armor
|
|
//---------------------------------------------------------------------------
|
|
|
|
"pocket_armor_tab_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100% - 12px", "100% - 12px" ],
|
|
"anchor_to": "center",
|
|
"anchor_from": "center",
|
|
"controls": [
|
|
{
|
|
"label_and_renderer": {
|
|
"type": "panel",
|
|
"size": [ "100%", "fill" ],
|
|
"controls": [
|
|
{
|
|
"label_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 10 ],
|
|
"offset": [ 0, -10 ],
|
|
"anchor_to": "center",
|
|
"anchor_from": "center",
|
|
"controls": [
|
|
{
|
|
"armor_label": {
|
|
"type": "label",
|
|
"layer": 2,
|
|
"text": "craftingScreen.tab.armor",
|
|
"color": "$title_text_color",
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"renderer_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 15 ],
|
|
"offset": [ 0, 5 ],
|
|
"anchor_to": "center",
|
|
"anchor_from": "center",
|
|
"controls": [
|
|
{
|
|
"armor_renderer": {
|
|
"type": "custom",
|
|
"size": [ 1, 1 ],
|
|
"offset": [ -40, -5 ],
|
|
"layer": 2,
|
|
"renderer": "armor_renderer",
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle",
|
|
"property_bag": {
|
|
"#use_heart_offset": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"equipment_and_renderer": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", 140 ],
|
|
"controls": [
|
|
{
|
|
"equipment": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ 28, "100%" ],
|
|
"controls": [
|
|
{
|
|
"armor_grid": {
|
|
"type": "grid",
|
|
"layer": 4,
|
|
"size": [ 28, 112 ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"grid_dimensions": [ 1, 4 ],
|
|
"$item_collection_name": "armor_items",
|
|
"collection_name": "$item_collection_name",
|
|
"$item_renderer_panel_size": [ 28, 28 ],
|
|
"$item_renderer_size": [ 24, 24 ],
|
|
"$durability_bar_size": [ 18, 1 ],
|
|
"$durability_bar_offset": [ 0, 8 ],
|
|
"$armor_overlay_size": [ 24, 24 ],
|
|
"controls": [
|
|
{
|
|
"head_grid_item@common.pocket_ui_container_item": {
|
|
"size": [ 28, 28 ],
|
|
"grid_position": [ 0, 0 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$cell_overlay_ref": "crafting.armor_overlay_helmet",
|
|
"$button_ref": "crafting.no_coalesce_container_slot_button"
|
|
}
|
|
},
|
|
{
|
|
"chest_grid_item@common.pocket_ui_container_item": {
|
|
"size": [ 28, 28 ],
|
|
"grid_position": [ 0, 1 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$cell_overlay_ref": "crafting.armor_overlay_chest",
|
|
"$button_ref": "crafting.no_coalesce_container_slot_button"
|
|
}
|
|
},
|
|
{
|
|
"legs_grid_item@common.pocket_ui_container_item": {
|
|
"size": [ 28, 28 ],
|
|
"grid_position": [ 0, 2 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$cell_overlay_ref": "crafting.armor_overlay_legs",
|
|
"$button_ref": "crafting.no_coalesce_container_slot_button"
|
|
}
|
|
},
|
|
{
|
|
"feet_grid_item@common.pocket_ui_container_item": {
|
|
"size": [ 28, 28 ],
|
|
"grid_position": [ 0, 3 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$cell_overlay_ref": "crafting.armor_image_feet",
|
|
"$button_ref": "crafting.no_coalesce_container_slot_button"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"offhand_grid": {
|
|
"type": "grid",
|
|
"layer": 1,
|
|
"size": [ 28, 28 ],
|
|
"anchor_from": "bottom_left",
|
|
"anchor_to": "bottom_left",
|
|
"grid_dimensions": [ 1, 1 ],
|
|
"$item_collection_name": "offhand_items",
|
|
"collection_name": "$item_collection_name",
|
|
"$item_renderer_panel_size": [ 28, 28 ],
|
|
"$item_renderer_size": [ 24, 24 ],
|
|
"$durability_bar_size": [ 18, 1 ],
|
|
"$durability_bar_offset": [ 0, 8 ],
|
|
"$offhand_overlay_size": [ 24, 24 ],
|
|
"controls": [
|
|
{
|
|
"offhand_grid_item@common.pocket_ui_container_item": {
|
|
"size": [ 28, 28 ],
|
|
"grid_position": [ 0, 0 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$cell_overlay_ref": "crafting.armor_overlay_shield",
|
|
"$button_ref": "crafting.no_coalesce_container_slot_button"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"armor_panel": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"controls": [
|
|
{
|
|
"armor_and_player": {
|
|
"type": "panel",
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"controls": [
|
|
{
|
|
"player_preview_border": {
|
|
"type": "image",
|
|
"texture": "textures/ui/player_preview_border",
|
|
"size": [ "100%", "100%" ],
|
|
"layer": 2,
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"controls": [
|
|
{
|
|
"player_bg": {
|
|
"type": "image",
|
|
"texture": "textures/ui/Black",
|
|
"size": [ "100% - 2px", "100% - 2px" ],
|
|
"layer": 2,
|
|
"controls": [
|
|
{
|
|
"player_renderer_panel": {
|
|
"type": "panel",
|
|
"size": [ "40%", "40%" ],
|
|
"offset": [ 0, "-20%" ],
|
|
|
|
"controls": [
|
|
{
|
|
"player_renderer": {
|
|
"type": "custom",
|
|
"renderer": "live_player_renderer",
|
|
"animation_reset_name": "screen_animation_reset",
|
|
"anims": [
|
|
"@common.screen_exit_size_animation_push",
|
|
"@common.screen_exit_size_animation_pop",
|
|
"@common.screen_entrance_size_animation_push",
|
|
"@common.screen_entrance_size_animation_pop"
|
|
],
|
|
"layer": 20,
|
|
"anchor_from": "center",
|
|
"anchor_to": "center"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Hotbar
|
|
//---------------------------------------------------------------------------
|
|
|
|
"hotbar_panel": {
|
|
"type": "input_panel",
|
|
"size": [ 260, 36 ],
|
|
"layer": 5,
|
|
"controls": [
|
|
{
|
|
"bg@common.common_panel": {
|
|
"$show_close_button": false
|
|
}
|
|
},
|
|
{
|
|
"hotbar_grid": {
|
|
"type": "grid",
|
|
"size": [ 252, 28 ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"grid_dimensions": [ 9, 1 ],
|
|
"grid_item_template": "crafting_pocket.hotbar_grid_item",
|
|
"collection_name": "hotbar_items"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"hotbar_grid_item@common.pocket_ui_container_item": {
|
|
"$item_collection_name": "hotbar_items",
|
|
"size": [ 28, 28 ],
|
|
"$cell_image_size": [ 28, 28 ],
|
|
"$item_renderer_panel_size": [ 28, 28 ],
|
|
"$item_renderer_size": [ 24, 24 ],
|
|
"$durability_bar_size": [ 18, 1 ],
|
|
"$durability_bar_offset": [ 0, 8 ],
|
|
"$button_ref": "crafting.inventory_container_slot_button",
|
|
"$background_images": "crafting.container_cell_images"
|
|
},
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Base Panels Pocket
|
|
//---------------------------------------------------------------------------
|
|
|
|
"survival_panel_pocket": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_to": "top_left",
|
|
"anchor_from": "top_left",
|
|
"controls": [
|
|
{
|
|
"crafting_panel@crafting_pocket.crafting_grid_2x2_with_label": {
|
|
"$grid_label_alignment": "center",
|
|
"offset": [ 0, 30 ]
|
|
}
|
|
},
|
|
{
|
|
"crafting_arrow_down@crafting_pocket.crafting_arrow_down": {
|
|
"offset": [ 0, "55%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "view",
|
|
"source_control_name": "content",
|
|
"resolve_sibling_scope": true,
|
|
"source_property_name": "(not #needs_crafting_table)",
|
|
"target_property_name": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"crafting_table@crafting.item_renderer": {
|
|
"size": [ 28, 28 ],
|
|
"layer": 2,
|
|
"offset": [ 5, 25 ],
|
|
"property_bag": {
|
|
"#item_id_aux": 3801088
|
|
},
|
|
"bindings": [
|
|
{
|
|
"binding_type": "view",
|
|
"source_control_name": "content",
|
|
"resolve_sibling_scope": true,
|
|
"source_property_name": "(#needs_crafting_table)",
|
|
"target_property_name": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"output@crafting_pocket.output_grid_and_label": {
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"offset": [ 0, -18 ]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#needs_crafting_table",
|
|
"binding_condition": "visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"survival_panel_crafting_pocket": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_to": "top_left",
|
|
"anchor_from": "top_left",
|
|
"controls": [
|
|
{
|
|
"crafting_panel@crafting_pocket.crafting_grid_3x3_with_label": {
|
|
"$grid_label_alignment": "center",
|
|
"offset": [ 0, 10 ]
|
|
}
|
|
},
|
|
{
|
|
"crafting_arrow_down@crafting_pocket.crafting_arrow_down": {
|
|
"offset": [ 0, "65%-4px" ]
|
|
}
|
|
},
|
|
{
|
|
"output@crafting_pocket.output_grid_and_label": {
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"offset": [ 0, -7 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
//---------------------------
|
|
//---------------------------
|
|
|
|
"inventory_screen_pocket_base@common.inventory_screen_common": {
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_cancel",
|
|
"to_button_id": "button.menu_exit",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_inventory_cancel",
|
|
"to_button_id": "button.menu_exit",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_up",
|
|
"to_button_id": "button.menu_up",
|
|
"mapping_type": "global",
|
|
"scope": "view"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_down",
|
|
"to_button_id": "button.menu_down",
|
|
"mapping_type": "global",
|
|
"scope": "view"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_left",
|
|
"to_button_id": "button.menu_left",
|
|
"mapping_type": "global",
|
|
"scope": "view"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_right",
|
|
"to_button_id": "button.menu_right",
|
|
"mapping_type": "global",
|
|
"scope": "view"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "button.cursor_drop_all",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_secondary_select",
|
|
"to_button_id": "button.cursor_drop_one",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_ok",
|
|
"to_button_id": "button.cursor_drop_all",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.controller_select",
|
|
"to_button_id": "button.cursor_drop_one",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.controller_secondary_select",
|
|
"to_button_id": "button.cursor_drop_all",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_tab_left",
|
|
"to_button_id": "button.left_panel_tab_decrement",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_tab_right",
|
|
"to_button_id": "button.right_panel_tab_decrement",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_alternate_tab_left",
|
|
"to_button_id": "button.left_panel_tab_increment",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_alternate_tab_right",
|
|
"to_button_id": "button.right_panel_tab_increment",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.controller_secondary_select_left",
|
|
"to_button_id": "button.shift_pane_focus",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_clear",
|
|
"to_button_id": "button.menu_clear",
|
|
"mapping_type": "focused"
|
|
}
|
|
]
|
|
},
|
|
|
|
"crafting_screen_pocket@crafting_pocket.inventory_screen_pocket_base": {
|
|
"send_telemetry": false,
|
|
"$screen_content": "crafting_pocket.recipe_inventory_screen_content_pocket",
|
|
"$screen_bg_content": "common.screen_background",
|
|
"$screen_background_alpha": 0.4,
|
|
"$top_half_variant": "crafting_pocket.survival_panel_crafting_pocket"
|
|
},
|
|
|
|
"inventory_screen_pocket@crafting_pocket.inventory_screen_pocket_base": {
|
|
"send_telemetry": false,
|
|
"$screen_content": "crafting_pocket.recipe_inventory_screen_content_pocket",
|
|
"$screen_bg_content": "common.screen_background",
|
|
"$screen_background_alpha": 0.4,
|
|
"$top_half_variant": "crafting_pocket.survival_panel_pocket"
|
|
},
|
|
|
|
"left_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%" ],
|
|
"controls": [
|
|
{
|
|
"left_background@common.common_panel": {
|
|
"$dialog_background": "common.dialog_background_opaque",
|
|
"$show_close_button": false
|
|
}
|
|
},
|
|
{
|
|
"recipe_book_tab_content@crafting_pocket.recipe_book_tab_content": {
|
|
"bindings": [
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "(not #is_left_tab_inventory)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"inventory_tab_content@crafting_pocket.inventory_tab_content": {
|
|
"bindings": [
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "#is_left_tab_inventory",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"right_panel": {
|
|
"type": "input_panel",
|
|
"size": [ "100%", "100%" ],
|
|
"controls": [
|
|
{
|
|
"right_background@common.common_panel": {
|
|
"$dialog_background": "common.dialog_background_opaque",
|
|
"$show_close_button": false
|
|
}
|
|
},
|
|
{
|
|
"help_button@crafting.help_button": {
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right",
|
|
"offset": [ "-7px", "7px" ],
|
|
"visible": "$show_inventory_screen_button",
|
|
|
|
"$default_texture": "textures/ui/how_to_play_button_default",
|
|
"$hover_texture": "textures/ui/how_to_play_button_hover",
|
|
"$pressed_texture": "textures/ui/how_to_play_button_pressed"
|
|
}
|
|
},
|
|
{
|
|
"crafting_tab_content@crafting_pocket.right_tab_content": {
|
|
"$right_tab_view_toggle_name": "crafting_tab_toggle",
|
|
"$right_tab_content_control": "$top_half_variant"
|
|
}
|
|
},
|
|
{
|
|
"armor_tab_content@crafting_pocket.right_tab_content": {
|
|
"$right_tab_view_toggle_name": "armor_tab_toggle",
|
|
"$right_tab_content_control": "crafting_pocket.pocket_armor_tab_content"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"both_panels": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%" ],
|
|
"orientation": "horizontal",
|
|
"controls": [
|
|
{
|
|
"left_tab_navigation_panel_pocket@crafting_pocket.left_tab_navigation_panel_pocket": {
|
|
"layer": 5
|
|
}
|
|
},
|
|
{
|
|
"left_panel@crafting_pocket.left_panel": {
|
|
"size": [ "fill", "100%" ],
|
|
"layer": 8
|
|
}
|
|
},
|
|
{
|
|
"offset_panel": {
|
|
"type": "panel",
|
|
"size": [ 4, "100%" ],
|
|
"controls": [
|
|
{
|
|
"center_bg": {
|
|
"type": "image",
|
|
"texture": "textures/ui/recipe_back_panel",
|
|
"size": [ 12, "100% - 4px" ]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#pocket_right_pane_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"right_panel@crafting_pocket.right_panel": {
|
|
"size": [ "50% - 31px", "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#pocket_right_pane_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"right_tab_navigation_panel_pocket@crafting_pocket.right_tab_navigation_panel_pocket": {
|
|
"layer": 2
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
"gamepad_helper_border": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%" ],
|
|
"orientation": "horizontal",
|
|
"controls": [
|
|
{
|
|
"left_gamepad_panel": {
|
|
"type": "panel",
|
|
"size": [ 14, "100%" ],
|
|
"controls": [
|
|
{
|
|
"gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": {
|
|
"offset": [ -4, 0 ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"$hide_description": true
|
|
}
|
|
},
|
|
{
|
|
"gamepad_helper_left_trigger@common.gamepad_helper_left_trigger": {
|
|
"offset": [ -4, 0 ],
|
|
"anchor_from": "bottom_left",
|
|
"anchor_to": "bottom_left",
|
|
"$hide_description": true
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#gamepad_helper_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"both_panels@crafting_pocket.both_panels": {
|
|
"size": [ "fill", "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"right_gamepad_panel": {
|
|
"type": "panel",
|
|
"size": [ 14, "100%" ],
|
|
"layer": 5,
|
|
"controls": [
|
|
{
|
|
"gamepad_helper_right_bumper_creative@common.gamepad_helper_right_bumper": {
|
|
"offset": [ 4, -73 ],
|
|
"anchor_from": "bottom_right",
|
|
"anchor_to": "bottom_right",
|
|
"$hide_description": true,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_creative_mode",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": {
|
|
"offset": [ 4, -40 ],
|
|
"anchor_from": "bottom_right",
|
|
"anchor_to": "bottom_right",
|
|
"$hide_description": true,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_creative_mode)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"gamepad_helper_right_trigger@common.gamepad_helper_right_trigger": {
|
|
"offset": [ 2, 0 ],
|
|
"anchor_from": "bottom_right",
|
|
"anchor_to": "bottom_right",
|
|
"$hide_description": true
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#gamepad_helper_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"hotbar_and_panels": {
|
|
"type": "stack_panel",
|
|
"size": [ "100% - 4px", "100%" ],
|
|
"orientation": "vertical",
|
|
"controls": [
|
|
{
|
|
"padding_1": {
|
|
"type": "panel",
|
|
"size": [ "100%", "2px" ]
|
|
}
|
|
},
|
|
{
|
|
"gamepad_helper_border@crafting_pocket.gamepad_helper_border": {
|
|
"size": [ "100%", "fill" ]
|
|
}
|
|
},
|
|
{
|
|
"hotbar_section_panel@crafting.drop_item_panel": {
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"hotbar@crafting_pocket.hotbar_panel": {
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"layer": 5
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"recipe_inventory_screen_content_pocket": {
|
|
"type": "input_panel",
|
|
"controls": [
|
|
{
|
|
"container_gamepad_helpers_pocket@common.container_gamepad_helpers": {
|
|
"size": [ "100%", 40 ],
|
|
"$gamepad_helper_size": [ "100%c", 15 ],
|
|
"$a_b_stack_panel_orientation": "vertical",
|
|
"$x_y_stack_panel_orientation": "vertical",
|
|
"$a_b_stack_panel_size": [ "100%cm", "100%" ],
|
|
"$x_y_stack_panel_size": [ "100%cm", "100%" ],
|
|
"$helper_x_control": "crafting.inventory_x_gamepad_helper",
|
|
"$helper_y_control": "crafting.inventory_y_gamepad_helper",
|
|
"$helper_a_control": "crafting.inventory_a_gamepad_helper",
|
|
"$helper_b_control": "crafting.inventory_b_gamepad_helper"
|
|
}
|
|
},
|
|
{
|
|
"toast_screen_content@toast_screen.toast_screen_content": {}
|
|
},
|
|
{
|
|
"selected_item_details_factory@common.selected_item_details_factory": {
|
|
"$offset": [ 0, "-37px" ]
|
|
}
|
|
},
|
|
{
|
|
"item_lock_notification_factory@common.item_lock_notification_factory": {
|
|
"$offset": [ 0, "85%" ]
|
|
}
|
|
},
|
|
{
|
|
"base_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"controls": [
|
|
{
|
|
"root_panel@common.root_panel": {
|
|
"layer": 1,
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"offset": [ "33px", "2px" ],
|
|
"size": [ "100% - 66px", "100% - 38px" ]
|
|
}
|
|
},
|
|
{ "inventory_selected_icon_button@common.inventory_selected_icon_button": {} },
|
|
{ "gamepad_cursor@common.gamepad_cursor_button": {} },
|
|
{ "hold_icon@common.inventory_take_progress_icon_button": {} },
|
|
{ "hotbar_and_panels@crafting_pocket.hotbar_and_panels": {} }
|
|
]
|
|
}
|
|
},
|
|
{ "flying_item_renderer@common.flying_item_renderer": { "layer": 20 } },
|
|
{ "bundle_touch_tooltip@gameplay.bundle_touch_tooltip": {} }
|
|
],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.inventory_left",
|
|
"to_button_id": "button.hotbar_inventory_left",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.inventory_right",
|
|
"to_button_id": "button.hotbar_inventory_right",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.hide_gui",
|
|
"to_button_id": "button.hide_gui_hud",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot1",
|
|
"to_button_id": "button.slot_1",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot2",
|
|
"to_button_id": "button.slot_2",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot3",
|
|
"to_button_id": "button.slot_3",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot4",
|
|
"to_button_id": "button.slot_4",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot5",
|
|
"to_button_id": "button.slot_5",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot6",
|
|
"to_button_id": "button.slot_6",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot7",
|
|
"to_button_id": "button.slot_7",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot8",
|
|
"to_button_id": "button.slot_8",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot9",
|
|
"to_button_id": "button.slot_9",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.slot0",
|
|
"to_button_id": "button.slot_0",
|
|
"mapping_type": "global"
|
|
}
|
|
]
|
|
}
|
|
}
|