superb-warfare/elements/MortarGUI.mod.json
2024-05-04 14:26:24 +08:00

149 lines
No EOL
3 KiB
JSON

{
"_fv": 57,
"_type": "gui",
"definition": {
"type": 0,
"width": 0,
"height": 166,
"inventoryOffsetX": 0,
"inventoryOffsetY": 0,
"renderBgLayer": true,
"doesPauseGame": false,
"components": [
{
"type": "label",
"data": {
"name": "label_proc_mortar_angle",
"text": {
"fixedValue": "",
"name": "MortarAngle"
},
"color": {
"value": -1,
"falpha": 0.0
},
"x": 184,
"y": 197
}
},
{
"type": "button",
"data": {
"name": "button_zeng_da_yang_jiao",
"text": "+1",
"isUndecorated": false,
"onClick": {
"name": "AngleAdd"
},
"width": 29,
"height": 20,
"x": 256,
"y": 161
}
},
{
"type": "button",
"data": {
"name": "button_empty",
"text": "-1",
"isUndecorated": false,
"onClick": {
"name": "AngleReduce"
},
"width": 30,
"height": 20,
"x": 141,
"y": 161
}
},
{
"type": "button",
"data": {
"name": "button_10",
"text": "+10",
"isUndecorated": false,
"onClick": {
"name": "AngleAddPlus"
},
"width": 28,
"height": 20,
"x": 257,
"y": 188
}
},
{
"type": "button",
"data": {
"name": "button_101",
"text": "-10",
"isUndecorated": false,
"onClick": {
"name": "AngleReducePlus"
},
"width": 30,
"height": 20,
"x": 141,
"y": 188
}
},
{
"type": "label",
"data": {
"name": "label_proc_range",
"text": {
"fixedValue": "Estimated range:"
},
"color": {
"value": -16711885,
"falpha": 0.0
},
"x": 202,
"y": 126
}
},
{
"type": "button",
"data": {
"name": "button_05",
"text": "-0.5",
"isUndecorated": false,
"onClick": {
"name": "AngleReduceMini"
},
"width": 30,
"height": 20,
"x": 141,
"y": 134
}
},
{
"type": "button",
"data": {
"name": "button_051",
"text": "+0.5",
"isUndecorated": false,
"onClick": {
"name": "AngleAddMini"
},
"width": 29,
"height": 20,
"x": 256,
"y": 134
}
}
],
"onOpen": {
"name": "MortarGUIGaiGUIDaKaiShi"
},
"onTick": {
"name": "MotarGUITick"
},
"gridSettings": {
"sx": 18,
"sy": 18,
"ox": 11,
"oy": 15,
"snapOnGrid": false
}
}
}