mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
OoT: Add warp song text replacement
This commit is contained in:
@@ -7,6 +7,8 @@ from .Utils import data_path
|
||||
dungeon_table = [
|
||||
{
|
||||
'name': 'Deku Tree',
|
||||
'hint': 'the Deku Tree',
|
||||
'font_color': 'Green',
|
||||
'boss_key': 0,
|
||||
'small_key': 0,
|
||||
'small_key_mq': 0,
|
||||
@@ -15,6 +17,7 @@ dungeon_table = [
|
||||
{
|
||||
'name': 'Dodongos Cavern',
|
||||
'hint': 'Dodongo\'s Cavern',
|
||||
'font_color': 'Red',
|
||||
'boss_key': 0,
|
||||
'small_key': 0,
|
||||
'small_key_mq': 0,
|
||||
@@ -23,6 +26,7 @@ dungeon_table = [
|
||||
{
|
||||
'name': 'Jabu Jabus Belly',
|
||||
'hint': 'Jabu Jabu\'s Belly',
|
||||
'font_color': 'Blue',
|
||||
'boss_key': 0,
|
||||
'small_key': 0,
|
||||
'small_key_mq': 0,
|
||||
@@ -30,6 +34,8 @@ dungeon_table = [
|
||||
},
|
||||
{
|
||||
'name': 'Forest Temple',
|
||||
'hint': 'the Forest Temple',
|
||||
'font_color': 'Green',
|
||||
'boss_key': 1,
|
||||
'small_key': 5,
|
||||
'small_key_mq': 6,
|
||||
@@ -37,6 +43,8 @@ dungeon_table = [
|
||||
},
|
||||
{
|
||||
'name': 'Bottom of the Well',
|
||||
'hint': 'the Bottom of the Well',
|
||||
'font_color': 'Pink',
|
||||
'boss_key': 0,
|
||||
'small_key': 3,
|
||||
'small_key_mq': 2,
|
||||
@@ -44,6 +52,8 @@ dungeon_table = [
|
||||
},
|
||||
{
|
||||
'name': 'Fire Temple',
|
||||
'hint': 'the Fire Temple',
|
||||
'font_color': 'Red',
|
||||
'boss_key': 1,
|
||||
'small_key': 8,
|
||||
'small_key_mq': 5,
|
||||
@@ -51,6 +61,8 @@ dungeon_table = [
|
||||
},
|
||||
{
|
||||
'name': 'Ice Cavern',
|
||||
'hint': 'the Ice Cavern',
|
||||
'font_color': 'Blue',
|
||||
'boss_key': 0,
|
||||
'small_key': 0,
|
||||
'small_key_mq': 0,
|
||||
@@ -58,6 +70,8 @@ dungeon_table = [
|
||||
},
|
||||
{
|
||||
'name': 'Water Temple',
|
||||
'hint': 'the Water Temple',
|
||||
'font_color': 'Blue',
|
||||
'boss_key': 1,
|
||||
'small_key': 6,
|
||||
'small_key_mq': 2,
|
||||
@@ -65,6 +79,8 @@ dungeon_table = [
|
||||
},
|
||||
{
|
||||
'name': 'Shadow Temple',
|
||||
'hint': 'the Shadow Temple',
|
||||
'font_color': 'Pink',
|
||||
'boss_key': 1,
|
||||
'small_key': 5,
|
||||
'small_key_mq': 6,
|
||||
@@ -72,6 +88,8 @@ dungeon_table = [
|
||||
},
|
||||
{
|
||||
'name': 'Gerudo Training Grounds',
|
||||
'hint': 'the Gerudo Training Grounds',
|
||||
'font_color': 'Yellow',
|
||||
'boss_key': 0,
|
||||
'small_key': 9,
|
||||
'small_key_mq': 3,
|
||||
@@ -79,6 +97,8 @@ dungeon_table = [
|
||||
},
|
||||
{
|
||||
'name': 'Spirit Temple',
|
||||
'hint': 'the Spirit Temple',
|
||||
'font_color': 'Yellow',
|
||||
'boss_key': 1,
|
||||
'small_key': 5,
|
||||
'small_key_mq': 7,
|
||||
@@ -100,6 +120,7 @@ def create_dungeons(ootworld):
|
||||
for dungeon_info in dungeon_table:
|
||||
name = dungeon_info['name']
|
||||
hint = dungeon_info['hint'] if 'hint' in dungeon_info else name
|
||||
font_color = dungeon_info['font_color'] if 'font_color' in dungeon_info else 'White'
|
||||
|
||||
if ootworld.logic_rules == 'glitchless':
|
||||
if not ootworld.dungeon_mq[name]:
|
||||
@@ -125,5 +146,5 @@ def create_dungeons(ootworld):
|
||||
for item in dungeon_items:
|
||||
item.priority = True
|
||||
|
||||
ootworld.dungeons.append(Dungeon(ootworld, name, hint, boss_keys, small_keys, dungeon_items))
|
||||
ootworld.dungeons.append(Dungeon(ootworld, name, hint, font_color, boss_keys, small_keys, dungeon_items))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user