Stardew Valley 6.x.x: The Content Update (#3478)
Focus of the Update: Compatibility with Stardew Valley 1.6 Released on March 19th 2024 This includes randomization for pretty much all of the new content, including but not limited to - Raccoon Bundles - Booksanity - Skill Masteries - New Recipes, Craftables, Fish, Maps, Farm Type, Festivals and Quests This also includes a significant reorganisation of the code into "Content Packs", to allow for easier modularity of various game mechanics between the settings and the supported mods. This improves maintainability quite a bit. In addition to that, a few **very** requested new features have been introduced, although they weren't the focus of this update - Walnutsanity - Player Buffs - More customizability in settings, such as shorter special orders, ER without farmhouse - New Remixed Bundles
This commit is contained in:
27
worlds/stardew_valley/test/content/mods/TestJasper.py
Normal file
27
worlds/stardew_valley/test/content/mods/TestJasper.py
Normal file
@@ -0,0 +1,27 @@
|
||||
from .. import SVContentPackTestBase
|
||||
from ....mods.mod_data import ModNames
|
||||
from ....strings.villager_names import ModNPC
|
||||
|
||||
|
||||
class TestJasperWithoutSVE(SVContentPackTestBase):
|
||||
mods = (ModNames.jasper,)
|
||||
|
||||
def test_gunther_is_added(self):
|
||||
self.assertIn(ModNPC.gunther, self.content.villagers)
|
||||
self.assertEqual(self.content.villagers[ModNPC.gunther].mod_name, ModNames.jasper)
|
||||
|
||||
def test_marlon_is_added(self):
|
||||
self.assertIn(ModNPC.marlon, self.content.villagers)
|
||||
self.assertEqual(self.content.villagers[ModNPC.marlon].mod_name, ModNames.jasper)
|
||||
|
||||
|
||||
class TestJasperWithSVE(SVContentPackTestBase):
|
||||
mods = (ModNames.jasper, ModNames.sve)
|
||||
|
||||
def test_gunther_is_added(self):
|
||||
self.assertIn(ModNPC.gunther, self.content.villagers)
|
||||
self.assertEqual(self.content.villagers[ModNPC.gunther].mod_name, ModNames.sve)
|
||||
|
||||
def test_marlon_is_added(self):
|
||||
self.assertIn(ModNPC.marlon, self.content.villagers)
|
||||
self.assertEqual(self.content.villagers[ModNPC.marlon].mod_name, ModNames.sve)
|
||||
Reference in New Issue
Block a user