mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Give Prison Egg CDs more frequently (every 15, rather than every 30)
Sets a cap to the value loaded from gamedata, too
This commit is contained in:
parent
dbdfbdf500
commit
4c03cd306e
2 changed files with 6 additions and 1 deletions
|
|
@ -493,7 +493,12 @@ void srb2::load_ng_gamedata()
|
|||
gamedata->tutorialdone = js.milestones.tutorialdone;
|
||||
gamedata->gonerlevel = js.milestones.gonerlevel;
|
||||
gamedata->thisprisoneggpickup = js.prisons.thisprisoneggpickup;
|
||||
|
||||
gamedata->prisoneggstothispickup = js.prisons.prisoneggstothispickup;
|
||||
if (gamedata->prisoneggstothispickup > GDINIT_PRISONSTOPRIZE)
|
||||
{
|
||||
gamedata->prisoneggstothispickup = GDINIT_PRISONSTOPRIZE;
|
||||
}
|
||||
|
||||
size_t emblems_size = js.emblems.size();
|
||||
for (size_t i = 0; i < std::min((size_t)MAXEMBLEMS, emblems_size); i++)
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@ typedef enum {
|
|||
#define GDCONVERT_ROUNDSTOKEY 5
|
||||
|
||||
#define GDINIT_CHAOKEYS 10 // Start with 10 Chao Keys !!
|
||||
#define GDINIT_PRISONSTOPRIZE 30 // 30 Prison Eggs to your [Wild Prize] !!
|
||||
#define GDINIT_PRISONSTOPRIZE 15 // 15 Prison Eggs to your [Wild Prize] !!
|
||||
|
||||
typedef enum {
|
||||
GDGONER_INIT = 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue