Commit Graph

6615 Commits

Author SHA1 Message Date
spinerak
a1acff3a8b Comments to docstrings 2024-06-10 18:33:31 +02:00
spinerak
06f105ea57 faster location function 2024-06-10 18:28:09 +02:00
spinerak
5bb2883054 Changed indent of score multiplier 2024-06-10 18:25:53 +02:00
spinerak
d31d6b2d13 Removed plando "fix" 2024-06-10 18:23:11 +02:00
spinerak
7f298e69b8 🐶 2024-06-08 16:11:58 +02:00
spinerak
5188d78534 Changed filling the itempool for efficiency
Now, we start with 17 extra items in the item pool, it's quite likely you need at least 17 items (~80%?).
And then afterwards, we delete items if we overshoot the target of 1000, and add items if we haven't reached an achievable score of 1000 yet. Also, no need to recompute the entire logic when adding points.
2024-06-08 16:10:38 +02:00
spinerak
4e56a07911 RUFF 🐶 2024-06-08 01:59:18 +02:00
spinerak
13340aaf91 Cleaned up the "state_is_a_list" a little bit 2024-06-08 01:55:49 +02:00
Spineraks
2c3a4daa40 Merge branch 'main' into main 2024-06-08 01:40:12 +02:00
spinerak
0d35411aff small comment 2024-06-08 01:38:31 +02:00
spinerak
2d66fd8dd8 styling and capitalization of options 2024-06-08 01:14:39 +02:00
spinerak
99dbcb014f ruff format styling! 2024-06-08 00:57:52 +02:00
spinerak
da820cc165 ruff styling, fix 2024-06-08 00:51:04 +02:00
spinerak
6250923f5e Option groups! 2024-06-08 00:42:45 +02:00
spinerak
25df8e5248 import; worlds not world :) 2024-06-07 23:29:47 +02:00
spinerak
526733dd3d removed roll and rollfragments; not used 2024-06-07 23:25:48 +02:00
spinerak
17402a5740 finished text whichstory option 2024-06-07 23:22:25 +02:00
spinerak
064c92977a Styling 2024-06-07 23:16:16 +02:00
spinerak
3d30b3b8e5 Merge branch 'main' of https://github.com/spinerak/ArchipelagoYachtDice 2024-06-07 22:50:30 +02:00
spinerak
c647c899aa Update Options.py 2024-06-07 22:50:27 +02:00
Spineraks
f6fbf2221f Apply suggestions from code review
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
2024-06-07 22:43:19 +02:00
Spineraks
78c198b4ea Update worlds/yachtdice/Items.py
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
2024-06-07 22:35:32 +02:00
Spineraks
7fa48ea5b1 Merge pull request #3 from NewSoupVi/pr/3482
Improve performance of Yacht Dice
2024-06-07 22:25:56 +02:00
NewSoupVi
676e876392 This is actually just slower lol 2024-06-07 22:18:36 +02:00
NewSoupVi
a3c9fb7b55 Improve typing 2024-06-07 22:10:36 +02:00
NewSoupVi
3d7f23b26d newline 2024-06-07 22:02:45 +02:00
NewSoupVi
3e8d89f2e0 Improve performance of Yacht Dice 2024-06-07 21:49:24 +02:00
qwint
b053fee3e5 HK: adds schema to validate plando charm costs (#3471) 2024-06-07 19:12:10 +02:00
Trevor L
8c614865bb Bomb Rush Cyberfunk: Fix missing location (#3475) 2024-06-07 19:11:35 +02:00
spinerak
41cd899abf Added Yacht Dice to the readme in list of games 2024-06-07 19:03:15 +02:00
spinerak
29b8ced72c Add my name to CODEOWNERS 2024-06-07 18:59:06 +02:00
spinerak
1aff595855 Moved setting early items to generate_early 2024-06-07 18:54:56 +02:00
spinerak
864e36cebe init of locations: remove self.event line 2024-06-07 18:50:42 +02:00
spinerak
93e67153f8 Improved create_items code 2024-06-07 18:44:59 +02:00
Silent
d72afe7100 Update setup_en.md (#3483) 2024-06-07 17:45:22 +02:00
spinerak
97c37a395f Renamed setup guide 2024-06-07 00:12:30 +02:00
spinerak
e8aaf220e9 Merge pull request #2 from ArchipelagoMW/main
Adding main stuff to yacht dice fork
2024-06-06 23:00:44 +02:00
chandler05
223f2f5523 A Short Hike: Update installation instructions (#3474)
* A Short Hike: Update installation instructions

* Update setup_en.md

* Update setup_en.md

* Change link
2024-06-06 22:57:50 +02:00
Scipio Wright
31419c84a4 TUNIC: Remove rule for west Quarry bomb wall (#3481)
* Update west quarry bomb wall rule

* Update west quarry bomb wall rule
2024-06-06 22:56:35 +02:00
spinerak
1e935fb9e8 Comments and editing 2024-06-06 22:54:40 +02:00
Doug Hoskisson
6bb1cce43f Core: hot reload components from installed apworld (#3480)
* Core: hot reload components from installed apworld

* address PR reviews

`Launcher` widget members default to `None` so they can be defined in `build`

`Launcher._refresh_components` is not wrapped

loaded world goes into `world_sources` so we can check if it's already loaded.
(`WorldSource` can be ordered now without trying to compare `None` and `float`)
(don't load empty directories so we don't detect them as worlds)

* clarify that the installation is successful
2024-06-06 20:36:14 +02:00
black-sliver
808f2a8ff0 Core: update dependencies (#3477) 2024-06-06 19:27:01 +02:00
spinerak
be65762532 Version 2.0.3
manual input option
max score in logic always 2.0.3
faster gen
2024-06-06 16:26:33 +02:00
Doug Hoskisson
7f1e95c04c Core: gitignore custom_worlds (#3479) 2024-06-06 09:02:29 +02:00
NewSoupVi
86da3eb52c Remove all functools lru cache (#3446) 2024-06-06 03:40:47 +02:00
spinerak
046463113c Tweaked generation parameters and methods 2024-06-06 02:54:35 +02:00
black-sliver
afb6d9c4da MultiServer, customserver, CI, Test: Fix problems in room hosting and test/simulate it (#3464)
* Test: add hosting simulation test

* WebHost: add weak typing to get_app()

* MultiServer: add typing to auto_saver_thread

* MultiServer: don't cancel task, properly end it

* customserver: stop auto-save thread from saving after shutdown

and make sure it stops, another potential memory leak

* MultiServer, customserver: make datapackage small again

* customserver: collect/finish room tasks

Hopefully fixes the memory leak we are seeing

* CI: test hosting

* Test: hosting: verify autohoster saves on Ctrl+C

* customserver: save when stopping via Ctrl+C
2024-06-06 01:54:46 +02:00
black-sliver
911eba3202 WebHost: update dependencies (#3476) 2024-06-06 01:51:05 +02:00
Fabian Dill
93cd13736a Launcher: handle apworld installation (#3472) 2024-06-06 01:36:02 +02:00
chandler05
c554c3fdae A Short Hike: Add new options and option groups (#3410)
* A Short Hike: New options and stuff

* Add to slot data for poptracker

* Address concerns

* Address concerns

* Fix indentations

* Update option description

* Address all issues

* Group "or"s
2024-06-06 00:50:30 +02:00