From 27f10a544b7d4f69c9c2dca3ac27328a4ebe68d4 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Jul 2024 08:41:15 +0200 Subject: [PATCH] Config update --- templates/builder/vinsho_basic.txt | 129 ++++++++++++++++++++++++ templates/troops/vinsho_basic.txt | 157 +++++++++++++++++++++++++++++ vinsho_config.exmaple.json | 50 +++++++++ 3 files changed, 336 insertions(+) create mode 100644 templates/builder/vinsho_basic.txt create mode 100644 templates/troops/vinsho_basic.txt create mode 100644 vinsho_config.exmaple.json diff --git a/templates/builder/vinsho_basic.txt b/templates/builder/vinsho_basic.txt new file mode 100644 index 0000000..3a99fb5 --- /dev/null +++ b/templates/builder/vinsho_basic.txt @@ -0,0 +1,129 @@ +stone:1 +wood:1 +iron:1 +stone:2 +wood:2 +stone:3 +wood:3 +main:2 +main:3 +barracks:2 +statue:1 +iron:2 +storage:2 +stone:4 +stone:5 +wood:4 +wood:5 +wood:6 +wood:7 +wood:8 +market:1 +wood:9 +storage:3 +wood:10 +stone:6 +market:2 +stone:7 +iron:3 +main:4 +main:5 +smith:1 +smith:2 +iron:4 +iron:5 +market:3 +iron:6 +iron:7 +wall:2 +farm:2 +farm:3 +storage:3 +farm:4 +storage:4 +barracks:3 +barracks:4 +barracks:5 +wall:3 +main:6 +main:7 +farm:5 +storage:5 +smith:3 +main:8 +main:9 +main:10 +smith:4 +smith:5 +stable:1 +iron:8 +stone:9 +iron:9 +stone:10 +farm:6 +storage:6 +stable:2 +stable:3 +barracks:6 +wall:5 +wood:15 +stone:15 +iron:15 +storage:8 +farm:9 +market:5 +smith:6 +barracks:7 +stable:5 +barracks:9 +storage:11 +main:13 +wood:16 +stone:16 +iron:16 +farm:15 +barracks:10 +storage:13 +wall:10 +main:15 +smith:10 +market:10 +wood:18 +stone:18 +iron:17 +storage:12 +farm:15 +wall:15 +wood:22 +stone:22 +iron:20 +main:20 +smith:15 +storage:18 +wood:24 +stone:24 +iron:24 +farm:20 +smith:20 +snob:1 +barracks:15 +wall:20 +snob:2 +smith:15 +farm:22 +storage:20 +farm:25 +wood:25 +stone:25 +iron:23 +snob:3 +storage:21 +barracks:17 +garage:10 +wood:30 +stone:30 +iron:30 +stable:20 +market:20 +storage:30 +barracks:25 diff --git a/templates/troops/vinsho_basic.txt b/templates/troops/vinsho_basic.txt new file mode 100644 index 0000000..3d611da --- /dev/null +++ b/templates/troops/vinsho_basic.txt @@ -0,0 +1,157 @@ +[ + { + "building": "barracks", + "level": 1, + "build": { + "barracks": { + "spear": 20 + } + }, + "farm": [ + {"light": 5} + ] + }, + { + "building": "barracks", + "level": 3, + "build": { + "barracks": { + "spear": 100 + } + }, + "farm": [ + {"light": 5} + ] + }, + { + "building": "stable", + "level": 1, + "build": { + "barracks": { + "spear": 200 + } + }, + "farm": [ + {"light": 5} + ] + }, + { + "building": "stable", + "level": 3, + "build": { + "barracks": { + "spear": 250 + }, + "stable": { + "spy": 10 + } + }, + "farm": [ + {"light": 5} + ] + }, + { + "building": "barracks", + "level": 8, + "build": { + "barracks": { + "spear": 300, + "sword": 100 + }, + "stable": { + "spy": 30 + } + }, + "farm": [ + {"light": 5} + ] + }, + { + "building": "stable", + "level": 6, + "build": { + "barracks": { + "spear": 250, + "sword": 100, + "archer": 100 + }, + "stable": { + "spy": 25, + "light": 100 + } + }, + "farm": [ + {"light": 5} + ] + }, + { + "building": "barracks", + "level": 10, + "upgrades": { + "spear": 3, + "sword": 3, + "archer": 2 + }, + "build": { + "barracks": { + "spear": 500, + "sword": 350 + }, + "stable": { + "spy": 150 + } + }, + "farm": [ + {"light": 5} + ] + }, + { + "building": "barracks", + "level": 15, + "upgrades": { + "spear": 5, + "sword": 5, + "archer": 3 + }, + "build": { + "barracks": { + "spear": 1000, + "sword": 1000, + "archer": 1000 + }, + "stable": { + "spy": 500, + "heavy": 150 + } + }, + "farm": [ + {"light": 5} + ] + }, + { + "building": "barracks", + "level": 20, + "upgrades": { + "spear": 10, + "sword": 10, + "archer": 10, + "heavy": 10, + "light": 10 + }, + "build": { + "barracks": { + "spear": 7500, + "sword": 7500, + "archer": 2500 + }, + "stable": { + "spy": 500, + "heavy": 150 + } + }, + "farm": [ + {"light": 5} + ] + } +] + diff --git a/vinsho_config.exmaple.json b/vinsho_config.exmaple.json new file mode 100644 index 0000000..77ab458 --- /dev/null +++ b/vinsho_config.exmaple.json @@ -0,0 +1,50 @@ +{ + "build": { + "name": "tw_bot", + "version": "2.1", + "author": "stefan2200" + }, + "server": { + "server": "nlc1", + "endpoint": "https://cs97.divokekmeny.cz/game.php", + "server_on_twstats": false + }, + "reporting": { + "enabled": false, + "connection_string": "file://cache/logs/twb_{ts}.log" + }, + "notifications": { + "enabled": true, + "channel_id": "640177240", + "token": "" + }, + "bot": { + "active_hours": "6-23", + "delay_factor": 1.0, + "active_delay": 200, + "inactive_still_active": true, + "inactive_delay": 2000, + "add_new_villages": true, + "village_name_template": "Vinsho {num}", + "village_name_number_length": 3, + "auto_set_village_names": true, + "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36", + "check_update": true + }, + "building": { + "manage_buildings": true, + "default": "vinsho_basic", + "max_lookahead": 2, + "max_queued_items": 2 + }, + "units": { + "recruit": false, + "upgrade": false, + "default": "basic", + "batch_size": 25, + "manage_defence": false, + "remove_manual_queued": false, + "randomize_unit_queue": true + }, + "village_template": { + "building": "vinsho_basic",