content
stringlengths
1
1.05M
input_ids
listlengths
1
883k
ratio_char_token
float64
1
22.9
token_count
int64
1
883k
from django.shortcuts import render from django.http import HttpResponse from django.template import loader from .models import Location,Category,Image def index(request): '''Main view function for the start page''' images = Image.get_images() template = loader.get_template('index.html') context = { 'images': images, } return HttpResponse(template.render(context,request)) def search(request): '''View function to search by category''' template = loader.get_template('search.html') if 'image' in request.GET and request.GET['image']: search_category = request.GET['image'] searched_images = Image.search_images(search_category) message = f'{search_category}' context = { 'message': message, 'images': searched_images, } return HttpResponse(template.render(context,request)) else: message = 'The category does not exist!!' context = { 'message': message, } return render(request, 'search.html', {'message': message}) def locations(request, region): '''View Function to sort based on location''' template = loader.get_template('location.html') region_images = Image.filter_by_location(region) context = { 'images': region_images, } return HttpResponse(template.render(context,request))
[ 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 31077, 198, 6738, 42625, 14208, 13, 28243, 1330, 40213, 198, 6738, 764, 27530, 1330, 13397, 11, 27313, 11, 5159, 198, 198, 4299, 6376, ...
2.7154
513
x = (input("enters hours")) y = (input("enters rate")) def compute_pay(hours, rate): """The try block ensures that the user enters a value between from 0-1 otherwise an error message pops up""" try: hours = float(x) rate = float(y) if hours <= 40: pay= float(hours * rate) else: pay = float(40 * rate + (hours - 40) * 1.5 * rate) return pay except ValueError: return "INVALID ENTRY" pay = compute_pay(x, y) print(pay)
[ 87, 796, 357, 15414, 7203, 298, 364, 2250, 48774, 198, 88, 796, 357, 15414, 7203, 298, 364, 2494, 48774, 628, 198, 4299, 24061, 62, 15577, 7, 24425, 11, 2494, 2599, 198, 220, 220, 220, 37227, 464, 1949, 2512, 19047, 326, 262, 2836, ...
2.303167
221
# import argparse # # # def main(audio_path, textgrid_path, output_path): # data = list() # for # print(1) # # if __name__ == "__main__": # # -------------MENU-------------- # # # command line arguments # parser = argparse.ArgumentParser() # parser.add_argument("audio_path", help="The path to the audio directory") # parser.add_argument("labels_path", help="The path to the relevant textgrids") # parser.add_argument("output_path", help="The path to output directory") # args = parser.parse_args() # # # main function # main(args.audio_path, args.textgrid_path, args.output_path)
[ 2, 1330, 1822, 29572, 198, 2, 198, 2, 198, 2, 825, 1388, 7, 24051, 62, 6978, 11, 2420, 25928, 62, 6978, 11, 5072, 62, 6978, 2599, 198, 2, 220, 220, 220, 220, 1366, 796, 1351, 3419, 198, 2, 220, 220, 220, 220, 329, 198, 2, 220,...
2.683761
234
import phonenumbers from phonenumbers import geocoder, carrier if __name__ == '__main__': numbers = input("Please Enter The Target Number : ") get_information_about_number(numbers)
[ 11748, 32896, 268, 17024, 201, 198, 6738, 32896, 268, 17024, 1330, 4903, 420, 12342, 11, 11920, 201, 198, 201, 198, 201, 198, 201, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 201, 198, 220, 220, 220, 3146, 796, 5128...
2.955224
67
# TODO: 1. Add indicator that node should be run by python # line above indicates that python is responsible for running this node import os import csv import rospy import numpy as np import pygame from utilities import pipline import cv2 from cv_bridge import CvBridge, CvBridgeError from sensor_msgs.msg import Image # set image resolution RESOLUTION_X = 640 RESOLUTION_Y = 480 # python class definition # python way to indicate what to do if this file is run as executable rather then imported as library if __name__ == '__main__': try: # create CameraTester instance and initiate loop sequence CameraTester() except rospy.ROSInterruptException: # catch and log ROS errors rospy.logerr('Could not start camera tester node.') pass finally: pygame.quit()
[ 2, 16926, 46, 25, 352, 13, 3060, 16916, 326, 10139, 815, 307, 1057, 416, 21015, 198, 198, 2, 1627, 2029, 9217, 326, 21015, 318, 4497, 329, 2491, 428, 10139, 198, 198, 11748, 28686, 198, 11748, 269, 21370, 198, 11748, 686, 2777, 88, ...
3.048148
270
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-02-01 23:04 from __future__ import unicode_literals from django.db import migrations
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 37770, 352, 13, 1157, 319, 2864, 12, 2999, 12, 486, 2242, 25, 3023, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 198, 6738,...
2.754717
53
import logging import os import json import requests try: from alerta.plugins import app # alerta >= 5.0 except ImportError: from alerta.app import app # alerta < 5.0 from alerta.plugins import PluginBase LOG = logging.getLogger('alerta.plugins.beacon') BEACON_HEADERS = { 'Content-Type': 'application/json' } BEACON_SEND_ON_ACK = os.environ.get('BEACON_SEND_ON_ACK') or app.config.get('BEACON_SEND_ON_ACK', False) BEACON_SEVERITY_MAP = app.config.get('BEACON_SEVERITY_MAP', {}) BEACON_DEFAULT_SEVERITY_MAP = {'security': '#000000', # black 'critical': '#FF0000', # red 'major': '#FFA500', # orange 'minor': '#FFFF00', # yellow 'warning': '#1E90FF', #blue 'informational': '#808080', #gray 'debug': '#808080', # gray 'trace': '#808080', # gray 'ok': '#00CC00'} # green
[ 11748, 18931, 198, 11748, 28686, 198, 11748, 33918, 198, 11748, 7007, 198, 28311, 25, 198, 220, 220, 220, 220, 220, 422, 7995, 64, 13, 37390, 1330, 598, 220, 1303, 7995, 64, 18189, 642, 13, 15, 198, 16341, 17267, 12331, 25, 198, 220, ...
1.872727
550
"""The abstract class module for all hosts.""" # Standard Library Imports from abc import ABC, abstractmethod, abstractclassmethod # Third Party Imports # Local Application Imports from util.helpers import get_typeof_repo_names from util.message import Message def __init_subclass__(cls, *args, **kwargs): """Specifications required by future host subclasses.""" super().__init_subclass__(*args, **kwargs) if cls.HELP_DESC is NotImplemented and cls.__name__ != "WebHost": raise NotImplementedError( Message.construct_helpdesc_notimplemented_msg({cls.__name__}) ) def add_repo_name_and_location(self, repo_name, location): """How to add repo name and location to host's repos names and locations. Parameters ---------- repo_name : str The name of the Git repo to store. location : str A url to the Git repo. """ self.repo_names_and_locations[repo_name] = location def get_location_from_repo_name(self, repo_name): """How to get the host's repo location from the repo name. Parameters ---------- repo_name : str The name of the Git repo to store. """ return self.repo_names_and_locations[repo_name]
[ 37811, 464, 12531, 1398, 8265, 329, 477, 11453, 526, 15931, 198, 2, 8997, 10074, 1846, 3742, 198, 6738, 450, 66, 1330, 9738, 11, 12531, 24396, 11, 12531, 4871, 24396, 198, 198, 2, 10467, 3615, 1846, 3742, 198, 198, 2, 10714, 15678, 18...
2.370629
572
from sqlalchemy import ( Column, Integer, String, DateTime, ) from .models import Base
[ 6738, 44161, 282, 26599, 1330, 357, 198, 220, 220, 220, 29201, 11, 198, 220, 220, 220, 34142, 11, 198, 220, 220, 220, 10903, 11, 198, 220, 220, 220, 7536, 7575, 11, 198, 8, 198, 6738, 764, 27530, 1330, 7308 ]
2.615385
39
from nonebot import on_command, CommandSession,permission as perm import asyncio import traceback from helper import getlogger,msgSendToBot,CQsessionToStr,data_read,data_save from module.roll import match_roll logger = getlogger(__name__) __plugin_name__ = 'ROLL' __plugin_usage__ = r""" roll """ # # on_command
[ 6738, 4844, 13645, 1330, 319, 62, 21812, 11, 9455, 36044, 11, 525, 3411, 355, 9943, 198, 11748, 30351, 952, 198, 11748, 12854, 1891, 198, 6738, 31904, 1330, 651, 6404, 1362, 11, 19662, 25206, 2514, 20630, 11, 34, 48, 29891, 2514, 13290,...
3.038835
103
import time import requests # Http endpoint cur = time.time() print(requests.post("http://127.0.0.1:8000/my-dag", json=["5", [1, 2], "sum"]).text) print(f"Time spent: {round(time.time() - cur, 2)} secs.") # Http endpoint cur = time.time() print(requests.post("http://127.0.0.1:8000/my-dag", json=["1", [0, 2], "max"]).text) print(f"Time spent: {round(time.time() - cur, 2)} secs.")
[ 11748, 640, 198, 11748, 7007, 198, 198, 2, 367, 29281, 36123, 198, 22019, 796, 640, 13, 2435, 3419, 198, 4798, 7, 8897, 3558, 13, 7353, 7203, 4023, 1378, 16799, 13, 15, 13, 15, 13, 16, 25, 33942, 14, 1820, 12, 67, 363, 1600, 33918...
2.4
160
# Generated by Django 3.0.5 on 2020-04-26 09:09 from django.db import migrations, models import django.db.models.deletion
[ 2, 2980, 515, 416, 37770, 513, 13, 15, 13, 20, 319, 12131, 12, 3023, 12, 2075, 7769, 25, 2931, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 198, 11748, 42625, 14208, 13, 9945, 13, 27530, 13, 2934, 1616, 295, ...
2.818182
44
import os import os.path import logging import sys import IValidator import re sys.path.append(os.path.abspath(os.path.join('0', '../extensions'))) from extensions_logging import logmyerror
[ 11748, 28686, 198, 11748, 28686, 13, 6978, 198, 11748, 18931, 198, 11748, 25064, 198, 11748, 314, 47139, 1352, 198, 11748, 302, 198, 198, 17597, 13, 6978, 13, 33295, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 418, 13, 6978, 13, 22179, ...
3.114754
61
from django.contrib import admin from psmate.models import News admin.site.register(News, BlogAdmin)
[ 6738, 42625, 14208, 13, 3642, 822, 1330, 13169, 198, 6738, 279, 5796, 378, 13, 27530, 1330, 3000, 628, 198, 28482, 13, 15654, 13, 30238, 7, 9980, 11, 14001, 46787, 8, 628 ]
3.354839
31
# coding:utf-8 import re from Helper.common import *
[ 2, 19617, 25, 40477, 12, 23, 198, 11748, 302, 198, 6738, 5053, 525, 13, 11321, 1330, 1635, 628, 628, 628, 198 ]
2.809524
21
while True : n = int(input()) if n == 0 : break else : arr = input().split() check = True for i in range(n) : if int(arr[int(arr[i]) - 1]) != i + 1 : check = False if check : print('ambiguous') else : print('not ambiguous')
[ 4514, 6407, 1058, 198, 220, 220, 220, 299, 796, 493, 7, 15414, 28955, 198, 220, 220, 220, 611, 299, 6624, 657, 1058, 198, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 2073, 1058, 198, 220, 220, 220, 220, 220, 220, ...
1.830601
183
"""Add-On functions for speech interface.""" from __future__ import annotations from typing import TYPE_CHECKING, List from voiceassistant.addons.create import Addon, CoreAttribute, addon_begin, addon_end from voiceassistant.exceptions import IntegrationError from .base import Integration if TYPE_CHECKING: from voiceassistant.core import VoiceAssistant try: from pixel_ring import pixel_ring from pixel_ring import apa102_pixel_ring if isinstance(pixel_ring, apa102_pixel_ring.PixelRing): print("Found ReSpeaker 4 Mic Array") from gpiozero import LED power = LED(5) power.on() pixel_ring.change_pattern("echo") pixel_ring.off() ring_state = PixelRingState.off except Exception as e: raise IntegrationError(f"No ReSpeaker Microphone detected or not able to connect: {e}") from e
[ 37811, 4550, 12, 2202, 5499, 329, 4046, 7071, 526, 15931, 198, 198, 6738, 11593, 37443, 834, 1330, 37647, 198, 198, 6738, 19720, 1330, 41876, 62, 50084, 2751, 11, 7343, 198, 198, 6738, 3809, 562, 10167, 13, 39996, 13, 17953, 1330, 3060,...
3.031579
285
from math import cos, sin import numpy as np import tensorflow as tf from .....simulator import Agent # from simulator import Agent tf.set_random_seed(1234)
[ 6738, 10688, 1330, 8615, 11, 7813, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 198, 6738, 11485, 986, 14323, 8927, 1330, 15906, 198, 2, 422, 35375, 1330, 15906, 198, 198, 27110, 13, 2617, 62, 2512...
3.333333
48
from __future__ import print_function import os import sys from errno import ENOENT from os.path import dirname, abspath, join, isdir from setuptools import setup, find_packages from distutils.command.upload import upload from pywincffi import __version__ try: WindowsError except NameError: WindowsError = OSError try: with open("README.rst") as readme: long_description = readme.read() except (OSError, IOError, WindowsError) as error: if error.errno == ENOENT: long_description = "" else: raise requirements = [ "cffi>=1.6.0", "six" ] ROOT = dirname(abspath(__file__)) DISTS = join(ROOT, "dist") setup_keywords = dict( name="pywincffi", version=".".join(map(str, __version__)), cmdclass={ "upload_from_appveyor": AppVeyorArtifactUpload }, packages=find_packages( include=("pywincffi*", ) ), include_package_data=True, author="Oliver Palmer", author_email="oliverpalmer@opalmer.com", url="http://github.com/opalmer/pywincffi", description="A Python library which wraps Windows functions using CFFI", long_description=long_description, setup_requires=requirements, install_requires=requirements, classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Environment :: Win32 (MS Windows)", "Operating System :: Microsoft :: Windows", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries" ] ) # Only add cffi_modules if we're running on Windows. Otherwise # things like the documentation build, which can run on Linux, may # not work. if os.name == "nt": setup_keywords.update( cffi_modules=["pywincffi/core/dist.py:_ffi"] ) setup(**setup_keywords)
[ 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 198, 11748, 28686, 198, 11748, 25064, 198, 6738, 11454, 3919, 1330, 12964, 46, 3525, 198, 6738, 28686, 13, 6978, 1330, 26672, 3672, 11, 2352, 6978, 11, 4654, 11, 318, 15908, 198, 198, ...
2.66242
785
import shutil with open('test.csv', 'r') as f: lines = f.readlines() for line in lines: image, gender = line.split(",") print(image) if 'female' in gender: shutil.move("test/" + image, "test/female/" + image) else: shutil.move("test/" + image, "test/male/" + image)
[ 11748, 4423, 346, 198, 198, 4480, 1280, 10786, 9288, 13, 40664, 3256, 705, 81, 11537, 355, 277, 25, 198, 220, 220, 220, 3951, 796, 277, 13, 961, 6615, 3419, 198, 220, 220, 220, 329, 1627, 287, 3951, 25, 198, 220, 220, 220, 220, 22...
2.149351
154
import random from helpers import Leaf, Rect, RoomList from renderer import MapRenderer from typing import List, Any room_list = RoomList() tree = BSPTree().generateLevel(64, 128, room_list) MapRenderer(tree).render_map() print(room_list.get_rooms()[5].get_random_point_in_room())
[ 11748, 4738, 198, 6738, 49385, 1330, 14697, 11, 48599, 11, 10096, 8053, 198, 6738, 9851, 11882, 1330, 9347, 49, 437, 11882, 198, 6738, 19720, 1330, 7343, 11, 4377, 628, 198, 198, 3823, 62, 4868, 796, 10096, 8053, 3419, 198, 21048, 796, ...
3.010526
95
# This an autogenerated file # # Generated with CRSAxialFrictionModel from typing import Dict,Sequence,List from dmt.entity import Entity from dmt.blueprint import Blueprint from .blueprints.crsaxialfrictionmodel import CRSAxialFrictionModelBlueprint from typing import Dict from sima.sima.moao import MOAO from sima.sima.scriptablevalue import ScriptableValue
[ 2, 770, 281, 1960, 519, 877, 515, 2393, 198, 2, 220, 198, 2, 2980, 515, 351, 8740, 4090, 87, 498, 37, 46214, 17633, 198, 6738, 19720, 1330, 360, 713, 11, 44015, 594, 11, 8053, 198, 6738, 288, 16762, 13, 26858, 1330, 20885, 198, 67...
3.290909
110
# import Drop7.Board as Board import Drop7.Disk as Disk def test_Is_Proper_Disk__Legal_Case(score, max_score): """Function is_proper_disk: given disk is proper disk.""" max_score.value += 1 try: assert Disk.is_proper_disk(4, Disk.init_disk(Disk.VISIBLE, 4)) assert Disk.is_proper_disk(4, Disk.init_disk(Disk.CRACKED, 1)) score.value += 1 except: pass def test_Is_Proper_Disk__Illegal_State(score, max_score): """Function is_proper_disk: illegal state.""" max_score.value += 1 try: assert not Disk.is_proper_disk(4, Disk.init_disk(("ABC",), 4)) score.value += 1 except: pass def test_Is_Proper_Disk__Illegal_Value(score, max_score): """Function is_proper_disk: illegal value.""" max_score.value += 1 try: assert not Disk.is_proper_disk(4, Disk.init_disk(Disk.VISIBLE, 5)) score.value += 1 except: pass def test_Init_Disk__Single_Case(score,max_score): """Function init_disk: single case.""" max_score.value += 1 try: disk = Disk.init_disk(Disk.VISIBLE,4) assert Disk.get_state(disk) == Disk.VISIBLE assert Disk.get_value(disk) == 4 score.value += 1 except: pass def test_Get_Random_Disk__Single_Case(score,max_score): """Function get_random_disk: single case.""" max_score.value += 1 try: for i in range(1,1000): disk = Disk.get_random_disk(7,{Disk.VISIBLE,Disk.WRAPPED}) assert Disk.get_state(disk) in {Disk.VISIBLE,Disk.WRAPPED} assert 1 <= Disk.get_value(disk) <= 7 score.value += 1 except: pass def test_Set_State(score, max_score): """Function set_state: single case.""" max_score.value += 1 try: disk = Disk.init_disk(Disk.CRACKED,5) Disk.set_state(disk, Disk.VISIBLE) assert Disk.get_state(disk) == Disk.VISIBLE score.value += 1 except: pass def test_Set_Value(score, max_score): """Function set_value: single case.""" max_score.value += 1 try: disk = Disk.init_disk(Disk.CRACKED,5) Disk.set_value(disk, 8) assert Disk.get_value(disk) == 8 score.value += 1 except: pass def test_Get_Disk_Copy(score, max_score): """Function get_disk_copy: single case.""" max_score.value += 3 try: disk = Disk.init_disk(Disk.CRACKED,5) copy = Disk.get_disk_copy(disk) assert Disk.get_state(copy) == Disk.get_state(disk) assert Disk.get_value(copy) == Disk.get_value(disk) # Checking that a new disk has been returned. Disk.set_value(disk,Disk.get_value(disk)+100) assert Disk.get_value(copy) == Disk.get_value(disk)-100 score.value += 3 except: pass disk_test_functions = \ { test_Is_Proper_Disk__Legal_Case, test_Is_Proper_Disk__Illegal_State, test_Is_Proper_Disk__Illegal_Value, test_Init_Disk__Single_Case, test_Get_Random_Disk__Single_Case, test_Set_State, test_Set_Value, test_Get_Disk_Copy }
[ 2, 1330, 14258, 22, 13, 29828, 355, 5926, 198, 11748, 14258, 22, 13, 40961, 355, 31664, 198, 198, 4299, 1332, 62, 3792, 62, 2964, 525, 62, 40961, 834, 38263, 62, 20448, 7, 26675, 11, 3509, 62, 26675, 2599, 198, 220, 220, 220, 37227,...
2.184979
1,438
#!/usr/bin/python3 # Filename: maxSonarTTY.py # Reads serial data from Maxbotix ultrasonic rangefinders # Gracefully handles most common serial data glitches # Use as an importable module with "import MaxSonarTTY" # Returns an integer value representing distance to target in millimeters from time import time from serial import Serial
[ 2, 48443, 14629, 14, 8800, 14, 29412, 18, 198, 2, 7066, 12453, 25, 3509, 31056, 283, 51, 9936, 13, 9078, 198, 198, 2, 4149, 82, 11389, 1366, 422, 5436, 13645, 844, 23212, 30189, 2837, 19796, 364, 198, 2, 16156, 2759, 17105, 749, 221...
3.852273
88
import sys import os import io import gzip import mock import tempfile import lumbermill.utils.DictUtils as DictUtils from tests.ModuleBaseTestCase import ModuleBaseTestCase from lumbermill.output import File
[ 11748, 25064, 198, 11748, 28686, 198, 11748, 33245, 198, 11748, 308, 13344, 198, 11748, 15290, 198, 11748, 20218, 7753, 198, 11748, 34840, 17805, 13, 26791, 13, 35, 713, 18274, 4487, 355, 360, 713, 18274, 4487, 198, 198, 6738, 5254, 13, ...
3.62069
58
#!/usr/bin/env python3 import argparse import pickle import time import sys from safe_gpu.safe_gpu import GPUOwner from pero_ocr.decoding import confusion_networks from pero_ocr.decoding.decoding_itf import prepare_dense_logits, construct_lm, get_ocr_charset, BLANK_SYMBOL import pero_ocr.decoding.decoders as decoders from pero_ocr.transcription_io import save_transcriptions if __name__ == "__main__": args = parse_arguments() gpu_owner = GPUOwner() main(args)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 11748, 1822, 29572, 198, 11748, 2298, 293, 198, 11748, 640, 198, 11748, 25064, 198, 198, 6738, 3338, 62, 46999, 13, 21230, 62, 46999, 1330, 11362, 42419, 198, 198, 6738, 583, ...
2.775862
174
""" An in-memory content store with exact matching""" import time from PiCN.Packets import Content, Name from PiCN.Layers.ICNLayer.ContentStore import BaseContentStore, ContentStoreEntry
[ 37811, 1052, 287, 12, 31673, 2695, 3650, 351, 2748, 12336, 37811, 198, 198, 11748, 640, 198, 198, 6738, 13993, 44175, 13, 11869, 1039, 1330, 14041, 11, 6530, 198, 6738, 13993, 44175, 13, 43, 6962, 13, 2149, 32572, 2794, 13, 19746, 22658...
3.8
50
from django_slack_oauth.models import SlackOAuthRequest
[ 6738, 42625, 14208, 62, 6649, 441, 62, 12162, 1071, 13, 27530, 1330, 36256, 23621, 1071, 18453 ]
3.4375
16
from django.forms import ModelForm # class add_money_form(ModelForm): # class Meta: # model = Transaction # fields = ['transaction_user_2', 'transaction_amount']
[ 6738, 42625, 14208, 13, 23914, 1330, 9104, 8479, 628, 198, 198, 2, 1398, 751, 62, 26316, 62, 687, 7, 17633, 8479, 2599, 198, 2, 220, 220, 220, 220, 1398, 30277, 25, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 45389,...
2.605634
71
""" 1429. First Unique Number # https://leetcode.ca/all/1429.html You have a queue of integers, you need to retrieve the first unique integer in the queue. Implement the FirstUnique class: FirstUnique(int[] nums) Initializes the object with the numbers in the queue. int showFirstUnique() returns the value of the first unique integer of the queue, and returns -1 if there is no such integer. void add(int value) insert value to the queue. Example 1: Input: ["FirstUnique","showFirstUnique","add","showFirstUnique","add","showFirstUnique","add","showFirstUnique"] [[[2,3,5]],[],[5],[],[2],[],[3],[]] Output: [null,2,null,2,null,3,null,-1] Explanation: FirstUnique firstUnique = new FirstUnique([2,3,5]); firstUnique.showFirstUnique(); // return 2 firstUnique.add(5); // the queue is now [2,3,5,5] firstUnique.showFirstUnique(); // return 2 firstUnique.add(2); // the queue is now [2,3,5,5,2] firstUnique.showFirstUnique(); // return 3 firstUnique.add(3); // the queue is now [2,3,5,5,2,3] firstUnique.showFirstUnique(); // return -1 Example 2: Input: ["FirstUnique","showFirstUnique","add","add","add","add","add","showFirstUnique"] [[[7,7,7,7,7,7]],[],[7],[3],[3],[7],[17],[]] Output: [null,-1,null,null,null,null,null,17] Explanation: FirstUnique firstUnique = new FirstUnique([7,7,7,7,7,7]); firstUnique.showFirstUnique(); // return -1 firstUnique.add(7); // the queue is now [7,7,7,7,7,7,7] firstUnique.add(3); // the queue is now [7,7,7,7,7,7,7,3] firstUnique.add(3); // the queue is now [7,7,7,7,7,7,7,3,3] firstUnique.add(7); // the queue is now [7,7,7,7,7,7,7,3,3,7] firstUnique.add(17); // the queue is now [7,7,7,7,7,7,7,3,3,7,17] firstUnique.showFirstUnique(); // return 17 Example 3: Input: ["FirstUnique","showFirstUnique","add","showFirstUnique"] [[[809]],[],[809],[]] Output: [null,809,null,-1] Explanation: FirstUnique firstUnique = new FirstUnique([809]); firstUnique.showFirstUnique(); // return 809 firstUnique.add(809); // the queue is now [809,809] firstUnique.showFirstUnique(); // return -1 Constraints: 1 <= nums.length <= 10^5 1 <= nums[i] <= 10^8 1 <= value <= 10^8 At most 50000 calls will be made to showFirstUnique and add. """ # V0 # V1 # https://blog.csdn.net/Changxing_J/article/details/109854442 # IDEA : dequeue from collections import Counter, deque # V1' # IDEA : dequeue # https://blog.csdn.net/sinat_30403031/article/details/116664368 from collections import Counter, deque, defaultdict from heapq import heappush, heappop # V1'' # https://github.com/jyj407/leetcode/blob/master/1429.md # V1''' # https://github.com/jyj407/leetcode/blob/master/1429.md # V1'''' # https://github.com/jyj407/leetcode/blob/master/1429.md # V1''''' # https://leetcode.ca/2019-10-29-1429-First-Unique-Number/ # C++ # / OJ: https://leetcode.com/problems/first-unique-number/ # # // Time: # // FirstUnique: O(N) # // showFirstUnique: O(1) # // add: O(1) # // Space: O(N) # class FirstUnique { # list<int> data; # typedef list<int>::iterator iter; # unordered_map<int, iter> m; # unordered_set<int> s; # public: # FirstUnique(vector<int>& nums) { # for (int n : nums) add(n); # } # # int showFirstUnique() { # return data.size() ? data.front() : -1; # } # # void add(int value) { # if (s.count(value)) return; # if (m.count(value)) { # data.erase(m[value]); # s.insert(value); # } else { # data.push_back(value); # m[value] = prev(data.end()); # } # } # }; # V2
[ 37811, 198, 198, 1415, 1959, 13, 3274, 30015, 7913, 198, 198, 2, 3740, 1378, 293, 316, 8189, 13, 6888, 14, 439, 14, 1415, 1959, 13, 6494, 198, 198, 1639, 423, 257, 16834, 286, 37014, 11, 345, 761, 284, 19818, 262, 717, 3748, 18253, ...
2.323175
1,575
import os from get_git.utils import make_request GH_URL = 'https://api.github.com/graphql' TOKEN=os.environ.get('GH_API_TOKEN')
[ 11748, 28686, 198, 198, 6738, 651, 62, 18300, 13, 26791, 1330, 787, 62, 25927, 198, 198, 17511, 62, 21886, 796, 705, 5450, 1378, 15042, 13, 12567, 13, 785, 14, 34960, 13976, 6, 198, 10468, 43959, 28, 418, 13, 268, 2268, 13, 1136, 10...
2.54902
51
from __future__ import division, print_function, unicode_literals from config import * __all__ = ['Map', 'Vertex', 'Edge', 'State'] class Edge: def __init__(self): self._port = [State.FREE, State.FREE, State.FREE] self._num_cards = 0 self._contact_number = 0 def update(self, edge): self._contact_number = 0 for i in range(3): if self.port[i] != State.FREE: if self.port[i] != State.CLOSED and edge.port[i] != State.CLOSED: self._contact_number += 1 self.port[i] = edge.port[i] self.num_cards += 1 def match(self, edge): self._contact_number = 0 if self.port[1] == State.FREE: return True for i in range(3): if self.port[i] == State.MANDATORY: if edge.port[i] == State.CLOSED: return False elif self.port[i] == State.CLOSED: if edge.port[i] == State.MANDATORY: return False if self.port[i] != State.CLOSED and edge.port[i] != State.CLOSED: self._contact_number += 1 return True def copy_to(self, edge): edge.num_cards = self._num_cards edge.contact_number = self._contact_number for i in range(3): edge.port[i] = self._port[i] class Vertex: def __init__(self): self._state = State.FREE self._contact_number = 0 self._num_cards = 0 def update(self, vertex): self._contact_number = 0 if self._state == State.CLOSED: self._state = vertex.state elif self._state == State.MANDATORY: if vertex.state != State.CLOSED: self._state = State.OPTIONAL self._contact_number = 1 elif self._state == State.OPTIONAL: if vertex.state != State.CLOSED: self._contact_number = 1 elif self._state == State.FREE: self._state = vertex.state self._num_cards += 1 def match(self, vertex): self._contact_number = 0 if self._state == State.FREE: return True if self._state == State.MANDATORY: if vertex.state == State.CLOSED and self._num_cards == 3: return False elif self._state == State.CLOSED: if vertex.state == State.MANDATORY and self._num_cards == 3: return False if self._state != State.CLOSED and vertex.state != State.CLOSED: self._contact_number = 1 return True def copy_to(self, vertex): vertex.state = self._state vertex.num_cards = self._num_cards vertex.contact_number = self._contact_number def clone(self): m = Map(self._matrix) m.contact_count = self._contact_count m.move_history.extend(self._move_history[:]) m.most_left_move = self._most_left_move m.most_right_move = self._most_right_move m.top_move = self._top_move m.bottom_move = self._bottom_move return m def square_at(self, col, row): return self._matrix[row * 2 + 1][col * 2 + 1] def top_square(self, col, row): return self.square_at(col, row - 1) # NO using GL coord system def bottom_square(self, col, row): return self.square_at(col, row + 1) # NO using GL coord system def left_square(self, col, row): return self.square_at(col - 1, row) def right_square(self, col, row): return self.square_at(col + 1, row) def top_edge(self, col, row): return self._matrix[row * 2][col * 2 + 1] def bottom_edge(self, col, row): return self._matrix[row * 2 + 2][col * 2 + 1] def left_edge(self, col, row): return self._matrix[row * 2 + 1][col * 2] def right_edge(self, col, row): return self._matrix[row * 2 + 1][col * 2 + 2] def top_left_vertex(self, col, row): return self._matrix[row * 2][col * 2] def bottom_left_vertex(self, col, row): return self._matrix[row * 2 + 2][col * 2] def top_right_vertex(self, col, row): return self._matrix[row * 2][col * 2 + 2] def bottom_right_vertex(self, col, row): return self._matrix[row * 2 + 2][col * 2 + 2] def dock_count(self, col, row): result = self.top_edge(col, row).dock_count + \ self.bottom_edge(col, row).dock_count + \ self.left_edge(col, row).dock_count + \ self.right_edge(col, row).dock_count + \ self.top_left_vertex(col, row).dock_count + \ self.top_right_vertex(col, row).dock_count + \ self.bottom_left_vertex(col, row).dock_count + \ self.bottom_right_vertex(col, row).dock_count return result def mandatory_dock_count(self, col, row): result = self.top_edge(col, row).mandatory_dock_count + \ self.bottom_edge(col, row).mandatory_dock_count + \ self.left_edge(col, row).mandatory_dock_count + \ self.right_edge(col, row).mandatory_dock_count + \ self.top_left_vertex(col, row).mandatory_dock_count + \ self.top_right_vertex(col, row).mandatory_dock_count + \ self.bottom_left_vertex(col, row).mandatory_dock_count + \ self.bottom_right_vertex(col, row).mandatory_dock_count return result def have_adjacent_card(self, col, row): up = self.top_square(col, row) down = self.bottom_square(col, row) left = self.left_square(col, row) right = self.right_square(col, row) return up.has_card or down.has_card or left.has_card or right.has_card def move_card(self, move): self.put_card(move.col, move.row, move.card) def put_card(self, col, row, card): self.square_at(col, row).has_card = True self.top_left_vertex(col, row).update(card.vertex(card.TOP_LEFT_VERTEX)) self.top_right_vertex(col, row).update(card.vertex(card.TOP_RIGHT_VERTEX)) self.bottom_left_vertex(col, row).update(card.vertex(card.BOTTOM_LEFT_VERTEX)) self.bottom_right_vertex(col, row).update(card.vertex(card.BOTTOM_RIGHT_VERTEX)) self.top_edge(col, row).update(card.vertex(card.TOP_EDGE)) self.bottom_edge(col, row).update(card.vertex(card.BOTTOM_EDGE)) self.left_edge(col, row).update(card.vertex(card.LEFT_EDGE)) self.right_edge(col, row).update(card.vertex(card.RIGHT_EDGE)) self._contact_count = \ self.top_edge(col, row).contact_number + \ self.bottom_edge(col, row).contact_number + \ self.left_edge(col, row).contact_number + \ self.right_edge(col, row).contact_number + \ self.top_left_vertex(col, row).contact_number + \ self.top_right_vertex(col, row).contact_number + \ self.bottom_left_vertex(col, row).contact_number + \ self.bottom_right_vertex(col, row).contact_number move = Move(col, row, card) self._move_history.append(move) self.update_extreme_cards(move) return self._contact_count def match(self, col, row, card): match = \ self.top_left_vertex(col, row).match(card.vertex(card.TOP_LEFT_VERTEX)) and \ self.top_right_vertex(col, row).match(card.vertex(card.TOP_RIGHT_VERTEX)) and \ self.bottom_left_vertex(col, row).match(card.vertex(card.BOTTOM_LEFT_VERTEX)) and \ self.bottom_right_vertex(col, row).match(card.vertex(card.BOTTOM_RIGHT_VERTEX)) and \ self.top_edge(col, row).match(card.vertex(card.TOP_EDGE)) and \ self.bottom_edge(col, row).match(card.vertex(card.BOTTOM_EDGE)) and \ self.left_edge(col, row).match(card.vertex(card.LEFT_EDGE)) and \ self.right_edge(col, row).match(card.vertex(card.RIGHT_EDGE)) if not match: self._contact_count = 0 return False self._contact_count = \ self.top_edge(col, row).contact_number + \ self.bottom_edge(col, row).contact_number + \ self.left_edge(col, row).contact_number + \ self.right_edge(col, row).contact_number + \ self.top_left_vertex(col, row).contact_number + \ self.top_right_vertex(col, row).contact_number + \ self.bottom_left_vertex(col, row).contact_number + \ self.bottom_right_vertex(col, row).contact_number return self._contact_count > 0 def try_move(self, move): return not self.square_at(move.col, move.row).has_card and \ self.have_adjacent_card(move.col, move.row) and \ self.match(move.col, move.row, move.card) def play_card(self, col, row, card): if not self.square_at(col, row).has_card and \ self.have_adjacent_card(col, row) and \ self.match(col, row, card): self.put_card(col, row, card) card.played = True return True def update_extreme_cards(self, move): if len(self._move_history) == 1: self._most_right_move = move self._most_left_move = move self._top_move = move self._bottom_move = move else: if move.col > self._most_right_move.col: self._most_right_move = move if move.col < self._most_left_move.col: self._most_left_move = move if move.row < self._top_move: # NO using GL coord system self._top_move = move if move.row > self._bottom_move: # NO using GL coord system self._bottom_move = move
[ 201, 198, 6738, 11593, 37443, 834, 1330, 7297, 11, 3601, 62, 8818, 11, 28000, 1098, 62, 17201, 874, 201, 198, 201, 198, 6738, 4566, 1330, 1635, 201, 198, 201, 198, 834, 439, 834, 796, 37250, 13912, 3256, 705, 13414, 16886, 3256, 705, ...
2.014821
4,993
import numpy as np import scipy.stats
[ 11748, 299, 32152, 355, 45941, 198, 11748, 629, 541, 88, 13, 34242, 628, 628 ]
2.928571
14
import pandas as pd import numpy as np LOCAL_DIR = '/tmp/' if __name__ == '__main__': main()
[ 11748, 19798, 292, 355, 279, 67, 198, 11748, 299, 32152, 355, 45941, 198, 198, 29701, 1847, 62, 34720, 796, 31051, 22065, 14, 6, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1388, 3419, ...
2.348837
43
""" Holds an OrgChecker object that runs checks at the organization level (instead of at the item level) """
[ 37811, 198, 39, 10119, 281, 1471, 70, 9787, 263, 2134, 326, 4539, 8794, 379, 262, 4009, 1241, 357, 38070, 286, 379, 262, 2378, 1241, 8, 198, 37811, 628 ]
3.928571
28
#!/usr/bin/python3 from datetime import datetime import sys if __name__ == '__main__': if len(sys.argv): create_blog_post(sys.argv[1]) else: create_blog_post()
[ 2, 48443, 14629, 14, 8800, 14, 29412, 18, 198, 198, 6738, 4818, 8079, 1330, 4818, 8079, 198, 11748, 25064, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 611, 18896, 7, 17597, 13, 853, 85, 25...
2.133333
90
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2017 The Procyon Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Defines names that are no longer available in python3. name py2 meaning py3 meaning ---- ----------- ----------- unicode unicode str long long int xrange xrange range iteritems dict.iteritems dict.items iterkeys dict.iterkeys dict.keys itervalues dict.itervalues dict.values """ try: unicode = unicode repr = (lambda r: lambda x: r(x).decode("utf-8"))(repr) except NameError: unicode = str repr = repr try: long = long except NameError: long = int try: xrange = xrange except NameError: xrange = range iteritems = lambda d: getattr(d, "iteritems", d.items)() iterkeys = lambda d: getattr(d, "iterkeys", d.keys)() itervalues = lambda d: getattr(d, "itervalues", d.values)()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 198, 2, 15069, 2177, 383, 1041, 948, 261, 46665, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 3...
2.724858
527
from allennlp.common import Registrable import torch # Losses = Dict[str, Dict[str, Union[float, Loss]]]
[ 6738, 477, 1697, 34431, 13, 11321, 1330, 13811, 81, 540, 198, 11748, 28034, 628, 198, 2, 22014, 274, 796, 360, 713, 58, 2536, 11, 360, 713, 58, 2536, 11, 4479, 58, 22468, 11, 22014, 11907, 60, 198 ]
2.891892
37
# Form implementation generated from reading ui file 'generator.ui' # # Created by: PyQt6 UI code generator 6.2.2 # # WARNING: Any manual changes made to this file will be lost when pyuic6 is # run again. Do not edit this file unless you know what you are doing. from PyQt6 import QtCore, QtGui, QtWidgets
[ 2, 5178, 7822, 7560, 422, 3555, 334, 72, 2393, 705, 8612, 1352, 13, 9019, 6, 198, 2, 198, 2, 15622, 416, 25, 9485, 48, 83, 21, 12454, 2438, 17301, 718, 13, 17, 13, 17, 198, 2, 198, 2, 39410, 25, 4377, 10107, 2458, 925, 284, 42...
3.263158
95
# Sportradar APIs # Copyright 2018 John W. Miller # See LICENSE for details. from sportradar.api import API
[ 2, 12771, 6335, 283, 23113, 198, 2, 15069, 2864, 1757, 370, 13, 7920, 198, 2, 4091, 38559, 24290, 329, 3307, 13, 198, 198, 6738, 6332, 6335, 283, 13, 15042, 1330, 7824, 628, 198 ]
3.363636
33
import torch import os from torch import Tensor import torch.nn as nn from fairseq import options, utils, checkpoint_utils from fairseq.dataclass import ChoiceEnum, FairseqDataclass from fairseq.models import ( transformer, FairseqLanguageModel, register_model, register_model_architecture, FairseqEncoder, FairseqIncrementalDecoder, BaseFairseqModel,FairseqEncoderDecoderModel ) from rain.layers.rand_pos import PositionalEmbedding from .speech_transformer import SpeechTransformerModelConfig
[ 11748, 28034, 198, 11748, 28686, 198, 6738, 28034, 1330, 309, 22854, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 6738, 3148, 41068, 1330, 3689, 11, 3384, 4487, 11, 26954, 62, 26791, 198, 6738, 3148, 41068, 13, 19608, 330, 31172, 13...
3.299363
157
from .ensembl import Ensembl from .util import is_ensembl_id ########## ## Exon ## ########## ########## ## Gene ## ########## ############# ## Protein ## ############# ################# ## Transcripts ## ################# ##################### ## Query functions ## #####################
[ 6738, 764, 1072, 2022, 75, 1330, 2039, 4428, 75, 198, 6738, 764, 22602, 1330, 318, 62, 1072, 2022, 75, 62, 312, 628, 198, 7804, 2235, 198, 2235, 1475, 261, 22492, 198, 7804, 2235, 628, 628, 198, 198, 7804, 2235, 198, 2235, 13005, 22...
3.444444
90
from MiGRIDS.InputHandler.readCsv import readCsv def readAllTimeSeries(inputDict): ''' Cycles through a list of files in the AVEC format and imports them into a single dataframe. :param inputDict: :return: pandas.DataFrame with data from all input files. ''' df = None for i in range(len(inputDict['fileNames'])): print(inputDict['fileNames'][i])# for each data file inputDict['fileName'] = inputDict['fileNames'][i] if i == 0: # read data file into a new dataframe if first iteration df = readCsv(inputDict) else: # otherwise append df2 = readCsv(inputDict) # the new file # get intersection of columns, df2Col = df2.columns dfCol = df.columns dfNewCol = [val for val in dfCol if val in df2Col] # resize dataframes to only contain columns contained in both dataframes df = df[dfNewCol] df2 = df2[dfNewCol] df = df.append(df2) # append df = df.sort_values('DATE') return df
[ 6738, 13756, 10761, 14255, 13, 20560, 25060, 13, 961, 34, 21370, 1330, 1100, 34, 21370, 198, 198, 4299, 1100, 3237, 7575, 27996, 7, 15414, 35, 713, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 5934, 5427, 832, 257, 1351, ...
2.199605
506
import algosdk as ag import pyteal as tl import pytest from algosdk.future.transaction import OnComplete from algosdk.v2client.algod import AlgodClient from algosdk.v2client.models.application_local_state import ApplicationLocalState from algosdk.v2client.models.application_state_schema import ApplicationStateSchema from algoappdev import apps, dryruns, utils from algoappdev.utils import AlgoAppDevError, idx_to_address, to_key_value
[ 11748, 435, 70, 418, 34388, 355, 556, 198, 11748, 12972, 660, 282, 355, 256, 75, 198, 11748, 12972, 9288, 198, 6738, 435, 70, 418, 34388, 13, 37443, 13, 7645, 2673, 1330, 1550, 20988, 198, 6738, 435, 70, 418, 34388, 13, 85, 17, 1636...
3.045752
153
# Copyright (c) 2021 Kemal Kurniawan from typing import Optional import math from einops import rearrange from torch import BoolTensor, Tensor from crf import DepTreeCRF, LinearCRF def compute_ambiguous_arcs_mask( scores: Tensor, threshold: float = 0.95, projective: bool = False, multiroot: bool = True, is_log_marginals: bool = False, ) -> BoolTensor: """If is_log_marginals then scores are assumed to be the log marginals.""" assert scores.dim() == 4 assert 0 <= threshold <= 1 if is_log_marginals: return _compute_ambiguous_arcs_mask_from_log_marginals( scores, threshold, projective, multiroot ) return _compute_ambiguous_arcs_mask(scores, threshold, projective, multiroot)
[ 2, 15069, 357, 66, 8, 33448, 24854, 282, 509, 700, 544, 8149, 198, 198, 6738, 19720, 1330, 32233, 198, 11748, 10688, 198, 198, 6738, 304, 259, 2840, 1330, 37825, 858, 198, 6738, 28034, 1330, 347, 970, 51, 22854, 11, 309, 22854, 198, ...
2.695035
282
from __future__ import unicode_literals from django.db import models from django.contrib.postgres.fields.jsonb import JSONField from django.core.exceptions import ValidationError import datapackage import jsontableschema from ledger.accounts.models import RevisionedMixin, EmailUser from wildlifelicensing.apps.main.models import WildlifeLicenceType, WildlifeLicence, CommunicationsLogEntry
[ 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 7353, 34239, 13, 25747, 13, 17752, 65, 1330, 19449, 15878, 198, 6738, 42625, 142...
3.603604
111
import os import json import logging cwd = os.getcwd() list_enemy = [file for file in os.listdir(cwd) if '.json' in file[-5:]] for enemy in list_enemy: try: with open(cwd + '\\' + enemy, 'r') as f: enemy_txt = f.read() enemy_txt = enemy_txt.replace('offsetx','offsetX').replace('offsety','offsetY').replace('quadcenterx','quadcenterX').replace('quadcentery','quadcenterY').replace('quadcount','quadCount') with open(cwd + '\\' + enemy, 'w+') as f: f.write(enemy_txt) except: print("Error for enemy: ", enemy_txt)
[ 11748, 28686, 198, 11748, 33918, 198, 11748, 18931, 198, 198, 66, 16993, 796, 28686, 13, 1136, 66, 16993, 3419, 198, 198, 4868, 62, 46970, 796, 685, 7753, 329, 2393, 287, 28686, 13, 4868, 15908, 7, 66, 16993, 8, 611, 45302, 17752, 6, ...
2.283019
265
from tvm import testing from tvm from tvm import topi import tvm import numpy as np import torch dim0 = 3 dim1 = 4 dim2 = 1 shape_size1 = [dim0, dim1, dim2] shape_size2 = [dim0, dim1, dim2 * 8] dtype = "float32" cap0 = tvm.te.placeholder(shape_size1, dtype=dtype, name="cap0") cap1 = tvm.te.placeholder(shape_size1, dtype=dtype, name="cap1") cap2 = tvm.te.placeholder(shape_size1, dtype=dtype, name="cap2") cap3 = tvm.te.placeholder(shape_size1, dtype=dtype, name="cap3") cap4 = tvm.te.placeholder(shape_size1, dtype=dtype, name="cap4") cap5 = tvm.te.placeholder(shape_size1, dtype=dtype, name="cap5") cap6 = tvm.te.placeholder(shape_size1, dtype=dtype, name="cap6") cap7 = tvm.te.placeholder(shape_size1, dtype=dtype, name="cap7") cap_list = [cap0, cap1, cap2, cap3, cap4, cap5, cap6, cap7] C = tvm.te.compute(shape_size2, lambda i, j, k: # tvm.tir.Select( tvm.te.if_then_else( k == 0, cap0[i, j, k], tvm.te.if_then_else(k == 1, cap1[i, j, k-1], tvm.te.if_then_else(k == 2, cap2[i, j, k-2], tvm.te.if_then_else(k == 3, cap3[i, j, k-3], tvm.te.if_then_else(k == 4, cap4[i, j, k-4], tvm.te.if_then_else(k == 5, cap5[i, j, k-5], tvm.te.if_then_else(k == 6, cap6[i, j, k-6], cap7[i, j, k-7]))))))), name="concat") dC = tvm.te.placeholder(C.shape, dtype=dtype, name="dC") dcap0, dcap1, dcap2, dcap3, dcap4, dcap5, dcap6, dcap7 = tvm.tg.gradient(C, cap_list, dC) dcap_list = [dcap0, dcap1, dcap2, dcap3, dcap4, dcap5, dcap6, dcap7] s = tvm.te.create_schedule([C.op, dcap0.op, dcap1.op, dcap2.op, dcap3.op, dcap4.op, dcap5.op, dcap6.op, dcap7.op]) print(tvm.lower(s, cap_list + [C, dC] + dcap_list, simple_mode=True)) func = tvm.build(s, cap_list + [C, dC] + dcap_list, target="llvm") cap0_np = np.random.uniform(-10, 10, shape_size1).astype("float32") cap1_np = np.random.uniform(-10, 10, shape_size1).astype("float32") cap2_np = np.random.uniform(-10, 10, shape_size1).astype("float32") cap3_np = np.random.uniform(-10, 10, shape_size1).astype("float32") cap4_np = np.random.uniform(-10, 10, shape_size1).astype("float32") cap5_np = np.random.uniform(-10, 10, shape_size1).astype("float32") cap6_np = np.random.uniform(-10, 10, shape_size1).astype("float32") cap7_np = np.random.uniform(-10, 10, shape_size1).astype("float32") dC_np = np.ones(shape_size2).astype("float32") dcap0_np = np.zeros(shape_size1).astype("float32") dcap1_np = np.zeros(shape_size1).astype("float32") dcap2_np = np.zeros(shape_size1).astype("float32") dcap3_np = np.zeros(shape_size1).astype("float32") dcap4_np = np.zeros(shape_size1).astype("float32") dcap5_np = np.zeros(shape_size1).astype("float32") dcap6_np = np.zeros(shape_size1).astype("float32") dcap7_np = np.zeros(shape_size1).astype("float32") ctx = tvm.context("llvm", 0) cap0_tvm = tvm.nd.array(cap0_np, ctx) cap1_tvm = tvm.nd.array(cap1_np, ctx) cap2_tvm = tvm.nd.array(cap2_np, ctx) cap3_tvm = tvm.nd.array(cap3_np, ctx) cap4_tvm = tvm.nd.array(cap4_np, ctx) cap5_tvm = tvm.nd.array(cap5_np, ctx) cap6_tvm = tvm.nd.array(cap6_np, ctx) cap7_tvm = tvm.nd.array(cap7_np, ctx) C_np = np.zeros(shape_size2, dtype="float32") C_tvm = tvm.nd.array(C_np, ctx) dC_tvm = tvm.nd.array(dC_np, ctx) dcap0_tvm = tvm.nd.array(dcap0_np, ctx) dcap1_tvm = tvm.nd.array(dcap1_np, ctx) dcap2_tvm = tvm.nd.array(dcap2_np, ctx) dcap3_tvm = tvm.nd.array(dcap3_np, ctx) dcap4_tvm = tvm.nd.array(dcap4_np, ctx) dcap5_tvm = tvm.nd.array(dcap5_np, ctx) dcap6_tvm = tvm.nd.array(dcap6_np, ctx) dcap7_tvm = tvm.nd.array(dcap7_np, ctx) func(cap0_tvm, cap1_tvm, cap2_tvm, cap3_tvm, cap4_tvm, cap5_tvm, cap6_tvm, cap7_tvm, C_tvm, dC_tvm, dcap0_tvm, dcap1_tvm, dcap2_tvm, dcap3_tvm, dcap4_tvm, dcap5_tvm, dcap6_tvm, dcap7_tvm) print("dcap0_tvm", dcap0_tvm) # =======> # compare the results with pytorch cap0_torch = torch.tensor(cap0_np, requires_grad=True) cap1_torch = torch.tensor(cap1_np, requires_grad=True) cap2_torch = torch.tensor(cap2_np, requires_grad=True) cap3_torch = torch.tensor(cap3_np, requires_grad=True) cap4_torch = torch.tensor(cap4_np, requires_grad=True) cap5_torch = torch.tensor(cap5_np, requires_grad=True) cap6_torch = torch.tensor(cap6_np, requires_grad=True) cap7_torch = torch.tensor(cap7_np, requires_grad=True) C_torch = torch.cat([cap0_torch, cap1_torch, cap2_torch, cap3_torch, cap4_torch, cap5_torch, cap6_torch, cap7_torch], dim=2) loss = C_torch.sum() loss.backward() print("Pytorch gradient:\n cap0:", cap0_torch.grad.numpy(), "\ncap1:", cap1_torch.grad.numpy()) testing.assert_allclose(dcap0_tvm.asnumpy(), cap0_torch.grad.numpy(), atol=1e-30, rtol=1e-30) testing.assert_allclose(dcap1_tvm.asnumpy(), cap1_torch.grad.numpy(), atol=1e-30, rtol=1e-30) testing.assert_allclose(dcap2_tvm.asnumpy(), cap2_torch.grad.numpy(), atol=1e-30, rtol=1e-30) testing.assert_allclose(dcap3_tvm.asnumpy(), cap3_torch.grad.numpy(), atol=1e-30, rtol=1e-30) testing.assert_allclose(dcap4_tvm.asnumpy(), cap4_torch.grad.numpy(), atol=1e-30, rtol=1e-30) testing.assert_allclose(dcap5_tvm.asnumpy(), cap5_torch.grad.numpy(), atol=1e-30, rtol=1e-30) testing.assert_allclose(dcap6_tvm.asnumpy(), cap6_torch.grad.numpy(), atol=1e-30, rtol=1e-30) testing.assert_allclose(dcap7_tvm.asnumpy(), cap7_torch.grad.numpy(), atol=1e-30, rtol=1e-30) print("Compare with PyTorch success!")
[ 6738, 256, 14761, 1330, 4856, 198, 6738, 256, 14761, 422, 256, 14761, 1330, 1353, 72, 198, 11748, 256, 14761, 198, 11748, 299, 32152, 355, 45941, 220, 198, 11748, 28034, 198, 198, 27740, 15, 796, 513, 198, 27740, 16, 796, 604, 198, 27...
1.949876
2,813
from controle_de_estoque.controllers import controllers if __name__ == "__main__": controllers.principal_controle()
[ 6738, 1246, 293, 62, 2934, 62, 395, 78, 4188, 13, 3642, 36667, 1330, 20624, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 20624, 13, 1050, 1939, 8521, 62, 3642, 18090, 3419, 198 ]
3.025
40
from .connector import websocket_connector, http_connector
[ 6738, 764, 8443, 273, 1330, 2639, 5459, 62, 8443, 273, 11, 2638, 62, 8443, 273, 628 ]
3.75
16
# # PySNMP MIB module CISCO-IETF-PW-FR-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-IETF-PW-FR-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:43:46 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion") DlciNumber, = mibBuilder.importSymbols("CISCO-FRAME-RELAY-MIB", "DlciNumber") CpwVcIndexType, = mibBuilder.importSymbols("CISCO-IETF-PW-TC-MIB", "CpwVcIndexType") ciscoExperiment, = mibBuilder.importSymbols("CISCO-SMI", "ciscoExperiment") InterfaceIndexOrZero, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") MibIdentifier, Counter32, ObjectIdentity, Integer32, TimeTicks, IpAddress, NotificationType, ModuleIdentity, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Gauge32, Unsigned32, iso = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "Counter32", "ObjectIdentity", "Integer32", "TimeTicks", "IpAddress", "NotificationType", "ModuleIdentity", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Gauge32", "Unsigned32", "iso") RowStatus, TextualConvention, StorageType, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "StorageType", "DisplayString") cpwVcFrMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 10, 112)) cpwVcFrMIB.setRevisions(('2003-12-16 00:00',)) if mibBuilder.loadTexts: cpwVcFrMIB.setLastUpdated('200312160000Z') if mibBuilder.loadTexts: cpwVcFrMIB.setOrganization('Cisco Systems, Inc.') cpwVcFrNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 10, 112, 0)) cpwVcFrObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 10, 112, 1)) cpwVcFrConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 10, 112, 2)) cpwVcFrTable = MibTable((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1), ) if mibBuilder.loadTexts: cpwVcFrTable.setStatus('current') cpwVcFrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1), ).setIndexNames((0, "CISCO-IETF-PW-FR-MIB", "cpwVcFrPwVcIndex")) if mibBuilder.loadTexts: cpwVcFrEntry.setStatus('current') cpwVcFrPwVcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1, 1), CpwVcIndexType()) if mibBuilder.loadTexts: cpwVcFrPwVcIndex.setStatus('current') cpwVcFrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrIfIndex.setStatus('current') cpwVcFrDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1, 3), DlciNumber()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrDlci.setStatus('current') cpwVcFrAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrAdminStatus.setStatus('current') cpwVcFrOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2), ("unknown", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cpwVcFrOperStatus.setStatus('current') cpwVcFrPw2FrOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2), ("unknown", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cpwVcFrPw2FrOperStatus.setStatus('current') cpwVcFrRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrRowStatus.setStatus('current') cpwVcFrStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 1, 1, 8), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrStorageType.setStatus('current') cpwVcFrPMTable = MibTable((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2), ) if mibBuilder.loadTexts: cpwVcFrPMTable.setStatus('current') cpwVcFrPMEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2, 1), ).setIndexNames((0, "CISCO-IETF-PW-FR-MIB", "cpwVcFrPMPwVcIndex")) if mibBuilder.loadTexts: cpwVcFrPMEntry.setStatus('current') cpwVcFrPMPwVcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2, 1, 1), CpwVcIndexType()) if mibBuilder.loadTexts: cpwVcFrPMPwVcIndex.setStatus('current') cpwVcFrPMIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrPMIfIndex.setStatus('current') cpwVcFrPMAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrPMAdminStatus.setStatus('current') cpwVcFrPMOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2), ("unknown", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cpwVcFrPMOperStatus.setStatus('current') cpwVcFrPMPw2FrOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2), ("unknown", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cpwVcFrPMPw2FrOperStatus.setStatus('current') cpwVcFrPMRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrPMRowStatus.setStatus('current') cpwVcFrPMStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 10, 112, 1, 2, 1, 7), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cpwVcFrPMStorageType.setStatus('current') cpwVcFrCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 10, 112, 2, 1)) cpwVcFrGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 10, 112, 2, 2)) cpwVcFrFullCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 10, 112, 2, 1, 1)).setObjects(("CISCO-IETF-PW-FR-MIB", "cpwVcFrGroup"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrPMGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cpwVcFrFullCompliance = cpwVcFrFullCompliance.setStatus('current') cpwVcFrReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 10, 112, 2, 1, 2)).setObjects(("CISCO-IETF-PW-FR-MIB", "cpwVcFrGroup"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrPMGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cpwVcFrReadOnlyCompliance = cpwVcFrReadOnlyCompliance.setStatus('current') cpwVcFrGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 10, 112, 2, 2, 1)).setObjects(("CISCO-IETF-PW-FR-MIB", "cpwVcFrIfIndex"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrDlci"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrAdminStatus"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrOperStatus"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrPw2FrOperStatus"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrRowStatus"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrStorageType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cpwVcFrGroup = cpwVcFrGroup.setStatus('current') cpwVcFrPMGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 10, 112, 2, 2, 2)).setObjects(("CISCO-IETF-PW-FR-MIB", "cpwVcFrPMIfIndex"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrPMAdminStatus"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrPMOperStatus"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrPMPw2FrOperStatus"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrPMRowStatus"), ("CISCO-IETF-PW-FR-MIB", "cpwVcFrPMStorageType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cpwVcFrPMGroup = cpwVcFrPMGroup.setStatus('current') mibBuilder.exportSymbols("CISCO-IETF-PW-FR-MIB", cpwVcFrPMStorageType=cpwVcFrPMStorageType, cpwVcFrPMPwVcIndex=cpwVcFrPMPwVcIndex, cpwVcFrGroups=cpwVcFrGroups, cpwVcFrConformance=cpwVcFrConformance, cpwVcFrOperStatus=cpwVcFrOperStatus, cpwVcFrPMAdminStatus=cpwVcFrPMAdminStatus, cpwVcFrIfIndex=cpwVcFrIfIndex, cpwVcFrTable=cpwVcFrTable, cpwVcFrAdminStatus=cpwVcFrAdminStatus, cpwVcFrPMEntry=cpwVcFrPMEntry, cpwVcFrPMRowStatus=cpwVcFrPMRowStatus, cpwVcFrPwVcIndex=cpwVcFrPwVcIndex, cpwVcFrPMPw2FrOperStatus=cpwVcFrPMPw2FrOperStatus, cpwVcFrRowStatus=cpwVcFrRowStatus, cpwVcFrEntry=cpwVcFrEntry, cpwVcFrMIB=cpwVcFrMIB, cpwVcFrObjects=cpwVcFrObjects, cpwVcFrGroup=cpwVcFrGroup, cpwVcFrFullCompliance=cpwVcFrFullCompliance, cpwVcFrCompliances=cpwVcFrCompliances, cpwVcFrReadOnlyCompliance=cpwVcFrReadOnlyCompliance, cpwVcFrPw2FrOperStatus=cpwVcFrPw2FrOperStatus, cpwVcFrPMTable=cpwVcFrPMTable, cpwVcFrPMOperStatus=cpwVcFrPMOperStatus, cpwVcFrDlci=cpwVcFrDlci, cpwVcFrPMGroup=cpwVcFrPMGroup, cpwVcFrNotifications=cpwVcFrNotifications, PYSNMP_MODULE_ID=cpwVcFrMIB, cpwVcFrStorageType=cpwVcFrStorageType, cpwVcFrPMIfIndex=cpwVcFrPMIfIndex)
[ 2, 198, 2, 9485, 15571, 7378, 337, 9865, 8265, 36159, 8220, 12, 40, 22274, 12, 47, 54, 12, 10913, 12, 8895, 33, 357, 4023, 1378, 16184, 76, 489, 8937, 13, 785, 14, 79, 893, 11632, 8, 198, 2, 7054, 45, 13, 16, 2723, 2393, 1378, ...
2.322117
4,101
import sys from os import path from PyQt5 import QtWidgets as qtw from PyQt5 import QtGui as qtg from PyQt5 import QtCore as qtc if __name__ == '__main__': app = qtw.QApplication(sys.argv) # it's required to save a reference to MainWindow. # if it goes out of scope, it will be destroyed. mw = MainWindow() sys.exit(app.exec())
[ 11748, 25064, 198, 6738, 28686, 1330, 3108, 198, 198, 6738, 9485, 48, 83, 20, 1330, 33734, 54, 312, 11407, 355, 10662, 4246, 198, 6738, 9485, 48, 83, 20, 1330, 33734, 8205, 72, 355, 10662, 25297, 198, 6738, 9485, 48, 83, 20, 1330, 3...
2.659091
132
import tools import frameworks
[ 11748, 4899, 198, 11748, 29251, 198 ]
5.166667
6
#!/usr/bin/env python # -*- coding: utf-8 -*- # (soldiers_pack) from data.items import * #---- # . squad_generation metadict_chars = {} #---- # ( ): metadict_chars['Commoner 1 lvl (recruit)'] = { # . # : # 100 100 = 100 , 30 . # 200 100 = 100 . # 500 100 = 100 . 'level':1, 'recruit_selection':True, 'char_class':'Commoner', 'behavior':'Warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':{}, 'equipment_backpack':{}, 'equipment_weapon':{}, } metadict_chars['Commoner 1 lvl (militia javeliner)'] = { # , . . # https://ru.wikipedia.org/wiki/ # https://ru.wikipedia.org/wiki/ # 600 6000 ( 6x6 ). 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Shield':1, 'Dagger':1, 'Javelin':6, }, } metadict_chars['Commoner 2 lvl (militia javeliner-veteran)'] = { # , . # 2 lvl 300 xp (12 ) # -- ( , ). 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Mace':1, 'Javelin':6, }, } metadict_chars['Warrior 3 lvl (militia javeliner-corporal)'] = { # - . 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Javelin':6, }, } metadict_chars['Warrior 4 lvl (militia javeliner-sergeant)'] = { # -. 'level':4, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Javelin':6, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Commoner 1 lvl (militia slinger)'] = { # . . # https://ru.wikipedia.org/wiki/ # , 1 (450 ) ( "" ) 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Shield':1, 'Dagger':1, 'Sling real':1, 'Sling Bullet':10, }, } metadict_chars['Commoner 2 lvl (militia slinger-veteran)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Dagger':1, 'Sling real':1, 'Sling Bullet':10, }, } metadict_chars['Warrior 3 lvl (militia slinger-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Sling real':1, 'Sling Bullet':10, }, } metadict_chars['Warrior 4 lvl (militia slinger-sergeant)'] = { 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Sling real':1, 'Sling Bullet':10, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Commoner 1 lvl (militia bowman)'] = { # . . # (1d4 ) . 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Dagger':1, 'Hunting Bow':1, 'Hunting Arrow':40, }, } metadict_chars['Commoner 2 lvl (militia bowman-veteran)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Dagger':1, 'Hunting Bow':1, 'Hunting Arrow':40, }, } metadict_chars['Warrior 3 lvl (militia bowman-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl (militia bowman-sergeant)'] = { # . , . # -, -. . 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Commoner 1 lvl (militia spearman)'] = { # , "". # https://ru.wikipedia.org/wiki/ 'level':1, 'char_class':'Commoner', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Heavy Shield':1, 'Spear':1, 'Pilum':2, }, } metadict_chars['Commoner 2 lvl (militia spearman-veteran)'] = { # . 'level':2, 'char_class':'Commoner', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Heavy Shield':1, 'Spear':1, 'Pilum':2, }, } metadict_chars['Warrior 3 lvl (militia spearman-corporal)'] = { 'level':3, 'close_order_AI':True, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':4, }, } metadict_chars['Warrior 4 lvl (militia spearman-sergeant)'] = { 'level':4, 'close_order_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':4, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } metadict_chars['Commoner 1 lvl (militia swordsman)'] = { # , . 'level':1, 'char_class':'Commoner', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Hide Armor':1, 'Shield':1, 'Shortsword':1, 'Javelin':2, #'Potion of Heroism':1, #'Potion of Bravery':1, #'Potion of Rage':1, }, } metadict_chars['Commoner 2 lvl (militia swordsman-veteran)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Hide Armor':1, 'Heavy Shield':1, 'Shortsword':1, #'Javelin':2, }, } metadict_chars['Warrior 3 lvl (militia swordsman-corporal)'] = { 'level':3, 'close_order_AI':True, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Fighting_Style_Dueling':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':2, 'Scale Mail':1, 'Heavy Shield':1, 'Longsword':1, #'Javelin':6, }, } metadict_chars['Warrior 4 lvl (militia swordsman-sergeant)'] = { 'level':4, 'close_order_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Dueling':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Half Plate':1, 'Heavy Shield':1, 'Longsword':1, 'Javelin':6, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Commoner 1 lvl (militia crossbowman)'] = { # . 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Padded Armor':1, 'Dagger':1, 'Crossbow, Light':1, 'Crossbow Bolt':40, }, } metadict_chars['Commoner 2 lvl (militia crossbowman-veteran)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Dagger':1, 'Crossbow, Light':1, 'Crossbow Bolt':40, }, } metadict_chars['Warrior 3 lvl (militia crossbowman-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Light':1, 'Crossbow Bolt':40, }, } metadict_chars['Warrior 4 lvl (militia crossbowman-sergeant)'] = { # . , . # -, -. . 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Light':1, 'Crossbow Bolt':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Commoner 1 lvl (militia heavy crossbowman)'] = { # . "" 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Padded Armor':1, 'Dagger':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, } metadict_chars['Commoner 2 lvl (militia heavy crossbowman-veteran)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Dagger':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, } metadict_chars['Warrior 3 lvl (militia heavy crossbowman-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, } metadict_chars['Warrior 4 lvl (militia heavy crossbowman-sergeant)'] = { # . , . # -, -. . 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # ( ) # TODO: , , . # -- 63 ( -- 10.5) # ( , 10 000 ): # 18 -- 2.5% # 16+ -- 22.5% # 14+ -- 40% # 12+ -- 28.7% # 10+ -- 5.8% # <10 -- 0.5% # ( , 10 000 ): # 16+ -- 2.5% # 14+ -- 22% # 12+ -- 47% # 10+ -- 25.7% # <10 -- 2.8% # ( , 10 000 ): # 14+ -- 5% # 12+ -- 35% # 10+ -- 45% # <10 -- 15% # : # 5% +2 AC . # , 35% +1 AC . Scale Mail -- . # ( 10 000 ): # x 5 = (50 , 25 10) # x 10 = (100 , 50 , -10 ) # 95% (STR 12+) 60 . # 85% (STR 8+) 40 . # , -- 19 . metadict_chars['Warrior 1 lvl (achean hoplite)'] = { # . . # 1000 10 000 30 000 . # -- ~3 . -- () # -- "" , . 'level':1, 'char_class':'Warrior', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Javelin':5, }, } metadict_chars['Warrior 2 lvl (achean hoplite-veteran)'] = { # "" 10 . . # 2 lvl 300 xp (12 ) # -- ( ) 'level':2, 'char_class':'Warrior', 'behavior':'elite_warrior', 'hit_dice':'1d8', 'class_features':{ # . -. #'Fighting_Style_Protection':True, 'Fighting_Style_Dueling':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, }, } metadict_chars['Warrior 3 lvl (achean hoplite-corporal)'] = { # . # 3 lvl 300+900=1200 exp (24-48 ) # -- , , . 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Fighting_Style_Protection':True, 'Fighting_Style_Dueling':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, }, } metadict_chars['Warrior 4 lvl (achean hoplite-sergeant)'] = { # 30 . # 4 lvl 300+900+2700 xp (78-156 ) 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Protection':True, 'Fighting_Style_Dueling':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (achean hoplite-lieutenant)'] = { # # , , . # 5 lvl 300+900+2700+6500 xp (208-416 ) 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Protection':True, 'Fighting_Style_Dueling':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # () metadict_chars['Warrior 1 lvl (city pikeman)'] = { # -- , . # , , . # https://ru.wikipedia.org/wiki/ 'level':1, 'char_class':'Warrior-heavy', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Ring Mail':1, 'Shortsword':1, 'Shield':1, 'Pike':1, }, } metadict_chars['Warrior 2 lvl (city pikeman-veteran)'] = { 'level':2, 'char_class':'Warrior-heavy', 'behavior':'elite_warrior', 'hit_dice':'1d8', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Mail':1, 'Shortsword':1, 'Shield':1, 'Pike':1, }, } metadict_chars['Warrior 3 lvl (city pikeman-corporal)'] = { 'level':3, 'char_class':'Warrior-heavy', 'behavior':'elite_warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Chain Mail':1, 'Shortsword':1, 'Shield':1, 'Pike':1, }, } metadict_chars['Warrior 4 lvl (city pikeman-sergeant)'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Half Plate':1, 'Shortsword':1, 'Shield':1, 'Pike':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (city pikeman-lieutenant)'] = { 'level':5, #'close_order_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shortsword':1, 'Shield':1, 'Pike':1, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # -. metadict_chars['Warrior 1 lvl (sqythian bowman)'] = { # , , . , . 'level':1, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Padded Armor':1, 'Dagger':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 2 lvl (sqythian bowman-veteran)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Dagger':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl (sqythian bowman-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Dagger':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl (sqythian bowman-sergeant)'] = { # . , . # -, -. . 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (sqythian bowman-lieutenant)'] = { 'level':5, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # -. metadict_chars['Warrior 1 lvl (persian bowman)'] = { # . 'level':1, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 2 lvl (persian bowman-veteran)'] = { # 10 . . . 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl (persian bowman-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl (persian bowman-sergeant)'] = { # . 30 , . # -, -. . 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (persian bowman-lieutenant)'] = { # . 'level':5, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # , . metadict_chars['Warrior 1 lvl (musketeer line-infantry)'] = { # , / . # , , . 'level':1, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Halberd':1, 'Shortsword':1, 'Muskete, big':1, 'Muskete Bullet, big':14, #'Muskete Bullet, birdshot':14, 'Smoke Grenade':1, }, } metadict_chars['Warrior 2 lvl (musketeer line-infantry-veteran)'] = { 'level':2, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Breastplate, 17 century':1, 'Halberd':1, 'Rapier':1, 'Muskete, big':1, 'Muskete Bullet, big':14, #'Muskete Bullet, birdshot':14, 'Smoke Grenade':1, }, } metadict_chars['Warrior 3 lvl (musketeer line-infantry-corporal)'] = { 'level':3, 'firearm_AI':True, 'sneak_AI':True, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Shielding':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Rapier':1, 'Muskete, Lorenzony':1, 'Muskete Bullet':60, 'Smoke Grenade':2, }, } metadict_chars['Warrior 4 lvl (musketeer line-infantry-sergeant)'] = { 'level':4, 'firearm_AI':True, 'sneak_AI':True, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Rapier':1, 'Muskete, Lorenzony':1, 'Muskete Bullet':60, 'Smoke Grenade':2, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (musketeer line-infantry-lieutenant)'] = { # . 'level':5, 'firearm_AI':True, 'sneak_AI':True, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Rapier':1, 'Muskete, Lorenzony':1, 'Muskete Bullet':60, 'Smoke Grenade':2, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # , . # https://en.wikipedia.org/wiki/Grenadier metadict_chars['Warrior 1 lvl (grenadier line-infantry)'] = { # , , . 'level':1, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, }, } metadict_chars['Warrior 2 lvl (grenadier line-infantry-veteran)'] = { 'level':2, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Blind_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, }, } metadict_chars['Warrior 3 lvl (grenadier line-infantry-corporal)'] = { 'level':3, 'carefull_AI':True, 'grenadier_AI':True, 'sneak_AI':True, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Blind_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, }, } metadict_chars['Warrior 4 lvl (grenadier line-infantry-sergeant)'] = { 'level':4, 'carefull_AI':True, 'grenadier_AI':True, 'sneak_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Blind_Fighting':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (grenadier line-infantry-lieutenant)'] = { # . 'level':5, 'carefull_AI':True, 'grenadier_AI':True, 'sneak_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Blind_Fighting':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # () metadict_chars['Warrior 2 lvl (grenadier line-infantry-veteran) (assault)'] = { 'base_unit':'Warrior 2 lvl (grenadier line-infantry-veteran)', 'char_class':'Warrior-heavy', 'equipment_weapon':{ 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, 'Hand Mortar':1, '2lb Bomb':3, }, } metadict_chars['Warrior 3 lvl (grenadier line-infantry-corporal) (assault)'] = { 'base_unit':'Warrior 3 lvl (grenadier line-infantry-corporal)', 'char_class':'Warrior-heavy', 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, 'Hand Mortar':1, '2lb Bomb':3, }, } metadict_chars['Warrior 4 lvl (grenadier line-infantry-sergeant) (assault)'] = { 'base_unit':'Warrior 4 lvl (grenadier line-infantry-sergeant)', 'char_class':'Warrior-officer', 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, 'Hand Mortar':1, '2lb Bomb':3, }, } metadict_chars['Warrior 5 lvl (grenadier line-infantry-lieutenant) (assault)'] = { 'base_unit':'Warrior 5 lvl (grenadier line-infantry-lieutenant)', 'char_class':'Warrior-officer', 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Message':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, 'Hand Mortar':1, '2lb Bomb':3, }, } #---- # (, ) metadict_chars['Warrior 4 lvl (grenadier line-infantry-sergeant) (stormtrooper)'] = { 'base_unit':'Warrior 4 lvl (grenadier line-infantry-sergeant)', 'grenadier_AI':False, 'char_class':'Warrior-heavy', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mold_Earth'), ('cantrip', 'Mage_Hand'), ('ritual', 'Floating_Disk'), ], }, 'equipment_weapon':{ 'Infusion of Longstrider':1, 'Rune of Absorbtion':1, 'Plate Armor, 17 century':1, 'Sabre':1, 'Heavy Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, '10lb Bomb, mine':1, 'Smoke Grenade':1, }, 'mount_combat':False, 'mount_type':'Tensers Floating Disk', 'equipment_mount':{ '10lb Bomb, mine':50, }, } metadict_chars['Warrior 5 lvl (grenadier line-infantry-lieutenant) (stormtrooper)'] = { 'base_unit':'Warrior 5 lvl (grenadier line-infantry-lieutenant)', 'grenadier_AI':False, 'char_class':'Warrior-heavy', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mold_Earth'), ('cantrip', 'Mage_Hand'), ('ritual', 'Floating_Disk'), ], }, 'equipment_weapon':{ 'Infusion of Longstrider':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Plate Armor, 17 century':1, 'Sabre':1, 'Heavy Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, '10lb Bomb, mine':1, 'Smoke Grenade':1, }, 'mount_combat':False, 'mount_type':'Tensers Floating Disk', 'equipment_mount':{ '10lb Bomb, mine':50, }, } #---- # ( ) metadict_chars['Warrior 1 lvl (bombardier line-infantry)'] = { # . 'level':1, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Halberd':1, 'Pistol':1, 'Muskete Bullet':30, 'Hand Mortar':1, '2lb Bomb':10, 'Smoke Grenade':1, }, } metadict_chars['Warrior 2 lvl (bombardier line-infantry-veteran)'] = { 'level':2, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Blind_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Shielding':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Pistol':1, 'Muskete Bullet':30, 'Hand Mortar':1, '2lb Bomb':10, 'Smoke Grenade':1, }, } metadict_chars['Warrior 3 lvl (bombardier line-infantry-corporal)'] = { 'level':3, 'firearm_AI':True, 'grenadier_AI':True, 'defence_AI':True, 'sneak_AI':True, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Blind_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Shielding':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Mortar':1, '2lb Bomb':10, 'Smoke Grenade':1, }, } metadict_chars['Warrior 4 lvl (bombardier line-infantry-sergeant)'] = { 'level':4, 'firearm_AI':True, 'grenadier_AI':True, 'defence_AI':True, 'sneak_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Blind_Fighting':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Mortar':1, '2lb Bomb':10, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (bombardier line-infantry-lieutenant)'] = { # . 'level':5, 'firearm_AI':True, 'grenadier_AI':True, 'defence_AI':True, 'sneak_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Blind_Fighting':True, 'Feat_Firearms_Expert':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Mortar':1, '2lb Bomb':10, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (bombardier line-infantry-lieutenant) (bomba-san)'] = { # . , AC, . 'base_unit':'Warrior 5 lvl (bombardier line-infantry-lieutenant)', 'class_features':{ 'Extra_Attack':True, 'Fighting_Style_Blind_Fighting':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mold_Earth'), ('cantrip', 'Sword_Burst'), ('ritual', 'Floating_Disk'), ], }, 'equipment_weapon':{ 'Infusion of Longstrider':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Plate Armor, 17 century':1, 'Shield':1, 'Sabre':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'King Bomba-san':1, '2lb Fire-Bomb':10, 'Smoke Grenade':1, }, 'mount_combat':False, 'mount_type':'Tensers Floating Disk', 'equipment_mount':{ '2lb Fire-Bomb':250, }, } metadict_chars['Warrior 5 lvl (bombardier line-infantry-lieutenant) (shaitan-tube)'] = { 'base_unit':'Warrior 5 lvl (bombardier line-infantry-lieutenant)', 'class_features':{ 'Extra_Attack':True, 'Fighting_Style_Blind_Fighting':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mold_Earth'), ('cantrip', 'Sword_Burst'), ('ritual', 'Floating_Disk'), ], }, 'equipment_weapon':{ 'Infusion of Longstrider':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Plate Armor, 17 century':1, 'Shield':1, 'Sabre':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Akbar Shaitan-tube':1, '20lb Fire-Rocket':1, 'Smoke Grenade':1, }, 'mount_combat':False, 'mount_type':'Tensers Floating Disk', 'equipment_mount':{ '20lb Fire-Rocket':25, }, } #---- # ( ) metadict_chars['Warrior 1 lvl (cannoneer artillery)'] = { # . . 'level':1, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Shortsword':1, 'Pistol':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, } metadict_chars['Warrior 2 lvl (cannoneer artillery-veteran)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Shortsword':1, 'Pistol':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, } metadict_chars['Warrior 3 lvl (cannoneer artillery-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Armor':1, 'Shortsword':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, } metadict_chars['Warrior 4 lvl (cannoneer artillery-sergeant)'] = { 'level':4, 'volley_AI':True, 'firearm_AI':True, 'defence_AI':True, 'sneak_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Armor':1, 'Shortsword':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 4 lvl (cannoneer artillery-sergeant) (2lb Falconet)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Armor':1, '2lb Falconet':1, '2lb Ball':100, }, 'mount_combat':True, 'mount_type':'2lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 4 lvl (cannoneer artillery-sergeant) (6lb Cannon)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Armor':1, '6lb Cannon':1, '6lb Bomb':100, #'6lb Ball':100, }, 'mount_combat':True, 'mount_type':'6lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 4 lvl (cannoneer artillery-sergeant) (12lb Cannon, naval)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Armor':1, '12lb Cannon, naval':1, '12lb Bar':100, '12lb Ball':100, }, 'mount_combat':True, 'mount_type':'12lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 4 lvl (cannoneer artillery-sergeant) (24lb Cannon, naval)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Armor':1, '24lb Cannon, naval':1, '24lb Bar':100, '24lb Ball':100, }, 'mount_combat':True, 'mount_type':'24lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 4 lvl (cannoneer artillery-sergeant) (24lb Cannon, naval)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Armor':1, '24lb Cannon, naval':1, '24lb Bar':100, '24lb Ball':100, }, 'mount_combat':True, 'mount_type':'24lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 4 lvl (cannoneer artillery-sergeant) (12lb Mortar)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Armor':1, '12lb Mortar':1, '12lb Bomb':100, }, 'mount_combat':True, 'mount_type':'12lb Mortar, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (cannoneer artillery-lieutenant)'] = { # . 'level':5, 'volley_AI':True, 'firearm_AI':True, 'defence_AI':True, 'sneak_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Shielding':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, 'Shortsword':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # , . metadict_chars['Warrior 2 lvl (cannoneer-veteran)'] = { # . 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Shield':1, 'Shortsword':1, '6lb Cannon':1, '6lb Bomb':100, #'6lb Ball':100, }, 'mount_combat':True, 'mount_type':'6-lb Cannon', 'equipment_mount':{ }, } metadict_chars['Warrior 3 lvl (cannoneer-corporal) (6-lb Cannon)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Shield':1, 'Shortsword':1, '6lb Cannon':1, '6lb Bomb':100, #'6lb Ball':100, }, 'mount_combat':True, 'mount_type':'6-lb Cannon', 'equipment_mount':{ }, } metadict_chars['Warrior 4 lvl (cannoneer-sergeant)'] = { 'level':4, 'volley_AI':True, 'firearm_AI':True, 'sneak_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Shield':1, 'Shortsword':1, }, } #---- # , . metadict_chars['Warrior 4 lvl (healer-sergeant)'] = { # 'level':4, 'char_class':'Warrior-healer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Healer':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Potion of Heroism':1, #'Potion of Antidote':1, 'Rune of Armor':1, 'Rune of Absorbtion':1, 'Shield':1, 'Sabre':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Smoke Grenade':1, 'Healer Kit':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (healer-lieutenant)'] = { 'level':5, 'char_class':'Warrior-healer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Healer':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Potion of Heroism':1, #'Potion of Antidote':1, 'Rune of Armor':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Shield':1, 'Sabre':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Smoke Grenade':1, 'Healer Kit':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # , . # https://en.wikipedia.org/wiki/Fusilier metadict_chars['Warrior 1 lvl (fusilier line-infantry)'] = { # . . 'level':1, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'archer', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Bayonet':1, 'Muskete':1, 'Muskete Bullet':30, #'Smoke Grenade':1, }, } metadict_chars['Warrior 2 lvl (fusilier line-infantry-veteran)'] = { # . . 'level':2, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Bayonet':1, 'Rifle':1, 'Pistol':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, } metadict_chars['Warrior 3 lvl (fusilier line-infantry-corporal)'] = { 'level':3, 'firearm_AI':True, 'carefull_AI':True, 'sneak_AI':True, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Armor':1, 'Clothes, Fine':1, 'Rapier':1, 'Rifle, rapid':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':60, 'Smoke Grenade':1, }, } metadict_chars['Warrior 4 lvl (fusilier line-infantry-sergeant)'] = { 'level':4, 'firearm_AI':True, 'carefull_AI':True, 'sneak_AI':True, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Shielding':1, 'Rune of Armor':1, 'Clothes, Fine':1, 'Rapier':1, 'Rifle, rapid':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':50, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (fusilier line-infantry-lieutenant)'] = { # . 'level':5, 'firearm_AI':True, 'carefull_AI':True, 'sneak_AI':True, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Clothes, Fine':1, 'Rapier':1, 'Rifle, rapid':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':50, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (fusilier line-infantry-lieutenant) (Schwartz Mark)'] = { # . . 'base_unit':'Warrior 5 lvl (fusilier line-infantry-lieutenant)', 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Clothes, Fine':1, 'Rapier':1, 'Rifle, Schwartz Mark':1, 'Muskete Bullet':50, 'Smoke Grenade':1, }, } #---- # () metadict_chars['Warrior 4 lvl (fusilier line-infantry-sergeant) (sniper)'] = { # 'hunter_AI':True, 'base_unit':'Warrior 4 lvl (fusilier line-infantry-sergeant)', 'char_class':'Warrior-bowman', 'equipment_weapon':{ 'Infusion of Longstrider':1, 'Infusion of Climbing':1, 'Studded Leather':1, 'Dagger':1, 'Longbow':1, 'Arrow':60, #'Rifle, Schwartz Mark':1, #'Muskete Bullet':60, 'Smoke Grenade':2, }, } metadict_chars['Warrior 5 lvl (fusilier line-infantry-lieutenant) (sniper)'] = { # 'hunter_AI':True, 'base_unit':'Warrior 5 lvl (fusilier line-infantry-lieutenant)', 'char_class':'Warrior-bowman', 'equipment_weapon':{ 'Infusion of Longstrider':1, 'Infusion of Climbing':1, 'Rune of Message':1, 'Studded Leather':1, 'Dagger':1, 'Longbow':1, 'Arrow':60, #'Rifle, Schwartz Mark':1, #'Muskete Bullet':60, 'Smoke Grenade':2, }, } #---- # , . metadict_chars['Warrior 1 lvl (balear slinger)'] = { 'level':1, 'char_class':'Warrior-bowman', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Hide Armor':1, 'Heavy Shield':1, 'Mace':1, 'Sling real':1, 'Sling Bullet':10, }, } metadict_chars['Warrior 2 lvl (balear slinger-veteran)'] = { 'level':2, 'char_class':'Warrior-bowman', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Protection':True, }, 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Hide Armor':1, 'Heavy Shield':1, 'Mace':1, 'Sling real':1, 'Sling Bullet':10, }, } metadict_chars['Warrior 3 lvl (balear slinger-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Mace':1, 'Sling real':1, 'Sling Bullet':10, }, } metadict_chars['Warrior 4 lvl (balear slinger-sergeant)'] = { 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Heavy Shield':1, 'Mace':1, 'Sling real':1, 'Sling Bullet':10, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (balear slinger-lieutenant)'] = { 'level':5, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Mace':1, 'Sling real':1, 'Sling Bullet':10, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # , . metadict_chars['Warrior 1 lvl (cilician infantry)'] = { # - , . . 'level':1, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 2 lvl (cilician infantry-veteran)'] = { # . . 'level':2, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Two_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Shield':1, 'Rapier':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl (cilician infantry-corporal)'] = { 'level':3, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Two_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Rapier':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl (cilician infantry-sergeant)'] = { 'level':4, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Two_Weapon_Fighting':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Rapier':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (cilician infantry-lieutenant)'] = { 'level':5, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Two_Weapon_Fighting':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shield':1, 'Rapier':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # , . metadict_chars['Warrior 1 lvl (cavalry archer)'] = { # 'level':1, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Padded Armor':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Light Warhorse', 'equipment_mount':{ }, } metadict_chars['Warrior 2 lvl (cavalry archer-veteran)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Light Warhorse', 'equipment_mount':{ }, } metadict_chars['Warrior 3 lvl (cavalry archer-corporal)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ }, } metadict_chars['Warrior 4 lvl (cavalry archer-sergeant)'] = { 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ }, } metadict_chars['Warrior 5 lvl (cavalry archer-lieutenant)'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ }, } #---- # . metadict_chars['Warrior 1 lvl (thracian infantry)'] = { # # , . 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Hide Armor':1, 'Shield':1, 'Shortsword':1, 'Glaive':1, 'Javelin':6, }, } metadict_chars['Warrior 2 lvl (thracian infantry-veteran)'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Hide Armor':1, 'Shield':1, 'Shortsword':1, 'Glaive':1, 'Javelin':6, }, } metadict_chars['Warrior 3 lvl (thracian infantry-corporal)'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Glaive':1, 'Javelin':6, }, } metadict_chars['Warrior 4 lvl (thracian infantry-sergeant)'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Half Plate':1, 'Shield':1, 'Shortsword':1, 'Glaive':1, 'Javelin':6, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } metadict_chars['Warrior 5 lvl (thracian infantry-lieutenant)'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Infusion of Heroism':1, 'Half Plate':1, 'Shield':1, 'Shortsword':1, 'Glaive':1, 'Javelin':6, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # , . metadict_chars['Warrior 1 lvl (celtian infantry)'] = { 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'class_features':{ # , Reckless_Attack -- 2 lvl, . 'Reckless_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Hide Armor':1, 'Heavy Shield':1, 'Longsword':1, 'Javelin':6, }, } metadict_chars['Warrior 2 lvl (celtian infantry-veteran)'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Dueling':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Hide Armor':1, 'Heavy Shield':1, 'Longsword':1, 'Javelin':6, }, } metadict_chars['Warrior 3 lvl (celtian infantry-corporal)'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Dueling':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':2, 'Scale Mail':1, 'Heavy Shield':1, 'Longsword':1, 'Javelin':6, }, } metadict_chars['Warrior 4 lvl (celtian infantry-sergeant)'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Dueling':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Half Plate':1, 'Heavy Shield':1, 'Longsword':1, 'Javelin':6, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (celtian infantry-lieutenant)'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Dueling':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Half Plate':1, 'Heavy Shield':1, 'Longsword':1, 'Javelin':6, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # , : metadict_chars['Warrior 1 lvl (shekelesh infantry)'] = { # . 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Ring Mail':1, 'Shield':1, 'Spear':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 2 lvl (shekelesh infantry-veteran)'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Shield':1, 'Longsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl (shekelesh infantry-corporal)'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Longsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl (shekelesh infantry-sergeant)'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Longsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (shekelesh infantry-lieutenant)'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shield':1, 'Longsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # , metadict_chars['Warrior 1 lvl (legionary infantry-siege)'] = { # , . . 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Greataxe':1, }, } metadict_chars['Warrior 2 lvl (legionary infantry-siege-veteran)'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Greataxe':1, }, } metadict_chars['Warrior 3 lvl (legionary infantry-siege-corporal)'] = { # (, ) 'level':3, 'seeker_AI':True, 'fearless_AI':True, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Greataxe':1, }, } #---- # , ( ) metadict_chars['Warrior 1 lvl (legionary infantry)'] = { # 2 , ( ). 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':6, }, } metadict_chars['Warrior 2 lvl (legionary infantry-veteran)'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':4, }, } metadict_chars['Warrior 3 lvl (legionary infantry-corporal)'] = { # (, ) 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':4, }, } metadict_chars['Warrior 4 lvl (legionary infantry-sergeant)'] = { # 30 , (, ) 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':4, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (legionary infantry-lieutenant)'] = { # , (). 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':4, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # : metadict_chars['Warrior 1 lvl (mercenary heavy-infantry)'] = { # , . 'level':1, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Ring Mail':1, 'Shield':1, 'Glaive':1, }, } metadict_chars['Warrior 2 lvl (mercenary heavy-infantry-veteran)'] = { 'level':2, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Ring Mail':1, 'Shield':1, 'Glaive':1, }, } metadict_chars['Warrior 3 lvl (mercenary heavy-infantry-corporal)'] = { 'level':3, 'char_class':'Warrior-heavy', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Chain Mail':1, 'Shield':1, 'Glaive':1, }, } metadict_chars['Warrior 4 lvl (mercenary heavy-infantry-sergeant)'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Chain Mail':1, 'Shield':1, 'Glaive':1, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } metadict_chars['Warrior 5 lvl (mercenary heavy-infantry-lieutenant)'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Splint Armor':1, 'Shield':1, 'Glaive':1, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # , . metadict_chars['Warrior 2 lvl (siege engineer-apprentice) (trebuchet-light)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Shirt':1, 'Shield':1, 'Shortsword':1, 'Trebuchet, Light':1, 'Sling Bullets (x25)':100, #'Boulder (25 lb)':100, #'Boulder (10 lb)':100, }, 'mount_combat':True, 'mount_type':'Onager', 'equipment_mount':{ }, } metadict_chars['Warrior 2 lvl (siege engineer-apprentice) (trebuchet-heavy)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Shirt':1, 'Shield':1, 'Shortsword':1, 'Trebuchet, Heavy':1, 'Boulder (200 lb)':100, }, 'mount_combat':True, 'mount_type':'Onager', 'equipment_mount':{ }, } metadict_chars['Warrior 2 lvl (siege engineer-apprentice) (ballista-siege)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Shirt':1, 'Shield':1, 'Shortsword':1, 'Ballista, Heavy':1, 'Boulder (50 lb)':100, }, 'mount_combat':True, 'mount_type':'Onager', 'equipment_mount':{ }, } metadict_chars['Warrior 2 lvl (siege engineer-apprentice) (ballista-medium)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Shirt':1, 'Shield':1, 'Shortsword':1, 'Ballista, Medium':1, #'Ballista Bolt (1 lb)':100, 'Ballista Bolt (5 lb)':100, #'Ballista Bolt (25 lb)':100, #'Alchemist\'s Fire (10/25 lb)':100, }, 'mount_combat':True, 'mount_type':'Onager', 'equipment_mount':{ }, } metadict_chars['Warrior 2 lvl (siege engineer-apprentice) (onager-siege)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Shirt':1, 'Shield':1, 'Shortsword':1, 'Onager':1, 'Boulder (50 lb)':100, }, 'mount_combat':True, 'mount_type':'Onager', 'equipment_mount':{ }, } metadict_chars['Warrior 2 lvl (siege engineer-apprentice) (onager-fire)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Shirt':1, 'Shield':1, 'Shortsword':1, 'Onager':1, 'Alchemist\'s Fire (25/50 lb)':10, }, 'mount_combat':True, 'mount_type':'Onager', 'equipment_mount':{ }, } metadict_chars['Warrior 4 lvl (siege engineer-master)'] = { # , . 'level':4, 'volley_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, }, } #---- # metadict_chars['Fighter 1 lvl (legionary sentinel-battler)'] = { # . 'level':1, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ # Feat_Heavy_Armor_Master 1. 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Fighting_Style_Protection':True, 'Second_Wind':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Mail':1, 'Heavy Shield':1, 'Long Spear':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Fighter 2 lvl (legionary sentinel-shieldman)'] = { 'level':2, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Fighting_Style_Protection':True, 'Second_Wind':True, 'Action_Surge':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Chain Mail':1, 'Heavy Shield':1, 'Long Spear':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Fighter 3 lvl (legionary sentinel-mystic)'] = { 'level':3, 'char_class':'Eldritch_Knight', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Fighting_Style_Protection':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Eldritch_Knight':True, 'Weapon_Bond':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Sword_Burst'), ('cantrip', 'Frostbite'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Fog_Cloud'), ], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Splint Armor':1, 'Heavy Shield':1, 'Longsword':1, }, } metadict_chars['Fighter 4 lvl (legionary sentinel-sergeant)'] = { 'level':4, 'no_grappler_AI':True, 'char_class':'Eldritch_Knight', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, 'intelligence':+2, }, 'Fighting_Style_Defence':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Eldritch_Knight':True, 'Weapon_Bond':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Sword_Burst'), ('cantrip', 'Frostbite'), ('1_lvl', 'Shield'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Fog_Cloud'), ], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Splint Armor':1, 'Heavy Shield':1, 'Longsword +1':1, }, } metadict_chars['Fighter 5 lvl (legionary sentinel-lieutenant)'] = { 'level':5, 'no_grappler_AI':True, 'char_class':'Eldritch_Knight', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, 'intelligence':+2, }, 'Fighting_Style_Defence':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Eldritch_Knight':True, 'Weapon_Bond':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Sword_Burst'), ('cantrip', 'Frostbite'), ('1_lvl', 'Shield'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Fog_Cloud'), ], 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Splint Armor':1, 'Heavy Shield':1, 'Longsword +1':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # . metadict_chars['Fighter 1 lvl (legionary slayer-rookie)'] = { 'level':1, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Fighting_Style_Great_Weapon_Fighting':True, 'Second_Wind':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Shield':1, 'Greatsword':1, 'Javelin':6, }, } metadict_chars['Fighter 2 lvl (legionary slayer-flanker)'] = { 'level':2, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Fighting_Style_Great_Weapon_Fighting':True, 'Second_Wind':True, 'Action_Surge':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Chain Mail':1, 'Shield':1, 'Greatsword':1, }, } metadict_chars['Fighter 3 lvl (legionary slayer-champion)'] = { # TODO: - . . # . 'level':3, 'char_class':'Battlemaster', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Fighting_Style_Great_Weapon_Fighting':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Battlemaster':True, 'Combat_Superiority':True, 'Student_of_War':True, 'Parry':True, 'Menacing_Attack':True, 'Precision_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Chain Mail':1, 'Shield':1, 'Greatsword':1, }, } metadict_chars['Fighter 4 lvl (legionary slayer-sergeant)'] = { 'level':4, 'no_grappler_AI':True, 'char_class':'Battlemaster', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Fighting_Style_Great_Weapon_Fighting':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Battlemaster':True, 'Combat_Superiority':True, 'Student_of_War':True, 'Parry':True, 'Menacing_Attack':True, 'Precision_Attack':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Splint Armor':1, 'Shield':1, 'Greatsword':1, }, } metadict_chars['Fighter 5 lvl (legionary slayer-lieutenant)'] = { # Samurai 'level':5, 'no_grappler_AI':True, 'char_class':'Battlemaster', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Fighting_Style_Great_Weapon_Fighting':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Battlemaster':True, 'Combat_Superiority':True, 'Student_of_War':True, 'Parry':True, 'Menacing_Attack':True, 'Precision_Attack':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Splint Armor':1, 'Shield':1, 'Greatsword +1':1, }, } #---- # . metadict_chars['Fighter 1 lvl (legionary horseman)'] = { # . 'level':1, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Fighting_Style_Dueling':True, 'Second_Wind':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Shield':1, 'Lance':1, 'Longsword':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Light Warhorse', 'equipment_mount':{ }, } metadict_chars['Fighter 2 lvl (legionary horseman-veteran)'] = { # . 'level':2, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Fighting_Style_Dueling':True, 'Second_Wind':True, 'Action_Surge':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Chain Mail':1, 'Shield':1, 'Lance':1, 'Longsword':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ }, } metadict_chars['Fighter 3 lvl (legionary horseman-corporal)'] = { 'level':3, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Fighting_Style_Dueling':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Champion':True, 'Champion_Improved_Critical':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Chain Mail':1, 'Shield':1, 'Lance':1, 'Longsword':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Horse Scale Mail':1, }, } metadict_chars['Fighter 4 lvl (legionary horseman-sergeant)'] = { 'level':4, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Fighting_Style_Dueling':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Champion':True, 'Champion_Improved_Critical':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Splint Armor':1, 'Shield':1, 'Lance':1, 'Longsword':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Horse Scale Mail':1, }, } metadict_chars['Fighter 5 lvl (legionary horseman-lieutenant)'] = { 'level':5, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Fighting_Style_Dueling':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Champion':True, 'Champion_Improved_Critical':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Splint Armor':1, 'Shield':1, 'Lance':1, 'Longsword +1':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Horse Scale Mail':1, }, } #---- # : metadict_chars['Monk 1 lvl (city windsong-apprentice)'] = { 'level':1, 'char_class':'Monk', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Defensive_Duelist':True, 'Unarmored_Defense':True, 'Martial_Arts':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Shortsword':1, #'Bolas':6, }, } metadict_chars['Monk 2 lvl (city windsong-gatekeeper)'] = { 'level':2, 'char_class':'Monk', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Defensive_Duelist':True, 'Unarmored_Defense':True, 'Martial_Arts':True, 'Flurry_of_Blows':True, 'Patient_Defense':True, 'Step_of_the_Wind':True, 'Unarmored_Movement':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Shortsword':1, #'Bolas':6, }, } metadict_chars['Monk 3 lvl (city windsong-lorekeeper)'] = { # 'level':3, 'char_class':'Monk', 'hit_dice':'1d8', 'behavior':'commander', 'grappler_AI':True, 'class_features':{ 'Feat_Defensive_Duelist':True, 'Unarmored_Defense':True, 'Martial_Arts':True, 'Flurry_of_Blows':True, 'Patient_Defense':True, 'Step_of_the_Wind':True, 'Unarmored_Movement':True, 'Deflect_Missiles':True, 'Open_Hand_Technique':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, 'Shortsword':1, #'Bolas':6, }, } metadict_chars['Monk 4 lvl (city windsong-oathkeeper)'] = { 'level':4, 'char_class':'Monk', 'hit_dice':'1d8', 'behavior':'commander', 'grappler_AI':True, 'class_features':{ 'Feat_Defensive_Duelist':True, 'Unarmored_Defense':True, 'Martial_Arts':True, 'Flurry_of_Blows':True, 'Patient_Defense':True, 'Step_of_the_Wind':True, 'Unarmored_Movement':True, 'Deflect_Missiles':True, 'Open_Hand_Technique':True, 'Ability_Score_Improvement':{ 'dexterity':+2, }, 'Slow_Fall':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Shortsword':1, #'Bolas':6, }, } metadict_chars['Monk 5 lvl (city windsong-warmonger)'] = { 'level':5, 'char_class':'Monk', 'hit_dice':'1d8', 'behavior':'commander', 'grappler_AI':True, 'class_features':{ # TODO: # : # - Flurry_of_Blows Stunning_Strike ( ) # - ( ) . 'Feat_Defensive_Duelist':True, 'Unarmored_Defense':True, 'Martial_Arts':True, 'Flurry_of_Blows':True, 'Patient_Defense':True, 'Step_of_the_Wind':True, 'Stunning_Strike':True, 'Unarmored_Movement':True, 'Deflect_Missiles':True, 'Open_Hand_Technique':True, 'Ability_Score_Improvement':{ 'dexterity':+2, }, 'Slow_Fall':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Shortsword +1':1, #'Bolas':6, }, } #---- # : metadict_chars['Barbarian 1 lvl (thracian slayer-dogface)'] = { # . 'level':1, 'char_class':'Barbarian', 'hit_dice':'1d12', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Unarmored_Defense':True, 'Rage':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Scale Mail':1, 'Heavy Shield':1, 'Greatsword':1, 'Javelin':6, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Barbarian 2 lvl (thracian slayer-slasher)'] = { 'level':2, 'char_class':'Barbarian', 'hit_dice':'1d12', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Unarmored_Defense':True, 'Rage':True, 'Reckless_Attack':True, 'Danger_Sense':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':2, 'Scale Mail':1, 'Heavy Shield':1, 'Greatsword':1, 'Javelin':6, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Barbarian 3 lvl (thracian slayer-juggernaught)'] = { 'level':3, 'char_class':'Barbarian', 'hit_dice':'1d12', 'behavior':'commander', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Unarmored_Defense':True, 'Rage':True, 'Reckless_Attack':True, 'Danger_Sense':True, 'Primal_Path_Berserker':True, 'Berserker_Frenzy':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Scale Mail':1, 'Heavy Shield':1, 'Greatsword':1, 'Javelin':6, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Barbarian 4 lvl (thracian slayer-thane)'] = { 'level':4, 'no_grappler_AI':True, 'char_class':'Barbarian', 'hit_dice':'1d12', 'behavior':'commander', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Unarmored_Defense':True, 'Rage':True, 'Reckless_Attack':True, 'Danger_Sense':True, 'Primal_Path_Berserker':True, 'Berserker_Frenzy':True, 'Ability_Score_Improvement':{ 'strength':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Half Plate':1, 'Heavy Shield':1, 'Greatsword':1, 'Javelin':6, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Barbarian 5 lvl (thracian slayer-lord)'] = { 'level':5, 'no_grappler_AI':True, 'char_class':'Barbarian', 'hit_dice':'1d12', 'behavior':'commander', 'class_features':{ 'Feat_Great_Weapon_Master':True, 'Unarmored_Defense':True, 'Rage':True, 'Reckless_Attack':True, 'Danger_Sense':True, 'Primal_Path_Berserker':True, 'Berserker_Frenzy':True, 'Ability_Score_Improvement':{ 'strength':+2, }, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Half Plate':1, 'Heavy Shield':1, 'Greatsword +1':1, 'Javelin':6, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # , : metadict_chars['Warlock 1 lvl (otherworld seeker-follower)'] = { 'level':1, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Feat_Elemental_Adept':'fire', 'Feat_Spellsniper':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Thunderclap'), #('cantrip', 'Prestidigitation'), #('1_lvl', 'Charm_Person'), #('1_lvl', 'Arms_of_Hadar'), #('1_lvl', 'Cause_Fear'), #('1_lvl', 'Armor_of_Agathys'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Hex'), # 2d6 , 5x5 : #('1_lvl', 'Arms_of_Hadar'), #('1_lvl', 'Expeditious_Retreat'), #('1_lvl', 'Hellish_Rebuke'), #('1_lvl', 'Witch_Bolt'), ], 'Dark_One\'s_Blessing':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Warlock 2 lvl (otherworld seeker-adept)'] = { 'level':2, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ #'Feat_Elemental_Adept':'fire', 'Feat_Spellsniper':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Thunderclap'), #('1_lvl', 'Charm_Person'), #('1_lvl', 'Protection_from_Evil_and_Good'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Armor_of_Agathys'), ('1_lvl', 'Hex'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Eldritch_Spear':True, #'Invocation_Mask_of_Many_Faces':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Warlock 3 lvl (otherworld seeker-emissary)'] = { 'level':3, 'fireball_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Feat_Elemental_Adept':'fire', 'Feat_Spellsniper':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Thunderclap'), ('cantrip', 'Prestidigitation'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Message'), #('2_lvl', 'Charm_Person'), ('2_lvl', 'Armor_of_Agathys'), ('2_lvl', 'Protection_from_Evil_and_Good'), ('2_lvl', 'Invisibility'), ('2_lvl', 'Shatter'), #('2_lvl', 'Cause_Fear'), #('2_lvl', 'Invisibility'), #('2_lvl', 'Darkness'), # , 300 : #('2_lvl', 'Earthbind'), #('2_lvl', 'Hold_Person'), #('2_lvl', 'Mind_Spike'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Eldritch_Spear':True, 'Pact_Boon':True, 'Pact_of_the_Tome':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Warlock 4 lvl (otherworld seeker-envoy)'] = { 'level':4, 'fireball_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Feat_Elemental_Adept':'fire', 'Feat_Spellsniper':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Thunderclap'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Prestidigitation'), ('cantrip', 'Message'), ('cantrip', 'Mage_Hand'), #('2_lvl', 'Charm_Person'), ('2_lvl', 'Armor_of_Agathys'), ('2_lvl', 'Protection_from_Evil_and_Good'), ('2_lvl', 'Invisibility'), ('2_lvl', 'Shatter'), ('2_lvl', 'Suggestion'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Eldritch_Spear':True, 'Pact_Boon':True, 'Pact_of_the_Tome':True, 'Ability_Score_Improvement':{ 'charisma':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Warlock 5 lvl (otherworld seeker-ascendant)'] = { 'level':5, 'fireball_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Feat_Elemental_Adept':'fire', 'Feat_Spellsniper':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Thunderclap'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Prestidigitation'), ('cantrip', 'Message'), ('cantrip', 'Mage_Hand'), ('ritual', 'Detect_Magic'), ('ritual', 'Identify'), #('3_lvl', 'Charm_Person'), #('3_lvl', 'Armor_of_Agathys'), ('3_lvl', 'Protection_from_Evil_and_Good'), ('3_lvl', 'Invisibility'), ('3_lvl', 'Suggestion'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Fireball'), #('3_lvl', 'Fear'), #('3_lvl', 'Dispel_Magic'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Eldritch_Spear':True, 'Invocation_Book_of_Ancient_Secrets':True, 'Pact_Boon':True, 'Pact_of_the_Tome':True, 'Ability_Score_Improvement':{ 'charisma':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # -: # Snooty metadict_chars['Wizard 2 lvl (city cat-weaver)'] = { 'level':2, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'archer', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Fire_Bolt'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), #('1_lvl', 'Sleep'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ], 'Arcane_Ward':True, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 5 lvl (city cat-seer)'] = { 'level':5, 'fireball_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Fire_Bolt'), ('cantrip', 'Message'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Blur'), ('2_lvl', 'Flaming_Sphere'), ('2_lvl', 'Shatter'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Fear'), #('3_lvl', 'Fireball'), ], 'Arcane_Ward':True, 'Ability_Score_Improvement':{ 'intelligence':+2, }, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # : metadict_chars['Wizard 1 lvl (otherworld mage-disciple)'] = { # 1 lvl -- 6 ( +2 ) # : _ + _ 'level':1, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'archer', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ # Mold_Earth -- , 33 /, 900 /. #('cantrip', 'Create_Bonfire'), #('cantrip', 'Shape_Water'), #('cantrip', 'Mold_Earth'), ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Fire_Bolt'), # 3-4 ( ): #('ritual', 'Comprehend_Languages'), #('ritual', 'Illusory_Script'), #('ritual', 'Floating_Disk'), #('ritual', 'Find_Familiar'), #('ritual', 'Alarm'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Charm_Person'), #('1_lvl', 'Cause_Fear'), #('1_lvl', 'Disguise_Self'), #('1_lvl', 'Mage_Armor'), #('1_lvl', 'Absorb_Elements'), ], }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 2 lvl (otherworld mage-weaver)'] = { # Abjurer 'level':2, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'archer', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Fire_Bolt'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ], 'Arcane_Ward':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 3 lvl (otherworld mage-annalist)'] = { 'level':3, 'fireball_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Fire_Bolt'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), #('ritual', 'Magic_Mouth'), #('ritual', 'Skywrite'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Magic_Missile'), #('2_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Blur'), ('2_lvl', 'Shatter'), #('2_lvl', 'Melfs_Acid_Arrow'), #('2_lvl', 'Continual_Flame'), #('2_lvl', 'Magic_Weapon'), #('2_lvl', 'Alter_Self'), #('2_lvl', 'Levitate'), #('2_lvl', 'Blur'), #('2_lvl', 'Mirror_Image'), #('2_lvl', 'Invisibility'), #('2_lvl', 'See_Invisibility'), #('2_lvl', 'Pyrotechnics'), #('2_lvl', 'Darkvision'), #('2_lvl', 'Darkness'), #('2_lvl', 'Knock'), # (10 , 21 ): #('2_lvl', 'Warding_Wind'), # (10 , 21 ): # https://www.reddit.com/r/dndnext/comments/bv14et/shatter_really_underrated_spell/ #('2_lvl', 'Shatter'), # - (9 , ): #('2_lvl', 'Flaming_Sphere'), #('2_lvl', 'Dust_Devil'), # ( Magic_Missile): #('2_lvl', 'Scorching_Ray'), ], 'Arcane_Ward':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 4 lvl (otherworld mage-savant)'] = { 'level':4, 'fireball_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Fire_Bolt'), ('cantrip', 'Message'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Magic_Missile'), #('2_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Blur'), ('2_lvl', 'Flaming_Sphere'), ('2_lvl', 'Shatter'), ], 'Arcane_Ward':True, 'Ability_Score_Improvement':{ 'intelligence':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 5 lvl (otherworld mage-seer)'] = { 'level':5, 'fireball_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Fire_Bolt'), ('cantrip', 'Message'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Magic_Missile'), #('2_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Blur'), ('2_lvl', 'Flaming_Sphere'), ('2_lvl', 'Shatter'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Fireball'), #('3_lvl', 'Blink'), #('3_lvl', 'Sending'), #('3_lvl', 'Remove_Curse'), #('3_lvl', 'Nondetection'), #('3_lvl', 'Magic_Circle'), #('3_lvl', 'Dispel_Magic'), #('3_lvl', 'Clairvoyance'), #('3_lvl', 'Major_Image'), #('3_lvl', 'Fly'), #('3_lvl', 'Slow'), # Sending , : #('3_lvl', 'Sending'), #('3_lvl', 'Glyph_of_Warding'), # Clairvoyance , : #('3_lvl', 'Clairvoyance'), ], 'Arcane_Ward':True, 'Ability_Score_Improvement':{ 'intelligence':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # : metadict_chars['Bard 1 lvl (otherworld singer-follower)'] = { 'level':1, 'char_class':'Bard', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Inspiring_Leader':True, 'Bardic_Inspiration':True, 'Spellcasting':True, 'Spells':[ # TODO: Faerie_Fire ('cantrip', 'Prestidigitation'), ('cantrip', 'Vicious_Mockery'), #('ritual', 'Comprehend_Languages'), #('ritual', 'Illusory_Script'), #('ritual', 'Unseen_Servant'), #('ritual', 'Detect_Magic'), #('ritual', 'Identify'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Sleep'), # Faerie_Fire , 2x2 , , . ('1_lvl', 'Faerie_Fire'), # Bane , , -1d4 . #('1_lvl', 'Bane'), # _ . #('1_lvl', 'Heroism'), #('1_lvl', 'Disguise_Self'), #('1_lvl', 'Animal_Friendship'), ], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Bard 2 lvl (otherworld singer-stranger)'] = { # TODO: Jack_of_All_Trades 1/2 . 'level':2, 'char_class':'Bard', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Inspiring_Leader':True, 'Bardic_Inspiration':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Vicious_Mockery'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Sleep'), ('1_lvl', 'Faerie_Fire'), ], 'Jack_of_All_Trades':True, 'Song_of_Rest':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Bard 3 lvl (otherworld singer-explorer)'] = { 'level':3, 'char_class':'Bard', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Inspiring_Leader':True, 'Bardic_Inspiration':True, 'Spellcasting':True, 'Spells':[ # TODO: " " # AC. ('cantrip', 'Prestidigitation'), ('cantrip', 'Vicious_Mockery'), ('ritual', 'Unseen_Servant'), #('ritual', 'Magic_Mouth'), #('ritual', 'Animal_Messenger'), #('ritual', 'Locate_Animals_or_Plants'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Sleep'), ('2_lvl', 'Shatter'), ('2_lvl', 'Lesser_Restoration'), #('2_lvl', 'Hold_Person'), #('2_lvl', 'Invisibility'), #('2_lvl', 'Enhance_Ability'), # 20 , , : #('2_lvl', 'Calm_Emotions'), # , : #('2_lvl', 'Heat_Metal'), ], 'Jack_of_All_Trades':True, 'Song_of_Rest':True, 'College_of_Valor':True, 'Expertise':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Bard 4 lvl (otherworld singer-pathfinder)'] = { 'level':4, 'char_class':'Bard', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Inspiring_Leader':True, 'Bardic_Inspiration':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Vicious_Mockery'), ('cantrip', 'Message'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Sleep'), ('2_lvl', 'Shatter'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Calm_Emotions'), ], 'Jack_of_All_Trades':True, 'Song_of_Rest':True, 'College_of_Valor':True, 'Expertise':True, 'Ability_Score_Improvement':{ 'charisma':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Bard 5 lvl (otherworld singer-leader)'] = { 'level':5, 'fireball_AI':True, 'char_class':'Bard', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Inspiring_Leader':True, 'Bardic_Inspiration':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Vicious_Mockery'), ('cantrip', 'Message'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Shatter'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Calm_Emotions'), ('3_lvl', 'Sending'), ('3_lvl', 'Clairvoyance'), #('3_lvl', 'Tongues'), #('3_lvl', 'Nondetection'), #('3_lvl', 'Clairvoyance'), #('3_lvl', 'Dispel_Magic'), #('3_lvl', 'Glyph_of_Warding'), #('3_lvl', 'Speak_with_Dead'), #('3_lvl', 'Speak_with_Plants'), # Hypnotic_Pattern, 6x6 , , . #('3_lvl', 'Hypnotic_Pattern'), # Plant_Growth, 8 , 1/2 , 269 , . # 96 840 , 100 000 -12. # 50-150 . . #('3_lvl', 'Plant_Growth'), ], 'Jack_of_All_Trades':True, 'Song_of_Rest':True, 'College_of_Valor':True, 'Expertise':True, 'Ability_Score_Improvement':{ 'charisma':+2, }, 'Font_of_Inspiration':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shield':1, 'Shortsword':1, 'Shortbow +1':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # -- : metadict_chars['Cleric 1 lvl (war cleric)'] = { 'level':1, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','dexterity'], 'hit_dice':'1d8', #'seeker_AI':True, #'killer_AI':True, 'behavior':'commander', 'class_features':{ 'Feat_Inspiring_Leader':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mend'), ('cantrip', 'Sacred_Flame'), ('cantrip', 'Spare_the_Dying'), #('cantrip', 'Word_of_Radiance'), ('ritual', 'Detect_Poison_and_Disease'), ('ritual', 'Purify_Food_and_Drink'), #('ritual', 'Detect_Magic'), #('1_lvl', 'Healing_Word'), ('1_lvl', 'Bless'), #('1_lvl', 'Cure_Wounds'), ('1_lvl', 'Healing_Word'), #('1_lvl', 'Guiding_Bolt'), #('1_lvl', 'Shield_of_Faith'), ], 'War_Domain':True, 'War_Priest':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Splint Armor':1, 'Shield':1, 'Mace':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # -- : metadict_chars['Cleric 1 lvl (city maatcarian-acolyte)'] = { # , , . 'level':1, 'char_class':'Cleric', 'abilityes_choice':['wisdom','dexterity','constitution','charisma'], 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ # Homebrew: Unarmored_Defense : 'Unarmored_Defense':True, 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Thaumaturgy'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Sacred_Flame'), ('ritual', 'Detect_Poison_and_Disease'), ('ritual', 'Purify_Food_and_Drink'), #('ritual', 'Detect_Magic'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Bless'), #('1_lvl', 'Cure_Wounds'), #('1_lvl', 'Sanctuary'), #('1_lvl', 'Shield_of_Faith'), #('ritual', 'Ceremony'), ], 'Life_Domain':True, 'Disciple_of_Life':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Healer Kit':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 2 lvl (city maatcarian-celebrant)'] = { 'level':2, 'char_class':'Cleric', 'abilityes_choice':['wisdom','dexterity','constitution','charisma'], 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Unarmored_Defense':True, 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Thaumaturgy'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Sacred_Flame'), ('ritual', 'Detect_Poison_and_Disease'), ('ritual', 'Purify_Food_and_Drink'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Sanctuary'), ('1_lvl', 'Bless'), ], 'Life_Domain':True, 'Disciple_of_Life':True, 'Channel_Turn_Undead':True, 'Channel_Preserve_Life':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Healer Kit':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 3 lvl (city maatcarian-augur)'] = { 'level':3, 'fireball_AI':True, 'char_class':'Cleric', 'abilityes_choice':['wisdom','dexterity','constitution','charisma'], 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Unarmored_Defense':True, 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Thaumaturgy'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Sacred_Flame'), ('ritual', 'Augury'), #('ritual', 'Silence'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Healing_Word'), ('1_lvl', 'Sanctuary'), ('2_lvl', 'Gentle_Repose'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Continual_Flame'), #('2_lvl', 'Protection_from_Poison'), #('2_lvl', 'Prayer_of_Healing'), #('2_lvl', 'Spiritual_Weapon'), #('2_lvl', 'Zone_of_Truth'), #('2_lvl', 'Warding_Bond'), #('2_lvl', 'Find_Traps'), ], 'Life_Domain':True, 'Disciple_of_Life':True, 'Channel_Turn_Undead':True, 'Channel_Preserve_Life':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 4 lvl (city maatcarian-arbiter)'] = { 'level':4, 'fireball_AI':True, 'char_class':'Cleric', 'abilityes_choice':['wisdom','dexterity','constitution','charisma'], 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Unarmored_Defense':True, 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Thaumaturgy'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Sacred_Flame'), ('cantrip', 'Guidance'), ('ritual', 'Augury'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Healing_Word'), ('1_lvl', 'Sanctuary'), ('2_lvl', 'Gentle_Repose'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Continual_Flame'), ('2_lvl', 'Zone_of_Truth'), ('2_lvl', 'Find_Traps'), ], 'Life_Domain':True, 'Disciple_of_Life':True, 'Channel_Turn_Undead':True, 'Channel_Preserve_Life':True, 'Ability_Score_Improvement':{ 'wisdom':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Healer Kit':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 5 lvl (city maatcarian-reviver)'] = { 'level':5, 'fireball_AI':True, 'char_class':'Cleric', 'abilityes_choice':['wisdom','dexterity','constitution','charisma'], 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Unarmored_Defense':True, 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Thaumaturgy'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Sacred_Flame'), ('cantrip', 'Guidance'), ('ritual', 'Augury'), #('ritual', 'Water_Walk'), #('ritual', 'Meld_into_Stone'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Healing_Word'), ('3_lvl', 'Healing_Word'), ('1_lvl', 'Sanctuary'), ('2_lvl', 'Gentle_Repose'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Zone_of_Truth'), ('3_lvl', 'Beacon_of_Hope'), ('3_lvl', 'Revivify'), ('3_lvl', 'Sending'), #('3_lvl', 'Remove_Curse'), #('3_lvl', 'Daylight'), #('3_lvl', 'Clairvoyance'), #('3_lvl', 'Mass_Healing_Word'), #('3_lvl', 'Glyph_of_Warding'), #('3_lvl', 'Spirit_Guardians'), #('3_lvl', 'Speak_with_Dead'), #('3_lvl', 'Tongues'), #('3_lvl', 'Sending'), #('3_lvl', 'Dispel_Magic'), ], 'Life_Domain':True, 'Disciple_of_Life':True, 'Channel_Turn_Undead':True, 'Channel_Preserve_Life':True, 'Channel_Destroy_Undead':True, 'Ability_Score_Improvement':{ 'wisdom':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Healer Kit':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # -- : metadict_chars['Cleric 1 lvl (city luminary-acolyte)'] = { # , , . 'level':1, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','dexterity'], 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Resistance'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Word_of_Radiance'), ('cantrip', 'Light'), ('ritual', 'Purify_Food_and_Drink'), #('ritual', 'Detect_Magic'), #('ritual', 'Ceremony'), ('1_lvl', 'Faerie_Fire'), ('1_lvl', 'Burning_Hands'), #('1_lvl', 'Cure_Wounds'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Shield_of_Faith'), ('1_lvl', 'Bless'), #('1_lvl', 'Cure_Wounds'), #('1_lvl', 'Sanctuary'), ], 'Light_Domain':True, 'Warding_Flare':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 2 lvl (city luminary-celebrant)'] = { 'level':2, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','dexterity'], 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Radiance_of_the_Dawn'), ('cantrip', 'Resistance'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Word_of_Radiance'), ('cantrip', 'Light'), ('ritual', 'Ceremony'), ('ritual', 'Purify_Food_and_Drink'), ('1_lvl', 'Faerie_Fire'), ('1_lvl', 'Burning_Hands'), #('1_lvl', 'Cure_Wounds'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Shield_of_Faith'), ('1_lvl', 'Bless'), ], 'Light_Domain':True, 'Warding_Flare':True, 'Channel_Turn_Undead':True, 'Channel_Radiance_of_the_Dawn':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 3 lvl (city luminary-augur)'] = { 'level':3, 'fireball_AI':True, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','dexterity'], 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Radiance_of_the_Dawn'), ('cantrip', 'Resistance'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Word_of_Radiance'), ('cantrip', 'Light'), ('ritual', 'Augury'), #('ritual', 'Silence'), ('1_lvl', 'Faerie_Fire'), ('1_lvl', 'Burning_Hands'), #('2_lvl', 'Scorching_Ray'), #('2_lvl', 'Flaming_Sphere'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Healing_Word'), ('1_lvl', 'Shield_of_Faith'), ('2_lvl', 'Gentle_Repose'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Continual_Flame'), #('2_lvl', 'Protection_from_Poison'), #('2_lvl', 'Prayer_of_Healing'), #('2_lvl', 'Spiritual_Weapon'), #('2_lvl', 'Zone_of_Truth'), #('2_lvl', 'Warding_Bond'), #('2_lvl', 'Find_Traps'), ], 'Light_Domain':True, 'Warding_Flare':True, 'Channel_Turn_Undead':True, 'Channel_Radiance_of_the_Dawn':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 4 lvl (city luminary-arbiter)'] = { 'level':4, 'fireball_AI':True, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','dexterity'], 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Radiance_of_the_Dawn'), ('cantrip', 'Resistance'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Word_of_Radiance'), ('cantrip', 'Thaumaturgy'), ('ritual', 'Augury'), ('1_lvl', 'Faerie_Fire'), ('1_lvl', 'Burning_Hands'), #('2_lvl', 'Scorching_Ray'), #('2_lvl', 'Flaming_Sphere'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Healing_Word'), ('1_lvl', 'Shield_of_Faith'), ('2_lvl', 'Gentle_Repose'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Continual_Flame'), ('2_lvl', 'Zone_of_Truth'), ('2_lvl', 'Find_Traps'), ], 'Light_Domain':True, 'Warding_Flare':True, 'Channel_Turn_Undead':True, 'Channel_Radiance_of_the_Dawn':True, 'Ability_Score_Improvement':{ 'wisdom':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 5 lvl (city luminary-reviver)'] = { 'level':5, 'fireball_AI':True, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','dexterity'], 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Radiance_of_the_Dawn'), ('cantrip', 'Guidance'), ('cantrip', 'Word_of_Radiance'), ('cantrip', 'Spare_the_Dying'), ('cantrip', 'Thaumaturgy'), ('ritual', 'Augury'), #('ritual', 'Water_Walk'), #('ritual', 'Meld_into_Stone'), ('1_lvl', 'Faerie_Fire'), ('1_lvl', 'Burning_Hands'), #('2_lvl', 'Scorching_Ray'), #('2_lvl', 'Flaming_Sphere'), #('3_lvl', 'Daylight'), ('3_lvl', 'Fireball'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Healing_Word'), ('1_lvl', 'Shield_of_Faith'), ('2_lvl', 'Gentle_Repose'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Zone_of_Truth'), ('3_lvl', 'Beacon_of_Hope'), ('3_lvl', 'Revivify'), ('3_lvl', 'Sending'), #('3_lvl', 'Remove_Curse'), #('3_lvl', 'Daylight'), #('3_lvl', 'Clairvoyance'), #('3_lvl', 'Mass_Healing_Word'), #('3_lvl', 'Glyph_of_Warding'), #('3_lvl', 'Spirit_Guardians'), #('3_lvl', 'Speak_with_Dead'), #('3_lvl', 'Tongues'), #('3_lvl', 'Sending'), #('3_lvl', 'Dispel_Magic'), ], 'Light_Domain':True, 'Warding_Flare':True, 'Channel_Turn_Undead':True, 'Channel_Destroy_Undead':True, 'Channel_Radiance_of_the_Dawn':True, 'Ability_Score_Improvement':{ 'wisdom':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword +1':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # -: metadict_chars['Rogue 1 lvl (city cat-nyamo)'] = { 'level':1, 'char_class':'Rogue', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Alert':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':{}, 'equipment_backpack':{}, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Crossbow, Light':1, 'Crossbow Bolt':40, 'Dagger':1, }, } metadict_chars['Rogue 2 lvl (city cat-meow)'] = { 'level':2, 'char_class':'Rogue', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Alert':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, 'Cunning_Action':True, 'Cunning_Action_Defence':True, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':{}, 'equipment_backpack':{}, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, }, } metadict_chars['Rogue 3 lvl (city cat-dodger)'] = { # . , . . # TODO: , , Mage_Hand. 'level':3, 'char_class':'Arcane_Tricker', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'grappler_AI':True, 'class_features':{ 'Feat_Alert':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, 'Cunning_Action':True, 'Cunning_Action_Defence':True, 'Roguish_Archetype_Arcane_Tricker':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mage_Hand'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Message'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Silent_Image'), #('1_lvl', 'Magic_Missile'), ('1_lvl', 'Sleep'), ], 'Mage_Hand_Legerdemain':True, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':{}, 'equipment_backpack':{}, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, }, } metadict_chars['Rogue 4 lvl (city cat-runner)'] = { 'level':4, 'char_class':'Arcane_Tricker', 'hit_dice':'1d8', 'behavior':'commander', 'grappler_AI':True, 'class_features':{ 'Feat_Alert':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, 'Cunning_Action':True, 'Cunning_Action_Defence':True, 'Roguish_Archetype_Arcane_Tricker':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mage_Hand'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Message'), ('ritual', 'Illusory_Script'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Silent_Image'), #('1_lvl', 'Magic_Missile'), ('1_lvl', 'Sleep'), ], 'Mage_Hand_Legerdemain':True, 'Ability_Score_Improvement':{ 'dexterity':+2, }, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':{}, 'equipment_backpack':{}, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Infusion of Claws':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, }, } metadict_chars['Rogue 5 lvl (city cat-mastermind)'] = { 'level':5, #'fireball_AI':True, 'grappler_AI':True, #'no_grappler_AI':True, 'char_class':'Arcane_Tricker', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Alert':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, 'Cunning_Action':True, 'Cunning_Action_Defence':True, 'Roguish_Archetype_Arcane_Tricker':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mage_Hand'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Message'), ('ritual', 'Illusory_Script'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Silent_Image'), #('1_lvl', 'Magic_Missile'), ('1_lvl', 'Shield'), ], 'Mage_Hand_Legerdemain':True, 'Uncanny_Dodge':True, 'Ability_Score_Improvement':{ 'dexterity':+2, }, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':{}, 'equipment_backpack':{}, 'equipment_weapon':{ 'Infusion of Claws':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, }, } #---- # : metadict_chars['Rogue 1 lvl (mercenary phantom-blackeye)'] = { # TODO: . 'level':1, 'char_class':'Rogue', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Sharpshooter':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Rogue 2 lvl (mercenary phantom-hawkeye)'] = { 'level':2, 'char_class':'Rogue', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Sharpshooter':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, 'Cunning_Action':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Rogue 3 lvl (mercenary phantom-deadeye)'] = { 'level':3, 'char_class':'Rogue', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Sharpshooter':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, 'Cunning_Action':True, 'Roguish_Archetype_Assasin':True, 'Assassinate':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Rogue 4 lvl (mercenary phantom-sergeant)'] = { 'level':4, 'char_class':'Rogue', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Sharpshooter':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, 'Cunning_Action':True, 'Roguish_Archetype_Assasin':True, 'Assassinate':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Longbow +1':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Rogue 5 lvl (mercenary phantom-lieutenant)'] = { 'level':5, 'fireball_AI':True, 'char_class':'Rogue', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Sharpshooter':True, 'Expertise':True, 'Sneak_Attack':True, 'Thieves\' Cant':True, 'Cunning_Action':True, 'Roguish_Archetype_Assasin':True, 'Assassinate':True, 'Uncanny_Dodge':True, 'Ability_Score_Improvement':{ 'dexterity':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shield':1, 'Shortsword':1, 'Longbow +1':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # : metadict_chars['Ranger 1 lvl (otherworld wanderer-scout)'] = { 'level':1, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'archer', 'class_features':{ 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans'], 'Natural_Explorer':['forest'], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Ranger 2 lvl (otherworld wanderer-marksman)'] = { 'level':2, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'archer', 'class_features':{ 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans'], 'Natural_Explorer':['forest'], 'Spellcasting':True, 'Spells':[ #('ritual', 'Speak_with_Animals'), #('ritual', 'Detect_Poison_and_Disease'), #('ritual', 'Alarm'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Hail_of_Thorns'), #('1_lvl', 'Fog_Cloud'), #('1_lvl', 'Hunter\'s Mark'), #('1_lvl', 'Ensnaring_Strike'), #('1_lvl', 'Animal_Friendship'), #('1_lvl', 'Cure_Wounds'), #('1_lvl', 'Goodberry'), ], 'Fighting_Style_Archery':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Ranger 3 lvl (otherworld wanderer-hunter)'] = { 'level':3, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans'], 'Natural_Explorer':['forest'], 'Spellcasting':True, 'Spells':[ ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Hail_of_Thorns'), ('1_lvl', 'Fog_Cloud'), ], 'Fighting_Style_Archery':True, 'Primeval_Awareness':True, 'Ranger_Archetype_Hunter':True, 'Hunter_Horde_Breaker':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Ranger 4 lvl (otherworld wanderer-sergeant)'] = { 'level':4, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans'], 'Natural_Explorer':['forest'], 'Spellcasting':True, 'Spells':[ ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Hail_of_Thorns'), ('1_lvl', 'Fog_Cloud'), ], 'Fighting_Style_Archery':True, 'Primeval_Awareness':True, 'Ranger_Archetype_Hunter':True, 'Hunter_Horde_Breaker':True, 'Feat_Mounted_Combatant':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shield':1, 'Shortsword':1, 'Longbow +1':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Ranger 5 lvl (otherworld wanderer-lieutenant)'] = { 'level':5, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans'], 'Natural_Explorer':['forest'], 'Spellcasting':True, 'Spells':[ ('ritual', 'Alarm'), #('ritual', 'Silence'), #('ritual', 'Beast_Sense'), #('ritual', 'Animal_Messenger'), #('ritual', 'Locate_Animals_or_Plants'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Hail_of_Thorns'), ('2_lvl', 'Healing_Spirit'), ('2_lvl', 'Pass_Without_Trace'), #('2_lvl', 'Lesser_Restoration'), #('2_lvl', 'Protection_from_Poison'), #('2_lvl', 'Cordon_of_Arrows'), #('2_lvl', 'Locate_Object'), #('2_lvl', 'Find_Traps'), # , 20- , 10 : # 2d4 . #('2_lvl', 'Spike_Growth'), ], 'Fighting_Style_Archery':True, 'Primeval_Awareness':True, 'Ranger_Archetype_Hunter':True, 'Hunter_Horde_Breaker':True, 'Feat_Mounted_Combatant':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shield':1, 'Shortsword':1, 'Longbow +1':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # : # Gardener, grover, metadict_chars['Druid 1 lvl (otherworld terian-forester)'] = { 'level':1, 'char_class':'Druid', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ # -- _ + _: # Magic_Stone -- . # Goodberry -- 2 = 20 . 20 2 lvl = 600 . #('cantrip', 'Create_Bonfire'), #('cantrip', 'Control_Flames'), #('cantrip', 'Thorn_Whip'), #('cantrip', 'Guidance'), #('cantrip', 'Gust'), ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Magic_Stone'), #('ritual', 'Detect_Magic'), #('ritual', 'Detect_Poison_and_Disease'), #('ritual', 'Purify_Food_and_Drink'), #('ritual', 'Speak_with_Animals'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Entangle'), ('1_lvl', 'Ice_Knife'), #('1_lvl', 'Fog_Cloud'), #('1_lvl', 'Goodberry'), #('1_lvl', 'Charm_Person'), ], 'Druidic_Language':True, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Hide Armor':1, 'Heavy Shield':1, 'Scimitar':1, 'Sling real':1, 'Sling Bullet':10, }, #'mount_combat':True, #'mount_type':'Warhorse', #'equipment_mount':{ # }, } metadict_chars['Druid 2 lvl (otherworld terian-changer)'] = { 'level':2, 'char_class':'Druid', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Magic_Stone'), ('cantrip', 'Shape_Water'), #('ritual', 'Detect_Magic'), #('ritual', 'Detect_Poison_and_Disease'), #('ritual', 'Purify_Food_and_Drink'), #('ritual', 'Speak_with_Animals'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Entangle'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Ice_Knife'), #('1_lvl', 'Goodberry'), #('1_lvl', 'Charm_Person'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Druid_Circle_Forest':True, 'Natural_Recovery':True, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Hide Armor':1, 'Heavy Shield':1, 'Scimitar':1, 'Sling real':1, 'Sling Bullet':10, }, #'mount_combat':True, #'mount_type':'Warhorse', #'equipment_mount':{ # }, } metadict_chars['Druid 3 lvl (otherworld terian-wiseman)'] = { 'level':3, 'fireball_AI':True, 'char_class':'Druid', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Magic_Stone'), ('cantrip', 'Shape_Water'), #('ritual', 'Skywrite'), #('ritual', 'Animal_Messenger'), #('ritual', 'Locate_Animals_or_Plants'), # Speak_with_Animals + Beast_Sense = . ('ritual', 'Speak_with_Animals'), ('ritual', 'Beast_Sense'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Healing_Spirit'), # Moonbeam -- . 5 , ~5 , 2d10 /, . ('2_lvl', 'Moonbeam'), #('2_lvl', 'Find_Traps'), #('2_lvl', 'Earthbind'), #('2_lvl', 'Darkvision'), #('2_lvl', 'Dust_Devil'), #('2_lvl', 'Heat_Metal'), #('2_lvl', 'Gust_of_Wind'), # "Spike_Growth" #('2_lvl', 'Spike_Growth'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Druid_Circle_Forest':True, 'Natural_Recovery':True, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Hide Armor':1, 'Heavy Shield':1, 'Scimitar':1, 'Sling real':1, 'Sling Bullet':10, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Druid 4 lvl (otherworld terian-wonderman)'] = { 'level':4, 'fireball_AI':True, 'char_class':'Druid', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Magic_Stone'), ('cantrip', 'Shape_Water'), ('cantrip', 'Create_Bonfire'), ('ritual', 'Speak_with_Animals'), ('ritual', 'Beast_Sense'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Healing_Spirit'), ('2_lvl', 'Gust_of_Wind'), ('2_lvl', 'Moonbeam'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Druid_Circle_Forest':True, 'Natural_Recovery':True, 'Wild_Shape_Improvement':True, 'Ability_Score_Improvement':{ 'wisdom':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Heavy Shield':1, 'Scimitar':1, 'Sling real':1, 'Sling Bullet':10, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Druid 5 lvl (otherworld terian-loremaster)'] = { 'level':5, 'fireball_AI':True, 'char_class':'Druid', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Magic_Stone'), ('cantrip', 'Shape_Water'), ('cantrip', 'Create_Bonfire'), #('ritual', 'Feign_Death'), #('ritual', 'Meld_into_Stone'), ('ritual', 'Speak_with_Animals'), ('ritual', 'Beast_Sense'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Healing_Spirit'), ('2_lvl', 'Moonbeam'), ('3_lvl', 'Call_Lightning'), ('3_lvl', 'Conjure_Animals'), ('3_lvl', 'Plant_Growth'), #('3_lvl', 'Dispel_Magic'), #('3_lvl', 'Speak_with_Plants'), #('3_lvl', 'Protection_from_Energy'), # : #('3_lvl', 'Sleet_Storm'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Druid_Circle_Forest':True, 'Natural_Recovery':True, 'Wild_Shape_Improvement':True, 'Ability_Score_Improvement':{ 'wisdom':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Heavy Shield':1, 'Scimitar +1':1, 'Sling real':1, 'Sling Bullet':10, }, #'mount_combat':True, #'mount_type':'Warhorse', #'equipment_mount':{ # }, } #---- # : metadict_chars['Sorcerer 1 lvl (otherworld wildfire-novice)'] = { # TODO: +1 hp , Draconic_Scales. # , Burning_Hands . 'level':1, 'char_class':'Sorcerer', 'hit_dice':'1d6', 'behavior':'elite_warrior', 'class_features':{ #'Feat_Inspiring_Leader':True, # . 'Feat_Elemental_Adept':'fire', 'Sorcerous_Origin_Draconic_Bloodline':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Sword_Burst'), #('cantrip', 'Thunderclap'), #('cantrip', 'Acid_Splash'), #('cantrip', 'Fire_Bolt'), ('1_lvl', 'Shield'), ('1_lvl', 'Burning_Hands'), #('1_lvl', 'Absorb_Elements'), #('1_lvl', 'Magic_Missile'), ], }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Draconic_Scales':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Sorcerer 2 lvl (otherworld wildfire-burner)'] = { 'level':2, 'char_class':'Sorcerer', 'hit_dice':'1d6', 'behavior':'elite_warrior', 'class_features':{ #'Feat_Inspiring_Leader':True, 'Feat_Elemental_Adept':'fire', 'Sorcerous_Origin_Draconic_Bloodline':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Sword_Burst'), ('1_lvl', 'Shield'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Absorb_Elements'), #('1_lvl', 'Magic_Missile'), ], 'Font_of_Magic':True, 'Font_of_Magic_Spellslot_1_lvl':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Draconic_Scales':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Sorcerer 3 lvl (otherworld wildfire-enchanter)'] = { 'level':3, 'fireball_AI':True, #'disengage_AI':True, 'char_class':'Sorcerer', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ # TODO: Metamagic_Twinned_Spell . ! #'Feat_Inspiring_Leader':True, 'Feat_Elemental_Adept':'fire', 'Sorcerous_Origin_Draconic_Bloodline':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Sword_Burst'), ('1_lvl', 'Shield'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Flaming_Sphere'), ], 'Font_of_Magic':True, 'Metamagic':True, 'Metamagic_Distant_Spell':True, 'Metamagic_Twinned_Spell':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Draconic_Scales':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Sorcerer 4 lvl (otherworld wildfire-paragon)'] = { 'level':4, 'fireball_AI':True, #'disengage_AI':True, 'char_class':'Sorcerer', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ #'Feat_Inspiring_Leader':True, 'Feat_Elemental_Adept':'fire', 'Sorcerous_Origin_Draconic_Bloodline':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Sword_Burst'), ('cantrip', 'Message'), ('1_lvl', 'Shield'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Flaming_Sphere'), ('2_lvl', 'Mirror_Image'), #('2_lvl', 'Blur'), ], 'Font_of_Magic':True, 'Metamagic':True, 'Metamagic_Distant_Spell':True, 'Metamagic_Twinned_Spell':True, 'Ability_Score_Improvement':{ 'charisma':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Draconic_Scales':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Sorcerer 5 lvl (otherworld wildfire-ravager)'] = { 'level':5, 'fireball_AI':True, #'disengage_AI':True, 'char_class':'Sorcerer', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ #'Feat_Inspiring_Leader':True, 'Feat_Elemental_Adept':'fire', 'Sorcerous_Origin_Draconic_Bloodline':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Sword_Burst'), ('cantrip', 'Message'), ('1_lvl', 'Shield'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Mirror_Image'), #('2_lvl', 'Blur'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Fireball'), ], 'Font_of_Magic':True, 'Metamagic':True, 'Metamagic_Distant_Spell':True, 'Metamagic_Twinned_Spell':True, 'Ability_Score_Improvement':{ 'charisma':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Draconic_Scales':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # (): # Sefet, wersefet, imeyer metadict_chars['Paladin 1 lvl (city sentry-sefet)'] = { 'level':1, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Divine_Sense':True, 'Lay_on_Hands':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Mail':1, 'Shield':1, 'Lance':1, 'Longsword':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Light Warhorse', 'equipment_mount':{ }, } metadict_chars['Paladin 2 lvl (city sentry-weresefet)'] = { 'level':2, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Divine_Sense':True, 'Lay_on_Hands':True, 'Fighting_Style_Defence':True, #'Fighting_Style_Protection':True, 'Divine_Smite':True, 'Spellcasting':True, 'Spells':[ # : Charisma modifier + half your paladin level # 3 . ('1_lvl', 'Divine_Smite'), ('1_lvl', 'Bless'), ('1_lvl', 'Heroism'), ('1_lvl', 'Shield_of_Faith'), #('1_lvl', 'Searing_Smite'), #('1_lvl', 'Thunderous_Smite'), #('1_lvl', 'Protection_from_Evil_and_Good'), ], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Chain Mail':1, 'Shield':1, 'Lance':1, 'Longsword':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ }, } metadict_chars['Paladin 3 lvl (city sentry-imeyer)'] = { # TODO: 3 lvl "Bless" "Channel_Sacred_Weapon" . 12+ # "Feat_Great_Weapon_Master" +10 -5 . 'level':3, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Divine_Sense':True, 'Lay_on_Hands':True, 'Fighting_Style_Defence':True, #'Fighting_Style_Protection':True, 'Divine_Smite':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Sacred_Weapon'), ('1_lvl', 'Divine_Smite'), ('1_lvl', 'Bless'), ('1_lvl', 'Heroism'), ('1_lvl', 'Shield_of_Faith'), ('1_lvl', 'Protection_from_Evil_and_Good'), ('1_lvl', 'Sanctuary'), ], 'Divine_Health':True, 'Oath_of_Devotion':True, 'Channel_Turn_The_Unholy':True, 'Channel_Sacred_Weapon':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Chain Mail':1, 'Shield':1, 'Lance':1, 'Longsword':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Horse Scale Mail':1, }, } metadict_chars['Paladin 4 lvl (city sentry-sergeant)'] = { 'level':4, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Divine_Sense':True, 'Lay_on_Hands':True, 'Fighting_Style_Defence':True, #'Fighting_Style_Protection':True, 'Divine_Smite':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Sacred_Weapon'), ('1_lvl', 'Divine_Smite'), ('1_lvl', 'Bless'), ('1_lvl', 'Heroism'), ('1_lvl', 'Shield_of_Faith'), ('1_lvl', 'Protection_from_Evil_and_Good'), ('1_lvl', 'Sanctuary'), ], 'Divine_Health':True, 'Oath_of_Devotion':True, 'Channel_Turn_The_Unholy':True, 'Channel_Sacred_Weapon':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Splint Armor':1, 'Shield':1, 'Lance':1, 'Longsword':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Horse Scale Mail':1, }, } metadict_chars['Paladin 5 lvl (city sentry-lieutenant)'] = { # , . +12-15 . Bless Sacred_Weapon. 40+ /. 'level':5, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Divine_Sense':True, 'Lay_on_Hands':True, 'Fighting_Style_Defence':True, #'Fighting_Style_Protection':True, 'Divine_Smite':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Sacred_Weapon'), ('1_lvl', 'Divine_Smite'), ('2_lvl', 'Divine_Smite'), ('1_lvl', 'Bless'), ('1_lvl', 'Heroism'), ('1_lvl', 'Shield_of_Faith'), ('1_lvl', 'Protection_from_Evil_and_Good'), ('1_lvl', 'Sanctuary'), ('1_lvl', 'Command'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Zone_of_Truth'), ('2_lvl', 'Find_Steed'), #('2_lvl', 'Aid'), #('2_lvl', 'Branding_Smite'), #('2_lvl', 'Magic_Weapon'), ], 'Divine_Health':True, 'Oath_of_Devotion':True, 'Channel_Turn_The_Unholy':True, 'Channel_Sacred_Weapon':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Splint Armor':1, 'Shield':1, 'Lance':1, 'Longsword +1':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Horse Scale Mail':1, }, } #------------------------------------------------------------------------------- # , Sea Tribes #---- # () (): metadict_chars['Warrior 1 lvl () ()'] = { 'level':1, 'char_class':'Warrior', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Athletics', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Heavy Shield':1, 'Shortsword':1, 'Pike':1, }, } metadict_chars['Warrior 2 lvl () ()'] = { 'level':2, 'char_class':'Warrior', 'behavior':'elite_warrior', 'hit_dice':'1d8', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Athletics', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pike':1, }, } metadict_chars['Warrior 3 lvl () (-)'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Athletics', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Longsword':1, 'Pike':1, }, } metadict_chars['Warrior 4 lvl () ()'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Resistance'), ('cantrip', 'Spare_the_Dying'), ('1_lvl', 'Bless'), ], }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Athletics', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Heavy Shield':1, 'Longsword':1, 'Pike':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl () ()'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Resistance'), ('cantrip', 'Spare_the_Dying'), ('1_lvl', 'Bless'), ], 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Athletics', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Longsword':1, 'Pike':1, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # () (): metadict_chars['Paladin 1 lvl () ()'] = { 'level':1, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Divine_Sense':True, 'Lay_on_Hands':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Athletics', 'Intimidation', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Splint Armor':1, 'Heavy Shield':1, 'Battleaxe':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Paladin 5 lvl () ( II, )'] = { # 5 lvl / / - / - # https://dungeonmaster.ru/PlayerProfiles.aspx?module=9404 'level':5, 'fearless_AI':True, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':18, 'dexterity':10, 'constitution':14, 'intelligence':16, 'wisdom':12, 'charisma':18, }, 'class_features':{ 'Feat_Heavy_Armor_Master':True, 'Divine_Sense':True, 'Lay_on_Hands':True, 'Fighting_Style_Defence':True, 'Divine_Smite':True, 'Spellcasting':True, 'Spells':[ # TODO: Wrathful_Smite. # : 10 = 4 +2 (5/2) +4 ('channel', 'Control_Undead'), ('channel', 'Dreadful_Aspect'), ('ritual', 'Zone_of_Truth'), ('ritual', 'Find_Steed'), ('1_lvl', 'Divine_Smite'), ('2_lvl', 'Divine_Smite'), ('1_lvl', 'Wrathful_Smite'), ('1_lvl', 'Heroism'), ('1_lvl', 'Command'), ('1_lvl', 'Compelled_Duel'), ('1_lvl', 'Hellish_Rebuke)'), ('1_lvl', 'Inflict_Wounds)'), ('2_lvl', 'Crown_of_madness'), ('2_lvl', 'Darkness'), ], 'Divine_Health':True, 'Oathbreaker':True, 'Channel_Control_Undead':True, 'Channel_Dreadful_Aspect':True, 'Feat_Keen_Mind':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ # === Strength 'Athletics', # === Dexterity #'Acrobatics', #'Sleight_of_Hand', #'Stealth', # === Intelligence #'Arcana', #'History', #'Investigation', #'Nature', #'Religion', # === Wisdom #'Animal_Handling', 'Insight', #'Medicine', 'Perception', 'Survival', # === Charisma #'Deception', 'Intimidation', #'Performance', #'Persuasion', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':2, #'Rune of Shielding':1, 'Splint Armor':1, 'Heavy Shield':1, #'Shortsword':1, 'Long Spear +1':1, #'Javelin':4, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Warrior 1 lvl (Vaarsuvius) ( )'] = { # [80/80] [1 lvl] [ , , , 6 ] 320 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Stealth', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':3, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Hide Armor':1, 'Heavy Shield':1, 'Glaive':1, 'Javelin':6, 'Poison Blade':10, }, } metadict_chars['Warrior 2 lvl (Vaarsuvius) ( )'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Stealth', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Infusion of Vitality':1, #'Scale Mail':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, #'Glaive':1, 'Pilum':12, 'Long Spear':1, 'Poison Blade':40, }, } metadict_chars['Warrior 3 lvl (Vaarsuvius) ( )'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Stealth', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, #'Half Plate':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, #'Glaive':1, 'Pilum':12, 'Long Spear':1, 'Poison Blade':40, }, } metadict_chars['Warrior 4 lvl (Vaarsuvius) ( )'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, #'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Stealth', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, #'Half Plate':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, #'Glaive':1, 'Pilum':12, 'Long Spear':1, 'Poison Blade':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (Vaarsuvius) ( )'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, #'Fighting_Style_Defence':True, 'Feat_Alert':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Stealth', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, #'Half Plate':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, #'Glaive':1, 'Pilum':12, 'Long Spear':1, 'Poison Blade':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 7 lvl (Vaarsuvius) ()'] = { # 'level':7, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, #'Fighting_Style_Defence':True, 'Feat_Alert':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Stealth', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, #'Half Plate':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, #'Glaive':1, 'Pilum':12, 'Long Spear':1, 'Poison Blade':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Commoner 1 lvl (Vaarsuvius) ()'] = { 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Spear':1, 'Hunting Bow':1, 'Hunting Arrow':40, }, } metadict_chars['Commoner 2 lvl (Vaarsuvius) (-)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Spear':1, 'Hunting Bow':1, 'Hunting Arrow':40, }, } metadict_chars['Warrior 3 lvl (Vaarsuvius) ( -)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':5, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Dagger':1, 'Shield':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl (Vaarsuvius) ( )'] = { # . 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'fearless_AI':True, 'killer_AI':True, 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':30, 'Infusion of Vitality':1, 'Breastplate':1, 'Dagger':1, 'Shield':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Commoner 1 lvl (Vaarsuvius) ()'] = { 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Hide Armor':1, 'Shield':1, 'Handaxe':1, 'Sling real':1, 'Sling Bullet':10, }, } metadict_chars['Commoner 2 lvl (Vaarsuvius) (-)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Hide Armor':1, 'Shield':1, 'Handaxe':1, 'Sling real':1, 'Sling Bullet':10, }, } metadict_chars['Commoner 1 lvl (Vaarsuvius) ()'] = { 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Commoner 2 lvl (Vaarsuvius) (-)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, } #---- # () (): metadict_chars['Commoner 1 lvl (-)'] = { # 'level':1, 'char_class':'Commoner', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Satyr', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Spear':1, 'Hunting Bow':1, 'Hunting Arrow':40, }, } metadict_chars['Commoner 2 lvl (-)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Satyr', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Spear':1, 'Hunting Bow':1, 'Hunting Arrow':40, }, } metadict_chars['Warrior 3 lvl (-)'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Satyr', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl ( )'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Inspiring_Leader':True, }, 'race':'Satyr', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # () (): metadict_chars['Warrior 1 lvl (Vaarsuvius) ()'] = { # 'level':1, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':1, 'Potion of Antidote':1, 'Leather Armor':1, 'Dagger':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 2 lvl (Vaarsuvius) (-)'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':1, 'Potion of Antidote':1, 'Scale Mail':1, 'Dagger':1, 'Shield':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl (Vaarsuvius) ( )'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':5, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Dagger':1, 'Shield':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl (Vaarsuvius) (-)'] = { 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Dagger':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (Vaarsuvius) (-)'] = { 'level':5, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shield':1, 'Dagger':1, 'Longbow':1, 'Arrow':40, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{}, } #---- # () (): metadict_chars['Druid 2 lvl (Vaarsuvius) ( )'] = { 'level':2, 'char_class':'Druid', 'abilityes_choice':['wisdom','dexterity','constitution','intelligence','charisma','strength'], 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('ritual', 'Speak_with_Animals'), ('1_lvl', 'Goodberry'), #('1_lvl', 'Cure_Wounds'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Entangle'), ('1_lvl', 'Fog_Cloud'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Wild_Shape_Form':'Brown Bear (CR 1)', #'Wild_Shape_Form':'Giant Octopus (CR 1)', 'Druid_Circle_Moon':True, 'Combat_Wild_Shape':True, 'Circle_Forms':True, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'skills':[ 'Nature', 'Animal_Handling', 'Medicine', 'Perception', 'Survival', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':20, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, }, #'mount_combat':True, #'mount_type':'Warhorse', #'equipment_mount':{ # }, } metadict_chars['Druid 2 lvl (Vaarsuvius) ( ) ()'] = { # " ". . . 'level':2, 'seeker_AI':True, 'killer_AI':True, 'changer_AI':True, 'fearless_AI':True, 'char_class':'Druid', 'abilityes':{ 'strength':10, 'dexterity':14, 'constitution':13, 'intelligence':12, 'wisdom':15, 'charisma':12, }, 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('ritual', 'Speak_with_Animals'), ('1_lvl', 'Goodberry'), #('1_lvl', 'Cure_Wounds'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Entangle'), ('1_lvl', 'Fog_Cloud'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Wild_Shape_Form':'Brown Bear (CR 1)', #'Wild_Shape_Form':'Giant Octopus (CR 1)', 'Druid_Circle_Moon':True, 'Combat_Wild_Shape':True, 'Circle_Forms':True, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'skills':[ 'Nature', 'Animal_Handling', 'Medicine', 'Perception', 'Survival', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':20, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, }, #'mount_combat':True, #'mount_type':'Warhorse', #'equipment_mount':{ # }, } metadict_chars['Brass Dragon, (Vaarsuvius) ( )'] = { # # 'level':13, #'Dash_AI':True, 'fearless_AI':True, 'disengage_AI':True, 'recharge_AI':True, #'accurate_AI':True, 'no_grappler_AI':True, 'air_walk':True, 'armor_class_natural':17, 'challenge_rating':'6', 'char_class':'Sorcerer', 'behavior':'commander', 'hitpoints_medial':True, 'class_features':{ 'Extra_Attack':2, 'immunity':['fire'], 'Blindvision':30, 'Darkvision':120, 'Recharge':True, 'Recharge_dice':'1d6', 'Recharge_numbers':[5,6], # : 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), #('cantrip', 'Mold_Earth'), ('ritual', 'Speak_with_Animals'), #('1_lvl', 'Goodberry'), #('1_lvl', 'Cure_Wounds'), #('1_lvl', 'Healing_Word'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Fog_Cloud'), ], 'Druidic_Language':True, 'Wild_Shape':True, #'Wild_Shape_Form':'Brown Bear (CR 1)', #'Wild_Shape_Form':'Giant Octopus (CR 1)', 'Druid_Circle_Moon':True, 'Combat_Wild_Shape':True, 'Circle_Forms':True, }, 'abilityes':{ 'strength':19, 'dexterity':10, 'constitution':17, # : 'intelligence':12, 'wisdom':15, 'charisma':12, }, 'hit_dice':'1d10', 'attacks':{ ('close', 'claws'): { 'attack_mod':7, 'damage_mod':4, 'weapon': False, 'weapon_type':['simple'], 'damage_type':'slashing', 'damage_dice':'2d6', 'attack_range':5, 'attack_type':'close', 'weapon_skills_use': ['simple'], 'attack_mod_type':'strength', 'weapon_of_choice':'claws', }, ('reach', 'bite'): { 'attack_mod':7, 'damage_mod':4, 'weapon': False, 'weapon_type':['simple'], 'damage_type':'piercing', 'damage_dice':'2d10', 'attack_range':10, 'attack_type':'close', 'weapon_skills_use': ['simple'], 'attack_mod_type':'strength', 'weapon_of_choice':'bite' }, ('zone', 'Unconscious'): { 'zone':True, 'debuff':True, 'effect':'sleep', 'effect_timer':100, 'zone_shape':'cone', 'attack_range':30, 'direct_hit':True, 'savethrow':True, 'savethrow_ability':'constitution', 'casting_time':'action', 'spell_save_DC':14, 'recharge': True, 'ammo':1, 'weapon_of_choice':'Unconscious' }, ('zone', 'Fire_Ray'): { 'zone':True, 'accurate':True, 'zone_shape':'ray', 'attack_range':40, 'direct_hit':True, 'savethrow':True, 'savethrow_ability':'dexterity', 'casting_time':'action', 'damage_type':'fire', 'damage_dice':'12d6', 'spell_save_DC':14, 'recharge': True, 'ammo':1, }, }, 'race':'Dragon-big', 'weapon_skill':[], 'armor_skill':[], 'equipment_weapon':{ 'Goodberry':100, 'Potion of Antidote':1, 'Infusion of Regeneration':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, }, 'equipment_backpack':{}, 'equipment_supply':{}, } metadict_chars['Druid 2 lvl (Vaarsuvius) ( ) ()'] = { # " " , 45 , , . 'level':2, 'killer_AI':True, 'changer_AI':True, 'char_class':'Druid', 'abilityes':{ 'strength':12, 'dexterity':17, 'constitution':17, 'intelligence':15, 'wisdom':18, 'charisma':14, }, 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('ritual', 'Speak_with_Animals'), ('1_lvl', 'Goodberry'), #('1_lvl', 'Cure_Wounds'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Entangle'), ('1_lvl', 'Fog_Cloud'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Wild_Shape_Form':'Brown Bear (CR 1)', #'Wild_Shape_Form':'Giant Octopus (CR 1)', 'Druid_Circle_Moon':True, 'Combat_Wild_Shape':True, 'Circle_Forms':True, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'skills':[ 'Nature', 'Animal_Handling', 'Medicine', 'Perception', 'Survival', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':20, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, }, #'mount_combat':True, #'mount_type':'Warhorse', #'equipment_mount':{ # }, } metadict_chars['Druid 7 lvl (Vaarsuvius) ( )'] = { 'level':7, 'changer_AI':True, 'char_class':'Druid', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, #'hitpoints_base':8 + 19, 'abilityes':{ 'strength':10, 'dexterity':14, 'constitution':16, 'intelligence':12, 'wisdom':20, 'charisma':16, }, 'class_features':{ #'Feat_Inspiring_Leader':True, 'Feat_Sharpshooter':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Thorn_Whip'), ('cantrip', 'Shape_Water'), ('ritual', 'Detect_Magic'), ('ritual', 'Speak_with_Animals'), ('ritual', 'Beast_Sense'), ('ritual', 'Water_Breathing'), ('ritual', 'Water_Walk'), ('1_lvl', 'Jump'), ('2_lvl', 'Moonbeam'), ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Flaming_Sphere'), ('3_lvl', 'Call_Lightning'), ('3_lvl', 'Conjure_Animals'), ('3_lvl', 'Dispel_Magic'), #('3_lvl', 'Plant_Growth'), ('4_lvl', 'Polymorph'), ('4_lvl', 'Conjure_Woodlands_Beings'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Wild_Shape_Form':'Giant Elk (CR 2)', #'Wild_Shape_Form':'Brown Bear (CR 1)', #'Wild_Shape_Form':'Giant Octopus (CR 1)', 'Druid_Circle_Moon':True, 'Combat_Wild_Shape':True, 'Wild_Shape_Improvement':True, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'skills':[ # "", " ". # === Intelligence 'Nature', # === Wisdom 'Animal_Handling', #'Insight', 'Medicine', 'Perception', 'Survival', # === Charisma #'Deception', #'Intimidation', #'Performance', 'Persuasion', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Longbow +1':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Warhorse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Fighter 1 lvl (ArbitraryNickname) ()'] = { # , " " . 'level':1, 'char_class':'Battlemaster', 'abilityes_choice':['dexterity','constitution','strength','charisma'], 'hit_dice':'1d10', 'behavior':'archer', 'class_features':{ 'Feat_Sharpshooter':True, 'Fighting_Style_Archery':True, 'Second_Wind':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Perception', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Armor':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Fighter 5 lvl (ArbitraryNickname) ( )'] = { # , 'level':5, 'char_class':'Battlemaster', 'abilityes_choice':['dexterity','constitution','strength','charisma'], 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':12, 'dexterity':20, 'constitution':12, 'intelligence':15, 'wisdom':10, 'charisma':16, }, 'class_features':{ # " " " " # " " " " 'Feat_Sharpshooter':True, 'Fighting_Style_Archery':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Battlemaster':True, 'Combat_Superiority':True, 'Student_of_War':True, #'Commander\'s_Strike':True, #'Maneuvering_Attack':True, 'Parry':True, 'Menacing_Attack':True, 'Precision_Attack':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shield':1, 'Longbow +1':1, 'Scimitar':1, 'Dagger':1, 'Arrow':40, }, } #---- # () ( ): # -- : metadict_chars['Cleric 2 lvl (Vened) ( )'] = { 'level':2, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','charisma'], 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ # Feat_Heavy_Armor_Master, . 'Feat_Inspiring_Leader':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mend'), ('cantrip', 'Sacred_Flame'), ('cantrip', 'Spare_the_Dying'), ('ritual', 'Detect_Poison_and_Disease'), ('ritual', 'Purify_Food_and_Drink'), #('ritual', 'Detect_Magic'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Bless'), ('1_lvl', 'Guiding_Bolt'), #('1_lvl', 'Shield_of_Faith'), ], 'War_Domain':True, 'War_Priest':True, }, 'race':'Human-hero-big', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':10, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Plate Armor':1, 'Heavy Shield':1, 'Long Spear':1, 'Longsword':1, }, # TODO: -- #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 7 lvl (Vened) ( )'] = { 'level':7, 'fireball_AI':True, 'char_class':'Cleric', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, #'hitpoints_base':8 + 18 + 4, 'abilityes':{ 'strength':19, 'dexterity':10, 'constitution':12, 'intelligence':10, 'wisdom':18, 'charisma':18, }, 'class_features':{ # TODO: Channel_Guided_Strike 'Feat_Inspiring_Leader':True, 'Feat_Heavy_Armor_Master':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mend'), ('cantrip', 'Thaumaturgy'), ('cantrip', 'Sacred_Flame'), ('cantrip', 'Spare_the_Dying'), ('ritual', 'Water_Walk'), ('ritual', 'Purify_Food_and_Drink'), ('1_lvl', 'Guiding_Bolt'), #('1_lvl', 'Shield_of_Faith'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Magic_Weapon'), ('2_lvl', 'Spiritual_Weapon'), ('2_lvl', 'Gentle_Repose'), ('2_lvl', 'Zone_of_Truth'), #('3_lvl', 'Spirit_Guardians'), ('3_lvl', 'Crusaders_Mantle'), ('3_lvl', 'Dispel_Magic'), ('3_lvl', 'Revivify'), #('3_lvl', 'Glyph_of_Warding'), ('4_lvl', 'Divination'), ('4_lvl', 'Stone_Shape'), ('4_lvl', 'Freedom_of_Movement'), ('4_lvl', 'Stoneskin'), ], 'War_Domain':True, 'War_Priest':True, 'Channel_Turn_Undead':True, 'Channel_Guided_Strike':True, }, 'race':'Human-hero-big', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':10, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Plate Armor':1, 'Heavy Shield':1, 'Long Spear':1, 'Longsword +1':1, }, # TODO: -- #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () ( ): metadict_chars['Druid 2 lvl (Vened) ( )'] = { 'level':2, 'char_class':'Druid', 'abilityes_choice':['wisdom','strength','constitution','intelligence'], 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ # -- _ + _: ('cantrip', 'Druidcraft'), ('cantrip', 'Thorn_Whip'), ('1_lvl', 'Thunderwave'), ('1_lvl', 'Goodberry'), ('1_lvl', 'Healing_Word'), #('1_lvl', 'Fog_Cloud'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Wild_Shape_Form':'Brown Bear (CR 1)', #'Wild_Shape_Form':'Giant Octopus (CR 1)', 'Druid_Circle_Moon':True, 'Combat_Wild_Shape':True, 'Circle_Forms':True, }, 'race':'Human-hero-big', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':10, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Plate Armor':1, 'Heavy Shield':1, 'Longsword':1, 'Long Spear':1, }, # TODO: -- #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Druid 7 lvl (Vened) ( )'] = { 'level':7, 'fireball_AI':True, 'char_class':'Druid', 'abilityes_choice':['wisdom','strength','constitution','intelligence'], 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':20, 'dexterity':10, 'constitution':12, 'intelligence':18, 'wisdom':18, 'charisma':10, }, 'class_features':{ 'Feat_Healer':True, 'Feat_Heavy_Armor_Master':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Thorn_Whip'), ('cantrip', 'Mend'), ('cantrip', 'Druidcraft'), #('ritual', 'Speak_with_Animals'), #('ritual', 'Water_Breathing'), ('ritual', 'Water_Walk'), ('1_lvl', 'Thunderwave'), ('1_lvl', 'Goodberry'), #('1_lvl', 'Cure_Wounds'), ('1_lvl', 'Healing_Word'), ('2_lvl', 'Heat_Metal'), ('2_lvl', 'Flame_Blade'), ('2_lvl', 'Spike_Growth'), ('3_lvl', 'Dispel_Magic'), ('3_lvl', 'Wind_Wall'), ('3_lvl', 'Conjure_Animals'), ('4_lvl', 'Conjure_Woodlands_Beings'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Wild_Shape_Form':'Brown Bear (CR 1)', #'Wild_Shape_Form':'Giant Octopus (CR 1)', 'Druid_Circle_Moon':True, 'Combat_Wild_Shape':True, 'Wild_Shape_Improvement':True, }, 'race':'Human-hero-big', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':10, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Absorbtion':1, 'Plate Armor':1, 'Heavy Shield':1, 'Longsword +1':1, 'Long Spear':1, }, # TODO: -- #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () ( ): metadict_chars['Warrior 1 lvl (Vened) ( )'] = { 'level':1, 'char_class':'Warrior', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':1, 'Potion of Bravery':1, 'Potion of Antidote':1, 'Chain Shirt':1, 'Shortsword':1, 'Heavy Shield':1, 'Pike':1, }, } metadict_chars['Warrior 2 lvl (Vened) ( )'] = { 'level':2, 'char_class':'Warrior', 'behavior':'elite_warrior', 'hit_dice':'1d8', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # : 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of False Life':1, 'Infusion of Vitality':1, 'Scale Mail':1, 'Shortsword':1, 'Heavy Shield':1, #'Pike':1, 'Long Spear':1, }, } metadict_chars['Warrior 3 lvl (Vened) ( )'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of False Life':1, 'Infusion of Vitality':1, 'Half Plate':1, 'Shortsword':1, 'Heavy Shield':1, #'Pike':1, 'Long Spear':1, }, } metadict_chars['Warrior 4 lvl (Vened) ( )'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of False Life':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Half Plate':1, 'Shortsword':1, 'Heavy Shield':1, #'Pike':1, 'Long Spear':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (Vened) ( )'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shortsword':1, 'Heavy Shield':1, #'Pike':1, 'Long Spear':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () ( ): metadict_chars['Cleric 2 lvl (Mordodrukow) ( ) ()'] = { # . 'level':2, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','dexterity'], 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Spellcasting':True, 'Spells':[ ('channel', 'Wrath_of_the_Storm'), ('cantrip', 'Mend'), ('cantrip', 'Sacred_Flame'), ('cantrip', 'Word_of_Radiance'), ('ritual', 'Detect_Magic'), ('1_lvl', 'Create_or_Destroy_Water'), ('1_lvl', 'Thunderwave'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Bless'), #('1_lvl', 'Shield_of_Faith'), ], 'Tempest_Domain':True, 'Wrath_of_the_Storm':True, 'Channel_Destructive_Wrath':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Plate Armor':1, 'Heavy Shield':1, 'Longsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 2 lvl (Mordodrukow) ( ) ()'] = { 'level':2, 'char_class':'Cleric', 'abilityes_choice':['wisdom','strength','constitution','dexterity'], 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Wrath_of_the_Storm'), ('cantrip', 'Mend'), ('cantrip', 'Sacred_Flame'), ('cantrip', 'Spare_the_Dying'), ('ritual', 'Detect_Magic'), ('1_lvl', 'Create_or_Destroy_Water'), ('1_lvl', 'Thunderwave'), ('1_lvl', 'Healing_Word'), #('1_lvl', 'Bless'), ('1_lvl', 'Shield_of_Faith'), ], 'Tempest_Domain':True, 'Wrath_of_the_Storm':True, 'Channel_Destructive_Wrath':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Plate Armor':1, 'Heavy Shield':1, 'Longsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Fighter 2 lvl (Mordodrukow) ( )'] = { 'level':2, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Fighting_Style_Defence':True, 'Second_Wind':True, 'Action_Surge':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Plate Armor':1, 'Heavy Shield':1, 'Longsword':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Fighter 2 lvl (Mordodrukow) ( )'] = { 'level':2, 'archer_AI':True, 'char_class':'Battlemaster', 'abilityes_choice':['dexterity','constitution','strength'], 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Sharpshooter':True, 'Fighting_Style_Archery':True, 'Second_Wind':True, 'Action_Surge':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Perception', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Half Plate':1, 'Shield':1, 'Scimitar':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Fighter 7 lvl (Mordodrukow) ()'] = { # , 'level':7, 'killer_AI':True, 'archer_AI':True, 'commando_AI':True, 'squad_advantage':True, 'char_class':'Battlemaster', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':13, 'dexterity':20, 'constitution':18, 'intelligence':10, 'wisdom':18, 'charisma':10, }, 'class_features':{ # TODO: Menacing_Attack. 'Feat_Resilient':'dexterity', 'Feat_Sharpshooter':True, 'Fighting_Style_Archery':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Battlemaster':True, 'Combat_Superiority':True, 'Student_of_War':True, 'Parry':True, 'Menacing_Attack':True, 'Precision_Attack':True, 'Extra_Attack':True, 'Spellcasting':True, 'Feat_Magic_Initiate':True, 'Spells':[ ('cantrip', 'Minor_Illusion'), ('cantrip', 'Blade_Ward'), ('1_lvl', 'Hex'), ], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Studded Leather':1, 'Heavy Shield':1, 'Longbow +1':1, 'Scimitar':1, 'Arrow':120, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Cleric 7 lvl (Mordodrukow) ( )'] = { 'level':7, 'killer_AI':True, 'commando_AI':True, 'fireball_AI':True, 'squad_advantage':True, 'char_class':'Cleric', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':18, 'dexterity':10, 'constitution':20, 'intelligence':10, 'wisdom':18, 'charisma':14, }, 'class_features':{ 'Feat_Resilient':'constitution', 'Spellcasting':True, 'Spells':[ ('channel', 'Wrath_of_the_Storm'), ('cantrip', 'Guidance'), ('cantrip', 'Thaumaturgy'), ('cantrip', 'Sacred_Flame'), ('cantrip', 'Word_of_Radiance'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Thunderwave'), ('2_lvl', 'Gust_of_Wind'), ('2_lvl', 'Shatter'), ('2_lvl', 'Aid'), ('2_lvl', 'Hold_Person'), ('2_lvl', 'Spiritual_Weapon'), ('2_lvl', 'Warding_Bond'), #('3_lvl', 'Call_Lightning'), ('3_lvl', 'Sleet_Storm'), ('3_lvl', 'Clairvoyance'), ('3_lvl', 'Dispel_Magic'), ('3_lvl', 'Sending'), ('3_lvl', 'Spirit_Guardians'), ('3_lvl', 'Water_Walk'), ('4_lvl', 'Ice_Storm'), ('4_lvl', 'Control_Water'), ('4_lvl', 'Divination'), ('4_lvl', 'Stone_Shape'), ], 'Tempest_Domain':True, 'Wrath_of_the_Storm':True, 'Channel_Turn_Undead':True, 'Channel_Destructive_Wrath':True, 'Feat_Heavy_Armor_Master':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ # === Strength 'Athletics', # === Intelligence 'Religion', # === Wisdom 'Insight', 'Medicine', 'Perception', # === Charisma 'Persuasion', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # TODO: +1, . #'Infusion of Vitality':1, 'Potion of Antidote':1, 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Plate Armor':1, 'Heavy Shield':1, 'Longsword +1':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Warrior 1 lvl (Mordodrukow) ( )'] = { 'level':1, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Studded Leather':1, 'Dagger':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 2 lvl (Mordodrukow) ( )'] = { 'level':2, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Studded Leather':1, 'Dagger':1, 'Shield':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl (Mordodrukow) ( )'] = { 'level':3, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Scimitar':1, 'Shield':1, 'Longbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl (Mordodrukow) ( )'] = { 'level':4, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Absorbtion':1, 'Half Plate':1, 'Shield':1, 'Scimitar':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (Mordodrukow) ( )'] = { 'level':5, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Shield':1, 'Scimitar':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{}, } #---- # () ( ): metadict_chars['Fighter 1 lvl (Katorjnik) ( )'] = { # , . 'level':1, 'char_class':'Fighter', 'abilityes_choice':['strength','charisma','constitution','wisdom'], 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ # Feat_Mounted_Combatant: 'Feat_Inspiring_Leader':True, 'Feat_Mounted_Combatant':True, 'Fighting_Style_Protection':True, 'Second_Wind':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Splint Armor':1, 'Shield':1, 'Longsword':1, 'Lance':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ }, } metadict_chars['Fighter 2 lvl (Katorjnik) ( )'] = { # , . 'level':2, 'char_class':'Fighter', 'abilityes_choice':['strength','charisma','constitution','wisdom'], 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ # Feat_Mounted_Combatant: 'Feat_Inspiring_Leader':True, 'Feat_Mounted_Combatant':True, 'Fighting_Style_Protection':True, 'Second_Wind':True, 'Action_Surge':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Plate Armor':1, 'Heavy Shield':1, 'Longsword':1, 'Lance':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Horse Scale Mail':1, }, } metadict_chars['Fighter 7 lvl (Katorjnik) ( )'] = { 'level':7, 'char_class':'Fighter', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':20, 'dexterity':10, 'constitution':14, 'intelligence':14, 'wisdom':18, 'charisma':16, }, 'class_features':{ 'Feat_Inspiring_Leader':True, 'Feat_Mounted_Combatant':True, 'Fighting_Style_Protection':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Champion':True, 'Champion_Improved_Critical':True, 'Feat_Heavy_Armor_Master':True, 'Extra_Attack':True, 'Remarkable_Athlete':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Infusion of Regeneration':1, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Plate Armor':1, 'Heavy Shield':1, 'Sword of Life-Stealing':1, #'Longsword +1':1, 'Lance':1, 'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Horse Scale Mail':1, }, } #---- # () ( ): metadict_chars['Warrior 1 lvl (Katorjnik) ()'] = { # 2 , ( ). 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Studded Leather':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':7, }, } metadict_chars['Warrior 2 lvl (Katorjnik) () ()'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Chain Shirt':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':7, }, } metadict_chars['Warrior 2 lvl (Katorjnik) ()'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Scale Mail':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':2, }, } metadict_chars['Warrior 3 lvl (Katorjnik) ()'] = { # (, ) 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':7, }, } metadict_chars['Warrior 4 lvl (Katorjnik) ()'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':7, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (Katorjnik) ()'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', #'carefull_AI':True, 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':3, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () ( '): metadict_chars['Ranger 2 lvl (Gogan) ( )'] = { 'level':2, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'archer', 'class_features':{ 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans'], 'Natural_Explorer':['sea'], 'Spellcasting':True, 'Spells':[ ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Hail_of_Thorns'), ], 'Fighting_Style_Archery':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':5, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Infusion of Longstrider':1, 'Rune of Absorbtion':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Ranger 7 lvl (Gogan) ( -)'] = { 'level':7, 'brave_AI':True, 'archer_AI':True, #'killer_AI':True, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':11, 'dexterity':20, 'constitution':14, 'intelligence':14, 'wisdom':16, 'charisma':17, }, 'class_features':{ # TODO: Hunter_Steel_Will -- 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans', 'sea_monsters'], 'Natural_Explorer':['sea', 'coast'], 'Spellcasting':True, 'Spells':[ # TODO: Spike_Growth ('ritual', 'Animal_Messenger'), ('1_lvl', 'Goodberry'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Hail_of_Thorns'), ('2_lvl', 'Pass_Without_Trace'), #('2_lvl', 'Spike_Growth'), ], 'Fighting_Style_Archery':True, 'Primeval_Awareness':True, 'Ranger_Archetype_Hunter':True, 'Hunter_Horde_Breaker':True, 'Hunter_Steel_Will':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':15, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Infusion of Longstrider':1, 'Rune of Shielding':1, 'Studded Leather':1, 'Shield':1, 'Scimitar':1, 'Longbow +1':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # () ( '): metadict_chars['Warrior 1 lvl (Gogan) ( )'] = { 'level':1, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 2 lvl (Gogan) ( -)'] = { 'level':2, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Scale Mail':1, 'Shield':1, 'Rapier':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl (Gogan) ( -)'] = { 'level':3, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Rapier':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 4 lvl (Gogan) ( -)'] = { 'level':4, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Rapier':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (Gogan) ( -)'] = { 'level':5, #'volley_AI':True, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Rapier':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () ('): metadict_chars['Warlock 1 lvl ( \')'] = { 'level':1, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Create_Bonfire'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Hex'), ], 'Dark_One\'s_Blessing':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Horseclaw', 'equipment_mount':{ }, } metadict_chars['Warlock 5 lvl (\')'] = { # : Invocation_Mask_of_Many_Faces # : Feat_Elemental_Adept 'level':5, 'fireball_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':10, 'dexterity':18, 'constitution':14, 'intelligence':16, 'wisdom':8, 'charisma':18, }, 'class_features':{ 'Feat_Mounted_Combatant':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ # Unseen_Servant . . # Burning_Hands . # TODO: Green_Flame_Blade. ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Minor_Illusion'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('3_lvl', 'Burning_Hands'), ('3_lvl', 'Invisibility'), ('3_lvl', 'Suggestion'), ('3_lvl', 'Earthbind'), ('3_lvl', 'Fireball'), ('3_lvl', 'Fly'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Eldritch_Spear':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Mask_of_Many_Faces':True, 'Pact_Boon':True, 'Pact_of_the_Blade':True, 'Feat_Elemental_Adept':'fire', }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # -: # , +1. 'Goodberry':30, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shortsword +1':1, 'Shortbow +1':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Horseclaw', 'equipment_mount':{ }, } #---- # () ('): metadict_chars['Warlock 1 lvl ( \')'] = { 'level':1, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Create_Bonfire'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Hex'), ], 'Dark_One\'s_Blessing':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Horseclaw', 'equipment_mount':{ }, } metadict_chars['Warlock 5 lvl (\')'] = { # : Invocation_Eldritch_Spear. # : Feat_Inspiring_Leader. # Dancing_Lights Message. 'level':5, 'fireball_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':10, 'dexterity':16, 'constitution':12, 'intelligence':14, 'wisdom':16, 'charisma':18, }, 'class_features':{ 'Feat_Mounted_Combatant':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Prestidigitation'), ('cantrip', 'Dancing_Lights'), ('cantrip', 'Message'), ('ritual', 'Detect_Magic'), ('ritual', 'Identify'), ('3_lvl', 'Charm_Person'), ('3_lvl', 'Hex'), ('3_lvl', 'Burning_Hands'), ('3_lvl', 'Summon_Lesser_Demons'), ('3_lvl', 'Fly'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Eldritch_Spear':True, 'Invocation_Book_of_Ancient_Secrets':True, 'Pact_Boon':True, 'Pact_of_the_Tome':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':30, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, 'Shortbow +1':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Horseclaw', 'equipment_mount':{ }, } #---- # () (): metadict_chars['Ranger 1 lvl ( )'] = { 'level':1, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'archer', 'class_features':{ 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans'], 'Natural_Explorer':['forest'], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Ranger 5 lvl ( -)'] = { 'level':5, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':18, 'dexterity':18, 'constitution':16, 'intelligence':8, 'wisdom':12, 'charisma':14, }, 'class_features':{ 'Feat_Sharpshooter':True, 'Favored_Enemy':['humans'], 'Natural_Explorer':['forest'], 'Spellcasting':True, 'Spells':[ ('ritual', 'Animal_Messenger'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Find_Traps'), ('2_lvl', 'Spike_Growth'), ], 'Fighting_Style_Archery':True, 'Primeval_Awareness':True, 'Ranger_Archetype_Hunter':True, 'Hunter_Horde_Breaker':True, 'Feat_Great_Weapon_Master':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Longbow +1':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Paladin 1 lvl ( )'] = { 'level':1, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Tough':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Divine_Sense':True, 'Lay_on_Hands':True, }, 'race':'Human-hero-big', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Splint Armor':1, 'Heavy Shield':1, 'Flait':1, 'Long Spear':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Paladin 5 lvl ( )'] = { 'level':5, 'char_class':'Paladin', 'hit_dice':'1d10', 'behavior':'commander', #'fearless_AI':True, 'killer_AI':True, 'hitpoints_medial':True, 'abilityes':{ 'strength':18, 'dexterity':10, 'constitution':18, 'intelligence':10, 'wisdom':12, 'charisma':18, }, 'class_features':{ 'Feat_Tough':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+3, }, 'Divine_Sense':True, 'Lay_on_Hands':True, 'Fighting_Style_Defence':True, 'Divine_Smite':True, 'Spellcasting':True, 'Spells':[ ('channel', 'Sacred_Weapon'), ('1_lvl', 'Divine_Smite'), ('2_lvl', 'Divine_Smite'), ('1_lvl', 'Bless'), ('1_lvl', 'Heroism'), ('1_lvl', 'Shield_of_Faith'), ('1_lvl', 'Protection_from_Evil_and_Good'), ('1_lvl', 'Sanctuary'), ('1_lvl', 'Command'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Zone_of_Truth'), ('2_lvl', 'Find_Steed'), ], 'Divine_Health':True, 'Oath_of_Devotion':True, 'Channel_Turn_The_Unholy':True, 'Channel_Sacred_Weapon':True, 'Extra_Attack':True, }, 'race':'Human-hero-big', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':2, 'Rune of Absorbtion':1, 'Splint Armor':1, 'Heavy Shield':1, 'Flait +1':1, 'Long Spear':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () ('): metadict_chars['Fighter 1 lvl ( \')'] = { # , " " . 'level':1, 'char_class':'Battlemaster', 'abilityes_choice':['dexterity','constitution','strength','charisma'], 'hit_dice':'1d10', 'behavior':'archer', 'class_features':{ 'Feat_Sharpshooter':True, 'Fighting_Style_Archery':True, 'Second_Wind':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ 'Perception', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Armor':1, 'Shield':1, 'Shortsword':1, 'Longbow':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } metadict_chars['Fighter 5 lvl (\')'] = { # - 'level':5, 'char_class':'Battlemaster', 'abilityes_choice':['dexterity','constitution','strength','charisma'], 'hit_dice':'1d10', 'behavior':'commander', 'killer_AI':True, 'hitpoints_medial':True, 'abilityes':{ 'strength':12, 'dexterity':20, 'constitution':12, 'intelligence':16, 'wisdom':10, 'charisma':16, }, 'class_features':{ 'Feat_Sharpshooter':True, 'Fighting_Style_Archery':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Champion':True, 'Champion_Improved_Critical':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shield':1, 'Scimitar +1':1, 'Longbow +1':1, 'Arrow':40, }, 'mount_combat':True, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # () (-): metadict_chars['Druid 1 lvl ( -)'] = { # " " " " 'level':1, 'water_walk':True, 'char_class':'Druid', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ # -- _ + _: # Goodberry -- 2 = 20 . 20 2 lvl = 600 . ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), #('cantrip', 'Magic_Stone'), #('ritual', 'Speak_with_Animals'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Entangle'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Goodberry'), ], 'Druidic_Language':True, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Armor':1, 'Heavy Shield':1, 'Club':1, 'Sling real':1, 'Sling Bullet':10, }, 'mount_combat':True, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } metadict_chars['Druid 5 lvl (- )'] = { # , . 'level':5, 'fireball_AI':True, 'water_walk':True, 'char_class':'Druid', 'hit_dice':'1d8', 'behavior':'commander', #'fearless_AI':True, 'hitpoints_medial':True, 'abilityes':{ 'strength':10, 'dexterity':14, 'constitution':14, 'intelligence':16, 'wisdom':18, 'charisma':14, }, 'class_features':{ 'Feat_Healer':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Druidcraft'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Guidance'), ('ritual', 'Speak_with_Animals'), ('ritual', 'Water_Breathing'), ('ritual', 'Water_Walk'), ('1_lvl', 'Entangle'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Healing_Spirit'), ('3_lvl', 'Conjure_Animals'), ('3_lvl', 'Plant_Growth'), ], 'Druidic_Language':True, 'Wild_Shape':True, 'Druid_Circle_Forest':True, 'Natural_Recovery':True, 'Wild_Shape_Improvement':True, 'Ability_Score_Improvement':{ 'wisdom':+2, }, }, 'race':'Human-hero', 'weapon_skill':['simple','Scimitar'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':30, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Heavy Shield':1, 'Club':1, 'Sling real':1, 'Sling Bullet':10, }, 'mount_combat':True, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # () ( '): metadict_chars['Commoner 1 lvl ()'] = { # . , . 'level':1, 'char_class':'Commoner', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Primevial-medium', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Mace':1, 'Shield':1, 'Javelin':6, }, } metadict_chars['Commoner 1 lvl (-)'] = { 'level':2, 'char_class':'Commoner', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Primevial-medium', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Mace':1, 'Shield':1, 'Javelin':6, }, } metadict_chars['Warrior 3 lvl ( \')'] = { # . 'level':3, #'fearless_AI':True, 'seeker_AI':True, 'killer_AI':True, 'char_class':'Warrior-officer', 'behavior':'commander', 'class_features':{ 'Regeneration':3, }, 'hitpoints_medial':True, 'abilityes':{ 'strength':18, 'dexterity':14, 'constitution':18, 'intelligence':10, 'wisdom':12, 'charisma':16, }, 'hit_dice':'1d10', 'race':'Primevial-large', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Battleaxe':1, 'Shield':1, 'Javelin':6, }, } #---- # () ( ): metadict_chars['Wizard 4 lvl ( )'] = { 'level':4, 'archer_AI':True, 'fireball_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ 'Feat_Resilient':'constitution', 'Ability_Score_Improvement':{ 'constitution':+1, 'intelligence':+2, }, 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ # _ + _ (8 ) ('cantrip', 'Prestidigitation'), ('cantrip', 'Shape_Water'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Message'), # : ('ritual', 'Alarm'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), ('ritual', 'Find_Familiar'), ('ritual', 'Comprehend_Languages'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Warding_Wind'), ('2_lvl', 'Invisibility'), ('2_lvl', 'Flaming_Sphere'), ('2_lvl', 'See_Invisibility'), #('2_lvl', 'Dragon_Breath'), #('2_lvl', 'Suggestion'), #('2_lvl', 'Shatter'), ], # TODO: # - Grim_Harvest -- x2 , x3, . 'School_of_Necromancy':True, 'Grim_Harvest':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 12 lvl ( )'] = { # Wizard 1 lvl (otherworld mage-disciple) sum:100 STR:16 DEX:17 CON:17 INT:19 WIS:17 CHA:14 # "" (Contingency) Otiluke_Resilent_Sphere, Wall_of_Force. # "Feat_Alert", -- . "Feat_Keen_Mind" -- . 'level':12, 'fireball_AI':True, 'disengage_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':16, 'dexterity':17, 'constitution':17, 'intelligence':19, 'wisdom':17, 'charisma':14, }, 'class_features':{ 'Feat_Alert':True, 'Feat_Keen_Mind':True, 'Feat_Resilient':'constitution', 'Ability_Score_Improvement':{ 'dexterity':+1, 'constitution':+1, 'intelligence':+1, 'wisdom':+1, }, 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ # _ + _ (17 ) ('cantrip', 'Prestidigitation'), ('cantrip', 'Shape_Water'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Message'), ('cantrip', 'Minor_Illusion'), # : ('ritual', 'Alarm'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), ('ritual', 'Find_Familiar'), ('ritual', 'Comprehend_Languages'), ('ritual', 'Feign_Death'), ('ritual', 'Water_Breathing'), ('ritual', 'Leomund_Tiny_Hut'), ('ritual', 'Rary_Telepathic_Bond'), ('ritual', 'Contact_Other_Plane'), # : ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Warding_Wind'), ('2_lvl', 'Invisibility'), ('2_lvl', 'Flaming_Sphere'), ('2_lvl', 'See_Invisibility'), #('2_lvl', 'Dragon_Breath'), #('2_lvl', 'Suggestion'), #('2_lvl', 'Shatter'), # (9 ): ('3_lvl', 'Counterspell'), ('3_lvl', 'Fireball'), ('3_lvl', 'Sending'), ('4_lvl', 'Fabricate'), ('4_lvl', 'Dimension_Door'), ('5_lvl', 'Teleportation_Circle'), ('5_lvl', 'Animated_Objects'), ('5_lvl', 'Cone_of_Cold'), ('6_lvl', 'Soul_Cage'), # ---- #('3_lvl', 'Blink'), #('3_lvl', 'Animate_Dead'), #('3_lvl', 'Dispel_Magic'), #('3_lvl', 'Vampiric_Touch'), #('3_lvl', 'Melf_Minute_Meteors'), # ---- #('4_lvl', 'Stoneskin'), #('4_lvl', 'Arcane_Eye'), #('4_lvl', 'Control_Water'), #('4_lvl', 'Leomund_Secret_Chest'), #('4_lvl', 'Otiluke_Resilent_Sphere'), #('4_lvl', 'Mordenkainen_Private_Sanctum'), #('4_lvl', 'Conjure_Minor_Elementals'), #('4_lvl', 'Sickening_Radiance'), #('4_lvl', 'Ice_Storm'), #('4_lvl', 'Banishment'), # ---- #('5_lvl', 'Enervation'), #('5_lvl', 'Cone_of_Cold'), #('5_lvl', 'Danse_Macabre'), #('5_lvl', 'Negative_Energy_Flood'), #('5_lvl', 'Conjure_Elemental'), #('5_lvl', 'Wall_of_Force'), #('5_lvl', 'Cloudkill'), #('5_lvl', 'Passwall'), #('5_lvl', 'Scrying'), # ---- #('6_lvl', 'Create_Undead'), #('6_lvl', 'Circle_of_Death'), #('6_lvl', 'Programmed_Illusion'), #('6_lvl', 'Arcane_Gate'), #('6_lvl', 'True_Seeing'), #('6_lvl', 'Magic_Jar'), #('6_lvl', 'Contingency'), #('6_lvl', 'Create_Undead'), ], # TODO: # - Grim_Harvest -- x2 , x3, . # - Undead_Thralls -- 2 "Animate_Dead", +_ max_hp, +_ . # - Inured_to_Undeath -- , . 'School_of_Necromancy':True, 'Grim_Harvest':True, 'Undead_Thralls':True, 'Inured_to_Undeath':True, 'resistance':['necrotic_energy'], }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # TODO: 3-4 # - Rune of Flying # - Rune of Stoneskin # - Rune of Greater Invisibility 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 12 lvl ( )'] = { # "Feat_Alert", -- . "Feat_Keen_Mind" -- . # Rary_Telepathic_Bond. 'level':12, 'simulacrum':True, 'fireball_AI':True, 'disengage_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':16, 'dexterity':17, 'constitution':17, 'intelligence':19, 'wisdom':17, 'charisma':14, }, 'class_features':{ 'Feat_Alert':True, 'Feat_Keen_Mind':True, 'Feat_Resilient':'constitution', 'Ability_Score_Improvement':{ 'dexterity':+1, 'constitution':+1, 'intelligence':+1, 'wisdom':+1, }, 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ # _ + _ (17 ) # https://www.dandwiki.com/wiki/5e_SRD:Wizard ('cantrip', 'Prestidigitation'), ('cantrip', 'Shape_Water'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Message'), ('cantrip', 'Minor_Illusion'), # : ('ritual', 'Alarm'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), ('ritual', 'Water_Breathing'), ('ritual', 'Leomund_Tiny_Hut'), ('ritual', 'Rary_Telepathic_Bond'), ('1_lvl', 'Shield'), ('2_lvl', 'Invisibility'), ('2_lvl', 'Mirror_Image'), ('2_lvl', 'Knock'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Dispel_Magic'), ('3_lvl', 'Enemies_Abound'), ('3_lvl', 'Blink'), ('4_lvl', 'Arcane_Eye'), ('4_lvl', 'Dimension_Door'), # ('4_lvl', 'Sickening_Radiance'), ('5_lvl', 'Teleportation_Circle'), ('5_lvl', 'Conjure_Elemental'), ('5_lvl', 'Danse_Macabre'), ('5_lvl', 'Passwall'), #('6_lvl', 'Circle_of_Death'), ('6_lvl', 'Arcane_Gate'), ], 'School_of_Necromancy':True, #'Grim_Harvest':True, 'Undead_Thralls':True, 'Inured_to_Undeath':True, 'resistance':['necrotic_energy'], }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # . 'Rune of Absorbtion':2, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # () ( ): metadict_chars['Warrior 4 lvl ( )'] = { # . 'level':4, 'sneak_AI':True, 'killer_AI':True, 'fearless_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'immunity':['poison','poisoned'], 'Fighting_Style_Blind_Fighting':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Sword_Burst'), ('cantrip', 'Mold_Earth'), #('cantrip', 'Frostbite'), #('cantrip', 'Fire_Bolt'), #('cantrip', 'Create_Bonfire'), ('1_lvl', 'Fog_Cloud'), #('1_lvl', 'Magic_Missile'), ], }, 'race':'Human-hero-undead', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # : #'Infusion of Vitality':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Plate Armor':1, 'Heavy Shield':1, 'Long Spear':1, 'Longsword':1, 'Plumbata':12, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl ( - )'] = { 'level':5, 'sneak_AI':True, 'killer_AI':True, 'fearless_AI':True, #'carefull_AI':True, #'no_grappler_AI':True, #'fearless_AI':True, #'seeker_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'immunity':['poison','poisoned'], 'Fighting_Style_Blind_Fighting':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Sword_Burst'), ('cantrip', 'Mold_Earth'), #('cantrip', 'Frostbite'), #('cantrip', 'Fire_Bolt'), #('cantrip', 'Create_Bonfire'), #('cantrip', 'Message'), ('1_lvl', 'Fog_Cloud'), #('1_lvl', 'Magic_Missile'), ], 'Extra_Attack':True, }, 'race':'Human-hero-undead', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # : #'Infusion of Vitality':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Plate Armor':1, 'Heavy Shield':1, 'Long Spear':1, 'Longsword':1, 'Plumbata':12, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () ( ): metadict_chars['Warrior 1 lvl ( )'] = { # , . 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Hide Armor':1, 'Shield':1, 'Longsword':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 2 lvl ( )'] = { # - 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Hide Armor':1, 'Shield':1, 'Shortsword':1, 'Glaive':1, 'Javelin':6, }, } metadict_chars['Warrior 3 lvl ( )'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Glaive':1, 'Javelin':6, }, } metadict_chars['Warrior 4 lvl ( )'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Glaive':1, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } metadict_chars['Warrior 5 lvl ( )'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Great_Weapon_Fighting':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Glaive':1, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # () (): metadict_chars['Barbarian 9 lvl ( )'] = { # Barbarian 1 lvl (thracian slayer-dogface) sum:108 STR:19 DEX:18 CON:19 INT:18 WIS:16 CHA:18 'level':9, 'hunter_AI':True, 'fearless_AI':True, 'no_grappler_AI':True, 'squad_advantage':True, 'char_class':'Barbarian', 'hit_dice':'1d12', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':19, 'dexterity':18, 'constitution':19, 'intelligence':16, 'wisdom':18, 'charisma':18, }, 'class_features':{ # TODO: # 4. Mindless_Rage ( ) 'Feat_Great_Weapon_Master':True, 'Unarmored_Defense':True, 'Rage':True, 'Reckless_Attack':True, 'Danger_Sense':True, 'Primal_Path_Berserker':True, 'Berserker_Frenzy':True, 'Fast_Movement':True, 'Feral_Instinct':True, 'Mindless_Rage':True, 'Extra_Attack':True, 'Brutal_Critical':True, 'Ability_Score_Improvement':{ 'dexterity':+2, 'strength':+1, 'constitution':+1, }, }, 'race':'Human-hero-big', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Regeneration':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, #'Sword of Life-Stealing':1, #'Sword of Sharpness':1, 'Sword of the Past +2':1, }, #'mount_combat':False, #'mount_type':'Warhorse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Fighter 4 lvl ( )'] = { 'level':4, 'char_class':'Eldritch_Knight', 'hit_dice':'1d10', 'behavior':'commander', 'class_features':{ 'Feat_Mounted_Combatant':True, #'Feat_Sentinel':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, }, 'Fighting_Style_Dueling':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Eldritch_Knight':True, 'Weapon_Bond':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Message'), ('cantrip', 'Green_Flame_Blade'), ('ritual', 'Alarm'), ('1_lvl', 'Shield'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), #('1_lvl', 'Fog_Cloud'), ], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Heroism':1, 'Infusion of Regeneration':1, 'Rune of Absorbtion':1, 'Plate Armor':1, 'Heavy Shield':1, 'Longsword +1':1, 'Lance':1, #'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Rune of Absorbtion':1, 'Infusion of Regeneration':1, 'Horse Scale Mail':1, }, } metadict_chars['Fighter 13 lvl ( )'] = { # Fighter 1 lvl (legionary sentinel-battler) sum:103 STR:19 DEX:17 CON:18 INT:16 WIS:16 CHA:17 # " " (Detect_Thoughts), . 'level':13, 'fearless_AI':True, #'predator_AI':True, 'hunter_AI':True, 'no_grappler_AI':True, 'char_class':'Eldritch_Knight', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':19, 'dexterity':17, 'constitution':18, 'intelligence':16, 'wisdom':16, 'charisma':17, }, 'class_features':{ # TODO: # - Eldritch_Strike -- = . . 'Feat_Mounted_Combatant':True, 'Feat_War_Caster':True, #'Feat_Sentinel':True, 'Feat_Shield_Master':True, 'Feat_Heavy_Armor_Master':True, 'Ability_Score_Improvement':{ 'strength':+1, 'intelligence':+4, }, 'Fighting_Style_Dueling':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Eldritch_Knight':True, 'Weapon_Bond':True, 'Spellcasting':True, 'Spells':[ # 9 13 lvl (2 evocation abjuration) ('cantrip', 'Message'), ('cantrip', 'Green_Flame_Blade'), ('cantrip', 'Blade_Ward'), #('cantrip', 'Prestidigitation'), ('ritual', 'Alarm'), ('1_lvl', 'Shield'), #('2_lvl', 'Shield'), #('1_lvl', 'Magic_Missile'), #('1_lvl', 'Fog_Cloud'), ('2_lvl', 'Blur'), ('3_lvl', 'Blur'), ('2_lvl', 'Detect_Thoughts'), ('2_lvl', 'Warding_Wind'), ('2_lvl', 'Gust_of_Wind'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Sending'), ], 'Extra_Attack':True, 'Indomitable':True, 'War_Magic':True, 'Eldritch_Strike':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Heroism':1, 'Infusion of Regeneration':1, 'Rune of Absorbtion':1, 'Plate Armor +1':1, 'Heavy Shield +1':1, #'Sword of Flame Tongue':1, 'Longsword +2':1, 'Lance':1, #'Pilum':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Rune of Absorbtion':1, 'Infusion of Regeneration':1, 'Horse Scale Mail':1, }, } #---- # () (): metadict_chars['Barbarian 2 lvl ( )'] = { 'level':2, 'char_class':'Barbarian', 'hit_dice':'1d12', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Unarmored_Defense':True, 'Rage':True, 'Reckless_Attack':True, 'Danger_Sense':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':2, 'Scale Mail':1, 'Shield':1, 'Longsword':1, 'Lance':1, 'Javelin':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Scale Mail':1, }, } metadict_chars['Barbarian 5 lvl ( )'] = { 'level':5, 'char_class':'Barbarian', 'hit_dice':'1d12', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':18, 'dexterity':14, 'constitution':18, 'intelligence':10, 'wisdom':12, 'charisma':16, }, 'class_features':{ 'Feat_Alert':True, 'Feat_Mounted_Combatant':True, 'Unarmored_Defense':True, 'Rage':True, 'Reckless_Attack':True, 'Danger_Sense':True, 'Primal_Path_Berserker':True, 'Berserker_Frenzy':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':3, 'Half Plate':1, 'Shield':1, 'Longsword +1':1, 'Lance':1, 'Javelin':6, }, 'mount_combat':True, 'mount_type':'Warhorse', 'equipment_mount':{ 'Scale Mail':1, }, } #---- # () ( ): metadict_chars['Warlock 3 lvl ( )'] = { # -- . -. 'level':3, 'fireball_AI':True, 'disengage_AI':True, #'archer_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Resilient':'constitution', 'Ability_Score_Improvement':{ 'constitution':+1, }, #'Feat_Spellsniper':True, #'Feat_Elemental_Adept':'fire', 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ # Feat_Spellsniper ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Message'), ('ritual', 'Find_Familiar'), ('2_lvl', 'Armor_of_Agathys'), ('2_lvl', 'Flaming_Sphere'), ('2_lvl', 'Invisibility'), #('2_lvl', 'Shatter'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Eldritch_Spear':True, 'Pact_Boon':True, 'Pact_of_the_Chain':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, 'Poison Arrow':40, 'Poison Blade':10, }, #'mount_combat':True, #'mount_type':'Horseclaw', #'equipment_mount':{ # 'Horse Scale Mail':1, # }, } metadict_chars['Warlock 11 lvl ( )'] = { # Warlock 1 lvl (otherworld seeker-follower) sum:97 STR:15 DEX:18 CON:16 INT:15 WIS:15 CHA:18 # 18 / " " (Dream) "" (Scrying) # " " (Speak_with_Dead). # () . # ( ): 'level':11, 'fireball_AI':True, 'disengage_AI':True, #'archer_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':15, 'dexterity':18, 'constitution':16, 'intelligence':15, 'wisdom':15, 'charisma':18, }, 'class_features':{ 'Feat_Resilient':'constitution', 'Ability_Score_Improvement':{ 'constitution':+1, 'charisma':+2, }, #'Feat_Spellsniper':True, #'Feat_Elemental_Adept':'fire', 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ # Feat_Spellsniper ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Prestidigitation'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Message'), # Pact_of_the_Chain: ('ritual', 'Find_Familiar'), # (): ('ritual', 'Alarm'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Comprehend_Languages'), ('ritual', 'Water_Breathing'), ('ritual', 'Leomund_Tiny_Hut'), ('ritual', 'Rary_Telepathic_Bond'), ('ritual', 'Contact_Other_Plane'), # : ('5_lvl', 'Armor_of_Agathys'), ('5_lvl', 'Flaming_Sphere'), ('5_lvl', 'Invisibility'), #('5_lvl', 'Shatter'), # : ('5_lvl', 'Dream'), ('5_lvl', 'Scrying'), ('5_lvl', 'Counterspell'), #('5_lvl', 'Wall_of_Fire'), ('5_lvl', 'Synaptic_Static'), ('5_lvl', 'Summon_Greater_Demon'), ('5_lvl', 'Dimension_Door'), ('5_lvl', 'Banishment'), # Invocation_Minios_of_Chaos: ('5_lvl', 'Conjure_Elemental'), # : ('6_lvl', 'True_Seeing'), ], # TODO: # - , +1d10 / . 1 /.. # - , . /. 'Dark_One\'s_Blessing':True, 'Dark_One\'s_Own_Luck':True, 'Fiendish_Resilience':True, 'resistance':['piercing'], # 11 lvl, 5 : 'Eldritch_Invocations':True, 'Invocation_Eldritch_Spear':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Minios_of_Chaos':True, 'Invocation_Voice_of_the_Chain_Master':True, 'Invocation_Whispers_of_the_Grave':True, # : 'Pact_Boon':True, 'Pact_of_the_Chain':True, # 8 lvl: 'Feat_Ritual_Caster':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # : # d6 | | # ----- | ------------------------- | ------------------------------------------------------ # 1 | * | . 1 / # 2 | * | . , , 120 . # 3 | * | 1-3 lvl. . # 4 | | . . # 5 | | 30 / # 6 | | , . # , . #'Rune of Absorbtion':1, #'Rune of Shielding':1, 'Mage_Armor':1, 'Shortsword +1':1, 'Shortbow +1':1, 'Arrow':40, 'Poison Arrow':40, 'Poison Blade':10, }, # TODO: : #'mount_combat':True, #'mount_type':'Horseclaw', #'equipment_mount':{ # 'Horse Scale Mail':1, # }, } #---- # () ( ): metadict_chars['Warrior 1 lvl ()'] = { # . " ", x2 . 'level':1, 'char_class':'Warrior', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Chain Shirt':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Shortbow':1, 'Arrow':30, 'Poison Arrow':10, 'Poison Blade':10, }, } metadict_chars['Warrior 2 lvl (-)'] = { 'level':2, 'char_class':'Warrior', 'behavior':'elite_warrior', 'hit_dice':'1d8', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Shortbow':1, 'Arrow':30, 'Poison Arrow':10, 'Poison Blade':10, }, } metadict_chars['Warrior 3 lvl (-)'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Shortbow':1, 'Arrow':30, 'Poison Arrow':10, 'Poison Blade':10, }, } metadict_chars['Warrior 4 lvl (-)'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Shortbow':1, 'Poison Arrow':40, 'Poison Blade':10, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } metadict_chars['Warrior 5 lvl (-)'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Shortbow':1, 'Poison Arrow':40, 'Poison Blade':10, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # () ( ): metadict_chars['Warrior 1 lvl ( )'] = { # " ", . # . . 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Studded Leather':1, 'Heavy Shield':1, 'Shortsword':1, 'Javelin':8, 'Sleep Blade':10, }, } metadict_chars['Warrior 2 lvl ( )'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Javelin':5, 'Sleep Blade':10, }, } metadict_chars['Warrior 3 lvl ( )'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Infusion of Heroism':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Javelin':5, 'Sleep Blade':10, }, } metadict_chars['Warrior 4 lvl ( )'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Infusion of Heroism':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Javelin':5, 'Sleep Blade':10, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } metadict_chars['Warrior 5 lvl ( )'] = { 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Infusion of Heroism':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Javelin':5, 'Sleep Blade':10, }, 'mount_combat':False, 'mount_type':'Riding Horse', 'equipment_mount':{ }, } #---- # () ( ): metadict_chars['Sorcerer 3 lvl (otherworld wildfire-enchanter)'] = { 'level':3, 'fireball_AI':True, 'disengage_AI':True, 'char_class':'Sorcerer', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ 'Feat_Elemental_Adept':'fire', 'Spellcasting':True, 'Spells':[ ('cantrip', 'Prestidigitation'), ('cantrip', 'Control_Flames'), ('cantrip', 'Create_Bonfire'), ('cantrip', 'Fire_Bolt'), ('1_lvl', 'Shield'), ('1_lvl', 'Burning_Hands'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'Flaming_Sphere'), ], 'Font_of_Magic':True, 'Metamagic':True, #'Metamagic_Subtle_Spell':True, 'Metamagic_Extended_Spell':True, 'Metamagic_Distant_Spell':True, }, 'race':'Primevial-large', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Dagger':1, }, } #---- # () ( ): metadict_chars['Warrior 1 lvl (-)'] = { # 12 AC. . . 'level':1, 'char_class':'Warrior', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Primevial-medium', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Shield':1, 'Battleaxe':1, 'Long Spear':1, 'Javelin':6, }, } metadict_chars['Warrior 2 lvl (-)'] = { # - . # . 'level':2, 'char_class':'Warrior', 'behavior':'elite_warrior', 'class_features':{ 'resistance':['slashing','piercing','bludgeoning'], 'vultenability':['radiant'], }, 'hit_dice':'1d8', 'race':'Primevial-medium', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Heavy Shield':1, 'Battleaxe':1, 'Long Spear':1, 'Javelin':6, }, } metadict_chars['Warrior 3 lvl (-)'] = { 'level':3, 'brave_AI':True, 'killer_AI':True, 'carefull_AI':True, 'char_class':'Warrior-officer', 'behavior':'commander', 'class_features':{ 'resistance':['slashing','piercing','bludgeoning'], 'vultenability':['radiant'], }, 'hit_dice':'1d10', 'race':'Primevial-large', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Infusion of Heroism':1, 'Heavy Shield':1, 'Battleaxe':1, 'Long Spear':1, 'Javelin':6, }, } metadict_chars['Warrior 4 lvl (-)'] = { 'level':4, 'brave_AI':True, 'killer_AI':True, 'carefull_AI':True, 'char_class':'Warrior-officer', 'behavior':'commander', 'class_features':{ 'resistance':['slashing','piercing','bludgeoning'], 'vultenability':['radiant'], }, 'hit_dice':'1d10', 'race':'Primevial-large', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Heavy Shield':1, 'Battleaxe':1, 'Long Spear':1, 'Javelin':6, }, } metadict_chars['Warrior 5 lvl (-)'] = { 'level':5, 'brave_AI':True, 'killer_AI':True, 'carefull_AI':True, 'char_class':'Warrior-officer', 'behavior':'commander', 'class_features':{ 'resistance':['slashing','piercing','bludgeoning'], 'vultenability':['radiant'], }, 'hit_dice':'1d10', 'race':'Primevial-large', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Infusion of Regeneration':1, 'Infusion of Heroism':1, 'Rune of Absorbtion':1, 'Half Plate':1, 'Heavy Shield':1, 'Battleaxe':1, 'Long Spear':1, 'Javelin':6, }, } #---- # () ( ): metadict_chars['Warrior 1 lvl ( )'] = { 'level':1, 'water_walk':True, 'char_class':'Warrior', 'behavior':'warrior', 'hit_dice':'1d8', 'race':'Humanoid-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Studded Leather':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Poison Blade':10, }, } metadict_chars['Warrior 2 lvl (- )'] = { 'level':2, 'water_walk':True, 'char_class':'Warrior', 'behavior':'elite_warrior', 'hit_dice':'1d8', 'class_features':{ 'Fighting_Style_Dueling':True, }, 'race':'Humanoid-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Scale Mail':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Poison Blade':10, }, } metadict_chars['Warrior 3 lvl (- )'] = { 'level':3, 'water_walk':True, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Dueling':True, }, 'race':'Humanoid-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Poison Blade':10, }, } metadict_chars['Warrior 4 lvl (- )'] = { 'level':4, #'close_order_AI':True, 'water_walk':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Dueling':True, 'Feat_Inspiring_Leader':True, }, 'race':'Humanoid-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Poison Blade':10, }, } metadict_chars['Warrior 5 lvl (- )'] = { 'level':5, #'close_order_AI':True, 'water_walk':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Dueling':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Humanoid-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Long Spear':1, 'Poison Blade':10, }, } #---- # () (): metadict_chars['Monk 3 lvl ( )'] = { # 'level':3, 'grappler_AI':True, 'carefull_AI':True, 'char_class':'Monk', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Feat_Defensive_Duelist':True, 'Unarmored_Defense':True, 'Martial_Arts':True, 'Flurry_of_Blows':True, 'Patient_Defense':True, 'Step_of_the_Wind':True, 'Unarmored_Movement':True, 'Deflect_Missiles':True, 'Shadow_Arts':True, 'Spells':[ ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Darkvision'), #('2_lvl', 'Darkness'), ('2_lvl', 'Silence'), ], }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, 'Shortsword +1':1, }, } metadict_chars['Monk 9 lvl ( )'] = { # # Monk 1 lvl (city windsong-apprentice) sum:104 STR:17 DEX:19 CON:17 INT:16 WIS:18 CHA:17 'level':9, 'grappler_AI':True, 'carefull_AI':True, 'char_class':'Monk', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':17, 'dexterity':19, 'constitution':17, 'intelligence':16, 'wisdom':18, 'charisma':17, }, 'class_features':{ # TODO: # 2. Shadow_Step -- 60 . # ------ # 5. Stillness_of_Mind -- . # 6. Unarmored_Movement_improvement -- 'Feat_Defensive_Duelist':True, 'Unarmored_Defense':True, 'Martial_Arts':True, 'Flurry_of_Blows':True, 'Patient_Defense':True, 'Step_of_the_Wind':True, 'Unarmored_Movement':True, 'Deflect_Missiles':True, 'Shadow_Arts':True, 'Spells':[ ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Darkvision'), #('2_lvl', 'Darkness'), ('2_lvl', 'Silence'), ], 'Slow_Fall':True, 'Extra_Attack':True, 'Stunning_Strike':True, 'Ability_Score_Improvement':{ 'wisdom':+2, 'dexterity':+1, 'constitution':+1, }, 'Ki_Empowered_Strikes':True, 'Shadow_Step':True, 'Evasion':True, 'Stillness_of_Mind':True, 'Unarmored_Movement_improvement':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # TODO: # 2. . # 3. 3-4 . # 4000 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Infusion of Heroism':1, 'Bracers of Defence':1, 'Rune of Shielding':1, #'Staff of Striking +3':1, 'Shortsword +1':1, }, } #---- # () (): metadict_chars['Wizard 3 lvl ( )'] = { 'level':3, 'fireball_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'archer', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Friends'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Message'), ('ritual', 'Detect_Magic'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Sleep'), ('2_lvl', 'Blur'), ('2_lvl', 'Suggestion'), ('2_lvl', 'Hold_Person'), ('2_lvl', 'Invisibility'), ], 'School_of_Enchantment':True, 'Hypnotic_Gaze':True, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 9 lvl ()'] = { # , , . # Wizard 2 lvl (city cat-weaver) sum:101 STR:14 DEX:19 CON:17 INT:19 WIS:16 CHA:16 # Feat_Observant +5 . . 'level':9, 'fireball_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':14, 'dexterity':21, 'constitution':18, 'intelligence':20, 'wisdom':18, 'charisma':16, }, 'class_features':{ # TODO: Instinctive_Charm -- , . 'Feat_Resilient':'constitution', 'Feat_Observant':True, 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Friends'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Message'), ('ritual', 'Detect_Magic'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Sleep'), #('2_lvl', 'Blur'), ('2_lvl', 'Suggestion'), ('2_lvl', 'Hold_Person'), ('2_lvl', 'Invisibility'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Nondetection'), ('3_lvl', 'Fireball'), ('3_lvl', 'Melf_Minute_Meteors'), #('4_lvl', 'Fear'), ('4_lvl', 'Arcane_Eye'), ('5_lvl', 'Teleportation_Circle'), ('5_lvl', 'Geas'), ], 'School_of_Enchantment':True, 'Hypnotic_Gaze':True, 'Instinctive_Charm':True, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # TODO: 3-4 . # . 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, }, } #---- # () (): metadict_chars['Warrior 1 lvl ( )'] = { 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Studded Leather':1, 'Heavy Shield':1, 'Shortsword':1, 'Fire Spear':4, 'Holy Blade':10, }, } metadict_chars['Warrior 2 lvl ( )'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Scale Mail':1, 'Heavy Shield':1, 'Shortsword':1, 'Fire Spear':2, 'Holy Blade':10, }, } metadict_chars['Warrior 3 lvl ( )'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Fire Spear':2, 'Holy Blade':10, }, } metadict_chars['Warrior 4 lvl ( )'] = { 'level':4, #'rearm_AI':True, 'defence_AI':True, 'carefull_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Heavy Shield':1, 'Shortsword':1, 'Fire Spear':2, 'Holy Blade':10, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl ( )'] = { # , . . 'level':5, #'rearm_AI':True, 'defence_AI':True, 'carefull_AI':True, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Defence':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Half Plate':1, 'Heavy Shield':1, 'Shortsword':1, 'Fire Spear':2, 'Holy Blade':10, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Commoner 1 lvl ( )'] = { # 'level':1, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':militia_pack, 'equipment_weapon':{ 'Leather Armor':1, 'Shield':1, 'Dagger':1, 'Sling real':1, #'Holy Bullet':10, 'Lead Bullet':10, #'Sling Bullet':10, }, } metadict_chars['Commoner 2 lvl ( )'] = { 'level':2, 'char_class':'Commoner', 'behavior':'archer', 'hit_dice':'1d8', 'race':'Human-common', 'weapon_skill':['simple'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Studded Leather':1, 'Shield':1, 'Dagger':1, 'Sling real':1, #'Holy Bullet':10, 'Lead Bullet':10, #'Sling Bullet':10, }, } metadict_chars['Warrior 3 lvl ( )'] = { 'level':3, 'rearm_AI':True, 'volley_AI':True, 'defence_AI':True, 'carefull_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ #'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Sling real':1, #'Holy Bullet':10, 'Lead Bullet':10, #'Sling Bullet':10, }, } #---- # () (): metadict_chars['Bard 2 lvl ( )'] = { # TODO: Jack_of_All_Trades 1/2 . 'level':2, 'char_class':'Bard', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'abilityes_choice':['charisma','dexterity','constitution'], 'class_features':{ 'Feat_Inspiring_Leader':True, 'Bardic_Inspiration':True, 'Spellcasting':True, 'Spells':[ # 2 lvl -- 5 ('cantrip', 'Message'), ('cantrip', 'Prestidigitation'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Silent_Image'), ('1_lvl', 'Dissonant_Whispers'), #('1_lvl', 'Sleep'), ], 'Jack_of_All_Trades':True, 'Song_of_Rest':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Rapier':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Bard 6 lvl ( )'] = { 'level':6, 'fireball_AI':True, 'char_class':'Bard', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ # sum:85 STR:10 DEX:16 CON:15 INT:14 WIS:14 CHA:16 'strength':10, 'dexterity':16, 'constitution':15, 'intelligence':14, 'wisdom':14, 'charisma':16, }, 'class_features':{ 'Feat_Inspiring_Leader':True, 'Bardic_Inspiration':True, 'Spellcasting':True, 'Spells':[ # 6 lvl -- 9 # TODO: "" (Silence) 2 lvl. . ('cantrip', 'Message'), ('cantrip', 'Prestidigitation'), ('cantrip', 'Dancing_Lights'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Healing_Word'), ('1_lvl', 'Silent_Image'), ('1_lvl', 'Dissonant_Whispers'), #('1_lvl', 'Sleep'), ('2_lvl', 'Shatter'), ('3_lvl', 'Crusaders_Mantle'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Sending'), ], 'Jack_of_All_Trades':True, 'Song_of_Rest':True, 'Expertise':True, 'College_of_Lore':True, 'Bonus_Proficiencies':True, 'Cutting_Words':True, 'Font_of_Inspiration':True, 'Ability_Score_Improvement':{ 'charisma':+2, }, 'Additional_Magical_Secrets':True, 'Countercharm':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'skills':[ # 8 = 2 + 3 + 3 Bonus_Proficiencies # === Intelligence 'Arcana', 'Investigation', 'Religion', # === Wisdom 'Insight', 'Perception', # === Charisma 'Deception', 'Intimidation', 'Persuasion', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Heroism':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Rapier +1':1, 'Longbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Warrior 1 lvl ( )'] = { 'level':1, #'archer_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Studded Leather':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, } metadict_chars['Warrior 2 lvl (- )'] = { 'level':2, #'archer_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Chain Shirt':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, } metadict_chars['Warrior 3 lvl (- )'] = { 'level':3, #'archer_AI':True, 'brave_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, } metadict_chars['Warrior 4 lvl (- )'] = { 'level':4, #'archer_AI':True, 'brave_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl (- )'] = { 'level':5, #'archer_AI':True, 'brave_AI':True, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Breastplate':1, 'Shield':1, 'Shortsword':1, 'Crossbow, Heavy':1, 'Crossbow Bolt':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Warlock 2 lvl ( )'] = { 'level':2, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Otherworldly_Patron':'Archfey', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Thunderclap'), ('cantrip', 'Eldritch_Blast'), ('1_lvl', 'Armor_of_Agathys'), ], 'Eldritch_Invocations':True, 'Invocation_Eldritch_Spear':True, }, 'race':'Fourlegged-common', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, #'Infusion of Claws':1, #'Infusion of Barkskin':1, 'Infusion of Regeneration':1, }, } metadict_chars['Warlock 3 lvl ( )'] = { 'level':3, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Otherworldly_Patron':'Archfey', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Thunderclap'), ('cantrip', 'Eldritch_Blast'), ('2_lvl', 'Armor_of_Agathys'), #('2_lvl', 'Invisibility'), #('2_lvl', 'Suggestion'), #('2_lvl', 'Shatter'), #('2_lvl', 'Hex'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Eldritch_Spear':True, 'Invocation_Agonizing_Blast':True, }, 'race':'Fourlegged-common', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, #'Infusion of Claws':1, 'Infusion of Barkskin':1, 'Infusion of Regeneration':1, }, } metadict_chars['Warlock 3 lvl ( )'] = { 'level':3, #'defence_AI':True, 'fireball_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ # TODO: 'Otherworldly_Patron':'Archfey', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Thunderclap'), ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Prestidigitation'), ('2_lvl', 'Armor_of_Agathys'), ('2_lvl', 'Invisibility'), ('2_lvl', 'Suggestion'), #('2_lvl', 'Shatter'), #('2_lvl', 'Hex'), ], 'Dark_One\'s_Blessing':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Eldritch_Spear':True, 'Pact_Boon':True, 'Pact_of_the_Tome':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Regeneration':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # () ('): metadict_chars['Warlock 2 lvl ( \')'] = { 'level':2, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'archer', 'class_features':{ 'Feat_Mounted_Combatant':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ ('cantrip', 'Shape_Water'), ('cantrip', 'Eldritch_Blast'), ('1_lvl', 'Charm_Person'), ('1_lvl', 'Armor_of_Agathys'), ('1_lvl', 'Sleep'), ], # TODO: . # - 1 lvl Fey_Presence, / , 10- . 'Fey_Presence':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Mask_of_Many_Faces':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # : 'Infusion of Regeneration':1, 'Potion of Antidote':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shortsword':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Horseclaw', #'equipment_mount':{ # 'Horse Scale Mail':1, # }, } metadict_chars['Warlock 6 lvl (\' )'] = { 'level':6, 'fireball_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':10, 'dexterity':16, 'constitution':12, 'intelligence':14, 'wisdom':16, 'charisma':18, }, 'class_features':{ 'Feat_Mounted_Combatant':True, 'Otherworldly_Patron':'Fiend', 'Pact_Magic':True, 'Spells':[ # Shape_Water Create_Bonfire : ('cantrip', 'Shape_Water'), ('cantrip', 'Eldritch_Blast'), ('cantrip', 'Minor_Illusion'), ('cantrip', 'Prestidigitation'), ('cantrip', 'Message'), ('ritual', 'Detect_Magic'), ('ritual', 'Identify'), ('3_lvl', 'Sleep'), ('3_lvl', 'Charm_Person'), ('3_lvl', 'Armor_of_Agathys'), ('3_lvl', 'Summon_Lesser_Demons'), ('3_lvl', 'Counterspell'), # , : #('3_lvl', 'Fly'), ], # TODO: . # - 1 lvl Fey_Presence, / , 10- . # - 6 lvl Misty_Escape, 60 , , . . 'Fey_Presence':True, 'Misty_Escape':True, 'Eldritch_Invocations':True, 'Invocation_Agonizing_Blast':True, 'Invocation_Mask_of_Many_Faces':True, 'Invocation_Book_of_Ancient_Secrets':True, 'Pact_Boon':True, 'Pact_of_the_Tome':True, 'Feat_Inspiring_Leader':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # : 'Infusion of Regeneration':1, 'Potion of Antidote':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Shortsword +1':1, 'Shortbow':1, 'Arrow':40, }, #'mount_combat':True, #'mount_type':'Horseclaw', #'equipment_mount':{ # 'Horse Scale Mail':1, # }, } #---- # () (): metadict_chars['Wizard 2 lvl ( )'] = { 'level':2, 'commando_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'archer', 'class_features':{ 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mend'), ('cantrip', 'Water_Shape'), ('cantrip', 'Mold_Earth'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), #('1_lvl', 'Sleep'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), ], }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':10, 'Potion of Antidote':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, }, } metadict_chars['Wizard 7 lvl ()'] = { 'level':7, 'archer_AI':True, 'commando_AI':True, 'fireball_AI':True, 'squad_advantage':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ # . Feat_Resilient . 'Feat_Resilient':'constitution', 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mend'), ('cantrip', 'Water_Shape'), ('cantrip', 'Mold_Earth'), ('cantrip', 'Message'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), #('1_lvl', 'Sleep'), ('1_lvl', 'Magic_Missile'), ('1_lvl', 'Absorb_Elements'), # Blur, " " #('2_lvl', 'Blur'), ('2_lvl', 'Suggestion'), ('2_lvl', 'Hold_Person'), ('2_lvl', 'Invisibility'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Nondetection'), ('3_lvl', 'Sending'), #('3_lvl', 'Dispel_Magic'), # : #('3_lvl', 'Fireball'), #('3_lvl', 'Melf_Minute_Meteors'), #('4_lvl', 'Ice_Storm'), ('4_lvl', 'Arcane_Eye'), ('4_lvl', 'Control_Water'), #('4_lvl', 'Greater_Invisibility'), #('4_lvl', 'Polymorph'), ], 'Ability_Score_Improvement':{ 'intelligence':+2, }, }, 'race':'Cat-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':10, 'Potion of Antidote':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, }, } #---- # () (): metadict_chars['Warrior 1 lvl ( )'] = { 'level':1, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'warrior', 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Chain Shirt':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':6, }, } metadict_chars['Warrior 2 lvl ( )'] = { 'level':2, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Infusion of Vitality':1, #'Scale Mail':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':12, 'Sleep Blade':40, }, } metadict_chars['Warrior 3 lvl ( )'] = { 'level':3, 'char_class':'Warrior', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, #'Half Plate':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':12, 'Sleep Blade':40, }, } metadict_chars['Warrior 4 lvl ( )'] = { 'level':4, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Alert':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, #'Half Plate':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':12, 'Sleep Blade':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl ( )'] = { # , (). 'level':5, 'char_class':'Warrior-officer', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Extra_Attack':True, 'Feat_Alert':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Goodberry':4, 'Potion of Antidote':1, 'Infusion of Longstrider':1, 'Infusion of False Life':1, 'Rune of Absorbtion':1, #'Half Plate':1, 'Mage_Armor':1, 'Heavy Shield':1, 'Shortsword':1, 'Pilum':12, 'Sleep Blade':40, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #------------------------------------------------------------------------------- # -, Black Flags metadict_chars['Warrior 2 lvl (-) ()'] = { 'sneak_AI':True, 'grappler_AI':True, 'disengage_AI':True, 'base_unit':'Warrior 2 lvl (grenadier line-infantry-veteran)', 'char_class':'Warrior-pirate', 'race':'Cat-hero', 'class_features':{ 'Cunning_Action':True, 'Cunning_Action_Defence':True, 'Fighting_Style_Blind_Fighting':True, }, 'equipment_weapon':{ 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Claws':1, 'Hand Grenade':10, 'Smoke Grenade':2, }, } metadict_chars['Warrior 5 lvl (-) ()'] = { 'sneak_AI':True, 'grappler_AI':True, 'disengage_AI':True, 'base_unit':'Warrior 5 lvl (grenadier line-infantry-lieutenant)', 'char_class':'Warrior-pirate', 'race':'Cat-hero', 'class_features':{ 'Cunning_Action':True, 'Cunning_Action_Defence':True, 'Fighting_Style_Blind_Fighting':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'equipment_weapon':{ 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Claws':1, 'Infusion of Vitality':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Hand Grenade':10, 'Smoke Grenade':2, }, } #---- # () ( ): metadict_chars['Warrior 2 lvl (-)'] = { 'base_unit':'Warrior 2 lvl (grenadier line-infantry-veteran)', 'char_class':'Warrior-heavy', 'equipment_weapon':{ 'Potion of Heroism':1, 'Potion of Antidote':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, #'Hand Mortar':1, #'2lb Bomb':3, }, } metadict_chars['Warrior 5 lvl (-) ()'] = { 'base_unit':'Warrior 5 lvl (grenadier line-infantry-lieutenant)', 'char_class':'Warrior-officer', 'equipment_weapon':{ 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre +1':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':5, 'Smoke Grenade':1, #'Hand Mortar':1, #'2lb Bomb':3, }, } metadict_chars['Warrior 4 lvl ( )'] = { 'base_unit':'Warrior 4 lvl (grenadier line-infantry-sergeant)', 'char_class':'Warrior-heavy', 'behavior':'elite_warrior', 'class_features':{ 'Feat_Martial_Adept':True, 'Menacing_Attack':True, 'Precision_Attack':True, #'Parry':True, }, 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':10, 'Smoke Grenade':1, #'Hand Mortar':1, #'2lb Bomb':3, }, } metadict_chars['Warrior 5 lvl ( )'] = { 'base_unit':'Warrior 5 lvl (grenadier line-infantry-lieutenant)', 'char_class':'Warrior-officer', 'class_features':{ 'Feat_Martial_Adept':True, 'Menacing_Attack':True, 'Precision_Attack':True, #'Parry':True, 'Extra_Attack':True, }, 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre +1':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':10, 'Smoke Grenade':1, #'Hand Mortar':1, #'2lb Bomb':3, }, } metadict_chars['Warrior 4 lvl ( ) ()'] = { 'base_unit':'Warrior 4 lvl (grenadier line-infantry-sergeant)', 'char_class':'Warrior-heavy', 'behavior':'elite_warrior', 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':10, 'Smoke Grenade':1, #'Hand Mortar':1, #'2lb Bomb':3, }, } metadict_chars['Warrior 5 lvl ( ) ()'] = { 'base_unit':'Warrior 5 lvl (grenadier line-infantry-lieutenant)', 'char_class':'Warrior-officer', 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Rune of Absorbtion':1, 'Breastplate, 17 century':1, 'Halberd':1, 'Sabre +1':1, 'Shield':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Hand Grenade':10, 'Smoke Grenade':1, #'Hand Mortar':1, #'2lb Bomb':3, }, } #---- # () ( ): metadict_chars['Warrior 1 lvl ()'] = { 'base_unit':'Warrior 1 lvl (cannoneer artillery)', 'behavior':'warrior', } metadict_chars['Warrior 2 lvl (-)'] = { 'base_unit':'Warrior 2 lvl (cannoneer artillery-veteran)', 'behavior':'warrior', } metadict_chars['Warrior 2 lvl (-) (6lb Cannon)'] = { 'base_unit':'Warrior 2 lvl (cannoneer artillery-veteran)', 'behavior':'elite_warrior', 'equipment_weapon':{ 'Rune of Armor':1, '6lb Cannon, naval':1, '6lb Bar':100, '6lb Ball':100, }, 'mount_combat':True, 'mount_type':'6lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 2 lvl (-) (2lb Falconet)'] = { 'base_unit':'Warrior 2 lvl (cannoneer artillery-veteran)', 'behavior':'elite_warrior', 'equipment_weapon':{ 'Rune of Armor':1, '2lb Falconet':1, #'2lb Ball':100, '2lb Bomb':100, }, 'mount_combat':True, 'mount_type':'2lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 3 lvl (-)'] = { 'base_unit':'Warrior 3 lvl (cannoneer artillery-corporal)', 'behavior':'warrior', } metadict_chars['Warrior 3 lvl (-) (6lb Cannon)'] = { 'base_unit':'Warrior 3 lvl (cannoneer artillery-corporal)', 'behavior':'elite_warrior', 'equipment_weapon':{ 'Rune of Armor':1, '6lb Cannon, naval':1, '6lb Bar':100, '6lb Ball':100, }, 'mount_combat':True, 'mount_type':'6lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 3 lvl (-) (12lb Cannon)'] = { 'base_unit':'Warrior 3 lvl (cannoneer artillery-corporal)', 'behavior':'elite_warrior', 'equipment_weapon':{ 'Rune of Armor':1, '12lb Cannon, naval':1, '12lb Bar':100, '12lb Ball':100, }, 'mount_combat':True, 'mount_type':'12lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 4 lvl (-)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'behavior':'commander', } metadict_chars['Warrior 4 lvl (-) (12lb Mortar)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'behavior':'elite_warrior', 'equipment_weapon':{ 'Rune of Armor':1, '12lb Mortar':1, '12lb Bomb':100, }, 'mount_combat':True, 'mount_type':'12lb Mortar, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 4 lvl (-) (2lb Falconet)'] = { 'base_unit':'Warrior 4 lvl (cannoneer artillery-sergeant)', 'behavior':'elite_warrior', 'equipment_weapon':{ 'Rune of Armor':1, '2lb Falconet':1, '2lb Ball':100, #'2lb Bomb':100, }, 'mount_combat':True, 'mount_type':'2lb Cannon, chassis', 'equipment_mount':{}, } metadict_chars['Warrior 5 lvl (-)'] = { 'base_unit':'Warrior 5 lvl (cannoneer artillery-lieutenant)', } #---- # () ( ): metadict_chars['Fighter 11 lvl ( )'] = { # -- . --, 17% . # Fighter 1 lvl (legionary slayer-rookie) sum:100 STR:19 DEX:18 CON:19 INT:15 WIS:12 CHA:17 # Commanding_Presence +1d10 (, , ) # Tactical_Assessment +1d10 () (, ) 'level':11, 'fearless_AI':True, 'hunter_AI':True, 'sneak_AI':True, 'char_class':'Battlemaster', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':19, 'dexterity':18, 'constitution':19, 'intelligence':15, 'wisdom':12, 'charisma':17, }, 'class_features':{ 'Feat_Shield_Master':True, 'Feat_Heavy_Armor_Master':True, 'Fighting_Style_Defence':True, 'Second_Wind':True, 'Action_Surge':True, 'Extra_Attack':True, 'Indomitable':True, 'Ability_Score_Improvement':{ 'strength':+1, 'constitution':+1, }, # : 'Martial_Archetype_Battlemaster':True, 'Combat_Superiority':True, 'Student_of_War':True, # (11 lvl -- 7 , 5 1d10): # TODO: # - Trip_Attack -- . # - Grappling_Strike -- . # - Bait_and_Switch -- +1d10 AC / . #'Parry':True, 'Menacing_Attack':True, 'Disarming_Attack':True, 'Precision_Attack':True, 'Commanding_Presence':True, 'Tactical_Assessment':True, #'Bait_and_Switch':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Antidote':1, 'Infusion of Heroism':1, 'Rune of Shielding':2, 'Plate Armor +1':1, 'Heavy Shield +1':1, 'Rarity +2':1, 'Rapier +2':1, 'Pistol, Ashbeard':1, 'Muskete Bullet':30, #'Hand Grenade':10, 'Smoke Grenade':1, 'Poison Blade':40, }, } metadict_chars['Fighter 13 lvl ( )'] = { # -- . Mirror_Image Blur 60% . # Fighter 1 lvl (legionary sentinel-battler) sum:103 STR:19 DEX:17 CON:18 INT:16 WIS:16 CHA:17 # " " (Detect_Thoughts), . 'level':13, 'fearless_AI':True, 'hunter_AI':True, 'no_grappler_AI':True, 'char_class':'Eldritch_Knight', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':19, 'dexterity':17, 'constitution':18, 'intelligence':16, 'wisdom':16, 'charisma':17, }, 'class_features':{ # TODO: # - Eldritch_Strike -- = . . 'Feat_War_Caster':True, 'Feat_Shield_Master':True, 'Feat_Heavy_Armor_Master':True, 'Feat_Inspiring_Leader':True, 'Ability_Score_Improvement':{ 'strength':+1, 'intelligence':+2, }, 'Fighting_Style_Blind_Fighting':True, 'Second_Wind':True, 'Action_Surge':True, # 'Martial_Archetype_Eldritch_Knight':True, 'Weapon_Bond':True, 'Spellcasting':True, 'Spells':[ # 9 13 lvl (2 evocation abjuration) ('cantrip', 'Message'), ('cantrip', 'Green_Flame_Blade'), #('cantrip', 'Blade_Ward'), #('ritual', 'Alarm'), ('1_lvl', 'Shield'), #('2_lvl', 'Shield'), #('1_lvl', 'Fog_Cloud'), ('2_lvl', 'Mirror_Image'), ('3_lvl', 'Blur'), ('2_lvl', 'Darkness'), #('2_lvl', 'Flaming_Sphere'), #('2_lvl', 'Detect_Thoughts'), ('2_lvl', 'Gust_of_Wind'), ('2_lvl', 'Warding_Wind'), ('3_lvl', 'Counterspell'), ('3_lvl', 'Fireball'), ], 'Extra_Attack':True, 'Indomitable':True, 'War_Magic':True, 'Eldritch_Strike':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # TODO: 3 #'Infusion of Regeneration':1, 'Rune of Absorbtion':2, 'Plate Armor +1':1, 'Heavy Shield +1':1, #'Sword of Flame Tongue':1, #'Sword of Life-Stealing':1, #'Longsword +2':1, 'Rarity +2':1, }, } #---- # () (, Gunsway): metadict_chars['Commoner 1 lvl ( --)'] = { 'base_unit':'Commoner 1 lvl (militia bowman)', 'behavior':'warrior', 'equipment_weapon':{ 'Dagger':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Commoner 2 lvl ( --)'] = { 'base_unit':'Commoner 2 lvl (militia bowman-veteran)', 'behavior':'warrior', 'weapon_skill':['simple','martial'], 'equipment_weapon':{ 'Shield':1, 'Scimitar':1, 'Shortbow':1, 'Arrow':40, }, } metadict_chars['Warrior 3 lvl ( --)'] = { 'base_unit':'Warrior 3 lvl (sqythian bowman-corporal)', 'behavior':'elite_warrior', 'equipment_weapon':{ 'Rune of Armor':1, 'Shield':1, 'Scimitar':1, 'Longbow':1, 'Arrow':40, #'Pistol, Lorenzony':1, #'Muskete Bullet':30, }, } metadict_chars['Warrior 4 lvl (- --)'] = { 'base_unit':'Warrior 4 lvl (sqythian bowman-sergeant)', 'equipment_weapon':{ 'Rune of Armor':1, 'Rune of Shielding':1, 'Shield':1, 'Scimitar':1, 'Longbow':1, 'Arrow':40, #'Pistol, Lorenzony':1, #'Muskete Bullet':30, }, } metadict_chars['Warrior 5 lvl (- --)'] = { 'base_unit':'Warrior 5 lvl (sqythian bowman-lieutenant)', 'equipment_weapon':{ 'Rune of Armor':1, 'Rune of Shielding':1, 'Rune of Absorbtion':1, 'Shield':1, 'Scimitar +1':1, 'Longbow':1, 'Arrow':40, #'Pistol, Lorenzony':1, #'Muskete Bullet':30, }, } #---- # () (): metadict_chars['Ranger 5 lvl ( ) ()'] = { # 'volley_AI':True, 'base_unit':'Ranger 5 lvl (otherworld wanderer-lieutenant)', 'race':'Primevial-medium-hero', 'equipment_weapon':{ 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Regeneration':1, 'Rune of Armor':1, 'Rune of Shielding':1, 'Shield':1, 'Longsword +1':1, 'Longbow, Black Skies':1, 'Seeking Arrow':60, 'Sleep Blade':60, #'Poison Blade':40, }, } metadict_chars['Barbarian 5 lvl ( ) ()'] = { 'volley_AI':True, 'base_unit':'Barbarian 5 lvl (thracian slayer-lord)', 'race':'Primevial-medium-hero', 'equipment_weapon':{ 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Regeneration':1, #'Rune of Armor':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Heavy Shield':1, 'Greatsword +1':1, 'Longbow, Black Skies':1, 'Seeking Arrow':60, 'Sleep Blade':60, }, } metadict_chars['Warrior 5 lvl ( )'] = { 'level':5, 'char_class':'Warrior-bowman', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Sharpshooter':True, 'Extra_Attack':True, }, 'race':'Primevial-medium', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Potion of Heroism':1, 'Potion of Antidote':1, 'Infusion of Regeneration':1, 'Rune of Armor':1, 'Rune of Shielding':1, 'Shield':1, 'Longsword +1':1, 'Longbow, Black Skies':1, 'Seeking Arrow':60, 'Sleep Blade':60, #'Poison Blade':40, }, } #---- # () (): metadict_chars['Warrior 4 lvl ( )'] = { 'level':4, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mending'), ('cantrip', 'Acid_Splash'), ('ritual', 'Unseen_Servant'), ], }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Rune of Armor':1, 'Rune of Absorbtion':1, 'Heavy Shield':1, 'Sabre':1, 'Longbow':1, 'Poison Arrow':40, 'Poison Blade':10, #'Flame Grenade':10, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl ( )'] = { 'level':5, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Protection':True, 'Feat_Magic_Initiate':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mending'), ('cantrip', 'Acid_Splash'), ('ritual', 'Unseen_Servant'), ], 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Rune of Armor':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Heavy Shield':1, 'Sabre':1, 'Longbow':1, 'Poison Arrow':40, 'Poison Blade':10, #'Flame Grenade':10, 'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Wizard 13 lvl ()'] = { # Wizard 1 lvl (otherworld mage-disciple) sum:94 STR:13 DEX:17 CON:16 INT:19 WIS:14 CHA:15 # : # - Feat_Alert, -- . # - Feat_Keen_Mind -- . # - Feat_Metamagic_Adept -- Arcane_Gate Mass_Suggestion # : # - (Fabricate) . # - (Contingency) Wall_of_Force. # - (Arcane_Gate), 1000 ( Metamagic_Distant_Spell) # - (Create_Homunculus), . 'level':13, 'fireball_AI':True, 'disengage_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':13, 'dexterity':17, 'constitution':16, 'intelligence':19, 'wisdom':14, 'charisma':15, }, 'class_features':{ 'Feat_Alert':True, 'Feat_Keen_Mind':True, 'Feat_Metamagic_Adept':True, 'Metamagic_Subtle_Spell':True, 'Metamagic_Distant_Spell':True, 'Ability_Score_Improvement':{ 'dexterity':+1, 'intelligence':+1, 'charisma':+1, }, 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ # _ + _ (18 ) ('cantrip', 'Prestidigitation'), ('cantrip', 'Acid_Splash'), ('cantrip', 'Mending'), ('cantrip', 'Message'), ('cantrip', 'Mage_Hand'), # : ('ritual', 'Alarm'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), ('ritual', 'Find_Familiar'), ('ritual', 'Comprehend_Languages'), ('ritual', 'Feign_Death'), ('ritual', 'Water_Breathing'), ('ritual', 'Rary_Telepathic_Bond'), ('ritual', 'Contact_Other_Plane'), # (6 ): # TODO: Dust_Devil Flaming_Sphere. ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'See_Invisibility'), ('2_lvl', 'Invisibility'), ('2_lvl', 'Dust_Devil'), # (12 ): ('3_lvl', 'Counterspell'), ('3_lvl', 'Sleet_Storm'), ('3_lvl', 'Sending'), ('4_lvl', 'Fabricate'), ('4_lvl', 'Dimension_Door'), ('4_lvl', 'Conjure_Minor_Elementals'), ('5_lvl', 'Conjure_Elemental'), ('5_lvl', 'Planar_Binding'), ('5_lvl', 'Scrying'), ('6_lvl', 'Arcane_Gate'), ('6_lvl', 'Mass_Suggestion'), ('7_lvl', 'Teleportation'), # ---- # ( 1-3 lvl): # ---- #('3_lvl', 'Blink'), #('3_lvl', 'Animate_Dead'), #('3_lvl', 'Dispel_Magic'), #('3_lvl', 'Melf_Minute_Meteors'), #('3_lvl', 'Summon_Lesser_Demons'), # ---- #('4_lvl', 'Stoneskin'), #('4_lvl', 'Arcane_Eye'), #('4_lvl', 'Control_Water'), #('4_lvl', 'Leomund_Secret_Chest'), #('4_lvl', 'Otiluke_Resilent_Sphere'), #('4_lvl', 'Mordenkainen_Private_Sanctum'), #('4_lvl', 'Conjure_Minor_Elementals'), #('4_lvl', 'Summon_Greater_Demon'), #('4_lvl', 'Sickening_Radiance'), #('4_lvl', 'Banishment'), # ---- #('5_lvl', 'Animated_Objects'), #('5_lvl', 'Conjure_Elemental'), #('5_lvl', 'Planar_Binding'), #('5_lvl', 'Wall_of_Force'), #('5_lvl', 'Passwall'), #('5_lvl', 'Scrying'), #('5_lvl', 'Cone_of_Cold'), #('5_lvl', 'Cloudkill'), #('5_lvl', 'Teleportation_Circle'), # ---- #('6_lvl', 'Soul_Cage'), #('6_lvl', 'Arcane_Gate'), #('6_lvl', 'True_Seeing'), #('6_lvl', 'Contingency'), #('6_lvl', 'Mass_Suggestion'), #('6_lvl', 'Programmed_Illusion'), #('6_lvl', 'Create_Homunculus'), #('6_lvl', 'Whirlwind'), # ---- #('7_lvl', 'Teleportation'), #('7_lvl', 'Mordenkainens_Magnificent_Mansion'), ], # TODO: Benign_Transposition Focused_Conjuration 'School_of_Conjuration':True, 'Minor_Conjuration':True, 'Benign_Transposition':True, 'Focused_Conjuration':True, #'Durable_Summons':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # TODO: 3-4 # - Rune of Flying # - Rune of Stoneskin # - Rune of Greater Invisibility 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } metadict_chars['Wizard 4 lvl ( )'] = { 'level':4, 'archer_AI':True, 'fireball_AI':True, 'char_class':'Wizard', 'hit_dice':'1d6', 'behavior':'commander', 'class_features':{ 'Feat_Alert':True, 'Ability_Score_Improvement':{ 'intelligence':+2, }, 'Arcane_Recovery':True, 'Spellcasting':True, 'Spells':[ # _ + _ (8 ) ('cantrip', 'Prestidigitation'), ('cantrip', 'Acid_Splash'), ('cantrip', 'Mending'), ('cantrip', 'Message'), # : ('ritual', 'Alarm'), ('ritual', 'Identify'), ('ritual', 'Detect_Magic'), ('ritual', 'Unseen_Servant'), ('ritual', 'Gentle_Repose'), ('ritual', 'Find_Familiar'), ('ritual', 'Comprehend_Languages'), ('1_lvl', 'Shield'), ('1_lvl', 'Fog_Cloud'), ('1_lvl', 'Absorb_Elements'), ('2_lvl', 'See_Invisibility'), ('2_lvl', 'Invisibility'), ('2_lvl', 'Dust_Devil'), ], 'School_of_Conjuration':True, 'Minor_Conjuration':True, 'Benign_Transposition':True, }, 'race':'Human-hero', 'weapon_skill':['simple'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Rune of Armor':1, 'Dagger':1, }, #'mount_combat':True, #'mount_type':'Light Warhorse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Warrior 4 lvl ( )'] = { 'level':4, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'elite_warrior', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Defensive_Duelist':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Rune of Armor':1, 'Rune of Absorbtion':1, 'Shield':1, 'Sabre':1, 'Glaive':1, 'Longbow':1, 'Poison Arrow':40, 'Poison Blade':10, #'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } metadict_chars['Warrior 5 lvl ( )'] = { 'level':5, 'char_class':'Warrior-pirate', 'hit_dice':'1d8', 'behavior':'commander', 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Defensive_Duelist':True, 'Extra_Attack':True, }, 'race':'Human-common', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Rune of Armor':1, 'Rune of Absorbtion':1, 'Rune of Shielding':1, 'Shield':1, 'Glaive':1, 'Sabre +1':1, 'Longbow':1, 'Poison Arrow':40, 'Poison Blade':10, #'Smoke Grenade':1, }, #'mount_combat':False, #'mount_type':'Riding Horse', #'equipment_mount':{ # }, } #---- # () (): metadict_chars['Monk 13 lvl ()'] = { # # Monk 1 lvl (city windsong-apprentice) sum:97 STR:16 DEX:19 CON:17 INT:14 WIS:19 CHA:12 # Tongue_of_the_Sun_and_Moon -- . 'level':13, #'grappler_AI':True, 'fireball_AI':True, 'carefull_AI':True, 'char_class':'Monk', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ 'strength':16, 'dexterity':19, 'constitution':17, 'intelligence':14, 'wisdom':19, 'charisma':12, }, 'class_features':{ # TODO: # ------ # 1. Stillness_of_Mind -- . # 2. Unarmored_Movement_improvement -- . # ------ 'Feat_Sharpshooter':True, 'Feat_Weapon_Master':True, 'Fighting_Style_Archery':True, 'Feat_Defensive_Duelist':True, 'Ability_Score_Improvement':{ 'wisdom':+1, 'dexterity':+1, }, # : 'Agile_Parry':True, #'Kensei_Weapons':['Saber','Longbow','Glaive','Chakram'], 'Kensei_Weapons':['simple','martial'], 'Kensei_Shot':'1d4', 'Magic_Kensei_Weapons':True, 'Deft_Strike':True, 'Sharpen_the_Blade':True, # : 'Unarmored_Defense':True, 'Martial_Arts':True, 'Flurry_of_Blows':True, 'Patient_Defense':True, 'Step_of_the_Wind':True, 'Unarmored_Movement':True, 'Deflect_Missiles':True, 'Slow_Fall':True, 'Extra_Attack':True, 'Stunning_Strike':True, 'Ki_Empowered_Strikes':True, 'Evasion':True, 'Stillness_of_Mind':True, 'Unarmored_Movement_improvement':True, 'Purity_of_Body':True, 'immunity':['poison','disease'], 'Tongue_of_the_Sun_and_Moon':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':[], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # TODO: # 3. 3-4 . 'Potion of Antidote':1, 'Infusion of Vitality':1, 'Infusion of Heroism':1, 'Rune of Shielding':1, 'Bracers of Defence':1, #'Sword of Sharpness':1, #'Sword of Hopesfire':1, 'Sword of Flame Tongue':1, 'Longbow':1, 'Poison Arrow':80, 'Sleep Blade':10, 'Chakram':10, }, } #---- # () ( ): metadict_chars['Warlock 5 lvl () ( )'] = { # , +10 +20 Pass_Without_Trace. +10 . # Pact_of_the_Chain: -- 'level':5, 'fireball_AI':True, 'char_class':'Warlock', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_medial':True, 'abilityes':{ # (): +2 ; # (): +2 'strength':11, 'dexterity':18+2, 'constitution':16, 'intelligence':13, 'wisdom':10, 'charisma':18+2, }, 'class_features':{ # , : 'immunity':['sleep'], 'resistance':['charmed'], 'Darkvision':60, # ---- 'Feat_Elemental_Adept':'fire', 'Otherworldly_Patron':'Efreeti', 'Pact_Magic':True, 'Spells':[ # 3 6 5 lvl ('cantrip','Create_Bonfire'), ('cantrip','Minor_Illusion'), ('cantrip','Mage_Hand'), ('cantrip','Silent_Image'), ('ritual', 'Find_Familiar'), ('3_lvl','Invisibility'), ('3_lvl','Enhance_Ability'), ('3_lvl','Phantasmal_Force'), ('3_lvl','Armor_of_Agathys'), ('3_lvl','Fireball'), ('3_lvl','Tongues'), #('3_lvl','Hypnotic_Pattern'), ], 'Pact_Boon':True, 'Pact_of_the_Chain':True, 'Genies_Vessel':True, 'Genies_Wrath':'fire', 'Bottled_Respite':True, 'Eldritch_Invocations':True, 'Invocation_Misty_Visions':True, 'Invocation_Mask_of_Many_Faces':True, 'Invocation_Voice_of_the_Chain_Master':True, }, 'race':'Primevial-medium-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light'], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Infusion of Heroism':1, #'Infusion of Claws':1, 'Rune of Shielding':1, 'Rune of Absorbtion':1, 'Rune of Armor':1, 'Rarity +2':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, } #---- # (Shady) ( ): metadict_chars['Warrior 3 lvl ( )'] = { 'base_unit':'Warrior 3 lvl (fusilier line-infantry-corporal)', 'behavior':'elite_warrior', 'equipment_weapon':{ 'Infusion of Longstrider':1, 'Scimitar':1, 'Shield':1, 'Muskete, Lorenzony':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, } metadict_chars['Warrior 4 lvl ( )'] = { 'base_unit':'Warrior 4 lvl (fusilier line-infantry-sergeant)', 'equipment_weapon':{ 'Rune of Armor':1, 'Infusion of Longstrider':1, 'Scimitar':1, 'Shield':1, 'Muskete, Lorenzony':1, 'Muskete Bullet':30, 'Smoke Grenade':1, }, } metadict_chars['Warrior 5 lvl ()'] = { 'base_unit':'Warrior 5 lvl (fusilier line-infantry-lieutenant)', 'hitpoints_medial':True, 'abilityes':{ 'strength':12, 'dexterity':16, 'constitution':14, 'intelligence':10, 'wisdom':6, 'charisma':16, }, 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Inspiring_Leader':True, 'Extra_Attack':True, }, 'equipment_weapon':{ 'Rune of Armor':1, 'Rune of Message':1, 'Infusion of Longstrider':1, 'Dagger':1, #'Scimitar':1, #'Muskete, Brown Bess':1, #'Muskete Bullet, bess':30, 'Smoke Grenade':1, }, } metadict_chars['Artificier 5 lvl (Shady) ( )'] = { 'level':5, 'sneak_AI':True, 'fireball_AI':True, #'enslave_AI':True, #'defence_AI':True, #'grenadier_AI':True, #'firearm_AI':True, 'char_class':'Artificier', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_base':8 + 4*5, 'abilityes':{ # ; +1 , +1 'strength':9, 'dexterity':17+1, 'constitution':11+1, 'intelligence':18+2, 'wisdom':18, 'charisma':13, }, 'class_features':{ 'Feat_Linguist':True, 'Feat_Healer':True, 'Feat_Skill_Expert':'medicine', 'Spellcasting':True, 'Spells':[ # : 4 +7 (+5 +2 /2) ('cantrip', 'Mending'), ('cantrip', 'Mage_Hand'), ('1_lvl', 'Healing_Word'), #('1_lvl', 'Ray_of_Sickness'), ('1_lvl', 'Expeditious_Retreat'), ('1_lvl', 'Sanctuary'), #('1_lvl', 'Identify'), #('1_lvl', 'Alarm'), #('1_lvl', 'Detect_Magic'), #('1_lvl', 'Purify_Food_and_Drink'), ('2_lvl', 'Flaming_Sphere'), #('2_lvl', 'Melfs_Acid_Arrow'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'See_Invisibility'), ('2_lvl', 'Invisibility'), #('2_lvl', 'Blur'), #('2_lvl', 'Web'), #('2_lvl', 'Enhance_Ability'), #('2_lvl', 'Continual_Flame'), #('2_lvl', 'Arcane_Lock'), #('2_lvl', 'Magic_Mouth'), #('2_lvl', 'Skywrite'), ], 'Magical_Tinkering':True, 'Infuse_Item':True, 'The_Right_Tool_for_the_Job':True, 'Artificier_Alchemist':True, 'Experimental_Elixir':True, 'Alchemical_Savant':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'skills':[ # (): , # (): , , # (-): 'History', 'Nature', 'Religion', 'Animal_Handling', 'Insight', 'Medicine', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ #'Infusion of Claws':1, #'Potion of Rage':1, 'Potion of Heroism':1, 'Potion of Antidote':1, 'Potion of Boldness':1, 'Potion of Resilience':1, # ---- 'Rune of Armor':1, 'Rune of Message':1, 'Rune of Shielding':1, 'Scimitar +1':1, 'Shield':1, #'Muskete, Lorenzony':1, #'Pistol, Lorenzony':1, #'Muskete Bullet':30, '10lb Bomb, mine':2, 'Smoke Grenade':1, }, } #---- # (Katorjnik) ( ): metadict_chars['Ranger 5 lvl (Katorjnik) ( )'] = { 'level':5, #'sneak_AI':True, 'striker_AI':True, 'firearm_AI':True, #'defence_AI':True, #'killer_AI':True, 'char_class':'Ranger', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_base':10 + 6*4, 'abilityes':{ # ; +1 , +1 'strength':14, 'dexterity':18+1, 'constitution':12, 'intelligence':10, 'wisdom':17+1, 'charisma':15, }, 'class_features':{ 'Fighting_Style_Archery':True, 'Feat_Firearms_Expert':True, 'Feat_Sharpshooter':True, 'Feat_Alert':True, 'Favored_Enemy':['humans', 'spain'], 'Natural_Explorer':['sea', 'coast'], 'Spellcasting':True, 'Spells':[ #('ritual', 'Beast_Sense'), ('1_lvl', 'Hunters_Mark'), ('1_lvl', 'Hail_of_Thorns'), ('2_lvl', 'Pass_Without_Trace'), ('2_lvl', 'Lesser_Restoration'), ], 'Primeval_Awareness':True, 'Ranger_Archetype_Hunter':True, 'Hunter_Colossus_Slayer':'1d8', 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'skills':[ # (): , () # (): , 'Athletics', 'Stealth', 'Insight', 'Perception', 'Survival', 'Persuasion', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # . 'Rune of Armor':1, 'Rune of Absorbtion':1, 'Bracers of Silver':1, 'Sabre':1, 'Shield':1, 'Rifle, Schwartz Mark':1, #'Pistol, Lorenzony':1, 'Muskete Bullet':90, 'Smoke Grenade':2, }, } #---- # () ( ): metadict_chars['Fighter 5 lvl () ( )'] = { 'level':5, #'defence_AI':True, 'striker_AI':True, 'no_grappler_AI':True, 'char_class':'Battlemaster', 'hit_dice':'1d10', 'behavior':'commander', 'hitpoints_base':10 + 6*4, 'abilityes':{ # ; +1 , +1 # : (+ 1 ) # : (+ 1 ) # : (+ 1 ) 'strength':9, 'dexterity':16, 'constitution':8, 'intelligence':18+2, 'wisdom':18+2, 'charisma':17+1, }, 'class_features':{ # TODO: Feat_Martial_Adept +1 , . . 'Feat_Martial_Adept':True, 'Feat_Keen_Mind':True, 'Feat_Observant':True, 'Feat_Linguist':True, 'Feat_Defensive_Duelist':True, 'Fighting_Style_Dueling':True, 'Second_Wind':True, 'Action_Surge':True, 'Martial_Archetype_Battlemaster':True, 'Combat_Superiority':True, 'Student_of_War':True, 'Disarming_Attack':True, 'Precision_Attack_Close':True, 'Feinting_Attack':True, 'Extra_Attack':True, }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','heavy','shield'], 'skills':[ # (): , # (): # (): 'History', 'Investigation', 'Insight', 'Perception', 'Persuasion', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ # . . #'Shield, Bladebreaker':1, 'Rune of Armor':1, 'Rune of Shielding':2, 'Rapier of Sharpness':1, 'Pistol, Lorenzony':1, 'Muskete Bullet':30, #'Smoke Grenade':1, }, } #---- # (Endeavour) ( ): metadict_chars['Bard 5 lvl (firesalamander) ( )'] = { # TODO: Combat_Inspiration . # -- . . # AC -- . 'level':5, 'striker_AI':True, 'fireball_AI':True, 'char_class':'Bard', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_base':8 + 4*5, 'abilityes':{ # (): +2 ; # (): +1 , +1 ; # (-): +1 ; 'strength':10+1, 'dexterity':18, 'constitution':8, 'intelligence':14, 'wisdom':18+2, 'charisma':18+2, }, 'class_features':{ # , : 'immunity':['sleep'], 'resistance':['charmed'], 'Darkvision':60, # ---- 'Feat_Chef':True, 'Feat_Healer':True, 'Bardic_Inspiration':True, 'Spellcasting':True, 'Spells':[ ('cantrip', 'Mending'), ('cantrip', 'Mage_Hand'), ('cantrip', 'Message'), ('ritual', 'Unseen_Servant'), ('ritual', 'Comprehend_Languages'), ('1_lvl', 'Sleep'), ('1_lvl', 'Expeditious_Retreat'), ('2_lvl', 'Knock'), ('2_lvl', 'Calm_Emotions'), ('3_lvl', 'Catnap'), ('3_lvl', 'Fear'), ('3_lvl', 'Sleep'), ], 'Jack_of_All_Trades':True, 'Song_of_Rest':True, 'College_of_Valor':True, 'Combat_Inspiration':True, 'Expertise':['Survival','Deception'], 'Font_of_Inspiration':True, }, 'race':'Half-elf-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'skills':[ # (): , , # (): , # (): 'Sleight_of_Hand', 'Medicine', 'Perception', 'Survival', 'Deception', 'Performance', 'Persuasion', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Rune of Absorbtion':1, 'Rune of Shielding':2, 'Armor, One-of-Many':1, 'Shield':1, 'Rapier':1, 'Hand Grenade':2, #'Pistol, Lorenzony':1, #'Muskete Bullet':30, #'Smoke Grenade':1, }, } #---- # () ( ): metadict_chars['Artificier 5 lvl () ( )'] = { 'level':5, #'accurate_AI':True, 'striker_AI':True, 'firearm_AI':True, 'fireball_AI':True, 'no_grappler_AI':True, 'disengage_AI':True, 'char_class':'Artificier', 'hit_dice':'1d8', 'behavior':'commander', 'hitpoints_base':8 + 4*5, 'abilityes':{ # ; +1 , +1 # (???): +1 'strength':13, 'dexterity':13+1, 'constitution':14, 'intelligence':18+2, 'wisdom':18, 'charisma':10, }, 'class_features':{ 'Feat_Spellsniper':True, 'Feat_Sharpshooter':True, 'Feat_Telekinetic':True, 'Spellcasting':True, 'Spells':[ # : 4 +7 (+5 +2 /2) # Scorching_Ray , . . ('cantrip', 'Magic_Stone'), ('cantrip', 'Mending'), ('cantrip', 'Mage_Hand'), ('cantrip', 'Shocking_Grasp'), ('ritual', 'Purify_Food_and_Drink'), ('ritual', 'Detect_Magic'), ('ritual', 'Skywrite'), ('1_lvl', 'Shield'), ('1_lvl', 'Thunderwave'), ('1_lvl', 'Absorb_Elements'), ('1_lvl', 'Cure_Wounds'), #('2_lvl', 'Scorching_Ray'), ('2_lvl', 'Shatter'), ('2_lvl', 'Lesser_Restoration'), ('2_lvl', 'Levitate'), ], 'Magical_Tinkering':True, 'Infuse_Item':True, 'The_Right_Tool_for_the_Job':True, 'Artificier_Artillerist':True, 'Eldritch_Cannon':True, 'Eldritch_Cannon_Control_Distance':60, 'Arcane_Firearm':'1d8', }, 'race':'Human-hero', 'weapon_skill':['simple','martial'], 'armor_skill':['light','medium','shield'], 'skills':[ # (): , # (): , , # (-): 'Arcana', 'History', 'Nature', 'Religion', 'Perception', ], 'equipment_supply':soldier_supply, 'equipment_backpack':soldiers_pack, 'equipment_weapon':{ 'Infusion of Longstrider':1, 'Rune of Shielding':2, 'Half Plate, 17 century':1, 'Shield, Bladebreaker':1, 'Equalizer':1, 'Magic Boom-stone':3, '10lb Bomb, mine':1, 'Smoke Grenade':1, }, 'mount_combat':True, #'mount_type':'Eldritch Cannon (flamethrower)', #'mount_type':'Eldritch Cannon (force ballista)', 'mount_type':'Eldritch Cannon (protector)', 'equipment_mount':{ '10lb Bomb, mine':4, 'Smoke Grenade':4, }, }
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 2, 220, 220, 220, 357, 24120, 3183, 62, 8002, 8, 198, 6738, 1366, 13, 23814, 1330, 1635, 198, 198, 2, 650, 198...
1.917085
221,252
import numpy as np import scipy as sp import scipy.stats import matplotlib.pyplot as plt if __name__ == '__main__': main()
[ 11748, 299, 32152, 355, 45941, 198, 11748, 629, 541, 88, 355, 599, 198, 11748, 629, 541, 88, 13, 34242, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 628, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, ...
2.607843
51
# # PySNMP MIB module CIRCUIT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CIRCUIT-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:49:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint") circuit, coriolisMibs = mibBuilder.importSymbols("CORIOLIS-MIB", "circuit", "coriolisMibs") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, IpAddress, Integer32, iso, Gauge32, Counter64, MibIdentifier, NotificationType, TimeTicks, Unsigned32, Counter32, Bits, NotificationType, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "IpAddress", "Integer32", "iso", "Gauge32", "Counter64", "MibIdentifier", "NotificationType", "TimeTicks", "Unsigned32", "Counter32", "Bits", "NotificationType", "ModuleIdentity") DisplayString, TruthValue, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue", "TextualConvention") circuitMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 5812, 6, 1)) if mibBuilder.loadTexts: circuitMIB.setLastUpdated('0010300000Z') if mibBuilder.loadTexts: circuitMIB.setOrganization('Coriolis Networks') if mibBuilder.loadTexts: circuitMIB.setContactInfo(' Srivathsan Srinivasagopalan Postal: 330 Codman Hill Road, Boxboro MA, 01719. Tel: +1 978 264 1904 Fax: +1 978 264 1929 E-mail: sri@coriolisnet.com') if mibBuilder.loadTexts: circuitMIB.setDescription(' The MIB module for transport channels ') circuitLoadBalanceInterval = MibScalar((1, 3, 6, 1, 4, 1, 5812, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitLoadBalanceInterval.setStatus('current') if mibBuilder.loadTexts: circuitLoadBalanceInterval.setDescription('The default load balancing schedule is to examine 1 circuit every 3 minutes at the GNE. Regardless of whether the circuit is moved to a better ring path or not, the next circuit is not examined until another 3 minutes (default) had expired. The duration of the load balance timer will be configurable from a range of 0 to 65535 seconds. Using a value of 0 will turn off load balancing.') circuitLoadBalanceNumPerInterval = MibScalar((1, 3, 6, 1, 4, 1, 5812, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitLoadBalanceNumPerInterval.setStatus('current') if mibBuilder.loadTexts: circuitLoadBalanceNumPerInterval.setDescription('Indicates the number of circuits being loadbalanced in a fixed interval. The maximum value is 10 circuits per second.') circuitOldIpAddrToSwap = MibScalar((1, 3, 6, 1, 4, 1, 5812, 6, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitOldIpAddrToSwap.setStatus('current') if mibBuilder.loadTexts: circuitOldIpAddrToSwap.setDescription('When a chassis running several circuits has to be moved to a new location with a new different IpAddress, then all the associated circuits has to be properly modified with the new IpAddress. This object will specify the old-IpAddress. This process is almost transparent to the user, but, he will notice traffic loss due to the circuits being brought down and up.') circuitNewIpAddrToSwap = MibScalar((1, 3, 6, 1, 4, 1, 5812, 6, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitNewIpAddrToSwap.setStatus('current') if mibBuilder.loadTexts: circuitNewIpAddrToSwap.setDescription('When a chassis running several circuits has to be moved to a new location with a new different IpAddress, then all the associated circuits has to be properly modified with the new IpAddress. This object will specify the old-IpAddress. This process is almost transparent to the user, but, he will notice traffic loss due to the circuits being brought down and up.') circuitEventInterval = MibScalar((1, 3, 6, 1, 4, 1, 5812, 6, 6), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitEventInterval.setStatus('current') if mibBuilder.loadTexts: circuitEventInterval.setDescription('For any circuit related events, events are generated at a specific time interval. circuitEventInterval specifies that. The default value is 1 second.') circuitEventNumPerInterval = MibScalar((1, 3, 6, 1, 4, 1, 5812, 6, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitEventNumPerInterval.setStatus('current') if mibBuilder.loadTexts: circuitEventNumPerInterval.setDescription('This object specifies the number of events generated per interval. The default is 10 per second.') circuitTable = MibTable((1, 3, 6, 1, 4, 1, 5812, 6, 8), ) if mibBuilder.loadTexts: circuitTable.setStatus('current') if mibBuilder.loadTexts: circuitTable.setDescription('A table containing information about the transport channels in the system') circuitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1), ).setIndexNames((0, "CIRCUIT-MIB", "circuitSrcIpAddr"), (0, "CIRCUIT-MIB", "circuitSrcInterfaceNum"), (0, "CIRCUIT-MIB", "circuitSrcConnectionID")) if mibBuilder.loadTexts: circuitEntry.setStatus('current') if mibBuilder.loadTexts: circuitEntry.setDescription('Entry in the table for a single transport channel') circuitSrcIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitSrcIpAddr.setStatus('current') if mibBuilder.loadTexts: circuitSrcIpAddr.setDescription('IP address of the source circuit endpoint.') circuitSrcInterfaceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 2), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitSrcInterfaceNum.setStatus('current') if mibBuilder.loadTexts: circuitSrcInterfaceNum.setDescription('The interface number of the source circuit endpoint.') circuitSrcConnectionID = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitSrcConnectionID.setStatus('current') if mibBuilder.loadTexts: circuitSrcConnectionID.setDescription('Connection Identifier of the source circuit endpoint. Based on the protocol type, further information may be required to completely specify a circuit on a channel. For example, Ethernet VLAN requires a VLAN Id, Frame Relay requires a DLCI and ATM requires VPI and VCI. For ATM, this field is encoded as 12 bits of VPI and 16 bits of VCI.') circuitSrcDescString = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitSrcDescString.setStatus('current') if mibBuilder.loadTexts: circuitSrcDescString.setDescription('Textual description of the source side of the circuit endpoint.') circuitDestIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitDestIpAddr.setStatus('current') if mibBuilder.loadTexts: circuitDestIpAddr.setDescription('IP address of the destination circuit endpoint.') circuitDestInterfaceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 6), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitDestInterfaceNum.setStatus('current') if mibBuilder.loadTexts: circuitDestInterfaceNum.setDescription('The interface number of the destination circuit endpoint.') circuitDestConnectionID = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 7), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitDestConnectionID.setStatus('current') if mibBuilder.loadTexts: circuitDestConnectionID.setDescription('Connection Identifier of the destination circuit endpoint. Based on the protocol type, further information may be required to completely specify a circuit on a channel. For example, Ethernet VLAN requires a VLAN Id, Frame Relay requires a DLCI and ATM requires VPI and VCI. For ATM, this field is encoded as 12 bits of VPI and 16 bits of VCI.') circuitDestDescString = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 8), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitDestDescString.setStatus('current') if mibBuilder.loadTexts: circuitDestDescString.setDescription('Textual description of the destination side of the circuit endpoint.') circuitName = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitName.setStatus('current') if mibBuilder.loadTexts: circuitName.setDescription('CircuitName is a unique name given to a circuit.') circuitID = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitID.setStatus('current') if mibBuilder.loadTexts: circuitID.setDescription('CircuitID is a unique ID given to a circuit. It is equal to the TC-ID in the PM.') circuitRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("notReady", 3), ("createAndGo", 4), ("createAndWait", 5), ("destroy", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitRowStatus.setStatus('current') if mibBuilder.loadTexts: circuitRowStatus.setDescription('Indicates if a row has been created or deleted. See SNMPv2-TC for complete description.') circuitReasonText = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 12), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitReasonText.setStatus('current') if mibBuilder.loadTexts: circuitReasonText.setDescription('Provides the reason for the error indicated.') circuitFailLocIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 13), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocIpAddr.setStatus('current') if mibBuilder.loadTexts: circuitFailLocIpAddr.setDescription('IP address of location where circuit failure code is encountered.') circuitFailLocSlot1 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 26))).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocSlot1.setStatus('current') if mibBuilder.loadTexts: circuitFailLocSlot1.setDescription('Slot number where circuit failure code is encountered.') circuitFailLocPort1 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocPort1.setStatus('current') if mibBuilder.loadTexts: circuitFailLocPort1.setDescription('Port number where circuit failure code is encountered.') circuitFailLocInterfaceNum1 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 16), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocInterfaceNum1.setStatus('current') if mibBuilder.loadTexts: circuitFailLocInterfaceNum1.setDescription('Interface number where circuit failure code is encountered.') circuitFailLocConnectionID1 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocConnectionID1.setStatus('current') if mibBuilder.loadTexts: circuitFailLocConnectionID1.setDescription('Connection Identifier of the failed circuit endpoint.') circuitFailLocSlot2 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 26))).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocSlot2.setStatus('current') if mibBuilder.loadTexts: circuitFailLocSlot2.setDescription('Slot number where circuit failure code is encountered.') circuitFailLocPort2 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocPort2.setStatus('current') if mibBuilder.loadTexts: circuitFailLocPort2.setDescription('Port number where circuit failure code is encountered.') circuitFailLocInterfaceNum2 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 20), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocInterfaceNum2.setStatus('current') if mibBuilder.loadTexts: circuitFailLocInterfaceNum2.setDescription('Interface number where circuit failure code is encountered.') circuitFailLocConnectionID2 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 21), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitFailLocConnectionID2.setStatus('current') if mibBuilder.loadTexts: circuitFailLocConnectionID2.setDescription('Connection Identifier of the failed circuit endpoint.') circuitEndPoint1Protocol = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("ethernet", 1), ("frameRelay", 2), ("atm", 3), ("vt", 4), ("axData", 5), ("axTdm", 6), ("isl", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitEndPoint1Protocol.setStatus('current') if mibBuilder.loadTexts: circuitEndPoint1Protocol.setDescription('Protocol determines the connectionID.') circuitFwdTDType = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("ethernet", 1), ("frameRelay", 2), ("tdm", 3), ("atm-cbr", 4), ("atm-vbr-rt", 5), ("atm-vbr-nrt", 6), ("atm-vbr-ubr", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitFwdTDType.setStatus('current') if mibBuilder.loadTexts: circuitFwdTDType.setDescription("Specifies the traffic descriptor type associated with the forward traffic descriptor parameters. The forward direction is 'into the network' from the circuit endpoint. TDType is independent of the end-point protocol.") circuitFwdTDParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 24), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitFwdTDParam1.setStatus('current') if mibBuilder.loadTexts: circuitFwdTDParam1.setDescription('Parameter 1 of the forward traffic descriptor of type circuitFwdTdType. For type Ethernet, this value corresponds to CIR. For type Frame Relay, this value corresponds to CIR. For type ATM-CBR, this value corresponds to PCR(0+1).') circuitFwdTDParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 25), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitFwdTDParam2.setStatus('current') if mibBuilder.loadTexts: circuitFwdTDParam2.setDescription('Parameter 2 of the forward traffic descriptor of type circuitFwdTdType. For type Ethernet, this value corresponds to Bc. For type Frame Relay, this value corresponds to Bc.') circuitFwdTDParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 26), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitFwdTDParam3.setStatus('current') if mibBuilder.loadTexts: circuitFwdTDParam3.setDescription('Parameter 3 of the forward traffic descriptor of type circuitFwdTdType. For type Ethernet, this value corresponds to Be. For type Frame Relay, this value corresponds to Be.') circuitFwdTDParam4 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 27), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitFwdTDParam4.setStatus('current') if mibBuilder.loadTexts: circuitFwdTDParam4.setDescription('Parameter 4 of the forward traffic descriptor of type circuitFwdTdType.') circuitEndPoint2Protocol = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("ethernet", 1), ("frameRelay", 2), ("atm", 3), ("vt", 4), ("axData", 5), ("axTdm", 6), ("isl", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitEndPoint2Protocol.setStatus('current') if mibBuilder.loadTexts: circuitEndPoint2Protocol.setDescription('Protocol determines the connectionID.') circuitBwdTDType = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("ethernet", 1), ("frameRelay", 2), ("tdm", 3), ("atm-cbr", 4), ("atm-vbr-rt", 5), ("atm-vbr-nrt", 6), ("atm-vbr-ubr", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitBwdTDType.setStatus('current') if mibBuilder.loadTexts: circuitBwdTDType.setDescription("Specifies the traffic descriptor type associated with the backward traffic descriptor parameters. The backward direction is 'out of the network' from the circuit endpoint. TDType is independent to of the end-point protocol.") circuitBwdTDParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 30), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitBwdTDParam1.setStatus('current') if mibBuilder.loadTexts: circuitBwdTDParam1.setDescription('Parameter 1 of the backward traffic descriptor of type circuitBwdTdType. For type Ethernet, this value corresponds to CIR. For type Frame Relay, this value corresponds to CIR. For type ATM-CBR, this value corresponds to PCR(0+1).') circuitBwdTDParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 31), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitBwdTDParam2.setStatus('current') if mibBuilder.loadTexts: circuitBwdTDParam2.setDescription('Parameter 2 of the backward traffic descriptor of type circuitBwdTdType. For type Ethernet, this value corresponds to Bc. For type Frame Relay, this value corresponds to Bc.') circuitBwdTDParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 32), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitBwdTDParam3.setStatus('current') if mibBuilder.loadTexts: circuitBwdTDParam3.setDescription('Parameter 3 of the backward traffic descriptor of type circuitBwdTdType. For type Ethernet, this value corresponds to Be. For type Frame Relay, this value corresponds to Be.') circuitBwdTDParam4 = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 33), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitBwdTDParam4.setStatus('current') if mibBuilder.loadTexts: circuitBwdTDParam4.setDescription('Parameter 4 of the backward traffic descriptor of type circuitBwdTdType.') circuitClassOfService = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitClassOfService.setStatus('current') if mibBuilder.loadTexts: circuitClassOfService.setDescription('Specifies the class of service for Data or non-TDM circuits. This value is in the range of 0-7 where 1 has the highest priority and 7 has the lowest.') circuitAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("enabledButNotUsed", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitAdminState.setStatus('current') if mibBuilder.loadTexts: circuitAdminState.setDescription("Administrative state of the circuit. Circuits in the disabled state do not consume network resources such as bandwidth. The network continuously attempts to establish circuits until successful while in the enabled state. The 'enabledButNotUsed' state tells that the transport segment is established and network resources are assigned to it, but, traffic is not allowed to pass though it.") circuitOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("test", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitOperState.setStatus('current') if mibBuilder.loadTexts: circuitOperState.setDescription('Aperational state of the circuit. Circuits in the disabled state do not consume network resources such as bandwidth. The network continuously attempts to establish circuits until successful while in the enabled state.') circuitTimeSinceStatusChange = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 37), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitTimeSinceStatusChange.setStatus('current') if mibBuilder.loadTexts: circuitTimeSinceStatusChange.setDescription('Gives the time (in seconds) since the most recent status change.') circuitSetupPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 38), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitSetupPriority.setStatus('current') if mibBuilder.loadTexts: circuitSetupPriority.setDescription('If there are insufficient network resources for establishing all transport channels, this field specifies the priority of the transport channel.') circuitHoldPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 39), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitHoldPriority.setStatus('current') if mibBuilder.loadTexts: circuitHoldPriority.setDescription('If a number of transport channels of a low Setup Priority need to be cleared in order to release resources allowing for a higher priority (Setup) transport channel to be established, this field specifies the Hold priority where low Hold priority transport channels are cleared before higher Hold priority transport channels.') circuitIsRedundancyReqd = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 40), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitIsRedundancyReqd.setStatus('current') if mibBuilder.loadTexts: circuitIsRedundancyReqd.setDescription("Specifies if the circuit is to be established over rings that are logically configured as 'protected'. A protected ring could physically be in a fault state where one fiber has failed. A circuit that requires redundancy will be established over rings logically configured as 'protected' even though the current physical state of a protected ring may be in a fault state.") circuitPreferredEP1OptSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 26))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitPreferredEP1OptSlot.setStatus('current') if mibBuilder.loadTexts: circuitPreferredEP1OptSlot.setDescription('If the circuit spans one or two rings, this is the slot number of the first preferred ring. Preferred rings allow a manual overide of the routed circuit path.') circuitPreferredEP1OptPort = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 42), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitPreferredEP1OptPort.setStatus('current') if mibBuilder.loadTexts: circuitPreferredEP1OptPort.setDescription('If the circuit spans one or two rings, this is the port number of the first preferred ring.') circuitPreferredEP1OptVport = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 43), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitPreferredEP1OptVport.setStatus('current') if mibBuilder.loadTexts: circuitPreferredEP1OptVport.setDescription('If the circuit spans one or two rings, this is the lambda number of the first preferred ring.') circuitPreferredEP2OptSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 44), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 26))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitPreferredEP2OptSlot.setStatus('current') if mibBuilder.loadTexts: circuitPreferredEP2OptSlot.setDescription('If the circuit spans two rings, this is the slot number of the second preferred ring. Preferred rings allow a manual overide of the routed circuit path.') circuitPreferredEP2OptPort = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitPreferredEP2OptPort.setStatus('current') if mibBuilder.loadTexts: circuitPreferredEP2OptPort.setDescription('If the circuit spans two rings, this is the port number of the second preferred ring.') circuitPreferredEP2OptVport = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 46), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitPreferredEP2OptVport.setStatus('current') if mibBuilder.loadTexts: circuitPreferredEP2OptVport.setDescription('If the circuit spans two rings, this is the lambda number of the second preferred ring.') circuitUseAlternateRing = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: circuitUseAlternateRing.setStatus('current') if mibBuilder.loadTexts: circuitUseAlternateRing.setDescription('Allows operator to specify whether an alternate ring can be used if the preferred ring(s) fail. This requires the ability to load-balance back onto the preferred ring once it becomes available. The format for this field is Boolean.') circuitInFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 48), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInFrames.setStatus('current') if mibBuilder.loadTexts: circuitInFrames.setDescription('Number of frames received at the ingress point and passed on to the circuit.') circuitInDEFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 49), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInDEFrames.setStatus('current') if mibBuilder.loadTexts: circuitInDEFrames.setDescription('Number of frames received at the ingress point and passed on to the circuit.') circuitInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 50), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInOctets.setStatus('current') if mibBuilder.loadTexts: circuitInOctets.setDescription('Number of octets received at the ingress point and passed on to the circuit.') circuitInDEOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 51), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInDEOctets.setStatus('current') if mibBuilder.loadTexts: circuitInDEOctets.setDescription('Number of octets received at the ingress point and passed on to the circuit.') circuitInCLP0Cells = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 52), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInCLP0Cells.setStatus('current') if mibBuilder.loadTexts: circuitInCLP0Cells.setDescription('Number of cells received at the ingress point and passed on to the circuit.') circuitInCLP1Cells = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 53), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInCLP1Cells.setStatus('current') if mibBuilder.loadTexts: circuitInCLP1Cells.setDescription('Number of cells received at the ingress point and passed on to the circuit.') circuitInFramesDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 54), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInFramesDiscard.setStatus('current') if mibBuilder.loadTexts: circuitInFramesDiscard.setDescription('Number of frames received at the ingress point but are discarded due to the non-conformance of the contract, i.e., it exceeds the traffic contract (BE).') circuitInDEFramesDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 55), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInDEFramesDiscard.setStatus('current') if mibBuilder.loadTexts: circuitInDEFramesDiscard.setDescription('Number of frames received at the ingress point but are discarded due to the non-conformance of the contract, i.e., it exceeds the traffic contract (BE).') circuitInOctetsDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 56), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInOctetsDiscard.setStatus('current') if mibBuilder.loadTexts: circuitInOctetsDiscard.setDescription('Number of octets received at the ingress point but are discarded due to the non-conformance of the contract, i.e., it exceeds the traffic contract (BE).') circuitInDEOctetsDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 57), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInDEOctetsDiscard.setStatus('current') if mibBuilder.loadTexts: circuitInDEOctetsDiscard.setDescription('Number of octets received at the ingress point but are discarded due to the non-conformance of the contract, i.e., it exceeds the traffic contract (BE).') circuitInCLP0CellsDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 58), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInCLP0CellsDiscard.setStatus('current') if mibBuilder.loadTexts: circuitInCLP0CellsDiscard.setDescription('Number of octets received at the ingress point but are discarded due to the non-conformance of the contract, i.e., it exceeds the traffic contract (BE).') circuitInCLP1CellsDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 59), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInCLP1CellsDiscard.setStatus('current') if mibBuilder.loadTexts: circuitInCLP1CellsDiscard.setDescription('Number of octets received at the ingress point but are discarded due to the non-conformance of the contract, i.e., it exceeds the traffic contract (BE).') circuitInFramesTagged = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 60), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInFramesTagged.setStatus('current') if mibBuilder.loadTexts: circuitInFramesTagged.setDescription('Number of tagged frames received. A tagged frame represents non-conforming frames to the contract (when CIR < frame contract < BE). In these frames, the DE (Discard Enable) is set. ') circuitInOctetsTagged = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 61), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInOctetsTagged.setStatus('current') if mibBuilder.loadTexts: circuitInOctetsTagged.setDescription('Number of tagged octets received. A tagged octet represents non-conforming octet to the contract (when CIR < octet contract < BE).In these octets, the DE (Discard Enable) is set.') circuitInCLP0CellsTagged = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 62), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitInCLP0CellsTagged.setStatus('current') if mibBuilder.loadTexts: circuitInCLP0CellsTagged.setDescription('Number of tagged octets received. A tagged octet represents non-conforming octet to the contract (when CIR < octet contract < BE).In these octets, the DE (Discard Enable) is set.') circuitOutFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 63), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitOutFrames.setStatus('current') if mibBuilder.loadTexts: circuitOutFrames.setDescription('Number of frames sent out through the circuit.') circuitOutDEFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 64), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitOutDEFrames.setStatus('current') if mibBuilder.loadTexts: circuitOutDEFrames.setDescription('Number of frames sent out through the circuit.') circuitOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 65), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitOutOctets.setStatus('current') if mibBuilder.loadTexts: circuitOutOctets.setDescription('Number of octets sent out through the circuit.') circuitOutDEOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 66), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitOutDEOctets.setStatus('current') if mibBuilder.loadTexts: circuitOutDEOctets.setDescription('Number of octets sent out through the circuit.') circuitOutCLP0Cells = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 67), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitOutCLP0Cells.setStatus('current') if mibBuilder.loadTexts: circuitOutCLP0Cells.setDescription('Number of cells sent out through the circuit.') circuitOutCLP1Cells = MibTableColumn((1, 3, 6, 1, 4, 1, 5812, 6, 8, 1, 68), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: circuitOutCLP1Cells.setStatus('current') if mibBuilder.loadTexts: circuitOutCLP1Cells.setDescription('Number of cells sent out through the circuit.') circuitInactive = NotificationType((1, 3, 6, 1, 4, 1, 5812) + (0,24)).setObjects(("CIRCUIT-MIB", "circuitReasonText")) if mibBuilder.loadTexts: circuitInactive.setDescription('Indicates that the circuit became inactive and specifies the reason for it becoming inactive') circuitActive = NotificationType((1, 3, 6, 1, 4, 1, 5812) + (0,25)).setObjects(("CIRCUIT-MIB", "circuitReasonText")) if mibBuilder.loadTexts: circuitActive.setDescription('Indicates that the circuit became active') circuitLoadBalancing = NotificationType((1, 3, 6, 1, 4, 1, 5812) + (0,26)).setObjects(("CIRCUIT-MIB", "circuitReasonText")) if mibBuilder.loadTexts: circuitLoadBalancing.setDescription('Indicates that the circuit underwent load balancing') mibBuilder.exportSymbols("CIRCUIT-MIB", circuitEndPoint2Protocol=circuitEndPoint2Protocol, circuitInDEOctets=circuitInDEOctets, circuitID=circuitID, circuitInOctetsDiscard=circuitInOctetsDiscard, circuitInCLP1CellsDiscard=circuitInCLP1CellsDiscard, circuitInFrames=circuitInFrames, circuitFwdTDParam4=circuitFwdTDParam4, circuitPreferredEP1OptVport=circuitPreferredEP1OptVport, circuitInCLP1Cells=circuitInCLP1Cells, circuitMIB=circuitMIB, circuitInDEFrames=circuitInDEFrames, circuitBwdTDParam1=circuitBwdTDParam1, circuitInCLP0CellsTagged=circuitInCLP0CellsTagged, circuitEventNumPerInterval=circuitEventNumPerInterval, circuitSrcIpAddr=circuitSrcIpAddr, circuitFailLocPort2=circuitFailLocPort2, circuitFwdTDType=circuitFwdTDType, circuitDestInterfaceNum=circuitDestInterfaceNum, circuitSrcConnectionID=circuitSrcConnectionID, circuitRowStatus=circuitRowStatus, circuitFailLocInterfaceNum2=circuitFailLocInterfaceNum2, circuitInFramesTagged=circuitInFramesTagged, circuitInCLP0CellsDiscard=circuitInCLP0CellsDiscard, circuitOutOctets=circuitOutOctets, circuitFwdTDParam1=circuitFwdTDParam1, circuitOutDEOctets=circuitOutDEOctets, circuitFailLocSlot1=circuitFailLocSlot1, circuitFwdTDParam3=circuitFwdTDParam3, circuitPreferredEP2OptSlot=circuitPreferredEP2OptSlot, circuitInDEFramesDiscard=circuitInDEFramesDiscard, circuitBwdTDParam2=circuitBwdTDParam2, circuitBwdTDParam3=circuitBwdTDParam3, circuitDestDescString=circuitDestDescString, circuitLoadBalanceInterval=circuitLoadBalanceInterval, circuitFailLocPort1=circuitFailLocPort1, circuitSetupPriority=circuitSetupPriority, circuitActive=circuitActive, circuitIsRedundancyReqd=circuitIsRedundancyReqd, circuitInFramesDiscard=circuitInFramesDiscard, circuitAdminState=circuitAdminState, circuitPreferredEP1OptSlot=circuitPreferredEP1OptSlot, circuitSrcInterfaceNum=circuitSrcInterfaceNum, circuitBwdTDParam4=circuitBwdTDParam4, circuitBwdTDType=circuitBwdTDType, circuitFailLocConnectionID2=circuitFailLocConnectionID2, circuitPreferredEP1OptPort=circuitPreferredEP1OptPort, circuitName=circuitName, circuitOperState=circuitOperState, circuitClassOfService=circuitClassOfService, circuitInDEOctetsDiscard=circuitInDEOctetsDiscard, circuitFailLocIpAddr=circuitFailLocIpAddr, circuitInCLP0Cells=circuitInCLP0Cells, circuitOutDEFrames=circuitOutDEFrames, circuitOldIpAddrToSwap=circuitOldIpAddrToSwap, circuitFwdTDParam2=circuitFwdTDParam2, circuitDestConnectionID=circuitDestConnectionID, circuitLoadBalancing=circuitLoadBalancing, circuitDestIpAddr=circuitDestIpAddr, circuitInOctetsTagged=circuitInOctetsTagged, circuitUseAlternateRing=circuitUseAlternateRing, circuitHoldPriority=circuitHoldPriority, PYSNMP_MODULE_ID=circuitMIB, circuitInactive=circuitInactive, circuitFailLocInterfaceNum1=circuitFailLocInterfaceNum1, circuitReasonText=circuitReasonText, circuitEndPoint1Protocol=circuitEndPoint1Protocol, circuitNewIpAddrToSwap=circuitNewIpAddrToSwap, circuitFailLocConnectionID1=circuitFailLocConnectionID1, circuitOutFrames=circuitOutFrames, circuitPreferredEP2OptVport=circuitPreferredEP2OptVport, circuitLoadBalanceNumPerInterval=circuitLoadBalanceNumPerInterval, circuitTimeSinceStatusChange=circuitTimeSinceStatusChange, circuitOutCLP0Cells=circuitOutCLP0Cells, circuitTable=circuitTable, circuitPreferredEP2OptPort=circuitPreferredEP2OptPort, circuitFailLocSlot2=circuitFailLocSlot2, circuitSrcDescString=circuitSrcDescString, circuitEntry=circuitEntry, circuitOutCLP1Cells=circuitOutCLP1Cells, circuitEventInterval=circuitEventInterval, circuitInOctets=circuitInOctets)
[ 2, 198, 2, 9485, 15571, 7378, 337, 9865, 8265, 327, 4663, 43633, 2043, 12, 8895, 33, 357, 4023, 1378, 16184, 76, 489, 8937, 13, 785, 14, 79, 893, 11632, 8, 198, 2, 7054, 45, 13, 16, 2723, 2393, 1378, 14, 14490, 14, 67, 615, 4756...
3.137084
11,927
# -*- coding:utf-8 -*- # author: hpf # create time: 2020/7/16 21:33 # file: shell_sort.py # IDE: PyCharm # (Shell Sort) # DLShell1959 # 1 if __name__ == '__main__': li = [34, 2, 13, 76, 54, 22, 90, 46, 13] print(li) shell_sort(li) print(li) # # # O(n2) #
[ 2, 532, 9, 12, 19617, 25, 40477, 12, 23, 532, 9, 12, 198, 2, 1772, 25, 27673, 69, 198, 2, 2251, 640, 25, 12131, 14, 22, 14, 1433, 2310, 25, 2091, 198, 2, 2393, 25, 7582, 62, 30619, 13, 9078, 198, 2, 33497, 25, 9485, 1925, 16...
1.944444
144
import unittest import srl from srl.test import TestRL if __name__ == "__main__": unittest.main(module=__name__, defaultTest="Test.test_verify_Pendulum", verbosity=2) # unittest.main(module=__name__, defaultTest="TestGrid.test_verify_Grid_naive", verbosity=2)
[ 11748, 555, 715, 395, 198, 198, 11748, 19677, 75, 198, 6738, 19677, 75, 13, 9288, 1330, 6208, 7836, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 7, 21412, 28, ...
2.6
105
if __name__ == "__main__": a = [2,2,3,7,5,7,7,7,4,7,2,7,4,5,6,7,7,8,6,7,7,8,10,12,29,30,19,10,7,7,7,7,7,7,7,7,7] print(find_majority(a))
[ 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 257, 796, 685, 17, 11, 17, 11, 18, 11, 22, 11, 20, 11, 22, 11, 22, 11, 22, 11, 19, 11, 22, 11, 17, 11, 22, 11, 19, 11, 20, 11, 21, 11...
1.386792
106
# Completely silly exercises, in real life use: # Python lists: https://docs.python.org/3/tutorial/datastructures.html import unittest import logging logging.basicConfig(level=logging.INFO) # - DoublyLinkedListNode class. #-## # - DoublyLinkedList class. # Search method not included, has its own category. #-## # - TestDoublyLinkedList class. #-## if __name__ == "__main__": unittest.main(verbosity=2)
[ 2, 13248, 306, 14397, 13565, 11, 287, 1103, 1204, 779, 25, 198, 2, 11361, 8341, 25, 3740, 1378, 31628, 13, 29412, 13, 2398, 14, 18, 14, 83, 44917, 14, 19608, 459, 1356, 942, 13, 6494, 198, 198, 11748, 555, 715, 395, 198, 11748, 18...
2.798658
149
import socket import threading bind_ip = "0.0.0.0" bind_port = 9999 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((bind_ip, bind_port)) server.listen(5) print "[*] Listening on %s:%d" % (bind_ip, bind_port) # This is our client-handling thread while True: client, addr = server.accept() print "[*] Accepted connection from: %s:%d" % (addr[0], addr[1]) # Spin up our client thread to handle incoming data client_handler = threading.Thread(target = handle_client, args = (client,)) client_handler.start()
[ 11748, 17802, 220, 198, 11748, 4704, 278, 198, 198, 21653, 62, 541, 796, 366, 15, 13, 15, 13, 15, 13, 15, 1, 198, 21653, 62, 634, 796, 860, 17032, 198, 198, 15388, 796, 17802, 13, 44971, 7, 44971, 13, 8579, 62, 1268, 2767, 11, 1...
2.216028
287
import setuptools import site import sys # This is a workaround to allow --user and -e combined # See https://github.com/pypa/pip/issues/7953 site.ENABLE_USER_SITE = "--user" in sys.argv[1:] setuptools.setup()
[ 11748, 900, 37623, 10141, 198, 11748, 2524, 198, 11748, 25064, 198, 2, 770, 318, 257, 46513, 284, 1249, 1377, 7220, 290, 532, 68, 5929, 198, 2, 4091, 3740, 1378, 12567, 13, 785, 14, 79, 4464, 64, 14, 79, 541, 14, 37165, 14, 3720, ...
2.8
75
#Guess program n=18 a=0 y = 1 print("Number of guesses is limited to only 4 times") while a<=3: z=int(input("Enter your choice=")) if z>n: print("Please less your number") a+=1 elif z<n: print("Please increase your number") a += 1 else: print("You win") print(y,"Number of guesses you take to finish the game") break print(4-y,"Guesses left") y+=1 if(a>3): print("Game over")
[ 2, 8205, 408, 1430, 198, 198, 77, 28, 1507, 198, 64, 28, 15, 198, 88, 796, 352, 198, 4798, 7203, 15057, 286, 44774, 318, 3614, 284, 691, 604, 1661, 4943, 198, 4514, 257, 27, 28, 18, 25, 198, 220, 220, 220, 1976, 28, 600, 7, 15...
2.198113
212
""" .. module:: soundsystem :Platform: Unix, Windows :Synopsis: Sound system """ import os import pygame import events import ai
[ 37811, 198, 492, 8265, 3712, 2128, 10057, 198, 220, 220, 1058, 37148, 25, 33501, 11, 3964, 198, 220, 220, 1058, 49771, 25, 9506, 1080, 198, 37811, 198, 198, 11748, 28686, 198, 11748, 12972, 6057, 198, 198, 11748, 2995, 198, 11748, 257, ...
3.238095
42
# -*- coding=utf-8 -*- import django import os import sys import datetime import random import time os.environ['DJANGO_SETTINGS_MODULE'] = 'web.settings' django.setup() from web.other.models import BilibiliPlay from .helper import bulk_create if __name__ == '__main__': BilibiliPlay.objects.all().delete() # test_once_get() # test_once_update() # test_default_bulk() test_custom_bulk() ''' 'UPDATE `other_bilibili_play` SET `name` = (CASE `id` WHEN %s THEN %s WHEN %s THEN %s WHEN %s THEN %s WHEN %s THEN %s WHEN %s THEN %s ELSE `name` END) WHERE `id` in (%s, %s, %s, %s, %s)' '''
[ 2, 532, 9, 12, 19617, 28, 40477, 12, 23, 532, 9, 12, 628, 198, 11748, 42625, 14208, 198, 11748, 28686, 198, 11748, 25064, 198, 11748, 4818, 8079, 198, 11748, 4738, 198, 11748, 640, 198, 198, 418, 13, 268, 2268, 17816, 35028, 1565, 1...
2.475806
248
# -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ from __future__ import print_function import json import operator as op import os import re import subprocess import tempfile import xml.etree.ElementTree as ET from functools import lru_cache from xml.dom import minidom import pytest import six from rnacentral_pipeline.rnacentral.search_export import exporter from tests.helpers import run_range_as_single, run_with_replacements # Parse out all UPIs # Create temp table of UPI to get metadata for # Run queries generating all metadata for those UPIs # Delete UPI table METADATA = None META_REPLACEMENTS = { "crs.sql": ( "WHERE", "WHERE features.upi || '_' || features.taxid IN ({urs})\nAND", ), "feedback.sql": ( "FROM rnc_feedback_overlap overlap", "FROM rnc_feedback_overlap overlap\n WHERE overlap.upi_taxid IN ({urs})", ), "go_annotations.sql": ( "GROUP BY anno.rna_id", "WHERE anno.rna_id IN ({urs})\nGROUP BY anno.rna_id", ), "interacting-proteins.sql": ( "WHERE", "WHERE related.source_urs_taxid in ({urs})\n AND", ), "interacting-rnas.sql": ( "WHERE", "WHERE related.source_urs_taxid in ({urs})\n AND", ), "secondary-structure.sql": ("WHERE", "WHERE pre.id in ({urs})\n AND"), } # Test that this assigns authors from > 1 publications to a single set def test_can_create_document_with_unicode(): key = op.itemgetter("text") val = sorted(load_and_get_additional("URS000009EE82_562", "product"), key=key) assert val == sorted( [ {"attrib": {"name": "product"}, "text": u"tRNA-Asp(gtc)"}, {"attrib": {"name": "product"}, "text": u"P-site tRNA Aspartate"}, {"attrib": {"name": "product"}, "text": u"transfer RNA-Asp"}, {"attrib": {"name": "product"}, "text": u"tRNA_Asp_GTC"}, {"attrib": {"name": "product"}, "text": u"tRNA-asp"}, {"attrib": {"name": "product"}, "text": u"tRNA Asp UC"}, {"attrib": {"name": "product"}, "text": u"tRNA-Asp"}, {"attrib": {"name": "product"}, "text": u"tRNA-Asp-GTC"}, {"attrib": {"name": "product"}, "text": u"ASPARTYL TRNA"}, {"attrib": {"name": "product"}, "text": u"tRNA-Asp (GTC)"}, ], key=key, ) def test_it_can_handle_a_list_in_ontology(): data = load_data("URS00003B5CA5_559292") results = data.findall("./cross_references/ref") xrefs = {as_xml_dict(r)["attrib"]["dbkey"] for r in results} assert {"ECO:0000202", u"GO:0030533", "SO:0000253"} & xrefs # @pytest.mark.skip() # def test_produces_correct_count(): # entries = exporter.range(db(), 1, 100) # with tempfile.NamedTemporaryFile() as out: # exporter.write(out, entries) # out.flush() # with open(out.name, 'r') as raw: # parsed = ET.parse(raw) # count = parsed.find('./entry_count') # assert count.text == '105'
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 37811, 198, 15269, 685, 10531, 12, 5539, 60, 17228, 9148, 12, 22030, 16024, 259, 18982, 873, 5136, 198, 26656, 15385, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15...
2.435811
1,480
import json from django.urls import reverse from misago.acl.testutils import override_acl from misago.categories.models import Category from misago.threads import testutils from misago.users.testutils import AuthenticatedUserTestCase
[ 11748, 33918, 198, 198, 6738, 42625, 14208, 13, 6371, 82, 1330, 9575, 198, 198, 6738, 2984, 3839, 13, 37779, 13, 9288, 26791, 1330, 20957, 62, 37779, 198, 6738, 2984, 3839, 13, 66, 26129, 13, 27530, 1330, 21743, 198, 6738, 2984, 3839, ...
3.761905
63
#!usr/bin/python import __main__
[ 2, 0, 14629, 14, 8800, 14, 29412, 198, 11748, 11593, 12417, 834, 198 ]
2.538462
13
#Helper method that implements the logic to look up an application.
[ 1303, 47429, 2446, 326, 23986, 262, 9156, 284, 804, 510, 281, 3586, 13 ]
5.230769
13
import os import re import time import demisto_client from demisto_client.demisto_api.rest import ApiException from demisto_sdk.commands.common.tools import LOG_COLORS, get_yaml, print_color from demisto_sdk.commands.upload.uploader import Uploader SUCCESS_RETURN_CODE = 0 ERROR_RETURN_CODE = 1 ENTRY_TYPE_ERROR = 4
[ 11748, 28686, 198, 11748, 302, 198, 11748, 640, 198, 198, 11748, 1357, 396, 78, 62, 16366, 198, 6738, 1357, 396, 78, 62, 16366, 13, 9536, 396, 78, 62, 15042, 13, 2118, 1330, 5949, 72, 16922, 198, 198, 6738, 1357, 396, 78, 62, 21282,...
2.735043
117
# Generated by Django 3.1.1 on 2020-10-24 14:38 from django.db import migrations, models
[ 2, 2980, 515, 416, 37770, 513, 13, 16, 13, 16, 319, 12131, 12, 940, 12, 1731, 1478, 25, 2548, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 628 ]
2.84375
32
from datetime import datetime, timezone from flycs_sdk.entities import Entity from flycs_sdk.pipelines import Pipeline, PipelineKind from flycs_sdk.transformations import Transformation # Define your transformation SQL query using jinja template for the table name and define the list of table on which this transformation should be applied query = Transformation( name="my_query", query="SELECT * FROM {table_name}", version="1.0.0", tables=["tables1", "tables2"], ) # Then define your entity and pipeline as usual stage_config = { "raw": {"my_query": "1.0.0"}, "staging": {"my_query": "1.0.0"}, } entity1 = Entity("entity1", "1.0.0", stage_config) entity1.transformations = { "raw": {"my_query": query}, "staging": {"my_query": query}, } p1 = Pipeline( name="my_pipeline", version="1.0.0", schedule="* 12 * * *", entities=[entity1], kind=PipelineKind.VANILLA, start_time=datetime.now(tz=timezone.utc), ) # expose the pipeline to the module as usual pipelines = [p1]
[ 6738, 4818, 8079, 1330, 4818, 8079, 11, 640, 11340, 198, 198, 6738, 6129, 6359, 62, 21282, 74, 13, 298, 871, 1330, 20885, 198, 6738, 6129, 6359, 62, 21282, 74, 13, 79, 541, 20655, 1330, 37709, 11, 37709, 35854, 198, 6738, 6129, 6359, ...
2.783784
370
import torch.nn.functional as F import torch.nn as nn import torch import torchvision.transforms.functional as VF from PIL import Image import numpy as np import os from os.path import join from collections import Counter # device = torch.device("cuda" if torch.cuda.is_available() else "cpu") import math from ctcdecode import CTCBeamDecoder import multiprocessing n_cpus = multiprocessing.cpu_count() # letters = [' ', ')', '+', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '[', ']', 'i', 'k', 'l', '|', '', '', # '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', # '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] letters = list(' ()+/0123456789[]abdefghiklmnoprstu|') std, mean = (0.3847, 0.3815, 0.3763), (0.6519, 0.6352, 0.5940) # CNN-BLSTM # # https://github.com/mf1024/Batch-Renormalization-PyTorch/blob/master/batch_renormalization.py # # Batch Renormalization for convolutional neural nets (2D) implementation based # # on https://arxiv.org/abs/1702.03275 # class BatchNormalization2D(nn.Module): # def __init__(self, num_features, eps=1e-05, momentum = 0.1): # super().__init__() # self.eps = eps # self.momentum = torch.tensor( (momentum), requires_grad = False) # self.gamma = nn.Parameter(torch.ones((1, num_features, 1, 1), requires_grad=True)) # self.beta = nn.Parameter(torch.zeros((1, num_features, 1, 1), requires_grad=True)) # self.running_avg_mean = torch.ones((1, num_features, 1, 1), requires_grad=False) # self.running_avg_std = torch.zeros((1, num_features, 1, 1), requires_grad=False) # def forward(self, x): # device = self.gamma.device # batch_ch_mean = torch.mean(x, dim=(0,2,3), keepdim=True).to(device) # batch_ch_std = torch.clamp(torch.std(x, dim=(0,2,3), keepdim=True), self.eps, 1e10).to(device) # self.running_avg_std = self.running_avg_std.to(device) # self.running_avg_mean = self.running_avg_mean.to(device) # self.momentum = self.momentum.to(device) # if self.training: # x = (x - batch_ch_mean) / batch_ch_std # x = x * self.gamma + self.beta # else: # x = (x - self.running_avg_mean) / self.running_avg_std # x = self.gamma * x + self.beta # self.running_avg_mean = self.running_avg_mean + self.momentum * (batch_ch_mean.data.to(device) - self.running_avg_mean) # self.running_avg_std = self.running_avg_std + self.momentum * (batch_ch_std.data.to(device) - self.running_avg_std) # return x # class BatchRenormalization2D(nn.Module): # def __init__(self, num_features, eps=1e-05, momentum=0.01, r_d_max_inc_step = 0.0001): # super().__init__() # self.eps = eps # self.momentum = torch.tensor( (momentum), requires_grad = False) # self.gamma = nn.Parameter(torch.ones((1, num_features, 1, 1)), requires_grad=True) # self.beta = nn.Parameter(torch.zeros((1, num_features, 1, 1)), requires_grad=True) # self.running_avg_mean = torch.ones((1, num_features, 1, 1), requires_grad=False) # self.running_avg_std = torch.zeros((1, num_features, 1, 1), requires_grad=False) # self.max_r_max = 3.0 # self.max_d_max = 5.0 # self.r_max_inc_step = r_d_max_inc_step # self.d_max_inc_step = r_d_max_inc_step # self.r_max = torch.tensor( (1.0), requires_grad = False) # self.d_max = torch.tensor( (0.0), requires_grad = False) # def forward(self, x): # device = self.gamma.device # batch_ch_mean = torch.mean(x, dim=(0,2,3), keepdim=True).to(device) # batch_ch_std = torch.clamp(torch.std(x, dim=(0,2,3), keepdim=True), self.eps, 1e10).to(device) # self.running_avg_std = self.running_avg_std.to(device) # self.running_avg_mean = self.running_avg_mean.to(device) # self.momentum = self.momentum.to(device) # self.r_max = self.r_max.to(device) # self.d_max = self.d_max.to(device) # if self.training: # r = torch.clamp(batch_ch_std / self.running_avg_std, 1.0 / self.r_max, self.r_max).to(device).data.to(device) # d = torch.clamp((batch_ch_mean - self.running_avg_mean) / self.running_avg_std, -self.d_max, self.d_max).to(device).data.to(device) # x = ((x - batch_ch_mean) * r )/ batch_ch_std + d # x = self.gamma * x + self.beta # if self.r_max < self.max_r_max: # self.r_max += self.r_max_inc_step * x.shape[0] # if self.d_max < self.max_d_max: # self.d_max += self.d_max_inc_step * x.shape[0] # else: # x = (x - self.running_avg_mean) / self.running_avg_std # x = self.gamma * x + self.beta # self.running_avg_mean = self.running_avg_mean + self.momentum * (batch_ch_mean.data.to(device) - self.running_avg_mean) # self.running_avg_std = self.running_avg_std + self.momentum * (batch_ch_std.data.to(device) - self.running_avg_std) # return x # class FullGatedConv2d(nn.Conv2d): # def __init__(self, in_channels, **kwargs): # super().__init__(in_channels, in_channels * 2, **kwargs) # self.channels = in_channels # self.sigm = nn.Sigmoid() # def forward(self, x): # x = super().forward(x) # gated_x = self.sigm(x[:, self.channels:, :, :]) # return x[:, :self.channels, :, :] * gated_x # class HTRFlorConvBlock(nn.Module): # def __init__(self, in_channels, out_channels, kernel_size): # super().__init__() # self.conv = nn.Conv2d(in_channels, out_channels, kernel_size) # self.prelu = nn.PReLU() # self.br = nn.BatchNorm2d(out_channels) # def forward(self, x): # x = self.br(self.prelu(self.conv(x))) # return x # class HTRFlor(nn.Module): # def __init__(self, htr_dropout=0.2, gru_dropout=0.5): # super().__init__() # self.conv_block1 = HTRFlorConvBlock(3, 16, kernel_size=(3, 3)) # self.gconv1 = FullGatedConv2d(16, kernel_size=(3, 3), padding=1) # self.pool1 = nn.MaxPool2d((2, 2)) # self.conv_block2 = HTRFlorConvBlock(16, 32, kernel_size=(3, 3)) # self.gconv2 = FullGatedConv2d(32, kernel_size=(3, 3), padding=1) # self.pool2 = nn.MaxPool2d((2, 2)) # self.conv_block3 = HTRFlorConvBlock(32, 40, kernel_size=(2, 4)) # self.gconv3 = FullGatedConv2d(40, kernel_size=(3, 3), padding=1) # self.drop3 = nn.Dropout2d(htr_dropout) # self.conv_block4 = HTRFlorConvBlock(40, 48, kernel_size=(3, 3)) # self.gconv4 = FullGatedConv2d(48, kernel_size=(3, 3), padding=1) # self.drop4 = nn.Dropout2d(htr_dropout) # self.conv_block5 = HTRFlorConvBlock(48, 56, kernel_size=(2, 4)) # self.gconv5 = FullGatedConv2d(56, kernel_size=(3, 3), padding=1) # self.drop5 = nn.Dropout2d(htr_dropout) # self.conv_block6 = HTRFlorConvBlock(56, 64, kernel_size=(3, 3)) # # self.pool = nn.MaxPool2d((1, 2)) # self.flatten = nn.Flatten(1, 2) # self.drop7 = nn.Dropout(gru_dropout) # self.lstm7 = nn.LSTM(64*24, 128, num_layers=3, dropout=gru_dropout, bidirectional=True, batch_first=True) # # self.lstm7 = nn.LSTM(64*24, 128, bidirectional=True, batch_first=True) # # self.linear7 = nn.Linear(2*128, 256) # # self.drop8 = nn.Dropout(gru_dropout) # # self.lstm8 = nn.LSTM(256, 128, bidirectional=True, batch_first=True) # self.linear8 = nn.Linear(2*128, len(letters) + 1) # def forward(self, x): # x = self.conv_block1(x) # x = self.pool1(self.gconv1(x)) # x = self.conv_block2(x) # x = self.pool2(self.gconv2(x)) # x = self.conv_block3(x) # x = self.drop3(self.gconv3(x)) # x = self.conv_block4(x) # x = self.drop4(self.gconv4(x)) # x = self.conv_block5(x) # x = self.drop5(self.gconv5(x)) # x = self.flatten(self.conv_block6(x)) # x = x.transpose(1, 2) # x, _ = self.lstm7(self.drop7(x)) # # x = self.linear7(x) # # x, _ = self.lstm8(self.drop8(x)) # x = self.linear8(x) # return x # def init_weights(m): # if type(m) == nn.Conv2d or type(m) == FullGatedConv2d: # nn.init.kaiming_uniform_(m.weight) # # nn.init.kaiming_uniform_(m.weight) model_path = 'language_model/train.binary' decoder = CTCBeamDecoder([*letters, '~'], model_path=None, alpha=0.01, blank_id=len(letters), beam_width=100, num_processes=n_cpus) # decoder = CTCBeamDecoder([*letters, '~'], # model_path=model_path, # alpha=0.1, # blank_id=len(letters), # beam_width=100, # num_processes=n_cpus) if __name__ == '__main__': main()
[ 11748, 28034, 13, 20471, 13, 45124, 355, 376, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 198, 198, 11748, 28034, 10178, 13, 7645, 23914, 13, 45124, 355, 569, 37, 198, 198, 6738, 350, 4146, 1330, 7412, 198, 198, 117...
1.996247
4,530
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2017-01-09 09:43 from __future__ import unicode_literals from django.db import migrations, models
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 37770, 352, 13, 940, 13, 16, 319, 2177, 12, 486, 12, 2931, 7769, 25, 3559, 198, 6738, 11593, 37443, 834, 1330, 28000, 1098, 62, 17201, 874, 198, 1...
2.736842
57
import pytry import os import random import nengo import nengo_extras import numpy as np import nengo_dl import tensorflow as tf import davis_tracking
[ 11748, 12972, 28311, 198, 11748, 28686, 198, 11748, 4738, 198, 11748, 299, 1516, 78, 198, 11748, 299, 1516, 78, 62, 2302, 8847, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 299, 1516, 78, 62, 25404, 198, 11748, 11192, 273, 11125, 355...
3.06
50
""" ... """ # Django from django.conf import settings # local Django from apps.collection.models import Collection from apps.collection.serializers import CollectionSlugSerializer from apps.tests.fixtures import RepositoryTestCase PAGE_SIZE = settings.REST_FRAMEWORK["PAGE_SIZE"]
[ 37811, 198, 986, 198, 37811, 198, 198, 2, 37770, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 198, 2, 1957, 37770, 198, 6738, 6725, 13, 43681, 13, 27530, 1330, 12251, 198, 6738, 6725, 13, 43681, 13, 46911, 11341, 1330, 12251, ...
3.518519
81
import argparse import logging import os from src.train import setup_top20, setup_ft, setup_bottom logging.basicConfig(level=logging.INFO) logger = logging.getLogger('fashion') if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("-d", "--data", help="path to the dataset", required=True) parser.add_argument("--ckpt", help="path to checkpoint folder", default='ckpts') parser.add_argument("-m", "--multi", help="run multitask learning model", action="store_true") args = parser.parse_args() if not os.path.exists(args.ckpt): os.makedirs(args.ckpt) main(args.data, args.ckpt, args.multi)
[ 11748, 1822, 29572, 198, 11748, 18931, 198, 11748, 28686, 198, 6738, 12351, 13, 27432, 1330, 9058, 62, 4852, 1238, 11, 9058, 62, 701, 11, 9058, 62, 22487, 198, 198, 6404, 2667, 13, 35487, 16934, 7, 5715, 28, 6404, 2667, 13, 10778, 8, ...
2.807692
234
#!/usr/bin/env python2.7 """ Toil script to move TCGA data into an S3 bucket. Dependencies Curl: apt-get install curl Docker: wget -qO- https://get.docker.com/ | sh Toil: pip install toil S3AM: pip install --pre s3am """ import argparse import glob import hashlib import os import shutil import subprocess import tarfile from toil.job import Job # Convenience Functions def generate_unique_key(master_key_path, url): """ master_key_path: str Path to the BD2K Master Key (for S3 Encryption) url: str S3 URL (e.g. https://s3-us-west-2.amazonaws.com/bucket/file.txt) Returns: str 32-byte unique key generated for that URL """ with open(master_key_path, 'r') as f: master_key = f.read() assert len(master_key) == 32, 'Invalid Key! Must be 32 characters. ' \ 'Key: {}, Length: {}'.format(master_key, len(master_key)) new_key = hashlib.sha256(master_key + url).digest() assert len(new_key) == 32, 'New key is invalid and is not 32 characters: {}'.format(new_key) return new_key def docker_call(work_dir, tool_parameters, tool, java_opts=None, sudo=False, outfile=None): """ Makes subprocess call of a command to a docker container. tool_parameters: list An array of the parameters to be passed to the tool tool: str Name of the Docker image to be used (e.g. quay.io/ucsc_cgl/samtools) java_opts: str Optional commands to pass to a java jar execution. (e.g. '-Xmx15G') outfile: file Filehandle that stderr will be passed to sudo: bool If the user wants the docker command executed as sudo """ base_docker_call = 'docker run --log-driver=none --rm -v {}:/data'.format(work_dir).split() if sudo: base_docker_call = ['sudo'] + base_docker_call if java_opts: base_docker_call = base_docker_call + ['-e', 'JAVA_OPTS={}'.format(java_opts)] try: if outfile: subprocess.check_call(base_docker_call + [tool] + tool_parameters, stdout=outfile) else: subprocess.check_call(base_docker_call + [tool] + tool_parameters) except subprocess.CalledProcessError: raise RuntimeError('docker command returned a non-zero exit status: {}' ''.format(base_docker_call + [tool] + tool_parameters)) except OSError: raise RuntimeError('docker not found on system. Install on all nodes.') def parse_sra(path_to_config): """ Parses genetorrent config file. Returns list of samples: [ [id1, id1 ], [id2, id2], ... ] Returns duplicate of ids to follow UUID/URL standard. """ samples = [] with open(path_to_config, 'r') as f: for line in f.readlines(): if not line.isspace(): samples.append(line.strip()) return samples def tarball_files(work_dir, tar_name, uuid=None, files=None): """ Tars a group of files together into a tarball work_dir: str Current Working Directory tar_name: str Name of tarball uuid: str UUID to stamp files with files: str(s) List of filenames to place in the tarball from working directory """ with tarfile.open(os.path.join(work_dir, tar_name), 'w:gz') as f_out: for fname in files: if uuid: f_out.add(os.path.join(work_dir, fname), arcname=uuid + '.' + fname) else: f_out.add(os.path.join(work_dir, fname), arcname=fname) # Job Functions def start_batch(job, input_args): """ This function will administer 5 jobs at a time then recursively call itself until subset is empty """ samples = parse_sra(input_args['sra']) # for analysis_id in samples: job.addChildJobFn(download_and_transfer_sample, input_args, samples, cores=1, disk='30') def download_and_transfer_sample(job, input_args, samples): """ Downloads a sample from dbGaP via SRAToolKit, then uses S3AM to transfer it to S3 input_args: dict Dictionary of input arguments analysis_id: str An analysis ID for a sample in CGHub """ if len(samples) > 1: a = samples[len(samples)/2:] b = samples[:len(samples)/2] job.addChildJobFn(download_and_transfer_sample, input_args, a, disk='30G') job.addChildJobFn(download_and_transfer_sample, input_args, b, disk='30G') else: analysis_id = samples[0] work_dir = job.fileStore.getLocalTempDir() sudo = input_args['sudo'] # Acquire dbgap_key shutil.copy(input_args['dbgap_key'], os.path.join(work_dir, 'dbgap.ngc')) # Call to fastq-dump to pull down SRA files and convert to fastq if input_args['single_end']: parameters = [analysis_id] else: parameters = ['--split-files', analysis_id] docker_call(tool='quay.io/ucsc_cgl/fastq-dump:2.5.7--4577a6c1a3c94adaa0c25dd6c03518ee610433d1', work_dir=work_dir, tool_parameters=parameters, sudo=sudo) # Collect files and encapsulate into a tarball shutil.rmtree(os.path.join(work_dir, 'sra')) sample_name = analysis_id + '.tar.gz' if input_args['single_end']: r = [os.path.basename(x) for x in glob.glob(os.path.join(work_dir, '*.f*'))] tarball_files(work_dir, tar_name=sample_name, files=r) else: r1 = [os.path.basename(x) for x in glob.glob(os.path.join(work_dir, '*_1*'))] r2 = [os.path.basename(x) for x in glob.glob(os.path.join(work_dir, '*_2*'))] tarball_files(work_dir, tar_name=sample_name, files=r1 + r2) # Parse s3_dir to get bucket and s3 path key_path = input_args['ssec'] s3_dir = input_args['s3_dir'] bucket_name = s3_dir.lstrip('/').split('/')[0] base_url = 'https://s3-us-west-2.amazonaws.com/' url = os.path.join(base_url, bucket_name, sample_name) # Generate keyfile for upload with open(os.path.join(work_dir, 'temp.key'), 'wb') as f_out: f_out.write(generate_unique_key(key_path, url)) # Upload to S3 via S3AM s3am_command = ['s3am', 'upload', '--sse-key-file', os.path.join(work_dir, 'temp.key'), 'file://{}'.format(os.path.join(work_dir, sample_name)), 's3://' + bucket_name + '/'] subprocess.check_call(s3am_command) def main(): """ Transfer gTEX data from dbGaP (NCBI) to S3 """ # Define Parser object and add to toil parser = build_parser() Job.Runner.addToilOptions(parser) args = parser.parse_args() # Store inputs from argparse inputs = {'sra': args.sra, 'dbgap_key': args.dbgap_key, 'ssec': args.ssec, 's3_dir': args.s3_dir, 'single_end': args.single_end, 'sudo': args.sudo} # Sanity checks if args.ssec: assert os.path.isfile(args.ssec) if args.sra: assert os.path.isfile(args.sra) if args.dbgap_key: assert os.path.isfile(args.dbgap_key) # Start Pipeline Job.Runner.startToil(Job.wrapJobFn(start_batch, inputs), args) if __name__ == '__main__': main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 17, 13, 22, 198, 37811, 198, 2514, 346, 4226, 284, 1445, 17283, 9273, 1366, 656, 281, 311, 18, 19236, 13, 198, 198, 35, 2690, 3976, 198, 34, 6371, 25, 220, 220, 220, 220, 220, 220, 1540...
2.20978
3,313
import time import pytest from elasticapm.utils import compat cpu_psutil = pytest.importorskip("elasticapm.metrics.sets.cpu_psutil") pytestmark = pytest.mark.psutil cpu_linux = pytest.importorskip("elasticapm.metrics.sets.cpu_linux")
[ 11748, 640, 198, 198, 11748, 12972, 9288, 198, 198, 6738, 27468, 499, 76, 13, 26791, 1330, 8330, 198, 198, 36166, 62, 862, 22602, 796, 12972, 9288, 13, 11748, 669, 74, 541, 7203, 417, 3477, 499, 76, 13, 4164, 10466, 13, 28709, 13, 3...
2.707865
89
""" Day 11 - Seating """ from itertools import chain import collections if __name__ == '__main__': # Part one: # result = part_one() # print(f'Result {result}') result = part_two() print(f'Result {result}')
[ 37811, 198, 12393, 1367, 532, 1001, 803, 198, 37811, 198, 198, 6738, 340, 861, 10141, 1330, 6333, 198, 11748, 17268, 628, 628, 628, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1303, 214...
2.569892
93
from scrapy.pipelines.files import FilesPipeline
[ 6738, 15881, 88, 13, 79, 541, 20655, 13, 16624, 1330, 13283, 47, 541, 4470, 628, 628, 628 ]
3.176471
17
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ======================================================================================= """ box iou related """ from mindspore.ops import operations as P from mindspore.ops.primitive import constexpr def bboxes_iou(bboxes_a, bboxes_b, xyxy=True): """ calculate iou Args: bboxes_a: bboxes_b: xyxy: Returns: """ if bboxes_a.shape[1] != 4 or bboxes_b.shape[1] != 4: raise_bbox_error() if xyxy: tl = P.Maximum()(bboxes_a[:, None, :2], bboxes_b[:, :2]) br = P.Minimum()(bboxes_a[:, None, 2:], bboxes_b[:, 2:]) area_a = bboxes_a[:, 2:] - bboxes_a[:, :2] area_a = (area_a[:, 0:1] * area_a[:, 1:2]).squeeze(-1) area_b = bboxes_b[:, 2:] - bboxes_b[:, :2] area_b = (area_b[:, 0:1] * area_b[:, 1:2]).squeeze(-1) else: tl = P.Maximum()( (bboxes_a[:, None, :2] - bboxes_a[:, None, 2:] / 2), (bboxes_b[:, :2] - bboxes_b[:, 2:] / 2), ) br = P.Minimum()( (bboxes_a[:, None, :2] + bboxes_a[:, None, 2:] / 2), (bboxes_b[:, :2] + bboxes_b[:, 2:] / 2), ) area_a = (bboxes_a[:, 2:3] * bboxes_a[:, 3:4]).squeeze(-1) area_b = (bboxes_b[:, 2:3] * bboxes_b[:, 3:4]).squeeze(-1) en = (tl < br).astype(tl.dtype) en = (en[..., 0:1] * en[..., 1:2]).squeeze(-1) area_i = tl - br area_i = (area_i[:, :, 0:1] * area_i[:, :, 1:2]).squeeze(-1) * en return area_i / (area_a[:, None] + area_b - area_i) def batch_bboxes_iou(batch_bboxes_a, batch_bboxes_b, xyxy=True): """ calculate iou for one batch Args: batch_bboxes_a: batch_bboxes_b: xyxy: Returns: """ if batch_bboxes_a.shape[-1] != 4 or batch_bboxes_b.shape[-1] != 4: raise_bbox_error() ious = [] for i in range(len(batch_bboxes_a)): if xyxy: iou = bboxes_iou(batch_bboxes_a[i], batch_bboxes_b[i], True) else: iou = bboxes_iou(batch_bboxes_a[i], batch_bboxes_b[i], False) iou = P.ExpandDims()(iou, 0) ious.append(iou) ious = P.Concat(axis=0)(ious) return ious
[ 2, 15069, 33160, 43208, 21852, 1766, 1539, 12052, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198...
2.107527
1,302
# coding: utf-8 import flask from google.appengine.ext import ndb import auth import config import model from main import app ############################################################################### # Welcome ############################################################################### ############################################################################### # Sitemap stuff ############################################################################### ############################################################################### # Warmup request ###############################################################################
[ 2, 19617, 25, 3384, 69, 12, 23, 198, 198, 11748, 42903, 198, 6738, 23645, 13, 1324, 18392, 13, 2302, 1330, 299, 9945, 198, 198, 11748, 6284, 198, 11748, 4566, 198, 11748, 2746, 198, 198, 6738, 1388, 1330, 598, 628, 198, 29113, 29113, ...
7.086022
93
from transformers import AlbertModel from transformers import AlbertPreTrainedModel import torch.nn as nn import torch import torch.nn.functional as F
[ 6738, 6121, 364, 1330, 9966, 17633, 198, 6738, 6121, 364, 1330, 9966, 6719, 2898, 1328, 17633, 198, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 628 ]
4.026316
38
# STRINGS # https://docs.python.org/3/tutorial/introduction.html#strings s = str(42) s # convert another data type into a string (casting) s = 'I like you' # examine a string s[0] # returns 'I' len(s) # returns 10 # string slicing like lists s[0:7] # returns 'I like ' s[6:] # returns 'you' s[-1] # returns 'u' # EXERCISE: Book Titles (Part 1) # 1) Extract the book title from the string # 2) Save each book title to a variable (ie book1_title) # 3) How many characters/elements are in each title? # Hint: {bookTitle} by {author}, {years} book1 = "Beyond the Door by Dick, Philip K., 1928-1982" book2 = "The Variable Man by Dick, Philip K., 1928-1982" book3 = "The Skull by Dick, Philip K., 1928-1982" # STRINGS - Part II # concatenate strings s3 = 'The meaning of life is' s4 = '42' s3 + ' ' + s4 # returns 'The meaning of life is 42' s3 + ' ' + str(42) # same thing # split a string into a list of substrings separated by a delimiter s = 'I like you' s.split(' ') # returns ['I','like','you'] s.split() # same thing ## Learn more with Automate the Boring Stuff: ## https://automatetheboringstuff.com/chapter1/
[ 2, 19269, 20754, 198, 2, 3740, 1378, 31628, 13, 29412, 13, 2398, 14, 18, 14, 83, 44917, 14, 27427, 596, 13, 6494, 2, 37336, 198, 198, 82, 796, 965, 7, 3682, 8, 198, 198, 82, 220, 1303, 10385, 1194, 1366, 2099, 656, 257, 4731, 35...
2.716628
427
from __future__ import absolute_import, division, print_function __metaclass__ = type import errno import six import socket import ssl from abc import ABCMeta, abstractmethod import logging from threading import RLock from ssl import SSLError import datetime import time from . import compat from .proto import Frame from .concurrency import synchronized from .exceptions import UnexpectedFrame from .utils import get_errno from .spec import FrameType log = logging.getLogger('amqpy') compat.patch() _UNAVAIL = {errno.EAGAIN, errno.EINTR, errno.ENOENT} AMQP_PROTOCOL_HEADER = b'AMQP\x00\x00\x09\x01' # bytes([65, 77, 81, 80, 0, 0, 9, 1]) def send_heartbeat(self): """Send a heartbeat to the server """ self.last_heartbeat_sent = datetime.datetime.now() self.last_heartbeat_sent_monotonic = time.monotonic() self.write_frame(Frame(FrameType.HEARTBEAT)) def is_alive(self): """Check if connection is alive This method is the primary way to check if the connection is alive. Side effects: This method may send a heartbeat as a last resort to check if the connection is alive. :return: True if connection is alive, else False :rtype: bool """ if not self.sock: # we don't have a valid socket, this connection is definitely not alive return False if not self.connected: # the `transport` is not connected return False # recv with MSG_PEEK to check if the connection is alive # note: if there is data still in the buffer, this will not tell us anything # if hasattr(socket, 'MSG_PEEK') and not isinstance(self.sock, ssl.SSLSocket): # prev = self.sock.gettimeout() # self.sock.settimeout(0.0001) # try: # self.sock.recv(1, socket.MSG_PEEK) # except socket.timeout: # pass # except socket.error: # # the exception is usually (always?) a ConnectionResetError in Python 3.3+ # log.debug('socket.error, connection is closed') # return False # finally: # self.sock.settimeout(prev) # send a heartbeat to check if the connection is alive try: self.send_heartbeat() except socket.error: return False return True class SSLTransport(Transport): """Transport that works over SSL """ def _setup_transport(self): """Wrap the socket in an SSL object """ self.sock = ssl.wrap_socket(self.sock, **self.ssl_opts) def read(self, n, initial=False): """Read from socket According to SSL_read(3), it can at most return 16kb of data. Thus, we use an internal read buffer like `TCPTransport.read()` to get the exact number of bytes wanted. :param int n: exact number of bytes to read :return: data read :rtype: bytes """ return self._read(n, initial, _errnos=(errno.ENOENT, errno.EAGAIN, errno.EINTR)) def write(self, s): """Write a string out to the SSL socket fully """ try: write = self.sock.write except AttributeError: # works around a bug in python socket library raise IOError('Socket closed') else: while s: n = write(s) if not n: raise IOError('Socket closed') s = s[n:] class TCPTransport(Transport): """Transport that deals directly with TCP socket """ def read(self, n, initial=False): """Read exactly n bytes from the socket :param int n: exact number of bytes to read :return: data read :rtype: bytes """ return self._read(n, initial, _errnos=(errno.EAGAIN, errno.EINTR)) def create_transport(host, port, connect_timeout, frame_max, ssl_opts=None): """Given a few parameters from the Connection constructor, select and create a subclass of Transport If `ssl_opts` is a dict, SSL will be used and `ssl_opts` will be passed to :func:`ssl.wrap_socket()`. In all other cases, SSL will not be used. :param host: host :param connect_timeout: connect timeout :param ssl_opts: ssl options passed to :func:`ssl.wrap_socket()` :type host: str :type connect_timeout: float or None :type ssl_opts: dict or None """ if isinstance(ssl_opts, dict): return SSLTransport(host, port, connect_timeout, frame_max, ssl_opts) else: return TCPTransport(host, port, connect_timeout, frame_max)
[ 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 198, 198, 834, 4164, 330, 31172, 834, 796, 2099, 198, 11748, 11454, 3919, 198, 11748, 2237, 198, 11748, 17802, 198, 11748, 264, 6649, 198, 6738, 450, 66, 13...
2.395408
1,960
import random import time #list of words words = ("python", "india", "japan", "mother", "computer", "watch", "keyboard", "compass", "bottle", "monitor", "switch", "shoes", "chain", "mobile", "coffee", "alfredo", "mouse", "stomach", "tablet", "mojito", "halapeneos", "pizza", "nutella", "peanut", "broccoli") n = 0 #defining class player #Function to fetch Jumbled Word! def getJumbledWord(): word = random.choice(words) origWord = word jumbledWord = ''.join(random.sample(word, len(word))) return jumbledWord, origWord #Function to show Result #Function for countdown timer (source: https://stackoverflow.com/questions/25189554/countdown-clock-0105) print('Welcome to JUmBLeD!') print('Guess the correct anwer to win points!') print('The one who scores the most out of 10 questions wins!') print('Note: Player who fails to give answer within 15 secs will loose!\n\n') print('Player1:') name1 = input('Enter your Name: ') player1 = Player(name1) print('Player2:') name2 = input('Enter your Name: ') player2 = Player(name2) while(n<=5): jumbledWord1, origWord1 = getJumbledWord() print('Question {}: \n\n'.format(n)) print('Player 1:') print('Your Jumbled word is: ', jumbledWord1) w1 = input('Player 1 Answer: ') if w1 == origWord1: player1.score += 1 print('correct!') print('Score: ', player1.score) print('\n') else: print("Incorrect!") print('Score: ', player1.score) print('\n') jumbledWord2, origWord2 = getJumbledWord() print('Player 2:') print('Your Jumbled word is: ', jumbledWord2) w2 = input('Player 2 Answer: ') if w2 == origWord2: player2.score += 1 print('correct!') print('Score: ', player2.score) print('\n') else: print("Incorrect!") print('Score: ', player2.score) print('\n') n += 1 showResult(player1, player2)
[ 11748, 4738, 198, 11748, 640, 198, 198, 2, 4868, 286, 2456, 198, 10879, 796, 5855, 29412, 1600, 366, 521, 544, 1600, 366, 73, 2674, 1600, 366, 13552, 1600, 366, 33215, 1600, 366, 8340, 1600, 366, 2539, 3526, 1600, 366, 5589, 562, 1600...
2.49294
779
# Bep Marketplace ELE # Copyright (c) 2016-2021 Kolibri Solutions # License: See LICENSE file or https://github.com/KolibriSolutions/BepMarketplace/blob/master/LICENSE # from django.urls import path from . import views app_name = 'tracking' urlpatterns = [ path('user/login/', views.list_user_login, name='listuserlog'), path('user/<int:pk>/', views.telemetry_user_detail, name='userdetail'), path('project/', views.list_project_status_change, name='statuslist'), path('application/', views.list_application_change, name='applicationlist'), path('download/', views.download_telemetry, name='downloadtelemetry'), ]
[ 2, 220, 347, 538, 36703, 40342, 198, 2, 220, 15069, 357, 66, 8, 1584, 12, 1238, 2481, 25910, 571, 380, 23555, 198, 2, 220, 13789, 25, 4091, 38559, 24290, 2393, 393, 3740, 1378, 12567, 13, 785, 14, 42, 349, 571, 380, 50, 14191, 14,...
2.972093
215
from django.conf import settings default_settings = { 'has_module_permission_false': False, } ADMIN_LOG_ENTRIES_SETTINGS = {} compute_settings()
[ 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 198, 12286, 62, 33692, 796, 1391, 198, 220, 220, 220, 705, 10134, 62, 21412, 62, 525, 3411, 62, 9562, 10354, 10352, 11, 198, 92, 198, 198, 2885, 23678, 62, 25294, 62, 3525, 7112, 1546, ...
2.732143
56
from lwrl.optimizers import MetaOptimizer
[ 6738, 300, 18351, 75, 13, 40085, 11341, 1330, 30277, 27871, 320, 7509, 628 ]
3.307692
13
from saef.connections import ConnectionFormHelper from ..models import Connection from ..forms import ConnectionTypeForm from saefportal.settings import MSG_SUCCESS_CONNECTION_UPDATE, MSG_SUCCESS_CONNECTION_VALID, \ MSG_ERROR_CONNECTION_INVALID, MSG_SUCCESS_CONNECTION_SAVED, MSG_ERROR_CONNECTION_SELECT_INVALID, \ MSG_SUCCESS_CONNECTION_DELETED from django.contrib import messages from django.shortcuts import redirect, render, get_object_or_404 from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin from django.views import generic ADD_CONNECTION_TITLE = 'Add Connection' ADD_CONNECTION_TEMPLATE_NAME = "connection/add_connection.html" EDIT_CONNECTION_TEMPLATE_NAME = "connection/edit_connection_detail.html" POSTGRESQL_NAME = "PostgreSQL"
[ 6738, 473, 891, 13, 8443, 507, 1330, 26923, 8479, 47429, 198, 6738, 11485, 27530, 1330, 26923, 198, 6738, 11485, 23914, 1330, 26923, 6030, 8479, 198, 198, 6738, 473, 891, 634, 282, 13, 33692, 1330, 49064, 62, 12564, 4093, 7597, 62, 1094...
3.018382
272
import os import pydicom import glob import numpy as np import nibabel as nib from skimage import filters, morphology from scipy.ndimage.morphology import binary_fill_holes from scipy.ndimage import label from dipy.segment.mask import median_otsu def padvolume(volume): "Applies a padding/cropping to a volume in order to hav 256x256 size" padx1 = padx2 = pady1 = pady2 = 0 orig_shape = volume.shape if orig_shape[0] < 256 or orig_shape[1] < 256: if orig_shape[0] < 256: padx1 = int((256.0 - orig_shape[0])/2) padx2 = 256 - orig_shape[0] - padx1 if orig_shape[1] < 256: pady1 = int((256.0 - orig_shape[1])/2) pady2 = 256 - orig_shape[1] - pady1 volume = np.pad(volume, ((padx1, padx2),(pady1,pady2),(0,0)), mode="edge") cutx1 = cutx2 = cuty1 = cuty2 = 0 if orig_shape[0] > 256 or orig_shape[1] > 256: if orig_shape[0] > 256: cutx1 = int((orig_shape[0]-256.0)/2) cutx2 = orig_shape[0] - 256 - cutx1 volume = volume[cutx1:-cutx2,:,:] if orig_shape[1] > 256: cuty1 = int((orig_shape[1]-256.0)/2) cuty2 = orig_shape[1] - 256 - cuty1 volume = volume[:,cuty1:-cuty2,:] return volume, (padx1, padx2, pady1, pady2, cutx1, cutx2, cuty1, cuty2) def reversepad(volume, padspecs): "Reserves a previously applied padding" padx1 = padspecs[0] padx2 = padspecs[1] pady1 = padspecs[2] pady2 = padspecs[3] cutx1 = padspecs[4] cutx2 = padspecs[5] cuty1 = padspecs[6] cuty2 = padspecs[7] if cutx1>0 or cutx2>0: volume = np.pad(volume, ((cutx1, cutx2),(0,0),(0,0)), mode="edge") if cuty1>0 or cuty2>0: volume = np.pad(volume, ((0,0),(cuty1,cuty2),(0,0)), mode="edge") if padx1>0 or padx2>0: volume = volume[padx1:-padx2,:,:] if pady1>0 or pady2>0: volume = volume[:,pady1:-pady2,:] return volume def brain_component(vol): "Select the largest component in a mask (brain)" label_im, nb_labels = label(vol) label_count = np.bincount(label_im.ravel().astype(np.int)) label_count[0] = 0 return label_im == label_count.argmax() def normalize(vol, mask): "Normalization of a volume" masked_vol = vol[mask] mean_val, sd_val = np.mean(masked_vol), np.std(masked_vol) vol = (vol - mean_val) / sd_val return vol def adccompute(b0, b1000): "Computes ADC map" crudemask = (b0 >= 1) & (b1000 >= 1) # exclude zeros for ADC calculation adc = np.zeros(b0.shape, b1000.dtype) adc[crudemask] = -1. * float(1000) * np.log(b1000[crudemask] / b0[crudemask]) adc[adc < 0] = 0 return adc def maskcompute(b0, b1000): "Computes a brain mask using otsu method" b0_mask, mask0 = median_otsu(b0, 1, 1) b1000_mask, mask1000 = median_otsu(b1000, 1, 1) mask = binary_fill_holes(morphology.binary_dilation(brain_component(mask0 & mask1000))) mask = mask & (b0 >= 1) & (b1000 >= 1) return mask def splitdiffusion(diffdata): "Splits b0 and b1000 based on value mean" vol1 = diffdata[...,0] vol2 = diffdata[...,1] if vol1.mean() > vol2.mean(): b0 = vol1 b1000 = vol2 else: b0 = vol2 b1000 = vol1 return b0, b1000
[ 11748, 28686, 198, 11748, 279, 5173, 291, 296, 198, 11748, 15095, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 33272, 9608, 355, 33272, 198, 6738, 1341, 9060, 1330, 16628, 11, 46320, 198, 6738, 629, 541, 88, 13, 358, 9060, 13, 24503,...
2.06875
1,600
#!/usr/bin/env python # -*- coding: utf-8 -*- from aip import AipFace from picamera import PiCamera import urllib.request import RPi.GPIO as GPIO import base64 import time import Main #idkey APP_ID = '*****' API_KEY = '**********' SECRET_KEY ='**********' client = AipFace(APP_ID, API_KEY, SECRET_KEY)# # IMAGE_TYPE='BASE64' camera = PiCamera()# # GROUP = 'usr1' # # def getimage(): # camera.resolution = (1024,768)#1024*768 # camera.start_preview()# # time.sleep(1) # camera.capture('faceimage.jpg')# # time.sleep(1) # camera.close() # #api # if __name__ == '__main__': print('') # getimage()# img = transimage()# res = go_api(img)# if res == 1:# print("") else: print("") print('40s') time.sleep(1)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 201, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 201, 198, 6738, 257, 541, 1330, 317, 541, 32388, 201, 198, 6738, 8301, 18144, 1330, 13993, 35632, 201, 198, 11748, 2956...
2.044444
405
L = ['Michael', 'Sarah', 'Tracy', 'Bob', 'Jack'] print(L[0:3]); # L[0:3]0330123 # 0 print(L[:3]); # PythonL[-1] print(L[-2:]) L = list(range(100)) # 10 print(L[:10:2]) # [:]list # tupletuple # print('ABCDEFG'[:3]) # d = {'a': 1, 'b': 2, 'c': 3} for key in d: print(key) # collectionsIterable from collections.abc import Iterable print(isinstance('abc', Iterable)) print(isinstance([1, 2, 3], Iterable)) # Pythonenumeratelist-for for i, value in enumerate(['A', 'B', 'C']): print(i, value) # print(list(range(1, 11))); print([x * x for x in range(1, 11)]) print([m + n for m in 'ABC' for n in 'XYZ']) # import os print([d for d in os.listdir('.')]) # fordictitems()keyvalue d = {'x': 'A', 'y': 'B', 'z': 'C'} for k, v in d.items(): print(k, '=', v) L = ['Hello', 'World', 'IBM', 'Apple'] print([s.lower() for s in L]) # Pythongenerator L = [x * x for x in range(10)] print(L) g = (x * x for x in range(10)) print(g) # Lg[]()Llistggenerator print(next(g)) print(next(g)) print(next(g)) print(next(g)) # generatornext(g)gStopIteration # generatoryieldgenerator f = fib(6) print(f) # returngenerator # next()yieldyield # forgeneratorgeneratorreturnStopIterationStopIterationvalue g = fib(6) while True: try: x = next(g) print('g:', x) except StopIteration as e: print('Generator return value:', e.value) break # # IteratorlistdictstrIterableIterator # from collections.abc import Iterator print(isinstance((x for x in range(10)), Iterator)) # true print(isinstance((x for x in range(10)), Iterable)) # true print(isinstance([], Iterator)) # false print(isinstance([], Iterable)) # true print(isinstance({}, Iterator)) # false print(isinstance({}, Iterable)) # true print(isinstance('abc', Iterator)) # false print(isinstance('abc', Iterable)) # true # listdictstrIterableIteratoriter() # print(isinstance(iter([]), Iterator)) print(isinstance(iter('abc'), Iterator)) # PythonIteratorIteratornext()StopIteration # next() # Iterator # # Iteratorlist
[ 43, 796, 37250, 13256, 3256, 705, 29284, 3256, 705, 2898, 1590, 3256, 705, 18861, 3256, 705, 14295, 20520, 198, 4798, 7, 43, 58, 15, 25, 18, 36563, 198, 2, 406, 58, 15, 25, 18, 60, 44427, 486, 1954, 198, 2, 657, 198, 4798, 7, 43...
2.4474
827
#!/usr/local/bin/python2 import argparse import requests import feedparser import time import sys import sqlite3 import datetime # Command line args parser = argparse.ArgumentParser(description='Provide HipChat integration url to post xkcd comics') parser.add_argument('url', type=str, help='(string) a special url for posting to a hipchat room') parser.add_argument('-c', '--commit', action='store_true', help='check the output, and commit if it looks right') args = parser.parse_args() # Get rss feed from URL (https://xkcd.com/rss.xml) def check_rss_feed(cursor, feedurl, rssentries): row = cursor.execute("SELECT id FROM lastpub") lastts = row.fetchone() or ("",) req = requests.get(feedurl, headers={ "If-Modified-Since": lastts[0] }) if req.text: # get the rss feed data from the feedurl feed = feedparser.parse(feedurl) entries = feed.entries for i in range(len(entries)): e = Entry( entries[i]['title'], entries[i]['summary'].split('\"')[3], entries[i]['summary'].split('\"')[1], entries[i]['link'], entries[i]['published'], 0 ) rssentries.append(e) return req # Hipchat posting function # Database functions # Primary function if __name__ == "__main__": main()
[ 2, 48443, 14629, 14, 12001, 14, 8800, 14, 29412, 17, 198, 11748, 1822, 29572, 198, 11748, 7007, 198, 11748, 3745, 48610, 198, 11748, 640, 198, 11748, 25064, 198, 11748, 44161, 578, 18, 198, 11748, 4818, 8079, 198, 198, 2, 9455, 1627, ...
2.394783
575
# Leia 2 valores numricos e um smbolo correspondente a uma das operaes. # soma (+), subtrao(-), diviso(/) e multiplicao(*) n1, n2, op = input().split() n1 = int(n1) n2 = int(n2) if op == "+": print(n1 + n2) elif op == "-": print(n1 - n2) elif op == "/": print(n1 / n2) elif op == "*": print(n1 * n2) else: print("Sua operao matemtica no vlida.")
[ 2, 41212, 362, 1188, 2850, 997, 1173, 418, 304, 23781, 895, 65, 14057, 21076, 68, 257, 334, 2611, 288, 292, 27296, 274, 13, 201, 198, 2, 3870, 64, 11502, 828, 850, 9535, 78, 32590, 828, 2659, 26786, 7, 34729, 304, 15082, 3970, 78, ...
1.989691
194
from ciphers.cipher_helper import get_character_map, flip_dict
[ 6738, 269, 541, 7084, 13, 66, 10803, 62, 2978, 525, 1330, 651, 62, 22769, 62, 8899, 11, 14283, 62, 11600, 628 ]
3.047619
21
# Generated by Django 2.2.6 on 2019-10-14 13:19 from django.db import migrations
[ 2, 2980, 515, 416, 37770, 362, 13, 17, 13, 21, 319, 13130, 12, 940, 12, 1415, 1511, 25, 1129, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 628 ]
2.766667
30
# coding: utf-8 import re from datetime import date import boundaries # Noting that the "union" merge strategy fails with: # # GEOS_ERROR: TopologyException: found non-noded intersection between # LINESTRING (...) and LINESTRING (...) # # django.contrib.gis.geos.error.GEOSException: Could not initialize GEOS Geometry with given input. # # So, we instead use the "combine" merge strategy. # Generated by sets.rb and then edited. sets = { 10043: ["Rimouski", "districts"], 10070: ["Saint-Fabien", "districts"], 1023: ["Les les-de-la-Madeleine", "districts"], 11040: ["Trois-Pistoles", "quartiers"], 12015: ["Saint-Antonin", "districts"], 12072: ["Rivire-du-Loup", "districts"], 13073: ["Tmiscouata-sur-le-Lac", "districts"], 13095: ["Pohngamook", "quartiers"], 15013: ["La Malbaie", "districts"], 15035: ["Clermont", "districts"], 15058: ["Saint-Simon", "districts"], 16013: ["Baie-Saint-Paul", "districts"], 16055: ["Saint-Urbain", "districts"], 17055: ["Saint-Aubert", "districts"], 18050: ["Montmagny", "districts"], 19055: ["Sainte-Claire", "districts"], 19068: ["Saint-Henri", "districts"], 19097: ["Saint-Charles-de-Bellechasse", "districts"], 19105: ["Beaumont", "districts"], 2005: ["Perc", "districts"], 2010: ["Sainte-Thrse-de-Gasp", "districts"], 2015: ["Grande-Rivire", "districts"], 2028: ["Chandler", "districts"], 2047: ["Port-DanielGascons", "districts"], 21010: ["Saint-Ferrol-les-Neiges", "districts"], 21045: ["Boischatel", "districts"], 22005: ["Sainte-Catherine-de-la-Jacques-Cartier", "districts"], 22010: ["Fossambault-sur-le-Lac", "districts"], 22015: ["Lac-Saint-Joseph", "districts"], 22035: ["Stoneham-et-Tewkesbury", "districts"], 22040: ["Lac-Beauport", "districts"], 22045: ["Sainte-Brigitte-de-Laval", "districts"], 23027: ["Qubec", "districts"], 23057: ["L'Ancienne-Lorette", "districts"], 23072: ["Saint-Augustin-de-Desmaures", "districts"], 25213: ["Lvis", "districts"], 26030: ["Sainte-Marie", "districts"], 26063: ["Saint-Isidore", "districts"], 27028: ["Beauceville", "districts"], 27043: ["Saint-Joseph-de-Beauce", "districts"], 29073: ["Saint-Georges", "districts"], 30010: ["Notre-Dame-des-Bois", "districts"], 30025: ["Frontenac", "districts"], 30030: ["Lac-Mgantic", "districts"], 30045: ["Nantes", "districts"], 3005: ["Gasp", "quartiers"], 3010: ["Cloridorme", "districts"], 31015: ["Disraeli", "districts"], 31056: ["Adstock", "districts"], 31084: ["Thetford Mines", "districts"], 31122: ["East Broughton", "districts"], 32013: ["Saint-Ferdinand", "districts"], 32033: ["Princeville", "districts"], 32040: ["Plessisville", "districts"], 32065: ["Lyster", "districts"], 33045: ["Saint-Agapit", "districts"], 33052: ["Saint-Flavien", "districts"], 34030: ["Cap-Sant", "districts"], 34038: ["Saint-Basile", "districts"], 34120: ["Lac-Sergent", "quartiers"], 35027: ["Saint-Tite", "districts"], 36033: ["Shawinigan", "districts"], 37067: ["Trois-Rivires", "districts"], 37230: ["Saint-Maurice", "districts"], 37235: ["Notre-Dame-du-Mont-Carmel", "districts"], 39060: ["Saint-Christophe-d'Arthabaska", "districts"], 39062: ["Victoriaville", "districts"], 4037: ["Sainte-Anne-des-Monts", "districts"], 41038: ["Cookshire-Eaton", "districts"], 41098: ["Weedon", "districts"], 42020: ["Saint-Franois-Xavier-de-Brompton", "districts"], 42025: ["Saint-Denis-de-Brompton", "districts"], 42032: ["Racine", "districts"], 42098: ["Richmond", "districts"], 42100: ["Saint-Claude", "districts"], 42110: ["Cleveland", "districts"], 43027: ["Sherbrooke", "districts"], 44071: ["Compton", "districts"], 45060: ["Sainte-Catherine-de-Hatley", "districts"], 45072: ["Magog", "districts"], 46050: ["Dunham", "districts"], 46058: ["Sutton", "districts"], 46075: ["Lac-Brome", "districts"], 46078: ["Bromont", "districts"], 46080: ["Cowansville", "quartiers"], 46112: ["Farnham", "districts"], 47017: ["Granby", "districts"], 47025: ["Waterloo", "districts"], 47047: ["Roxton Pond", "districts"], 48028: ["Acton Vale", "districts"], 49048: ["Saint-Germain-de-Grantham", "districts"], 49058: ["Drummondville", "districts"], 49070: ["Saint-Cyrille-de-Wendover", "districts"], 50042: ["Saint-Lonard-d'Aston", "districts"], 51015: ["Louiseville", "districts"], 52007: ["Lavaltrie", "districts"], 52017: ["Lanoraie", "districts"], 52035: ["Berthierville", "districts"], 52040: ["Sainte-Genevive-de-Berthier", "districts"], 52045: ["Saint-Ignace-de-Loyola", "districts"], 52080: ["Saint-Gabriel", "districts"], 52095: ["Mandeville", "districts"], 53040: ["Saint-Roch-de-Richelieu", "districts"], 53050: ["Saint-Joseph-de-Sorel", "quartiers"], 53052: ["Sorel-Tracy", "districts"], 53065: ["Sainte-Anne-de-Sorel", "districts"], 54008: ["Saint-Pie", "districts"], 54017: ["Saint-Damase", "districts"], 54048: ["Saint-Hyacinthe", "districts"], 54060: ["Saint-Dominique", "districts"], 55008: ["Ange-Gardien", "districts"], 55023: ["Saint-Csaire", "districts"], 55037: ["Rougemont", "districts"], 55048: ["Marieville", "districts"], 55057: ["Richelieu", "districts"], 56083: ["Saint-Jean-sur-Richelieu", "districts"], 57005: ["Chambly", "districts"], 57010: ["Carignan", "districts"], 57020: ["Saint-Basile-le-Grand", "districts"], 57025: ["McMasterville", "districts"], 57030: ["Otterburn Park", "districts"], 57033: ["Saint-Jean-Baptiste", "districts"], 57035: ["Mont-Saint-Hilaire", "districts"], 57040: ["Beloeil", "districts"], 57045: ["Saint-Mathieu-de-Beloeil", "districts"], 58007: ["Brossard", "districts"], 58012: ["Saint-Lambert", "districts"], 58033: ["Boucherville", "districts"], 58037: ["Saint-Bruno-de-Montarville", "districts"], 58227: ["Longueuil", "districts"], 59010: ["Sainte-Julie", "districts"], 59015: ["Saint-Amable", "districts"], 59020: ["Varennes", "districts"], 59025: ["Verchres", "districts"], 59035: ["Contrecoeur", "districts"], 60005: ["Charlemagne", "districts"], 60013: ["Repentigny", "districts"], 60028: ["L'Assomption", "districts"], 60035: ["L'piphanie", "districts"], 61025: ["Joliette", "districts"], 61027: ["Saint-Thomas", "districts"], 61030: ["Notre-Dame-des-Prairies", "districts"], 61040: ["Saint-Ambroise-de-Kildare", "districts"], 61050: ["Sainte-Mlanie", "districts"], 62007: ["Saint-Flix-de-Valois", "districts"], 62025: ["Saint-Alphonse-Rodriguez", "districts"], 62037: ["Rawdon", "districts"], 62047: ["Chertsey", "districts"], 62060: ["Saint-Donat", "districts"], 62075: ["Saint-Damien", "districts"], 63030: ["Saint-Esprit", "districts"], 63035: ["Saint-Roch-de-l'Achigan", "districts"], 63048: ["Saint-LinLaurentides", "districts"], 63055: ["Saint-Calixte", "districts"], 63060: ["Sainte-Julienne", "districts"], 64008: ["Terrebonne", "districts"], 64015: ["Mascouche", "districts"], 65005: ["Laval", "districts"], 66007: ["Montral-Est", "districts"], 66023: ["Montral", "districts"], 66032: ["Westmount", "districts"], 66058: ["Cte-Saint-Luc", "districts"], 66072: ["Mont-Royal", "districts"], 66087: ["Dorval", "districts"], 66097: ["Pointe-Claire", "districts"], 66102: ["Kirkland", "districts"], 66107: ["Beaconsfield", "districts"], 66117: ["Sainte-Anne-de-Bellevue", "districts"], 66127: ["Senneville", "districts"], 66142: ["Dollard-Des Ormeaux", "districts"], 67010: ["Saint-Philippe", "districts"], 67015: ["La Prairie", "districts"], 67020: ["Candiac", "districts"], 67025: ["Delson", "quartiers"], 67030: ["Sainte-Catherine", "districts"], 67035: ["Saint-Constant", "districts"], 67045: ["Mercier", "districts"], 67050: ["Chteauguay", "districts"], 67055: ["Lry", "districts"], 68020: ["Sainte-Clotilde", "districts"], 68050: ["Saint-Michel", "districts"], 68055: ["Saint-Rmi", "districts"], 69017: ["Saint-Chrysostome", "districts"], 69055: ["Huntingdon", "quartiers"], 69070: ["Saint-Anicet", "districts"], 70012: ["Sainte-Martine", "districts"], 70022: ["Beauharnois", "districts"], 70035: ["Saint-Louis-de-Gonzague", "districts"], 70040: ["Saint-Stanislas-de-Kostka", "districts"], 70052: ["Salaberry-de-Valleyfield", "districts"], 7018: ["Causapscal", "districts"], 7047: ["Amqui", "districts"], 7057: ["Lac-au-Saumon", "districts"], 71025: ["Saint-Zotique", "districts"], 71033: ["Les Coteaux", "districts"], 71040: ["Coteau-du-Lac", "districts"], 71050: ["Les Cdres", "districts"], 71060: ["L'le-Perrot", "districts"], 71065: ["Notre-Dame-de-l'le-Perrot", "districts"], 71070: ["Pincourt", "districts"], 71083: ["Vaudreuil-Dorion", "districts"], 71100: ["Hudson", "districts"], 71105: ["Saint-Lazare", "districts"], 71133: ["Rigaud", "districts"], 72005: ["Saint-Eustache", "districts"], 72010: ["Deux-Montagnes", "districts"], 72015: ["Sainte-Marthe-sur-le-Lac", "districts"], 72020: ["Pointe-Calumet", "districts"], 72025: ["Saint-Joseph-du-Lac", "districts"], 72032: ["Oka", "districts"], 72043: ["Saint-Placide", "districts"], 73005: ["Boisbriand", "districts"], 73010: ["Sainte-Thrse", "districts"], 73015: ["Blainville", "districts"], 73035: ["Sainte-Anne-des-Plaines", "districts"], 74005: ["Mirabel", "districts"], 75005: ["Saint-Colomban", "districts"], 75017: ["Saint-Jrme", "districts"], 75028: ["Sainte-Sophie", "districts"], 75040: ["Prvost", "districts"], 76008: ["Saint-Andr-d'Argenteuil", "districts"], 76020: ["Lachute", "districts"], 76043: ["Brownsburg-Chatham", "districts"], 77022: ["Sainte-Adle", "districts"], 77035: ["Sainte-Anne-des-Lacs", "districts"], 77055: ["Lac-des-Seize-les", "districts"], 77060: ["Wentworth-Nord", "districts"], 78010: ["Val-David", "districts"], 78047: ["Saint-FaustinLac-Carr", "districts"], 78055: ["Montcalm", "districts"], 78070: ["Amherst", "districts"], 78095: ["Lac-Suprieur", "districts"], 78102: ["Mont-Tremblant", "districts"], 79078: ["Lac-des-corces", "districts"], 8053: ["Matane", "districts"], 81017: ["Gatineau", "districts"], 82005: ["L'Ange-Gardien", "districts"], 82015: ["Val-des-Monts", "districts"], 82020: ["Cantley", "districts"], 82025: ["Chelsea", "districts"], 82030: ["Pontiac", "districts"], 82035: ["La Pche", "districts"], 83065: ["Maniwaki", "quartiers"], 85045: ["Saint-Bruno-de-Guigues", "districts"], 86042: ["Rouyn-Noranda", "districts"], 87058: ["Macamic", "districts"], 87090: ["La Sarre", "quartiers"], 88022: ["Barraute", "districts"], 89008: ["Val-d'Or", "districts"], 89015: ["Malartic", "districts"], 89040: ["Senneterre", "quartiers"], 90012: ["La Tuque", "districts"], 9077: ["Mont-Joli", "districts"], 93005: ["Desbiens", "quartiers"], 93012: ["MtabetchouanLac--la-Croix", "districts"], 93020: ["Hbertville", "districts"], 93030: ["Saint-Bruno", "districts"], 93035: ["Saint-Gdon", "districts"], 93042: ["Alma", "districts"], 93045: ["Saint-Nazaire", "districts"], 93065: ["L'Ascension-de-Notre-Seigneur", "districts"], 93070: ["Saint-Henri-de-Taillon", "districts"], 94068: ["Saguenay", "districts"], 94235: ["Saint-Fulgence", "districts"], 94240: ["Saint-Honor", "districts"], 94245: ["Saint-David-de-Falardeau", "districts"], 94255: ["Saint-Ambroise", "districts"], 96020: ["Baie-Comeau", "districts"], 96025: ["Pointe-Lebel", "districts"], 96030: ["Pointe-aux-Outardes", "districts"], 96040: ["Ragueneau", "districts"], 97007: ["Sept-les", "districts"], 99060: ["Eeyou Istchee Baie-James", "quartiers"], } # Check the names with (replace `CODE`): # ogrinfo -al -geom=NO boundaries/ca_qc_districts | grep -B6 CODE | grep NM_DIS | sort # Check if required with: # ogrinfo -al -geom=NO boundaries/ca_qc_districts | grep -A9 ' 1\.10' for geographic_code, (name, type) in sets.items(): geographic_codes = [geographic_code] boundaries.register('%s %s' % (name, type), domain='%s, QC' % name, last_updated=date(2017, 11, 30), name_func=district_namer, id_func=district_ider, authority='Directeur gnral des lections du Qubec', licence_url='https://www.electionsquebec.qc.ca/francais/conditions-d-utilisation-de-notre-site-web.php', encoding='utf-8', extra={'division_id': 'ocd-division/country:ca/csd:24%05d' % geographic_code}, is_valid_func=lambda f, geographic_codes=geographic_codes: int(f.get('CO_MUNCP')) in geographic_codes, notes='Load the shapefile manually:\nfab alpheus update_boundaries:args="-r --merge combine -d data/shapefiles/public/boundaries/ca_qc_districts"', ) boundaries.register('Paroisse de Plessisville districts', domain='Plessisville, QC', last_updated=date(2017, 11, 30), name_func=district_namer, id_func=district_ider, authority='Directeur gnral des lections du Qubec', licence_url='https://www.electionsquebec.qc.ca/francais/conditions-d-utilisation-de-notre-site-web.php', encoding='utf-8', extra={'division_id': 'ocd-division/country:ca/csd:2432045'}, is_valid_func=lambda f: int(f.get('CO_MUNCP')) == 32045, ) # Check the names with (replace `CODE`): # ogrinfo -al -geom=NO boundaries/ca_qc_districts | grep -B3 CODE | sort | uniq # Check the identifiers with: # ogrinfo -al -geom=NO boundaries/ca_qc_districts | grep -B4 CODE municipalities_with_boroughs = [ { 'name': 'Lvis', 'geographic_code': 25213, 'boroughs': { 'ocd-division/country:ca/csd:2425213/borough:1': 'Desjardins', 'ocd-division/country:ca/csd:2425213/borough:2': 'Les Chutes-de-la-Chaudire-Est', 'ocd-division/country:ca/csd:2425213/borough:3': 'Les Chutes-de-la-Chaudire-Ouest', }, }, { 'name': 'Longueuil', 'geographic_code': 58227, 'boroughs': { 'ocd-division/country:ca/csd:2458227/borough:1': 'Le Vieux-Longueuil', 'ocd-division/country:ca/csd:2458227/borough:2': 'Greenfield Park', 'ocd-division/country:ca/csd:2458227/borough:3': 'Saint-Hubert', }, }, { 'name': 'Montral', 'geographic_code': 66023, 'boroughs': { 'ocd-division/country:ca/csd:2466023/borough:1': "Ahuntsic-Cartierville", 'ocd-division/country:ca/csd:2466023/borough:2': "Anjou", 'ocd-division/country:ca/csd:2466023/borough:3': "Cte-des-NeigesNotre-Dame-de-Grce", 'ocd-division/country:ca/csd:2466023/borough:4': "Lachine", 'ocd-division/country:ca/csd:2466023/borough:5': "LaSalle", 'ocd-division/country:ca/csd:2466023/borough:6': "L'le-BizardSainte-Genevive", 'ocd-division/country:ca/csd:2466023/borough:7': "MercierHochelaga-Maisonneuve", 'ocd-division/country:ca/csd:2466023/borough:8': "Montral-Nord", 'ocd-division/country:ca/csd:2466023/borough:9': "Outremont", 'ocd-division/country:ca/csd:2466023/borough:10': "Pierrefonds-Roxboro", 'ocd-division/country:ca/csd:2466023/borough:11': "Plateau-Mont-Royal", 'ocd-division/country:ca/csd:2466023/borough:12': "Rivire-des-PrairiesPointe-aux-Trembles", 'ocd-division/country:ca/csd:2466023/borough:13': "RosemontLa Petite-Patrie", 'ocd-division/country:ca/csd:2466023/borough:14': "Saint-Laurent", 'ocd-division/country:ca/csd:2466023/borough:15': "Saint-Lonard", 'ocd-division/country:ca/csd:2466023/borough:16': "Sud-Ouest", 'ocd-division/country:ca/csd:2466023/borough:17': "Verdun", 'ocd-division/country:ca/csd:2466023/borough:18': "Ville-Marie", 'ocd-division/country:ca/csd:2466023/borough:19': "VilleraySaint-MichelParc-Extension", }, }, { 'name': 'Qubec', 'geographic_code': 23027, 'boroughs': { 'ocd-division/country:ca/csd:2423027/borough:1': 'La Cit-Limoilou', 'ocd-division/country:ca/csd:2423027/borough:2': 'Les Rivires', 'ocd-division/country:ca/csd:2423027/borough:3': 'Sainte-FoySilleryCap-Rouge', 'ocd-division/country:ca/csd:2423027/borough:4': 'Charlesbourg', 'ocd-division/country:ca/csd:2423027/borough:5': 'Beauport', 'ocd-division/country:ca/csd:2423027/borough:6': 'La Haute-Saint-Charles', }, }, { 'name': 'Saguenay', 'geographic_code': 94068, 'boroughs': { 'ocd-division/country:ca/csd:2494068/borough:1': 'Chicoutimi', 'ocd-division/country:ca/csd:2494068/borough:2': 'Jonquire', 'ocd-division/country:ca/csd:2494068/borough:3': 'La Baie', }, }, { 'name': 'Sherbrooke', 'geographic_code': 43027, 'boroughs': { 'ocd-division/country:ca/csd:2443027/borough:1': 'Arrondissement 1', 'ocd-division/country:ca/csd:2443027/borough:2': 'Arrondissement 2', 'ocd-division/country:ca/csd:2443027/borough:3': 'Arrondissement 3', 'ocd-division/country:ca/csd:2443027/borough:4': 'Arrondissement 4', }, }, ] # @see http://www.toponymie.gouv.qc.ca/ct/toponymie-municipale/municipalites-arrondissements/arrondissement.aspx # @see http://www.mamrot.gouv.qc.ca/repertoire-des-municipalites/fiche/arrondissement/?tx_mamrotrepertoire_pi1[order]=asc_nom_mun for municipality in municipalities_with_boroughs: geographic_code = municipality['geographic_code'] geographic_name = municipality['name'] for division_id, name in municipality['boroughs'].items(): subdivision_id = int(division_id.rsplit(':', 1)[-1]) boundaries.register('%s districts' % name, domain='%s, %s, QC' % (name, geographic_name), last_updated=date(2017, 11, 30), name_func=district_namer, id_func=district_ider, authority='Directeur gnral des lections du Qubec', licence_url='https://www.electionsquebec.qc.ca/francais/conditions-d-utilisation-de-notre-site-web.php', encoding='utf-8', extra={'division_id': division_id}, is_valid_func=lambda f, geographic_code=geographic_code, subdivision_id=subdivision_id: int(f.get('CO_MUNCP')) == geographic_code and int(f.get('NO_ARON')) == subdivision_id, notes='Load the shapefile manually:\nfab alpheus update_boundaries:args="-r --merge combine -d data/shapefiles/public/boundaries/ca_qc_districts"', ) boundaries.register('%s boroughs' % geographic_name, domain='%s, QC' % geographic_name, last_updated=date(2017, 11, 30), name_func=borough_namer, id_func=lambda f: int(f.get('NO_ARON')), authority='Directeur gnral des lections du Qubec', licence_url='https://www.electionsquebec.qc.ca/francais/conditions-d-utilisation-de-notre-site-web.php', encoding='utf-8', extra={'division_id': 'ocd-division/country:ca/csd:24%05d' % geographic_code}, is_valid_func=lambda f, geographic_code=geographic_code: int(f.get('CO_MUNCP')) == geographic_code, notes='Load the shapefile manually:\nfab alpheus update_boundaries:args="-r --merge combine -d data/shapefiles/public/boundaries/ca_qc_districts"', )
[ 2, 19617, 25, 3384, 69, 12, 23, 198, 11748, 302, 198, 6738, 4818, 8079, 1330, 3128, 198, 198, 11748, 13215, 198, 198, 2, 1892, 278, 326, 262, 366, 24592, 1, 20121, 4811, 10143, 351, 25, 198, 2, 198, 2, 220, 220, 220, 220, 22319, ...
2.184442
9,114
import difflib import io import click from pdbfairy import utils from pdbfairy.commands import find_interactions
[ 11748, 814, 8019, 198, 11748, 33245, 198, 198, 11748, 3904, 198, 198, 6738, 279, 9945, 69, 13021, 1330, 3384, 4487, 198, 6738, 279, 9945, 69, 13021, 13, 9503, 1746, 1330, 1064, 62, 3849, 4658, 628 ]
3.314286
35