Add char file

This commit is contained in:
TheTaques 2021-08-24 13:08:42 +02:00
parent 404ec90876
commit e2bb3fd073
4 changed files with 72 additions and 1 deletions

View File

@ -6,6 +6,8 @@ from .objects.bonemarketargumentparser import BoneMarketArgumentParser
from .objects.enumaction import EnumAction
from .objects.listaction import ListAction
from .solve import *
from .read_char import *
parser = BoneMarketArgumentParser(
prog='Bone Market Solver',
@ -71,7 +73,7 @@ skeleton_parameters = parser.add_argument_group(
skeleton_parameters.add_argument(
"-s", "--shadowy",
type=int,
required=True,
default=Char.SHADOWY.value,
help="the effective level of Shadowy used for selling to buyers",
dest='shadowy_level'
)

View File

@ -0,0 +1,32 @@
from enum import Enum
class Char(Enum):
"""Character stats"""
SHADOWY = 300
DANGEROUS = 300
PERSUASIVE = 300
WATCHFUL = 300
PLAYER_OF_CHESS = 7
ARTISAN_OF_RED_SCIENCE = 7
GLASSWORK = 7
KATALEPTIC_TOXICOLOGY = 7
MITHRIDACY = 7
MONSTROUS_ANATOMY = 7
SHAPELING_ARTS = 7
BIZARRE = 15
DREADED = 15
RESPECTABLE = 15

View File

@ -0,0 +1,32 @@
from enum import Enum
class Char(Enum):
"""Character stats"""
SHADOWY = 300
DANGEROUS = 300
PERSUASIVE = 300
WATCHFUL = 300
PLAYER_OF_CHESS = 7
ARTISAN_OF_RED_SCIENCE = 7
GLASSWORK = 7
KATALEPTIC_TOXICOLOGY = 7
MITHRIDACY = 7
MONSTROUS_ANATOMY = 7
SHAPELING_ARTS = 7
BIZARRE = 15
DREADED = 15
RESPECTABLE = 15

View File

@ -0,0 +1,5 @@
try:
from .custom_char import *
except:
print("Note: custom_char.py does not exist. Using default_char.py")
from .default_char import *