Skip to content

Commit

Permalink
DS3: Clarify location names for Yoel and Yuria items (#3881)
Browse files Browse the repository at this point in the history
* DS3: Clarify location names for Yoel and Yuria items

* Fix encodings for `detailed_location_descriptions.py`

* Fix one more typo
  • Loading branch information
nex3 authored Dec 1, 2024
1 parent ed721dd commit 7b75540
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 43 deletions.
8 changes: 4 additions & 4 deletions worlds/dark_souls_3/Bosses.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,10 @@ class DS3BossInfo:
}),
DS3BossInfo("Lords of Cinder", 4100800, locations = {
"KFF: Soul of the Lords",
"FS: Billed Mask - Yuria after killing KFF boss",
"FS: Black Dress - Yuria after killing KFF boss",
"FS: Black Gauntlets - Yuria after killing KFF boss",
"FS: Black Leggings - Yuria after killing KFF boss"
"FS: Billed Mask - shop after killing Yuria",
"FS: Black Dress - shop after killing Yuria",
"FS: Black Gauntlets - shop after killing Yuria",
"FS: Black Leggings - shop after killing Yuria"
}),
]

Expand Down
28 changes: 14 additions & 14 deletions worlds/dark_souls_3/Locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,29 +764,29 @@ def __init__(
DS3LocationData("US -> RS", None),

# Yoel/Yuria of Londor
DS3LocationData("FS: Soul Arrow - Yoel/Yuria", "Soul Arrow",
DS3LocationData("FS: Soul Arrow - Yoel/Yuria shop", "Soul Arrow",
static='99,0:-1:50000,110000,70000116:', missable=True, npc=True,
shop=True),
DS3LocationData("FS: Heavy Soul Arrow - Yoel/Yuria", "Heavy Soul Arrow",
DS3LocationData("FS: Heavy Soul Arrow - Yoel/Yuria shop", "Heavy Soul Arrow",
static='99,0:-1:50000,110000,70000116:',
missable=True, npc=True, shop=True),
DS3LocationData("FS: Magic Weapon - Yoel/Yuria", "Magic Weapon",
DS3LocationData("FS: Magic Weapon - Yoel/Yuria shop", "Magic Weapon",
static='99,0:-1:50000,110000,70000116:', missable=True, npc=True,
shop=True),
DS3LocationData("FS: Magic Shield - Yoel/Yuria", "Magic Shield",
DS3LocationData("FS: Magic Shield - Yoel/Yuria shop", "Magic Shield",
static='99,0:-1:50000,110000,70000116:', missable=True, npc=True,
shop=True),
DS3LocationData("FS: Soul Greatsword - Yoel/Yuria", "Soul Greatsword",
DS3LocationData("FS: Soul Greatsword - Yoel/Yuria shop", "Soul Greatsword",
static='99,0:-1:50000,110000,70000450,70000475:', missable=True,
npc=True, shop=True),
DS3LocationData("FS: Dark Hand - Yoel/Yuria", "Dark Hand", missable=True, npc=True),
DS3LocationData("FS: Untrue White Ring - Yoel/Yuria", "Untrue White Ring", missable=True,
DS3LocationData("FS: Dark Hand - Yuria shop", "Dark Hand", missable=True, npc=True),
DS3LocationData("FS: Untrue White Ring - Yuria shop", "Untrue White Ring", missable=True,
npc=True),
DS3LocationData("FS: Untrue Dark Ring - Yoel/Yuria", "Untrue Dark Ring", missable=True,
DS3LocationData("FS: Untrue Dark Ring - Yuria shop", "Untrue Dark Ring", missable=True,
npc=True),
DS3LocationData("FS: Londor Braille Divine Tome - Yoel/Yuria", "Londor Braille Divine Tome",
DS3LocationData("FS: Londor Braille Divine Tome - Yuria shop", "Londor Braille Divine Tome",
static='99,0:-1:40000,110000,70000116:', missable=True, npc=True),
DS3LocationData("FS: Darkdrift - Yoel/Yuria", "Darkdrift", missable=True, drop=True,
DS3LocationData("FS: Darkdrift - kill Yuria", "Darkdrift", missable=True, drop=True,
npc=True), # kill her or kill Soul of Cinder

# Cornyx of the Great Swamp
Expand Down Expand Up @@ -2476,13 +2476,13 @@ def __init__(
"Firelink Leggings", boss=True, shop=True),

# Yuria (quest, after Soul of Cinder)
DS3LocationData("FS: Billed Mask - Yuria after killing KFF boss", "Billed Mask",
DS3LocationData("FS: Billed Mask - shop after killing Yuria", "Billed Mask",
missable=True, npc=True),
DS3LocationData("FS: Black Dress - Yuria after killing KFF boss", "Black Dress",
DS3LocationData("FS: Black Dress - shop after killing Yuria", "Black Dress",
missable=True, npc=True),
DS3LocationData("FS: Black Gauntlets - Yuria after killing KFF boss", "Black Gauntlets",
DS3LocationData("FS: Black Gauntlets - shop after killing Yuria", "Black Gauntlets",
missable=True, npc=True),
DS3LocationData("FS: Black Leggings - Yuria after killing KFF boss", "Black Leggings",
DS3LocationData("FS: Black Leggings - shop after killing Yuria", "Black Leggings",
missable=True, npc=True),
],

Expand Down
6 changes: 5 additions & 1 deletion worlds/dark_souls_3/detailed_location_descriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@
table += f"<tr><td>{html.escape(name)}</td><td>{html.escape(description)}</td></tr>\n"
table += "</table>\n"

with open(os.path.join(os.path.dirname(__file__), 'docs/locations_en.md'), 'r+') as f:
with open(
os.path.join(os.path.dirname(__file__), 'docs/locations_en.md'),
'r+',
encoding='utf-8'
) as f:
original = f.read()
start_flag = "<!-- begin location table -->\n"
start = original.index(start_flag) + len(start_flag)
Expand Down
Loading

0 comments on commit 7b75540

Please sign in to comment.