Commit graph

162 commits

Author SHA1 Message Date
Oni VelocitOni
d6eef24f83 Merge branch 'lua-roulette' into 'master'
Lua itemroulette stuff from public (JugadorXEI)

See merge request kart-krew-dev/ring-racers-internal!2671
2025-08-05 01:13:16 +00:00
Antonio Martinez
4049b06b4c Remove debug prints 2025-07-18 20:20:24 -04:00
Antonio Martinez
530de88143 Whoops 2025-07-18 20:18:03 -04:00
Antonio Martinez
043969015b Don't roll expert items in G1 2025-07-18 20:08:55 -04:00
Antonio Martinez
ccc9211617 Don't put KITEM_SAD into Casino Roulette, idiot! 2025-07-16 06:10:50 -04:00
Antonio Martinez
5ce7cf0a99 Fix Lua roulette hooks not knowing what the fuck a ringbox is 2025-07-16 05:35:51 -04:00
Oni VelocitOni
5fff2a9c46 Merge branch 'no-bot-ballhog' into 'master'
Disable bot ballhog

See merge request kart-krew-dev/ring-racers-internal!2675
2025-07-15 02:02:14 +00:00
Antonio Martinez
5c0a03f696 Fix debugitemodds allocations, add extra prints 2025-07-10 17:21:41 -04:00
Antonio Martinez
23912a7c63 Init roulette before prehook can bail, IDIOT 2025-07-10 04:48:19 -04:00
VelocitOni
35a55e8d21 Evened out 1st place odds
Made odds for hyudoro and droptarget 1pt lower, which makes other things in 1st more common.
2025-07-08 20:29:18 -04:00
VelocitOni
9d2f8d02e2 K_IsItemFirstOnly
Missed this one spot
2025-07-08 17:33:07 -04:00
VelocitOni
479481f59f Put in roulette
Put toxomister in roulette, reduced stone shoe odds by 1, let bots use toxomister in 1st
2025-07-08 17:16:34 -04:00
Antonio Martinez
5df0a31363 Fix empty item roulettes 2025-07-07 20:02:52 -04:00
Antonio Martinez
719ba464af Disable bot ballhog 2025-07-07 14:19:31 -04:00
Antonio Martinez
5dc72e9886 Restore PreFilItemRoulette by moving hooks outside of reelbuilder 2025-07-05 16:16:26 -04:00
Antonio Martinez
bed1feb1a0 2.4 Lua roulette fixup FINAL? 2025-07-04 16:40:48 -04:00
JugadorXEI
753657bd36 Comment out ITEM_LIST_SIZE, Fix CheckHeap crash on item roulette (re)alloc.
Also change the default item cap to 32, since the free item roulette makes it go up to 30, avoiding a bunch of unneeded reallocs.
2025-07-04 16:00:02 -04:00
JugadorXEI
bf278f4fcc Expose K_ScaleItemDistance and K_ItemOddsScale to Lua 2025-07-04 15:58:02 -04:00
JugadorXEI
501c85a7b1 Expose K_CalculateRouletteSpeed to Lua 2025-07-04 15:52:37 -04:00
JugadorXEI
a6c34c4ff2 Expose K_ForcedSPB and K_DenyShieldOdds to Lua 2025-07-04 15:51:05 -04:00
JugadorXEI
5a62e902a0 Expose K_GetItemRouletteDistance, K_FindUseodds and K_CreateAndShuffleItemReel to Lua 2025-07-04 15:44:49 -04:00
JugadorXEI
44d5848918 Expose FillItemRoulette hook for Lua 2025-07-04 15:42:12 -04:00
JugadorXEI
a4a6c349b4 Expose K_KartGetItemResult to Lua 2025-07-04 15:25:55 -04:00
JugadorXEI
a6f228ec29 Expose K_AddItemToReel and K_PushToRouletteItemList to Lua 2025-07-04 15:20:05 -04:00
JugadorXEI
2f7abb7dd3 Expose PreFillItemRoulette hook for Lua 2025-07-04 15:19:22 -04:00
Antonio Martinez
52b7ec0a42 Roulette fixup 2025-07-04 15:16:41 -04:00
JugadorXEI
31a97adbf2 Implement itemlist_t in itemroulette_t for better Lua integration
itemList -> itemList.items
itemListLen -> itemList.len
itemListCap -> itemList.cap
2025-07-04 14:10:08 -04:00
Antonio Martinez
84466de921 Minimum 80% XP in Frantic, remove Frantic poweritem buffs 2025-06-27 01:39:52 -04:00
AJ Martinez
9f506f93dd Merge branch 'gp-tweaks-420' into 'master'
GP refinements

Closes #1527

See merge request kart-krew-dev/ring-racers-internal!2620
2025-06-19 06:44:28 +00:00
Antonio Martinez
f418b5841a Minimum gradingfactor in Master 2025-06-16 15:50:34 -04:00
VelocitOni
7efc7b97a7 Bots know about stone shoe
Added KITEM_STONESHOE to K_GetBotItemPriority, bots will use it as a frontrunner item
2025-06-11 17:30:03 -04:00
James R
74f4708f7f Add Stone Shoe item odds 2025-06-10 16:41:54 -07:00
Oni VelocitOni
3e9d6858bf Merge branch 'shield-shenanigans' into 'master'
Fix various shield checks using item instead of curshield

Closes #1501

See merge request kart-krew-dev/ring-racers-internal!2544
2025-05-20 22:46:45 +00:00
Antonio Martinez
2ec4fa044c Tiny roulette fixes 2025-05-20 15:35:05 -04:00
Ashnal
5a42c99d0a Rname stuff better 2025-05-18 14:30:45 -04:00
Antonio Martinez
38a92467ee Less free rings (resolves #1517) 2025-05-17 20:59:28 -04:00
Antonio Martinez
bd82d4623f Fix various chield checks using item instead of curshield 2025-05-16 20:56:14 -04:00
AJ Martinez
db63958e47 Seed freeplay roulette 2025-05-05 21:36:43 -04:00
Eidolon
cb7f437e60 Merge public master 2025-02-13 15:48:11 -06:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
toaster
2104b0b0f5 Disable EXP in K_Cooperative
- HUD, tally, and roulette(!!)
- In basegame, affects Sealed Stars
2025-01-18 19:29:49 -05:00
Sally Coolatta
158d8ac5d3 Fix compile warnings 2024-08-28 17:56:11 -04:00
Antonio Martinez
640053cd66 More superring tweaks 2024-08-27 21:54:32 -07:00
Antonio Martinez
57c4fccd03 gameplay prototyping lightning round 2024-08-27 19:42:56 -07:00
Ashnal
70ad221aa0 Sneaker Lift 2024-08-25 23:50:10 +00:00
Antonio Martinez
e57f53016c Odds were never real 2024-08-22 22:29:12 -07:00
Antonio Martinez
5815635d51 lightning round 2 2024-08-22 22:28:59 -07:00
Antonio Martinez
83f952e64b Lightning tweaks 2024-08-22 22:28:47 -07:00
Antonio Martinez
204a7ddaba Earlier, more common sneakers 2024-08-22 22:28:33 -07:00
Antonio Martinez
42e23c7e9b Fix unusually rare Grow 2024-08-22 00:56:45 -07:00