mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: revamped location system (#1147)
This commit is contained in:
@@ -36,7 +36,7 @@ technology_table: Dict[str, Technology] = {}
|
||||
always = lambda state: True
|
||||
|
||||
|
||||
class FactorioElement():
|
||||
class FactorioElement:
|
||||
name: str
|
||||
|
||||
def __repr__(self):
|
||||
@@ -98,7 +98,7 @@ class CustomTechnology(Technology):
|
||||
and ((ingredients & {"chemical-science-pack", "production-science-pack", "utility-science-pack"})
|
||||
or origin.name == "rocket-silo")
|
||||
self.player = player
|
||||
if origin.name not in world.worlds[player].static_nodes:
|
||||
if origin.name not in world.worlds[player].special_nodes:
|
||||
if military_allowed:
|
||||
ingredients.add("military-science-pack")
|
||||
ingredients = list(ingredients)
|
||||
|
Reference in New Issue
Block a user