Add char file
This commit is contained in:
parent
404ec90876
commit
e2bb3fd073
@ -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'
|
||||
)
|
||||
|
32
bonemarketsolver/custom_char.py.template
Normal file
32
bonemarketsolver/custom_char.py.template
Normal 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
|
32
bonemarketsolver/default_char.py
Normal file
32
bonemarketsolver/default_char.py
Normal 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
|
5
bonemarketsolver/read_char.py
Normal file
5
bonemarketsolver/read_char.py
Normal 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 *
|
Loading…
Reference in New Issue
Block a user