Files
Grinch-AP/worlds/witness/test/test_roll_other_options.py
NewSoupVi c4e7b6ca82 The Witness: Add "vague" hints making use of other games' region names and location groups (#2921)
* Vague hints work! But, the client will probably reveal some of the info through scouts atm

* Fall back on Everywhere if necessary

* Some of these failsafes are not necessary now

* Limit region size to 100 as well

* Actually... like this.

* Nutmeg

* Lol

* -1 for own player but don't scout

* Still make always/priority ITEM hints

* fix

* uwu notices your bug

* The hints should, like, actually work, you know?

* Make it a Toggle

* Update worlds/witness/hints.py

Co-authored-by: Bryce Wilson <gyroscope15@gmail.com>

* Update worlds/witness/hints.py

Co-authored-by: Bryce Wilson <gyroscope15@gmail.com>

* Make some suggested changes

* Make that ungodly equation a bit clearer in terms of formatting

* make that not sorted

* Add a warning about the feature in the option tooltip

* Make using region names experimental

* reword option tooltip

* Note about singleplayer

* Slight rewording again

* Reorder the order of priority a bit

* this condition is unnecessary now

* comment

* No wait the order has to be like this

* Okay now I think it's correct

* Another comment

* Align option tooltip with new behavior

* slight rewording again

* reword reword reword reword

* -

* ethics

* Update worlds/witness/options.py

Co-authored-by: Bryce Wilson <gyroscope15@gmail.com>

* Rename and slight behavior change for local hints

* I think I overengineered this system before. Make it more consistent and clear now

* oops I used checks by accident

* oops

* OMEGA OOPS

* Accidentally commited a print statemetn

* Vi don't commit nonsense challenge difficulty impossible

* This isn't always true but it's good enough

* Update options.py

* Update worlds/witness/options.py

Co-authored-by: Scipio Wright <scipiowright@gmail.com>

* Scipio :3

* switch to is_event instead of checking against location.address

* oop

* Update test_roll_other_options.py

* Fix that unit test problem lol

* Oh is this not fixed in the apworld?

---------

Co-authored-by: Bryce Wilson <gyroscope15@gmail.com>
Co-authored-by: Scipio Wright <scipiowright@gmail.com>
2024-08-20 01:34:40 +02:00

60 lines
1.6 KiB
Python

from ..test import WitnessTestBase
# These are just some random options combinations, just to catch whether I broke anything obvious
class TestExpertNonRandomizedEPs(WitnessTestBase):
options = {
"disable_non_randomized": True,
"puzzle_randomization": "sigma_expert",
"shuffle_EPs": "individual",
"ep_difficulty": "eclipse",
"victory_condition": "challenge",
"shuffle_discarded_panels": False,
"shuffle_boat": False,
}
class TestVanillaAutoElevatorsPanels(WitnessTestBase):
options = {
"puzzle_randomization": "none",
"elevators_come_to_you": True,
"shuffle_doors": "panels",
"victory_condition": "mountain_box_short",
"early_caves": True,
"shuffle_vault_boxes": True,
"mountain_lasers": 11,
}
class TestMiscOptions(WitnessTestBase):
options = {
"death_link": True,
"death_link_amnesty": 3,
"laser_hints": True,
"hint_amount": 40,
"area_hint_percentage": 100,
"vague_hints": "experimental",
}
class TestMaxEntityShuffle(WitnessTestBase):
options = {
"shuffle_symbols": False,
"shuffle_doors": "mixed",
"shuffle_EPs": "individual",
"obelisk_keys": True,
"shuffle_lasers": "anywhere",
"victory_condition": "mountain_box_long",
}
class TestPostgameGroupedDoors(WitnessTestBase):
options = {
"shuffle_postgame": True,
"shuffle_discarded_panels": True,
"shuffle_doors": "doors",
"door_groupings": "regional",
"victory_condition": "elevator",
}