From 54b1fac8d7148ed85557af3b3856977920808162 Mon Sep 17 00:00:00 2001 From: Local Atticus Date: Tue, 26 Apr 2022 20:12:19 -0400 Subject: [PATCH 1/2] Add useFootGun --- scripts/common.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/common.lua b/scripts/common.lua index 5f50dee..61c1440 100644 --- a/scripts/common.lua +++ b/scripts/common.lua @@ -1,4 +1,6 @@ -- NOTE(local): DO NOT PUT ANYTHING HERE PLEASE THANKS -- IF YOU DO THE GAME WILL IMMEDIATELY CRASH AND IT'S NOT THE BEST -- THANK YOU HAVE A GOOD LUA -gfx.LoadSkinFont("segoeui.ttf") \ No newline at end of file +gfx.LoadSkinFont("segoeui.ttf") + +function useFootGun() while true do end end -- 2.40.1 From 265c8fcf8f2a7dc3d12ab253dfc0408e7e44bbf2 Mon Sep 17 00:00:00 2001 From: Local Atticus Date: Tue, 26 Apr 2022 20:45:37 -0400 Subject: [PATCH 2/2] Add nears --- scripts/gameplay.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/gameplay.lua b/scripts/gameplay.lua index 96b8105..ab78608 100644 --- a/scripts/gameplay.lua +++ b/scripts/gameplay.lua @@ -107,7 +107,11 @@ end function button_hit(button, rating, delta) if (showHitAnims) then - HitFX.TriggerAnimation("Crit", button + 1) + if (rating == 1) then + HitFX.TriggerAnimation("Near", button + 1) + else + HitFX.TriggerAnimation("Crit", button + 1) + end end end -- 2.40.1