Skip to content

Commit

Permalink
bunch of upds and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChromaPIE committed Jun 14, 2024
1 parent 533b3d8 commit 8bf65dc
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Mods/Aura
19 changes: 19 additions & 0 deletions Mods/Less Intrusive Stickers/Less_N_S.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- STEAMODDED HEADER
--- MOD_NAME: Less Intrusive Stickers
--- MOD_ID: Less_N_S
--- MOD_AUTHOR: [FabianPEKS]
--- MOD_DESCRIPTION: Do the stickers the game uses feel annoyingly large? well i think so. so i did a redesign so they aren't massively large.

----------------------------------------------
------------MOD CODE -------------------------

function SMODS.INIT.Less_N_S()

local small_sticker = SMODS.findModByID("Less_N_S")
local intrusive_sticker = SMODS.Sprite:new("stickers", small_sticker.path, "stickers.png", 71, 95, "asset_atli")

intrusive_sticker:register()
end

----------------------------------------------
------------MOD CODE END----------------------
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Mods/MikasBalatro
2 changes: 1 addition & 1 deletion Mods/MystMods
17 changes: 13 additions & 4 deletions Mods/StickersAlwaysShown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ end

local CardDrawRef = Card.draw
function Card:draw(layer)
if(self.ability.set == 'Joker' and G.STAGE == 2 ) then
if(self.facing == 'front') then
if (self.ability.set == 'Joker' and G.STAGE == 2) then
if (self.facing == 'front') then
self.sticker = GetSticker(self)
end
if(self.facing == 'back') then
if (self.facing == 'back') then
self.sticker = nil
end
end
local t = CardDrawRef(self, layer)
return(t)
return (t)
end

function GetSticker(card)
Expand All @@ -42,5 +42,14 @@ function GetCenterKeyByJokerName(name)
return nil
end

local win_gameRef = win_game
function win_game()
local t = win_gameRef()
for k, v in ipairs(G.jokers.cards) do
v.sticker = nil
end
return (t)
end

----------------------------------------------
------------MOD CODE END----------------------

0 comments on commit 8bf65dc

Please sign in to comment.