Help with unlockable modes.

Started by YourImagination, November 15, 2025, 04:59:50 AM

Previous topic - Next topic

YourImagination

So I am currently re-learning coding and creating with IKEMEN Go. So far, my screenpack is coming along well; logo, intro, main menu and all. I've been experimenting the shop module for a while and thanks to CD2 I learned how to utilize it for stages and characters. So I decided to add in a customer section for game modes.

https://ibb.co/DHyhzhXS

My issue is the fact that Boss Rush (named "Power Heroes") appears in the  shop but It is still showing in the main menu. At first, I tried to use the unlock code from the shop menu but it shows this instead.

https://ibb.co/QvvGvp0W

I looked into it more via CD2's regular video and figured out that the system.base DEF file tells me how to make game modes unlockable.

I tried it and it still shows. I decided to take the whole system out and put the shop unlock code in after the "=" parameter. But I got this error message.

Error log:
external/script/main.lua:4347: <game end>
stack traceback:
[G]: in function 'refresh'
external/script/main.lua:4347: in function 'f_menuCommonDraw'
external/script/main.lua:3236: in function 'loop'
external/script/main.lua:4543: in main chunk
[G]: ?


What am I missing? Here are the codes I am working with. If anyone can help me, it would be great.

[SHOP CODE]

[Additional Game Modes]
id = bossrush
name = Power Heroes
info = A game mode where you go through a gauntlet of different Capcom villians.
price = 20000


[SYSTEM CODE]

menu.itemname.menumission.bossrush = "POWER HEROES"
menu.unlock.bossrush = "true"