Skip to content

Instantly share code, notes, and snippets.

@Fariarx
Last active March 5, 2018 09:24
Show Gist options
  • Save Fariarx/5c322feea44ef9de6d84a8115d3befcd to your computer and use it in GitHub Desktop.
Save Fariarx/5c322feea44ef9de6d84a8115d3befcd to your computer and use it in GitHub Desktop.
script["Шаблон1"] = {
"type": "setting",
"scripts": {
"слайдер": {
"type": "slider",
"text": "Тип погоды:",
"minmax": [0, 55555],
"callback": function (val,obj) {
$.Msg(val);
},
"obj": {
val: 4444
}
},
"тоггле": {
"type": "toggle",
"func": function (enabled,obj) {
},
"obj": {
enabled: true
},
"visible":true
},
"абилки": {
"type": "abilities",
"abil": {
"item_veil_of_discord": true,
"item_dagon": true,
"item_rod_of_atos": true,
"item_orchid": true,
"item_sheepstick": true,
"item_nullifier": true,
"item_heavens_halberd": true
},
"func":function (a,b,obj) {
},
"obj":{}
},
"клавиша": {
"type": "key",
"key": "",
"hero": "",
"customIcon": "item_dagon",
"nameoffunction": "creepblock",
"func": function (pressed,obj) {
Api.Msg(pressed)
},
"obj":{}
},
"меню": {
"type": "setting",
"scripts": {
"инфо": {
"type": "info"
}
}
},
"инфо": {
"type": "info"
},
"текст": {
"type": "text",
"obj":{
val:"Ссылка",
info:"Autor"
}
},
"кнопка": {
"type": "button",
"func":function (obj) {
$.Msg(obj)
},
"obj":{}
}
},
debug: true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment