Documentation ¶
Index ¶
Constants ¶
View Source
const ( ChaoRouletteRedRingCost = int64(30) ChaoRouletteTicketCost = int64(1) ChaoRouletteCharacterStarIncrease = int64(1) ChaoRouletteCharacterLevelIncrease = int64(5) ChaoRouletteChaoLevelIncreaseLow = int64(1) ChaoRouletteChaoLevelIncreaseHigh = int64(5) )
View Source
const ( DBFileName = "outrun.db" DBBucketSessionIDs = "sessionIDs" DBBucketPlayers = "players" DBBucketAnalytics = "analytics" DBSessionExpiryTime = 3600 )
View Source
const ( RouletteJackpotRings = int64(185000) RouletteFreeSpins = int64(5) )
View Source
const (
CharacterUpgradeIncrease = 5500
)
Variables ¶
View Source
var EpisodeWithChapters = map[int64]int64{
6: 2,
11: 2,
16: 2,
19: 2,
20: 2,
22: 2,
23: 2,
24: 2,
29: 2,
31: 2,
33: 2,
36: 2,
38: 2,
39: 2,
40: 3,
41: 3,
42: 2,
43: 2,
44: 2,
46: 2,
47: 2,
48: 2,
49: 2,
50: 5,
}
View Source
var ItemPrices = map[string]int64{ enums.ItemIDStrInvincible: 3000, enums.ItemIDStrBarrier: 1000, enums.ItemIDStrMagnet: 3000, enums.ItemIDStrTrampoline: 2000, enums.ItemIDStrCombo: 3000, enums.ItemIDStrLaser: 5000, enums.ItemIDStrDrill: 4000, enums.ItemIDStrAsteroid: 5000, enums.ItemIDStrBoostScore: 6000, enums.ItemIDStrBoostTrampoline: 1000, enums.ItemIDStrBoostSubChara: 4000, }
View Source
var NormalWheelItemAmountRange = map[string]AmountRange{ enums.ItemIDStrInvincible: AmountRange{5, 10, 1}, enums.ItemIDStrBarrier: AmountRange{5, 10, 1}, enums.ItemIDStrMagnet: AmountRange{5, 10, 1}, enums.ItemIDStrTrampoline: AmountRange{5, 10, 1}, enums.ItemIDStrCombo: AmountRange{5, 10, 1}, enums.ItemIDStrLaser: AmountRange{5, 10, 1}, enums.ItemIDStrDrill: AmountRange{5, 10, 1}, enums.ItemIDStrAsteroid: AmountRange{5, 10, 1}, strconv.Itoa(enums.IDTypeRedRing): AmountRange{20, 100, 20}, }
View Source
var PointScores = map[int64][]int64{ 1: []int64{1000, 1000, 1000, 1000, 1000, -1}, 2: []int64{50000, 50000, 50000, 50000, 50000, -1}, 3: []int64{50000, 50000, 50000, 50000, 50000, -1}, 4: []int64{65000, 65000, 65000, 65000, 65000, -1}, 5: []int64{65000, 65000, 65000, 65000, 65000, -1}, 6: []int64{65000, 65000, 65000, 65000, 65000, -1}, 7: []int64{110000, 110000, 110000, 110000, 110000, -1}, 8: []int64{110000, 110000, 110000, 110000, 110000, -1}, 9: []int64{160000, 160000, 160000, 160000, 160000, -1}, 10: []int64{160000, 160000, 160000, 160000, 160000, -1}, 11: []int64{260000, 260000, 260000, 260000, 260000, -1}, 12: []int64{390000, 390000, 390000, 390000, 390000, -1}, 13: []int64{420000, 420000, 420000, 420000, 420000, -1}, 14: []int64{420000, 420000, 420000, 420000, 420000, -1}, 15: []int64{420000, 420000, 420000, 420000, 420000, -1}, 16: []int64{600000, 600000, 600000, 600000, 600000, -1}, 17: []int64{1200000, 1200000, 1200000, 1200000, 1200000, -1}, 18: []int64{1280000, 1280000, 1280000, 1280000, 1280000, -1}, 19: []int64{1600000, 1600000, 1600000, 1600000, 1600000, -1}, 20: []int64{1700000, 1700000, 1700000, 1700000, 1700000, -1}, 21: []int64{2040000, 2040000, 2040000, 2040000, 2040000, -1}, 22: []int64{2160000, 2160000, 2160000, 2160000, 2160000, -1}, 23: []int64{2280000, 2280000, 2280000, 2280000, 2280000, -1}, 24: []int64{2800000, 2800000, 2800000, 2800000, 2800000, -1}, 25: []int64{2280000, 2280000, 2280000, 2280000, 2280000, -1}, }
View Source
var RandomChaoWheelChaoPrizes = map[string]float64{ enums.ChaoIDStrHeroChao: 5.0, enums.ChaoIDStrGoldChao: 5.0, enums.ChaoIDStrDarkChao: 5.0, enums.ChaoIDStrJewelChao: 4.5, enums.ChaoIDStrNormalChao: 4.5, enums.ChaoIDStrOmochao: 4.5, enums.ChaoIDStrRCMonkey: 3.5, enums.ChaoIDStrRCSpring: 3.5, enums.ChaoIDStrRCElectromagnet: 3.5, enums.ChaoIDStrBabyCyanWisp: 3.5, enums.ChaoIDStrBabyIndigoWisp: 3.5, enums.ChaoIDStrBabyYellowWisp: 3.5, enums.ChaoIDStrRCPinwheel: 3.0, enums.ChaoIDStrRCPiggyBank: 3.0, enums.ChaoIDStrRCBalloon: 3.0, enums.ChaoIDStrEasterChao: 2.0, enums.ChaoIDStrPurplePapurisu: 0.0, enums.ChaoIDStrMagLv1: 0.0, enums.ChaoIDStrEggChao: 3.5, enums.ChaoIDStrPumpkinChao: 3.5, enums.ChaoIDStrSkullChao: 3.0, enums.ChaoIDStrYacker: 2.0, enums.ChaoIDStrRCGoldenPiggyBank: 1.5, enums.ChaoIDStrWizardChao: 1.0, enums.ChaoIDStrRCTurtle: 1.0, enums.ChaoIDStrRCUFO: 1.0, enums.ChaoIDStrRCBomber: 1.0, enums.ChaoIDStrEasterBunny: 1.0, enums.ChaoIDStrMagicLamp: 1.0, enums.ChaoIDStrStarShapedMissile: 1.0, enums.ChaoIDStrSuketoudara: 1.0, enums.ChaoIDStrRappy: 1.0, enums.ChaoIDStrBlowfishTransporter: 1.0, enums.ChaoIDStrGenesis: 1.0, enums.ChaoIDStrCartridge: 1.0, enums.ChaoIDStrRCFighter: 1.0, enums.ChaoIDStrRCHovercraft: 1.0, enums.ChaoIDStrRCHelicopter: 1.0, enums.ChaoIDStrGreenCrystalMonsterS: 1.0, enums.ChaoIDStrGreenCrystalMonsterL: 1.0, enums.ChaoIDStrRCAirship: 1.0, enums.ChaoIDStrDesertChao: 1.0, enums.ChaoIDStrRCSatellite: 1.0, enums.ChaoIDStrMarineChao: 1.0, enums.ChaoIDStrNightopian: 1.0, enums.ChaoIDStrOrca: 1.0, enums.ChaoIDStrSonicOmochao: 1.0, enums.ChaoIDStrTailsOmochao: 1.0, enums.ChaoIDStrKnucklesOmochao: 1.0, enums.ChaoIDStrBoo: 1.0, enums.ChaoIDStrHalloweenChao: 1.0, enums.ChaoIDStrHeavyBomb: 1.0, enums.ChaoIDStrBlockBomb: 1.0, enums.ChaoIDStrHunkofMeat: 1.0, enums.ChaoIDStrYeti: 1.0, enums.ChaoIDStrSnowChao: 1.0, enums.ChaoIDStrIdeya: 1.0, enums.ChaoIDStrChristmasNightopian: 1.0, enums.ChaoIDStrOrbot: 1.0, enums.ChaoIDStrCubot: 1.0, enums.ChaoIDStrLightChaos: 1.0, enums.ChaoIDStrHeroChaos: 1.0, enums.ChaoIDStrDarkChaos: 1.0, enums.ChaoIDStrChip: 1.0, enums.ChaoIDStrShahra: 1.0, enums.ChaoIDStrCaliburn: 1.0, enums.ChaoIDStrKingArthursGhost: 1.0, enums.ChaoIDStrRCTornado: 1.0, enums.ChaoIDStrRCBattleCruiser: 1.0, enums.ChaoIDStrMerlina: 1.0, enums.ChaoIDStrErazorDjinn: 1.0, enums.ChaoIDStrRCMoonMech: 1.0, enums.ChaoIDStrCarbuncle: 1.0, enums.ChaoIDStrKuna: 1.0, enums.ChaoIDStrChaos: 1.0, enums.ChaoIDStrDeathEgg: 1.0, enums.ChaoIDStrRedCrystalMonsterS: 1.0, enums.ChaoIDStrRedCrystalMonsterL: 1.0, enums.ChaoIDStrGoldenGoose: 1.0, enums.ChaoIDStrMotherWisp: 1.0, enums.ChaoIDStrRCPirateSpaceship: 1.0, enums.ChaoIDStrGoldenAngel: 1.0, enums.ChaoIDStrNiGHTS: 1.0, enums.ChaoIDStrReala: 1.0, enums.ChaoIDStrRCTornado2: 1.0, enums.ChaoIDStrChaoWalker: 1.0, enums.ChaoIDStrDarkQueen: 1.0, enums.ChaoIDStrKingBoomBoo: 1.0, enums.ChaoIDStrOPapa: 1.0, enums.ChaoIDStrOpaOpa: 1.0, enums.ChaoIDStrRCBlockFace: 1.0, enums.ChaoIDStrChristmasYeti: 1.0, enums.ChaoIDStrChristmasNiGHTS: 1.0, enums.ChaoIDStrDarkChaoWalker: 1.0, }
View Source
var RandomChaoWheelCharacterPrizes = map[string]float64{ enums.CTStrSonic: 10.0, enums.CTStrTails: 10.0, enums.CTStrKnuckles: 10.0, enums.CTStrAmy: 10.0, enums.CTStrBig: 6.0, enums.CTStrBlaze: 6.0, enums.CTStrCharmy: 4.0, enums.CTStrCream: 6.0, enums.CTStrEspio: 4.0, enums.CTStrMephiles: 1.0, enums.CTStrOmega: 2.0, enums.CTStrPSISilver: 0.1, enums.CTStrRouge: 4.0, enums.CTStrShadow: 4.0, enums.CTStrSilver: 4.0, enums.CTStrSticks: 6.0, enums.CTStrTikal: 2.0, enums.CTStrVector: 4.0, enums.CTStrWerehog: 2.0, enums.CTStrClassicSonic: 2.0, enums.CTStrMetalSonic: 3.0, }
View Source
var RandomItemListNormalWheel = []string{ enums.ItemIDStrInvincible, enums.ItemIDStrBarrier, enums.ItemIDStrMagnet, enums.ItemIDStrTrampoline, enums.ItemIDStrCombo, enums.ItemIDStrLaser, enums.ItemIDStrDrill, enums.ItemIDStrAsteroid, strconv.Itoa(enums.IDTypeRedRing), }
View Source
var UpgradeIncreases = map[string]int64{
"300000": 250,
"300001": 250,
"300002": 250,
"300003": 300,
"300004": 450,
"300005": 500,
"300006": 500,
"300007": 600,
"300008": 650,
"300009": 700,
"300010": 600,
"300011": 600,
"300012": 650,
"300013": 750,
"300014": 850,
"300015": 950,
"300016": 800,
"300017": 700,
"300018": 1050,
"300019": 1500,
"300020": 2250,
}
Functions ¶
This section is empty.
Types ¶
type AmountRange ¶
func (AmountRange) GetRandom ¶
func (a AmountRange) GetRandom() int64
Click to show internal directories.
Click to hide internal directories.