Skip to content

Commit

Permalink
changed autotracking key for game completion to match new pseudo ap c…
Browse files Browse the repository at this point in the history
…lient key
  • Loading branch information
Br00ty committed Oct 10, 2023
1 parent 065ede6 commit ed9c1ed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 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.3.3",
"package_version": "0.1.3.4",
"package_uid": "pseudoregalia_brooty",
"platform": "pc",
"author": "Br00ty",
Expand Down
4 changes: 2 additions & 2 deletions scripts/autotracking/archipelago.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LOCAL_ITEMS = {}
GLOBAL_ITEMS = {}

function onSetReply(key, value, old)
if key == "Game Complete" then
if key == "Pseudoregalia - Player " .. Archipelago.PlayerNumber .. " - Game Complete" then
Tracker:FindObjectForCode("gameover", ITEMS).Active = true
end
end
Expand Down Expand Up @@ -63,7 +63,7 @@ function onClear(slot_data)
GLOBAL_ITEMS = {}

--Tracker:FindObjectForCode("event_track").CurrentStage = 1
Archipelago:SetNotify({"Game Complete"})
Archipelago:SetNotify({"Pseudoregalia - Player " .. Archipelago.PlayerNumber .. " - Game Complete"})
end

-- called when an item gets collected
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.3.4",
"download_url": "https://github.com/Br00ty/pseudoregalia_brooty/releases/download/0.1.3.4/pseudoregalia_brooty.zip",
"sha256": "07B3B95528F71A573071D269954F9C089B2C14DF110AD4BDCC8227E98FEA199B",
"changelog": [
"fixed autotracking code for game completion"
]
},
{
"package_version": "0.1.3.3",
"download_url": "https://github.com/Br00ty/pseudoregalia_brooty/releases/download/0.1.3.3/pseudoregalia_brooty.zip",
Expand Down

0 comments on commit ed9c1ed

Please sign in to comment.