Factorio: Fix Rocket Launch event getting encoded into mod
This commit is contained in:
parent
71bb5b850e
commit
22aa4cbb9f
Binary file not shown.
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 24 KiB |
Binary file not shown.
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 34 KiB |
|
@ -53,7 +53,7 @@ new_tree_copy.icon_size = table.deepcopy(technologies["{{ item_name }}"].icon_si
|
||||||
{#- use default AP icon if no Factorio graphics exist #}
|
{#- use default AP icon if no Factorio graphics exist #}
|
||||||
new_tree_copy.icon = "__{{ mod_name }}__/graphics/icons/ap.png"
|
new_tree_copy.icon = "__{{ mod_name }}__/graphics/icons/ap.png"
|
||||||
new_tree_copy.icons = nil
|
new_tree_copy.icons = nil
|
||||||
new_tree_copy.icon_size = 512
|
new_tree_copy.icon_size = 128
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{#- connect Technology #}
|
{#- connect Technology #}
|
||||||
{%- if original_tech_name in tech_tree_layout_prerequisites %}
|
{%- if original_tech_name in tech_tree_layout_prerequisites %}
|
||||||
|
|
|
@ -58,6 +58,7 @@ def generate_mod(world: MultiWorld, player: int):
|
||||||
player_names = {x: world.player_names[x][0] for x in world.player_ids}
|
player_names = {x: world.player_names[x][0] for x in world.player_ids}
|
||||||
locations = []
|
locations = []
|
||||||
for location in world.get_filled_locations(player):
|
for location in world.get_filled_locations(player):
|
||||||
|
if location.address:
|
||||||
locations.append((location.name, location.item.name, location.item.player))
|
locations.append((location.name, location.item.name, location.item.player))
|
||||||
mod_name = f"AP-{world.seed_name}-P{player}-{world.player_names[player][0]}"
|
mod_name = f"AP-{world.seed_name}-P{player}-{world.player_names[player][0]}"
|
||||||
tech_cost = {0: 0.1,
|
tech_cost = {0: 0.1,
|
||||||
|
|
Loading…
Reference in New Issue