Doom 2, Heretic: fix missing items (Doom2 Megasphere, Heretic Torch) (#3561)

for doom 2, some of the armor and health weights were nudged down
to compensate for the addition of the megasphere

for heretic, the torch was just added without changing anything else,
as I felt doing so would negatively impact the distribution of
artifacts (and personally I already feel there's too few in a game)
This commit is contained in:
Kaito Sinclaire 2024-06-19 03:59:10 -07:00 committed by GitHub
parent 240d1a3bbf
commit 9bb3947d7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View File

@ -60,17 +60,18 @@ class DOOM2World(World):
# Item ratio that scales depending on episode count. These are the ratio for 3 episode. In DOOM1.
# The ratio have been tweaked seem, and feel good.
items_ratio: Dict[str, float] = {
"Armor": 41,
"Mega Armor": 25,
"Berserk": 12,
"Armor": 39,
"Mega Armor": 23,
"Berserk": 11,
"Invulnerability": 10,
"Partial invisibility": 18,
"Supercharge": 28,
"Supercharge": 26,
"Medikit": 15,
"Box of bullets": 13,
"Box of rockets": 13,
"Box of shotgun shells": 13,
"Energy cell pack": 10
"Energy cell pack": 10,
"Megasphere": 7
}
def __init__(self, multiworld: MultiWorld, player: int):
@ -233,6 +234,7 @@ class DOOM2World(World):
self.create_ratioed_items("Invulnerability", itempool)
self.create_ratioed_items("Partial invisibility", itempool)
self.create_ratioed_items("Supercharge", itempool)
self.create_ratioed_items("Megasphere", itempool)
while len(itempool) < self.location_count:
itempool.append(self.create_item(self.get_filler_item_name()))

View File

@ -71,6 +71,7 @@ class HereticWorld(World):
"Tome of Power": 16,
"Silver Shield": 10,
"Enchanted Shield": 5,
"Torch": 5,
"Morph Ovum": 3,
"Mystic Urn": 2,
"Chaos Device": 1,
@ -242,6 +243,7 @@ class HereticWorld(World):
self.create_ratioed_items("Mystic Urn", itempool)
self.create_ratioed_items("Ring of Invincibility", itempool)
self.create_ratioed_items("Shadowsphere", itempool)
self.create_ratioed_items("Torch", itempool)
self.create_ratioed_items("Timebomb of the Ancients", itempool)
self.create_ratioed_items("Tome of Power", itempool)
self.create_ratioed_items("Silver Shield", itempool)