forked from mirror/Archipelago
Some checks failed
Analyze modified files / flake8 (push) Failing after 2m28s
Build / build-win (push) Has been cancelled
Build / build-ubuntu2204 (push) Has been cancelled
ctest / Test C++ ubuntu-latest (push) Has been cancelled
ctest / Test C++ windows-latest (push) Has been cancelled
Analyze modified files / mypy (push) Has been cancelled
Build and Publish Docker Images / Push Docker image to Docker Hub (push) Successful in 5m4s
Native Code Static Analysis / scan-build (push) Failing after 5m2s
type check / pyright (push) Successful in 1m7s
unittests / Test Python 3.11.2 ubuntu-latest (push) Failing after 16m23s
unittests / Test Python 3.12 ubuntu-latest (push) Failing after 28m19s
unittests / Test Python 3.13 ubuntu-latest (push) Failing after 14m49s
unittests / Test hosting with 3.13 on ubuntu-latest (push) Successful in 5m0s
unittests / Test Python 3.13 macos-latest (push) Has been cancelled
unittests / Test Python 3.11 windows-latest (push) Has been cancelled
unittests / Test Python 3.13 windows-latest (push) Has been cancelled
96 lines
2.1 KiB
Python
96 lines
2.1 KiB
Python
# fmt: off
|
|
"""Collectible logic file for DK Isles."""
|
|
|
|
from randomizer.Enums.Collectibles import Collectibles
|
|
from randomizer.Enums.Kongs import Kongs
|
|
from randomizer.Enums.Regions import Regions
|
|
from randomizer.LogicClasses import Collectible
|
|
|
|
LogicRegions = {
|
|
Regions.TrainingGrounds: [
|
|
Collectible(Collectibles.coin, Kongs.donkey, lambda l: True, None, 3), # Cave
|
|
# Collectible(Collectibles.coin, Kongs.any, lambda l: l.shockwave, None, ), # Cave
|
|
# Collectible(Collectibles.coin, Kongs.any, lambda l: l.can_use_vines and l.shockwave, None, ), # Banana hoard
|
|
|
|
],
|
|
Regions.IslesMain: [
|
|
# Collectible(Collectibles.coin, Kongs.any, lambda l: l.shockwave, None, ), # Below Caves lobby
|
|
# Collectible(Collectibles.coin, Kongs.any, lambda l: l.shockwave and l.jetpack, None, ), # On Aztec lobby
|
|
],
|
|
Regions.Prison: [
|
|
# Collectible(Collectibles.coin, Kongs.any, lambda l: l.shockwave, None, ), # K. Lumsy
|
|
|
|
],
|
|
Regions.BananaFairyRoom: [
|
|
|
|
],
|
|
Regions.JungleJapesLobby: [
|
|
|
|
],
|
|
Regions.AngryAztecLobby: [
|
|
|
|
],
|
|
Regions.KremIsle: [
|
|
|
|
],
|
|
Regions.KremIsleBeyondLift: [
|
|
|
|
],
|
|
Regions.KremIsleTopLevel: [
|
|
|
|
],
|
|
Regions.IslesSnideRoom: [
|
|
|
|
],
|
|
Regions.FranticFactoryLobby: [
|
|
|
|
],
|
|
Regions.GloomyGalleonLobby: [
|
|
|
|
],
|
|
Regions.GloomyGalleonLobbyEntrance: [
|
|
|
|
],
|
|
Regions.CabinIsle: [
|
|
# Collectible(Collectibles.coin, Kongs.any, lambda l: l.shockwave, None, ), # In front of fungi lobby
|
|
|
|
],
|
|
Regions.FungiForestLobby: [
|
|
|
|
],
|
|
Regions.CrystalCavesLobby: [
|
|
|
|
],
|
|
Regions.CreepyCastleLobby: [
|
|
# Collectible(Collectibles.coin, Kongs.any, lambda l: l.shockwave and ((l.balloon and l.islanky) or l.CanMoonkick()), None, ), # In Castle lobby
|
|
|
|
],
|
|
Regions.HideoutHelmLobby: [
|
|
|
|
],
|
|
Regions.HideoutHelmLobbyPastVines: [
|
|
|
|
],
|
|
Regions.Treehouse: [
|
|
|
|
],
|
|
Regions.IslesMainUpper: [
|
|
|
|
],
|
|
Regions.IslesHill: [
|
|
|
|
],
|
|
Regions.OuterIsles: [
|
|
|
|
],
|
|
Regions.AztecLobbyRoof: [
|
|
|
|
],
|
|
Regions.IslesAboveWaterfall: [
|
|
|
|
],
|
|
Regions.IslesAirspace: [
|
|
|
|
],
|
|
}
|