mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio recipe time: adjust triangular mode
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user