mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: Fix Rocket Launch event getting encoded into mod
This commit is contained in:
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 #}
|
||||
new_tree_copy.icon = "__{{ mod_name }}__/graphics/icons/ap.png"
|
||||
new_tree_copy.icons = nil
|
||||
new_tree_copy.icon_size = 512
|
||||
new_tree_copy.icon_size = 128
|
||||
{% endif %}
|
||||
{#- connect Technology #}
|
||||
{%- if original_tech_name in tech_tree_layout_prerequisites %}
|
||||
|
@@ -58,7 +58,8 @@ def generate_mod(world: MultiWorld, player: int):
|
||||
player_names = {x: world.player_names[x][0] for x in world.player_ids}
|
||||
locations = []
|
||||
for location in world.get_filled_locations(player):
|
||||
locations.append((location.name, location.item.name, location.item.player))
|
||||
if location.address:
|
||||
locations.append((location.name, location.item.name, location.item.player))
|
||||
mod_name = f"AP-{world.seed_name}-P{player}-{world.player_names[player][0]}"
|
||||
tech_cost = {0: 0.1,
|
||||
1: 0.25,
|
||||
|
Reference in New Issue
Block a user