mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 13:22:20 +01:00
206 lines
5.3 KiB
JSON
206 lines
5.3 KiB
JSON
{
|
|
"namespace": "trialUpsell",
|
|
|
|
"normal_stroke_button": {
|
|
"type": "image",
|
|
"texture": "textures/ui/NormalButtonStroke",
|
|
"layer": 2
|
|
},
|
|
|
|
"normal_description_label": {
|
|
"type": "label",
|
|
"size": [ "100%", 10 ],
|
|
"color": "$body_text_color",
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"layer": 2
|
|
},
|
|
|
|
"trialTime": {
|
|
"type": "custom",
|
|
"renderer": "trial_time_renderer",
|
|
"size": [ "default", 10 ],
|
|
"offset": [ 0, "1%" ],
|
|
"layer": 3,
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
},
|
|
|
|
"trial_label": {
|
|
"type": "label",
|
|
"offset": [ 0, "3%" ],
|
|
"color": "$title_text_color",
|
|
"layer": 2,
|
|
"text": "trial.upsell.trialLabel",
|
|
"anchor_from": "center",
|
|
"anchor_to": "center"
|
|
},
|
|
|
|
"trial_description_panel": {
|
|
"type": "panel",
|
|
"size": [ "100% - 4px", "100% - 4px" ],
|
|
"offset": [ 0, 2 ],
|
|
"controls": [
|
|
{
|
|
"description_text@normal_description_label": {
|
|
"text": "$trial_description_test",
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"trial_expired_description_panel": {
|
|
"type": "stack_panel",
|
|
"size": [ "100% - 4px", "100%c" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"controls": [
|
|
{
|
|
"vertical_padding_0": {
|
|
"type": "panel",
|
|
"size": [ 0, 2 ]
|
|
}
|
|
},
|
|
{
|
|
"line1@normal_description_label": {
|
|
"size": [ "100%", "default" ],
|
|
"text": "trial.upsell.expiredDescription.line1"
|
|
}
|
|
},
|
|
{
|
|
"vertical_padding_1": {
|
|
"type": "panel",
|
|
"size": [ 0, 10 ]
|
|
}
|
|
},
|
|
{
|
|
"line2@normal_description_label": {
|
|
"text": "trial.upsell.expiredDescription.line2"
|
|
}
|
|
},
|
|
{
|
|
"line3@normal_description_label": {
|
|
"text": "trial.upsell.expiredDescription.line3"
|
|
}
|
|
},
|
|
{
|
|
"line4@normal_description_label": {
|
|
"text": "trial.upsell.expiredDescription.line4"
|
|
}
|
|
},
|
|
{
|
|
"line5@normal_description_label": {
|
|
"size": [ "100%", 20 ],
|
|
"text": "trial.upsell.expiredDescription.line5"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"continue_button@common_buttons.light_text_button": {
|
|
"$pressed_button_name": "button.menu_continue",
|
|
"$button_text": "$continue_button_text"
|
|
},
|
|
|
|
"buy_button@common_buttons.light_text_button": {
|
|
"$pressed_button_name": "button.menu_buy_game",
|
|
"$button_text": "trial.upsell.unlock"
|
|
},
|
|
|
|
"root_panel": {
|
|
"type": "panel",
|
|
"size": "$xbl_first_launch_screen_size",
|
|
"anchor_to": "center",
|
|
"anchor_from": "center"
|
|
},
|
|
|
|
"trial_upsell_screen_dialog@common_dialogs.main_panel_one_button": {
|
|
"$child_control": "trialUpsell.trial_description_panel",
|
|
"$text_name": "trial.upsell.title",
|
|
"$button_panel": "trialUpsell.button_content_panel",
|
|
"$continue_button_text": "trial.upsell.startTrial",
|
|
"$trial_description_test": "trial.upsell.description.updated"
|
|
},
|
|
|
|
"trial_upsell_expired_screen_dialog@common_dialogs.main_panel_one_button": {
|
|
"$child_control": "trialUpsell.trial_description_panel",
|
|
"$text_name": "trial.upsell.expiredTitle",
|
|
"$button_panel": "trialUpsell.button_content_panel",
|
|
"$continue_button_text": "trial.upsell.expiredViewWorld",
|
|
"$trial_description_test": "trial.upsell.expiredNewDescription"
|
|
},
|
|
|
|
"button_content_panel": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{
|
|
"buy@buy_button": {
|
|
"size": [ "50% - 1px", "100%" ],
|
|
"anchor_to": "bottom_left",
|
|
"anchor_from": "bottom_left"
|
|
}
|
|
},
|
|
{
|
|
"continue@continue_button": {
|
|
"size": [ "50% - 1px", "100%" ],
|
|
"anchor_to": "bottom_right",
|
|
"anchor_from": "bottom_right"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"trial_upsell_screen@common.base_screen": {
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_cancel",
|
|
"to_button_id": "button.menu_exit",
|
|
"mapping_type": "global"
|
|
}
|
|
],
|
|
"$screen_content": "trialUpsell.trial_upsell_screen_content"
|
|
},
|
|
|
|
"trial_upsell_screen_content": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{ "trialTime@trialTime": { } },
|
|
{
|
|
"root_panel@root_panel": {
|
|
"controls": [
|
|
{ "trial_upsell_screen_dialog@trial_upsell_screen_dialog": { } }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"trial_upsell_expired_screen@common.base_screen": {
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_cancel",
|
|
"to_button_id": "button.menu_exit",
|
|
"mapping_type": "global"
|
|
}
|
|
],
|
|
"$screen_content": "trialUpsell.trial_upsell_expired_screen_content"
|
|
},
|
|
|
|
"trial_upsell_expired_screen_content": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{ "trialTime@trialTime": { } },
|
|
{
|
|
"root_panel@root_panel": {
|
|
"controls": [
|
|
{ "trial_upsell_expired_screen_dialog@trial_upsell_expired_screen_dialog": { } }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |