mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: fix wrong parent class for FactorioStartItems (#2587)
This commit is contained in:
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|||||||
import typing
|
import typing
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
from Options import Choice, OptionDict, OptionSet, ItemDict, Option, DefaultOnToggle, Range, DeathLink, Toggle, \
|
from Options import Choice, OptionDict, OptionSet, Option, DefaultOnToggle, Range, DeathLink, Toggle, \
|
||||||
StartInventoryPool
|
StartInventoryPool
|
||||||
from schema import Schema, Optional, And, Or
|
from schema import Schema, Optional, And, Or
|
||||||
|
|
||||||
@@ -207,10 +207,9 @@ class RecipeIngredientsOffset(Range):
|
|||||||
range_end = 5
|
range_end = 5
|
||||||
|
|
||||||
|
|
||||||
class FactorioStartItems(ItemDict):
|
class FactorioStartItems(OptionDict):
|
||||||
"""Mapping of Factorio internal item-name to amount granted on start."""
|
"""Mapping of Factorio internal item-name to amount granted on start."""
|
||||||
display_name = "Starting Items"
|
display_name = "Starting Items"
|
||||||
verify_item_name = False
|
|
||||||
default = {"burner-mining-drill": 19, "stone-furnace": 19}
|
default = {"burner-mining-drill": 19, "stone-furnace": 19}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user