Skip to content

Commit

Permalink
fixed some missing requirement, hopefully for the last time right now…
Browse files Browse the repository at this point in the history
… lmaoo
  • Loading branch information
Br00ty committed Oct 18, 2023
1 parent d7074e4 commit 9393e30
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Pseudoregalia",
"game_name": "Pseudoregalia",
"package_version": "0.1.4.1",
"package_version": "0.1.4.1.1",
"package_uid": "pseudoregalia_brooty",
"platform": "pc",
"author": "Br00ty",
Expand Down
7 changes: 4 additions & 3 deletions scripts/logic/logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,16 @@ function theatre_main(n)
-- print("theatre_main")
return (cling(n) and (greaves(n) or can_slidejump(n))) or
(cling(n) and (greaves(n) or can_slidejump(n)) and keep_main(n)) or
((sunsetter(n) and cling(n)) or (sunsetter(n) and Getkicks(4)) and theatre_pillar(n))
((sunsetter(n) and cling(n)) or (sunsetter(n) and Getkicks(4)) and theatre_pillar(n)) or
Theatre_front(n)
end

function castle_sansa(n)
if n == nil then; n = 0; end
if n > 10 then; return false; end -- detect 10th step when trying to resolve and abort
n = n + 1
-- print("castle_sansa")
return (has_small_keys(n) and dungeon_strong_eyes(n)) or (empty_bailey(n))
return (has_small_keys(n) and dungeon_strong_eyes(n)) or empty_bailey(n) or Castle_spiral_climb(n)
end

function library_main(n)
Expand All @@ -190,7 +191,7 @@ function keep_main(n)
if n > 10 then; return false; end -- detect 10th step when trying to resolve and abort
n = n + 1
-- print("keep_main")
return cling(n) and theatre_main(n)
return (cling(n) and theatre_main(n)) or castle_sansa(n)
end

function empty_bailey(n)
Expand Down
8 changes: 8 additions & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"versions": [
{
"package_version": "0.1.4.1.1",
"download_url": "https://github.com/Br00ty/pseudoregalia_brooty/releases/download/0.1.4.1.1/pseudoregalia_brooty.zip",
"sha256": "b87c13dadc1cf1ab35af5165a06e8e2d7869bc51c2821a4e9a6ffbdfd15ed452",
"changelog": [
"'keep main' was missing 'castle sansa' in logic"
]
},
{
"package_version": "0.1.4.1",
"download_url": "https://github.com/Br00ty/pseudoregalia_brooty/releases/download/0.1.4.1/pseudoregalia_brooty.zip",
Expand Down

0 comments on commit 9393e30

Please sign in to comment.