Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions objects/PlayerCards.2d30ee.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,9 @@
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "https://steamusercontent-a.akamaihd.net/ugc/2342503777940937086/92256BDF101E6272AD1E3F5F0043D311DF708F03/",
"ImageURL": "https://steamusercontent-a.akamaihd.net/ugc/11910679705282911738/11F585F994A1A1244378F71FC967C8675281D2B6/",
"WidthScale": 0
},
"CustomUIAssets": [
{
"Name": "OtherCards",
"Type": 0,
"URL": "https://steamusercontent-a.akamaihd.net/ugc/2446096169989812196/B5C491331EB348C261F561DC7A19968ECF9FC74A/"
},
{
"Name": "TheDrownedCity",
"Type": 0,
"URL": "https://steamusercontent-a.akamaihd.net/ugc/2369545214002978835/12B417B2D54F76D9451D8152F6BBE5C2FEDB4853/"
}
],
"Description": "",
"DragSelectable": true,
"GMNotes": "",
Expand Down
8 changes: 4 additions & 4 deletions src/Global/Global.ttslua
Original file line number Diff line number Diff line change
Expand Up @@ -2496,11 +2496,11 @@ function updateDownloadItemList(skipAuthorUpdate)
tag = "Panel",
attributes = { id = "panel" .. i },
children = {
tag = 'Text',
value = v.name,
tag = 'Text',
value = v.name,
attributes = {
id = contentToShow .. "_" .. i,
onClick = 'onClick_select',
id = contentToShow .. "_" .. i,
onClick = 'onClick_select',
alignment = 'MiddleLeft'
}
}
Expand Down
8 changes: 6 additions & 2 deletions src/core/PhysicsDetector.ttslua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

-- this event should only fire if physics aren't fully enabled
function onCollisionExit()
broadcastToAll("Physics disabled? Check chat log", "Orange")
printToAll("It seems like you don't have 'Physics' fully enabled. From the top menu bar, open Options > Physics and select 'Full' to experience this mod with all features.")
if Player.getPlayers()[1].steam_name ~= "Chr1Z" then
broadcastToAll("Physics disabled? Check chat log", "Orange")
printToAll("It seems like you don't have 'Physics' fully enabled. " ..
"From the top menu bar, open Options > Physics and " ..
"select 'Full' to experience this mod with all features.")
end
end
8 changes: 5 additions & 3 deletions src/deckbuilder/DeckImporter.ttslua
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,10 @@ end

-- Removes common suffixes from IDs
function getBaseId(id)
-- First pattern matches -m, -p, -c, or -t at the end
-- Second pattern matches -pb, -pf at the end
local patterns = { "%-[mpct]$", "%-p[fb]$" }
-- 1. %-[mpct]$ : Matches -m, -p, -c, or -t
-- 2. %-p[fb]$ : Matches -pb or -pf
-- 3. %-b%d$ : Matches -b followed by any digit (e.g., -b1, -b2)
local patterns = { "%-[mpct]$", "%-p[fb]$", "%-b%d$" }
local changed = true
local baseId = id

Expand All @@ -767,6 +768,7 @@ function getBaseId(id)
return baseId
end


function moveListOfCardsFromDeck(cardsToSpawn, moveList, targetZone)
-- Create a frequency map
local moveCounts = {}
Expand Down
Loading
Loading