summaryrefslogtreecommitdiff
path: root/mm/2s2h/Enhancements/DifficultyOptions/AlwaysFindRockSirloin.cpp
blob: 0b7705b476ee69ef02bdfd7be08eb3b27e5b736a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <libultraship/bridge/consolevariablebridge.h>
#include "2s2h/GameInteractor/GameInteractor.h"
#include "2s2h/ShipInit.hpp"

#define CVAR_NAME "gEnhancements.DifficultyOptions.AlwaysFindRockSirloin"
#define CVAR CVarGetInteger(CVAR_NAME, 0)

void RegisterAlwaysFindRockSirloin() {
    COND_VB_SHOULD(VB_FIND_ROCK_SIRLOIN, CVAR, { *should = true; });
}

static RegisterShipInitFunc initFunc(RegisterAlwaysFindRockSirloin, { CVAR_NAME });