Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,8 @@ base-hack/modelling/*.obj
*.i4
*.ia4
*.i8
*.ia8
*.ia8
seed.textproto
tools/dump_lanky.py
tools/pack_lanky.py
base-hack/src/minigames/rom_cache.txt
2 changes: 1 addition & 1 deletion dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,4 +682,4 @@ def dump_plando_colors(format: str):
arg_f = globals()[f"dump_{arg}"]
arg_f(sys.argv[1])
print("Dumping complete")
subprocess.call(["python", "./update_wiki.py"])
subprocess.call(["python3" if sys.platform.startswith("linux") else "python", "./update_wiki.py"])
4 changes: 3 additions & 1 deletion randomizer/CollectibleLogicFiles/FungiForest.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
Regions.MillArea: [
Collectible(Collectibles.banana, Kongs.lanky, lambda _: True, None, 1), # Mill roof
Collectible(Collectibles.balloon, Kongs.donkey, lambda l: l.coconut, None, 1), # Behind Barn
Collectible(Collectibles.balloon, Kongs.diddy, lambda l: l.peanut and (l.TimeAccess(Regions.MillArea, Time.Day) or l.monkey_maneuvers), None, 1), # Snide
Collectible(Collectibles.banana, Kongs.diddy, lambda _: True, None, 3), # Near Rafter Barn
Collectible(Collectibles.bunch, Kongs.diddy, lambda l: l.spring or l.CanMoontail(), None, 1), # Near Rafter Barn
Collectible(Collectibles.banana, Kongs.tiny, lambda l: l.swim, None, 17), # Underwater
Expand All @@ -149,6 +148,9 @@
Collectible(Collectibles.coin, Kongs.lanky, lambda l: l.climbing, None, 3), # On mushroom near rafters attic
Collectible(Collectibles.coin, Kongs.chunky, lambda l: l.climbing, None, 3), # On mushroom near Chunky minecart exit
],
Regions.SnideArea: [
Collectible(Collectibles.balloon, Kongs.diddy, lambda l: l.peanut, None, 1) # Near Snide
],
Regions.MillChunkyTinyArea: [
Collectible(Collectibles.bunch, Kongs.chunky, lambda l: l.punch, None, 1),
Collectible(Collectibles.bunch, Kongs.tiny, lambda _: True, None, 2), # Near Spider
Expand Down
1 change: 1 addition & 0 deletions randomizer/CompileHints.py
Original file line number Diff line number Diff line change
Expand Up @@ -1939,6 +1939,7 @@ def compileHints(spoiler: Spoiler) -> bool:
Regions.MillArea,
Regions.ThornvineArea,
Regions.MushroomVeryTopExterior,
Regions.SnideArea,
],
[Regions.CrystalCavesEntryHandler, Regions.CrystalCavesMain, Regions.IglooArea, Regions.CabinArea],
[Regions.CreepyCastleEntryHandler, Regions.CreepyCastleMain, Regions.CastleWaterfall],
Expand Down
3 changes: 2 additions & 1 deletion randomizer/Enums/Regions.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@
"SnideFourthGroup": 289,
"SnideLastGroup": 290,
"FactoryArcadePole": 291,
"MushroomVeryTopExterior": 292
"MushroomVeryTopExterior": 292,
"SnideArea": 293
}
}
3 changes: 1 addition & 2 deletions randomizer/Lists/BananaCoinLocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -5400,14 +5400,13 @@ def __init__(
map_id=Maps.FungiForest,
name="In the Snide's area",
konglist=[Kongs.donkey, Kongs.diddy, Kongs.lanky, Kongs.tiny, Kongs.chunky],
region=Regions.MillArea,
region=Regions.SnideArea,
locations=[
[1.0, 3337, 270, 3714],
[1.0, 3312, 243, 3603],
[1.0, 3287, 235, 3462],
[1.0, 3251, 268, 3363],
],
logic=lambda l: (l.TimeAccess(Regions.MillArea, Time.Day)),
),
BananaCoinGroup(
group=32,
Expand Down
2 changes: 1 addition & 1 deletion randomizer/Lists/CBLocations/FungiForestCBLocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3207,7 +3207,7 @@
name="In front of Snide (Diddy)",
speed=9,
konglist=[Kongs.donkey, Kongs.diddy, Kongs.lanky, Kongs.tiny, Kongs.chunky],
region=Regions.MillArea,
region=Regions.SnideArea,
vanilla=True,
points=[[3233, 349, 3638], [3242, 327, 3550], [3180, 345, 3477]],
),
Expand Down
3 changes: 1 addition & 2 deletions randomizer/Lists/CustomLocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2957,9 +2957,8 @@ class LocationTypes(IntEnum):
y=268,
z=3682,
max_size=56,
logic_region=Regions.MillArea,
logic_region=Regions.SnideArea,
group=2,
logic=lambda l: (l.TimeAccess(Regions.MillArea, Time.Day)),
),
CustomLocation(
map=Maps.FungiForest,
Expand Down
4 changes: 1 addition & 3 deletions randomizer/Lists/DoorLocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2656,11 +2656,9 @@ def isBarrierRemoved(spoiler, barrier_id: RemovedBarriersSelected):
DoorData(
name="Near Mills Shop",
map=Maps.FungiForest,
logicregion=Regions.MillArea,
logicregion=Regions.SnideArea,
location=[3240.033, 268.5, 3718.017, 178.0],
group=4,
moveless=False,
logic=lambda l: Events.Day in l.Events,
placed=DoorType.boss,
door_type=[DoorType.boss, DoorType.wrinkly],
dk_portal_logic=lambda s: s.settings.fungi_time_internal in (FungiTimeSetting.dusk, FungiTimeSetting.progressive),
Expand Down
1 change: 1 addition & 0 deletions randomizer/Lists/MapsAndExits.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
Regions.ForestTopOfMill: Maps.FungiForest,
Regions.ForestVeryTopOfMill: Maps.FungiForest,
Regions.ForestMillTopOfNightCage: Maps.FungiForest,
Regions.SnideArea: Maps.FungiForest,
# Caves
Regions.CrystalCavesEntryHandler: Maps.CrystalCaves,
Regions.CrystalCavesMain: Maps.CrystalCaves,
Expand Down
9 changes: 7 additions & 2 deletions randomizer/LogicFiles/FungiForest.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,14 +347,19 @@
TransitionFront(Regions.MillRafters, lambda l: (l.spring or l.CanMoontail()) and l.isdiddy, Transitions.ForestMainToRafters, time=Time.Night),
TransitionFront(Regions.ThornvineArea, lambda _: True, time=Time.Night),
TransitionFront(Regions.ThornvineArea, lambda l: l.CanPhaseswim()),
TransitionFront(Regions.Snide, lambda l: l.snideAccess, time=Time.Day),
TransitionFront(Regions.ForestBossLobby, lambda l: not l.settings.tns_location_rando, time=Time.Day),
TransitionFront(Regions.SnideArea, lambda _: True, time=Time.Day),
TransitionFront(Regions.ThornvineBarn, lambda l: l.CanPhaseswim(), Transitions.ForestMainToBarn, isGlitchTransition=True),
TransitionFront(Regions.ForestVeryTopOfMill, lambda l: l.climbing),
TransitionFront(Regions.ForestTopOfMill, lambda l: l.balloon and l.islanky),
TransitionFront(Regions.ForestMillTopOfNightCage, lambda l: l.isdiddy or l.istiny or l.ischunky),
]),

Regions.SnideArea: Region("Snide Area", HintRegion.Mills, Levels.FungiForest, False, None, [], [], [
TransitionFront(Regions.MillArea, lambda _: True, time=Time.Day),
TransitionFront(Regions.Snide, lambda l: l.snideAccess),
TransitionFront(Regions.ForestBossLobby, lambda l: not l.settings.tns_location_rando),
]),

Regions.MillChunkyTinyArea: Region("Mill Back Room", HintRegion.Mills, Levels.FungiForest, False, -1, [
LocationLogic(Locations.ForestMillRearEnemy_Enemy, lambda _: True),
LocationLogic(Locations.KremKap_ForestMillRearEnemy_Enemy, lambda l: l.camera),
Expand Down
2 changes: 1 addition & 1 deletion randomizer/ShufflePorts.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def isCustomLocationValid(spoiler, location: CustomLocation, map_id: Maps, level
Regions.Lighthouse: [Regions.LighthouseAboveLadder],
Regions.MushroomUpperExterior: [Regions.MushroomNightExterior],
Regions.MushroomLowerExterior: [Regions.MushroomUpperMidExterior, Regions.MushroomBlastLevelExterior, Regions.GiantMushroomArea],
Regions.MillArea: [Regions.ForestTopOfMill, Regions.ForestVeryTopOfMill, Regions.ForestMillTopOfNightCage],
Regions.MillArea: [Regions.ForestTopOfMill, Regions.ForestVeryTopOfMill, Regions.ForestMillTopOfNightCage, Regions.SnideArea],
Regions.CrystalCavesMain: [Regions.CavesBlueprintPillar, Regions.CavesBananaportSpire, Regions.CavesBonusCave],
Regions.CabinArea: [Regions.CavesGGRoom, Regions.CavesRotatingCabinRoof, Regions.CavesSprintCabinRoof],
Regions.CastleTree: [Regions.CastleTreePastPunch],
Expand Down
2 changes: 1 addition & 1 deletion randomizer/ShuffleShopLocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def setShop(self, shop):
Levels.FungiForest: [
ShopLocation(Regions.CrankyGeneric, Maps.FungiForest, Regions.GiantMushroomArea, Regions.CrankyForest),
ShopLocation(Regions.FunkyGeneric, Maps.FungiForest, Regions.WormArea, Regions.FunkyForest),
ShopLocation(Regions.Snide, Maps.FungiForest, Regions.MillArea, Regions.Snide),
ShopLocation(Regions.Snide, Maps.FungiForest, Regions.SnideArea, Regions.Snide),
],
Levels.CrystalCaves: [
ShopLocation(Regions.CrankyGeneric, Maps.CrystalCaves, Regions.CrystalCavesMain, Regions.CrankyCaves),
Expand Down
2 changes: 1 addition & 1 deletion requirement_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const requirement_data = {
],
"Diddy": [
new Requirement(28, [[Moves.Moveless]]), // 1 bunch, 2 bunches in FungiForestStart; 2 bunches in GiantMushroomArea; 3 bananas in MillArea
new Requirement(10, [[Moves.Peanut]]), // 1 balloon in MillArea
new Requirement(10, [[Moves.Peanut]]), // 1 balloon in SnideArea
new Requirement(5, [[Moves.Spring]]), // 1 bunch in MillArea
new Requirement(15, [[Moves.ForestYellowTunnel]]), // 1 bunch, 10 bananas in HollowTreeArea
new Requirement(5, [[Moves.Rocket, Moves.ForestYellowTunnel]]), // 1 bunch in HollowTreeArea
Expand Down
1 change: 1 addition & 0 deletions typings/randomizer/Enums/Regions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,4 +291,5 @@ export enum Regions {
SnideLastGroup = 290,
FactoryArcadePole = 291,
MushroomVeryTopExterior = 292,
SnideArea = 293,
}
1 change: 1 addition & 0 deletions typings/randomizer/Enums/Regions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,4 @@ class Regions(IntEnum):
SnideLastGroup = 290
FactoryArcadePole = 291
MushroomVeryTopExterior = 292
SnideArea = 293
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@
| On the Green Tunnel Roof | 3 | `l.twirl and l.istiny` |
| On a mushroom in the Worm Area | 4 | `self.logic = lambda _: True` |
| On the waterwheel | 5 | `self.logic = lambda _: True` |
| In the Snide's area | 4 | `(l.TimeAccess(Regions.MillArea, Time.Day))` |
| In the Snide's area | 4 | `self.logic = lambda _: True` |
| Near the entrance to the Dark Rafters | 4 | `self.logic = lambda _: True` |
| Hanging off the mill roof | 3 | `self.logic = lambda _: True` |
| In front of the mill in the air | 3 | `l.balloon and l.islanky` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
| Fungi Forest Lobby | Forest Lobby - Near Entrance | Wrinkly | `self.logic = lambda _: True` |
| Fungi Forest | Behind Thornvine Barn | Boss, Wrinkly | `self.logic = lambda _: True` |
| Fungi Forest | Beanstalk Area Alcove | Boss, Wrinkly | `Events.Night in l.Events` |
| Fungi Forest | Near Mills Shop | Boss, Wrinkly | `Events.Day in l.Events` |
| Fungi Forest | Near Mills Shop | Boss, Wrinkly | `self.logic = lambda _: True` |
| Fungi Forest | Top of Giant Mushroom | Boss, Dk_Portal, Wrinkly | `self.logic = lambda _: True` |
| Fungi Forest | Owl Area Clearing | Boss, Wrinkly | `self.logic = lambda _: True` |
| Fungi Forest | On top of Mill Crusher Output | Boss, Dk_Portal, Wrinkly | `self.logic = lambda _: True` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
| Fungi Forest | Behind Clock | | `self.logic = lambda _: True` |
| Fungi Forest | In front of Clock | | `self.logic = lambda _: True` |
| Fungi Forest | Near Blue Tunnel | | `self.logic = lambda _: True` |
| Fungi Forest | Near Mills shop | | `(l.TimeAccess(Regions.MillArea, Time.Day))` |
| Fungi Forest | Near Mills shop | | `self.logic = lambda _: True` |
| Fungi Forest | Behind rafters barn | | `self.logic = lambda _: True` |
| Fungi Forest | Left of rafters barn | | `self.logic = lambda _: True` |
| Fungi Forest | Next to Diddy Pad | | `self.logic = lambda _: True` |
Expand Down
28 changes: 14 additions & 14 deletions wiki/articles.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@
"name": "Wiki Editing",
"link": "WikiEditing"
},
{
"name": "Random Settings: Easy",
"link": "RandomSettingsEasy"
},
{
"name": "Custom Locations: Coins",
"link": "CustomLocationsCoins"
Expand All @@ -141,6 +145,10 @@
"name": "Custom Locations: Colored Bananas",
"link": "CustomLocationsColoredBananas"
},
{
"name": "Custom Locations: Kasplats",
"link": "CustomLocationsKasplats"
},
{
"name": "Custom Locations: Doors",
"link": "CustomLocationsDoors"
Expand All @@ -150,31 +158,23 @@
"link": "CustomLocationsFairies"
},
{
"name": "Custom Locations: Kasplats",
"link": "CustomLocationsKasplats"
"name": "Random Settings: Standard",
"link": "RandomSettingsStandard"
},
{
"name": "Custom Locations: Miscellaneous",
"link": "CustomLocationsMiscellaneous"
"name": "Random Settings: Difficult",
"link": "RandomSettingsDifficult"
},
{
"name": "Plando Colors",
"link": "PlandoColors"
},
{
"name": "Random Settings: Difficult",
"link": "RandomSettingsDifficult"
"name": "Custom Locations: Miscellaneous",
"link": "CustomLocationsMiscellaneous"
},
{
"name": "Random Settings: Difficult With Qol Shuffle",
"link": "RandomSettingsDifficultWithQolShuffle"
},
{
"name": "Random Settings: Easy",
"link": "RandomSettingsEasy"
},
{
"name": "Random Settings: Standard",
"link": "RandomSettingsStandard"
}
]
Loading