From c3fe3f47c47415617543d9c90d46bc8ab38fba9e Mon Sep 17 00:00:00 2001 From: Nick Koirala Date: Tue, 7 Oct 2025 13:41:50 +1300 Subject: [PATCH] feat: small text --- lucksmith.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lucksmith.lua b/lucksmith.lua index 90976f8..f32cd0f 100644 --- a/lucksmith.lua +++ b/lucksmith.lua @@ -51,7 +51,7 @@ pending_effects = { player.display_roll = 0 enemy.display_roll = 0 shake = 0 -d = 3 -- shake intensity +d = 2 -- shake intensity -- basic card pool cards = {{ name = "Str", @@ -365,7 +365,7 @@ end picked = 1 -- === INPUT === function TIC() - cls(0) + cls(1) if shake > 0 then poke(0x3FF9, math.random(-d, d)) @@ -396,7 +396,7 @@ function TIC() for i, card in ipairs(hand) do local x = 10 + (i - 1) * 64 rectb(x, 80, 62, 24, i == picked and 1 or 12) - print(card.name, x + 3, 90, i == picked and 11 or 10) + print(card.name, x + 3, 90, i == picked and 11 or 10, false,1,true) end print(hand[picked].desc, 4, 120, 15) print(msg, 4, 40, 15) @@ -475,7 +475,7 @@ function TIC() local shield_reduction = player.shield or 0 dmg = math.max(0, dmg - shield_reduction) player.hp = player.hp - dmg - shake = 30 + shake = 10 end msgtxt = "Enemy wins! You -" .. dmg else