Factorio recipe time: adjust triangular mode
This commit is contained in:
parent
4b283242fe
commit
72e5acfb86
|
@ -33,12 +33,15 @@ base_info = {
|
||||||
recipe_time_scales = {
|
recipe_time_scales = {
|
||||||
# using random.triangular
|
# using random.triangular
|
||||||
Options.RecipeTime.option_fast: (0.25, 1),
|
Options.RecipeTime.option_fast: (0.25, 1),
|
||||||
Options.RecipeTime.option_normal: (0.5, 2, 1),
|
# 0.5, 2, 0.5 average -> 1.0
|
||||||
|
Options.RecipeTime.option_normal: (0.5, 2, 0.5),
|
||||||
Options.RecipeTime.option_slow: (1, 4),
|
Options.RecipeTime.option_slow: (1, 4),
|
||||||
Options.RecipeTime.option_chaos: (0.25, 4, 1),
|
# 0.25, 4, 0.25 average -> 1.5
|
||||||
|
Options.RecipeTime.option_chaos: (0.25, 4, 0.25),
|
||||||
Options.RecipeTime.option_vanilla: None
|
Options.RecipeTime.option_vanilla: None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def generate_mod(world: MultiWorld, player: int):
|
def generate_mod(world: MultiWorld, player: int):
|
||||||
global template, locale_template, control_template
|
global template, locale_template, control_template
|
||||||
with template_load_lock:
|
with template_load_lock:
|
||||||
|
@ -105,4 +108,3 @@ def generate_mod(world: MultiWorld, player: int):
|
||||||
os.path.relpath(os.path.join(root, file),
|
os.path.relpath(os.path.join(root, file),
|
||||||
os.path.join(mod_dir, '..')))
|
os.path.join(mod_dir, '..')))
|
||||||
shutil.rmtree(mod_dir)
|
shutil.rmtree(mod_dir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue