Skip to content

Commit 6512a89

Browse files
committed
Update spacing and quotes in StartingItems.py
1 parent 55e3d14 commit 6512a89

File tree

1 file changed

+76
-76
lines changed

1 file changed

+76
-76
lines changed

StartingItems.py

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from itertools import chain
44
from typing import Optional
55

6-
Entry = namedtuple("Entry", ['setting_name', 'item_name', 'available', 'gui_text', 'special', 'ammo', 'i'])
6+
Entry = namedtuple("Entry", ["setting_name", "item_name", "available", "gui_text", "special", "ammo", "i"])
77

88

99
def _entry(setting_name: str, item_name: Optional[str] = None, available: int = 1, gui_text: Optional[str] = None,
@@ -24,87 +24,87 @@ def _entry(setting_name: str, item_name: Optional[str] = None, available: int =
2424

2525
# Ammo items must be declared in ItemList.py.
2626
inventory: dict[str, Entry] = dict(chain(
27-
_entry('deku_stick', 'Deku Stick Capacity', available=2, ammo={'Deku Sticks': (20, 30)}),
28-
_entry('deku_nut', 'Deku Nut Capacity', available=2, ammo={'Deku Nuts': (30, 40)}),
29-
_entry('bombs', 'Bomb Bag', available=3, ammo={'Bombs': (20, 30, 40)}),
30-
_entry('bow', available=3, ammo={'Arrows': (30, 40, 50)}),
31-
_entry('fire_arrow', 'Fire Arrows'),
32-
_entry('dins_fire', 'Dins Fire', gui_text="Din's Fire"),
33-
_entry('slingshot', available=3, ammo={'Deku Seeds': (30, 40, 50)}),
34-
_entry('ocarina', available=2),
35-
_entry('bombchus', ammo={'Bombchus': (20,)}), # start with additional bombchus
36-
_entry('hookshot', 'Progressive Hookshot', available=2),
37-
_entry('ice_arrow', 'Ice Arrows'),
38-
_entry('farores_wind', 'Farores Wind', gui_text="Farore's Wind"),
39-
_entry('boomerang'),
40-
_entry('lens', 'Lens of Truth'),
41-
_entry('beans', 'Magic Bean', ammo={'Magic Bean': (10,)}), # start with additional beans
42-
_entry('megaton_hammer', 'Megaton Hammer', gui_text='Megaton Hammer'),
43-
_entry('light_arrow', 'Light Arrows'),
44-
_entry('nayrus_love', 'Nayrus Love', gui_text="Nayru's Love"),
45-
_entry('bottle', available=3, special=True),
46-
_entry('letter', 'Rutos Letter', gui_text="Ruto's Letter", special=True),
47-
_entry("pocket_egg", "Pocket Egg", gui_text="Pocket Egg"),
48-
_entry("pocket_cucco", "Pocket Cucco", gui_text="Pocket Cucco"),
49-
_entry("cojiro", "Cojiro", gui_text="Cojiro"),
50-
_entry("odd_mushroom", "Odd Mushroom", gui_text="Odd Mushroom"),
51-
_entry("odd_potion", "Odd Potion", gui_text="Odd Potion"),
52-
_entry("poachers_saw", "Poachers Saw", gui_text="Poacher's Saw"),
53-
_entry("broken_sword", "Broken Sword", gui_text="Broken Sword"),
54-
_entry("prescription", "Prescription", gui_text="Prescription"),
55-
_entry("eyeball_frog", "Eyeball Frog", gui_text="Eyeball Frog"),
56-
_entry("eyedrops", "Eyedrops", gui_text="Eyedrops"),
57-
_entry("claim_check", "Claim Check", gui_text="Claim Check"),
58-
_entry("weird_egg", "Weird Egg", gui_text="Weird Egg"),
59-
_entry("chicken", "Chicken", gui_text="Chicken"),
60-
_entry("zeldas_letter","Zeldas Letter", gui_text="Zelda's Letter"),
61-
_entry("keaton_mask", "Keaton Mask", gui_text="Keaton Mask"),
62-
_entry("skull_mask", "Skull Mask", gui_text="Skull Mask"),
63-
_entry("spooky_mask", "Spooky Mask", gui_text="Spooky Mask"),
64-
_entry("bunny_hood", "Bunny Hood", gui_text="Bunny Hood"),
65-
_entry("goron_mask", "Goron Mask", gui_text="Goron Mask"),
66-
_entry("zora_mask", "Zora Mask", gui_text="Zora Mask"),
67-
_entry("gerudo_mask", "Gerudo Mask", gui_text="Gerudo Mask"),
68-
_entry("mask_of_truth","Mask of Truth", gui_text="Mask of Truth"),
69-
_entry("ocarina_a_button","Ocarina A Button", gui_text="Ocarina A Button"),
70-
_entry("ocarina_c_up_button","Ocarina C up Button", gui_text="Ocarina C up Button"),
71-
_entry("ocarina_c_down_button","Ocarina C down Button", gui_text="Ocarina C down Button"),
72-
_entry("ocarina_c_left_button","Ocarina C left Button", gui_text="Ocarina C left Button"),
73-
_entry("ocarina_c_right_button","Ocarina C right Button", gui_text="Ocarina C right Button"),
27+
_entry("deku_stick", "Deku Stick Capacity", available=2, ammo={"Deku Sticks": (20, 30)}),
28+
_entry("deku_nut", "Deku Nut Capacity", available=2, ammo={"Deku Nuts": (30, 40)}),
29+
_entry("bombs", "Bomb Bag", available=3, ammo={"Bombs": (20, 30, 40)}),
30+
_entry("bow", available=3, ammo={"Arrows": (30, 40, 50)}),
31+
_entry("fire_arrow", "Fire Arrows"),
32+
_entry("dins_fire", "Dins Fire", gui_text="Din's Fire"),
33+
_entry("slingshot", available=3, ammo={"Deku Seeds": (30, 40, 50)}),
34+
_entry("ocarina", available=2),
35+
_entry("bombchus", ammo={"Bombchus": (20,)}), # start with additional bombchus
36+
_entry("hookshot", "Progressive Hookshot", available=2),
37+
_entry("ice_arrow", "Ice Arrows"),
38+
_entry("farores_wind", "Farores Wind", gui_text="Farore's Wind"),
39+
_entry("boomerang"),
40+
_entry("lens", "Lens of Truth"),
41+
_entry("beans", "Magic Bean", ammo={"Magic Bean": (10,)}), # start with additional beans
42+
_entry("megaton_hammer", "Megaton Hammer", gui_text="Megaton Hammer"),
43+
_entry("light_arrow", "Light Arrows"),
44+
_entry("nayrus_love", "Nayrus Love", gui_text="Nayru's Love"),
45+
_entry("bottle", available=3, special=True),
46+
_entry("letter", "Rutos Letter", gui_text="Ruto's Letter", special=True),
47+
_entry("pocket_egg", "Pocket Egg", gui_text="Pocket Egg"),
48+
_entry("pocket_cucco", "Pocket Cucco", gui_text="Pocket Cucco"),
49+
_entry("cojiro", "Cojiro", gui_text="Cojiro"),
50+
_entry("odd_mushroom", "Odd Mushroom", gui_text="Odd Mushroom"),
51+
_entry("odd_potion", "Odd Potion", gui_text="Odd Potion"),
52+
_entry("poachers_saw", "Poachers Saw", gui_text="Poacher's Saw"),
53+
_entry("broken_sword", "Broken Sword", gui_text="Broken Sword"),
54+
_entry("prescription", "Prescription", gui_text="Prescription"),
55+
_entry("eyeball_frog", "Eyeball Frog", gui_text="Eyeball Frog"),
56+
_entry("eyedrops", "Eyedrops", gui_text="Eyedrops"),
57+
_entry("claim_check", "Claim Check", gui_text="Claim Check"),
58+
_entry("weird_egg", "Weird Egg", gui_text="Weird Egg"),
59+
_entry("chicken", "Chicken", gui_text="Chicken"),
60+
_entry("zeldas_letter", "Zeldas Letter", gui_text="Zelda's Letter"),
61+
_entry("keaton_mask", "Keaton Mask", gui_text="Keaton Mask"),
62+
_entry("skull_mask", "Skull Mask", gui_text="Skull Mask"),
63+
_entry("spooky_mask", "Spooky Mask", gui_text="Spooky Mask"),
64+
_entry("bunny_hood", "Bunny Hood", gui_text="Bunny Hood"),
65+
_entry("goron_mask", "Goron Mask", gui_text="Goron Mask"),
66+
_entry("zora_mask", "Zora Mask", gui_text="Zora Mask"),
67+
_entry("gerudo_mask", "Gerudo Mask", gui_text="Gerudo Mask"),
68+
_entry("mask_of_truth", "Mask of Truth", gui_text="Mask of Truth"),
69+
_entry("ocarina_a_button", "Ocarina A Button", gui_text="Ocarina A Button"),
70+
_entry("ocarina_c_up_button", "Ocarina C up Button", gui_text="Ocarina C up Button"),
71+
_entry("ocarina_c_down_button", "Ocarina C down Button", gui_text="Ocarina C down Button"),
72+
_entry("ocarina_c_left_button", "Ocarina C left Button", gui_text="Ocarina C left Button"),
73+
_entry("ocarina_c_right_button", "Ocarina C right Button", gui_text="Ocarina C right Button"),
7474
))
7575

7676
songs: dict[str, Entry] = dict(chain(
77-
_entry('lullaby', 'Zeldas Lullaby', gui_text="Zelda's Lullaby"),
78-
_entry('eponas_song', 'Eponas Song', gui_text="Epona's Song"),
79-
_entry('sarias_song', 'Sarias Song', gui_text="Saria's Song"),
80-
_entry('suns_song', 'Suns Song', gui_text="Sun's Song"),
81-
_entry('song_of_time', 'Song of Time'),
82-
_entry('song_of_storms', 'Song of Storms'),
83-
_entry('minuet', 'Minuet of Forest'),
84-
_entry('bolero', 'Bolero of Fire'),
85-
_entry('serenade', 'Serenade of Water'),
86-
_entry('requiem', 'Requiem of Spirit'),
87-
_entry('nocturne', 'Nocturne of Shadow'),
88-
_entry('prelude', 'Prelude of Light'),
77+
_entry("lullaby", "Zeldas Lullaby", gui_text="Zelda's Lullaby"),
78+
_entry("eponas_song", "Eponas Song", gui_text="Epona's Song"),
79+
_entry("sarias_song", "Sarias Song", gui_text="Saria's Song"),
80+
_entry("suns_song", "Suns Song", gui_text="Sun's Song"),
81+
_entry("song_of_time", "Song of Time"),
82+
_entry("song_of_storms", "Song of Storms"),
83+
_entry("minuet", "Minuet of Forest"),
84+
_entry("bolero", "Bolero of Fire"),
85+
_entry("serenade", "Serenade of Water"),
86+
_entry("requiem", "Requiem of Spirit"),
87+
_entry("nocturne", "Nocturne of Shadow"),
88+
_entry("prelude", "Prelude of Light"),
8989
))
9090

9191
equipment: dict[str, Entry] = dict(chain(
92-
_entry('kokiri_sword', 'Kokiri Sword'),
93-
_entry('giants_knife', 'Giants Knife'),
94-
_entry('biggoron_sword', 'Biggoron Sword'),
95-
_entry('deku_shield', 'Deku Shield'),
96-
_entry('hylian_shield', 'Hylian Shield'),
97-
_entry('mirror_shield', 'Mirror Shield'),
98-
_entry('goron_tunic', 'Goron Tunic'),
99-
_entry('zora_tunic', 'Zora Tunic'),
100-
_entry('iron_boots', 'Iron Boots'),
101-
_entry('hover_boots', 'Hover Boots'),
102-
_entry('magic', 'Magic Meter', available=2),
103-
_entry('strength', 'Progressive Strength Upgrade', available=3, gui_text='Progressive Strength'),
104-
_entry('scale', 'Progressive Scale', available=2),
105-
_entry('wallet', 'Progressive Wallet', available=3),
106-
_entry('stone_of_agony', 'Stone of Agony'),
107-
_entry('defense', 'Double Defense'),
92+
_entry("kokiri_sword", "Kokiri Sword"),
93+
_entry("giants_knife", "Giants Knife"),
94+
_entry("biggoron_sword", "Biggoron Sword"),
95+
_entry("deku_shield", "Deku Shield"),
96+
_entry("hylian_shield", "Hylian Shield"),
97+
_entry("mirror_shield", "Mirror Shield"),
98+
_entry("goron_tunic", "Goron Tunic"),
99+
_entry("zora_tunic", "Zora Tunic"),
100+
_entry("iron_boots", "Iron Boots"),
101+
_entry("hover_boots", "Hover Boots"),
102+
_entry("magic", "Magic Meter", available=2),
103+
_entry("strength", "Progressive Strength Upgrade", available=3, gui_text="Progressive Strength"),
104+
_entry("scale", "Progressive Scale", available=2),
105+
_entry("wallet", "Progressive Wallet", available=3),
106+
_entry("stone_of_agony", "Stone of Agony"),
107+
_entry("defense", "Double Defense"),
108108
))
109109

110110
everything: dict[str, Entry] = {**equipment, **inventory, **songs}

0 commit comments

Comments
 (0)