Adding first apworld

This commit is contained in:
Mysaa Java
2026-09-26 02:15:02 +02:00
parent 90f3f7afb0
commit 89cac6a0c6
9 changed files with 493 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
from __future__ import annotations
from typing import TYPE_CHECKING
from BaseClasses import Entrance, Region
if TYPE_CHECKING:
from .world import NodecamesWorld
def create_and_connect_regions(world: NodecamesWorld) -> None:
create_all_regions(world)
connect_regions(world)
def create_all_regions(world: NodecamesWorld) -> None:
overworld = Region("Overworld", world.player, world.multiworld)
world.multiworld.regions += [overworld]
def connect_regions(world: NodecamesWorld) -> None:
overworld = world.get_region("Overworld")