Steal An EggDocumentation← Portfolio

#Code Reference

#Configuration map

Everything tunable sits in ReplicatedStorage.SharedConfig.

KeyHolds
Config.FlagsMaster switches for every major feature
Config.Rarities, RarityById, RarityIncomeMul, RarityBaseWeight, RarityGrowSeconds, RarityPetScaleRarity ladder and every per-rarity multiplier
Config.Zones, ZoneById, ZoneLookBiomes, Speed gates, X ranges, guardian ids, HUD colours
Config.Guardian, GuardianStatsChase behaviour and per-biome guardian speeds
Config.EggsNest counts, pickup rules, carry constants, drop rules
Config.Bats, BatById, BatByZone, BearTrapTool tables
Config.Treadmills, TreadmillById, Training, MovementSpeed progression
Config.Trails, TrailById, TrailColors, TrailIcons, TrailProductsTrail table and visuals
Config.Mutations, MutationById, MutationColors, MUTATION_ROLL_DENOMINATOR, MUTATION_SHARD_CHANCEMutation table and roll rules
Config.Size, SizeByIdWeight buckets and the diminishing-returns curve
Config.Pets, PetById, PetIncome, PetRarityThresholds, PetsByBiome, PetsByRarityPet catalog mirrors used by the index and UI
Config.PenBase pet slots per level
Config.FusionInputs, upgrade chances, inheritance
Config.EconomyTick rates, save interval, Grow All pricing, friend bonus
Config.IndexIndex reward multipliers
Config.Shop, ExclusiveShop, MonetizationDisplay catalogs and purchase fulfilment
Config.Events, SakuraIncubatorEvent periods and rewards
Config.Admin, Security, RNGConsole access, rate limits, deterministic seed
Config.UISounds, UIAnimation, UIIcons, HudLabelsInterface tuning
Config.WikiSourceCommunity wiki provenance (module names and fetch date)

#Server services

ServerScriptService.Services — loaded in order by ServerScriptService.Bootstrap.

ServiceResponsibility
GuardShared RNG, uid generation, validation, rate limits, suspicion flags
DataServiceProfile store, migrations, autosave, shutdown flush
PlayerStateServicePer-player runtime state, snapshots and deltas to the client
PlotServiceBase assignment, bounds, local/world coordinate helpers
BaseVisualsServiceBase colour and collision by pen level
SpeedServiceSpeed storage, walk-speed curve, zone unlocks, stun
EconomyServiceCash reads, spends and payouts
TreadmillServiceBelt detection, skins, purchases, Speed per step
TrailServiceTrail ownership, equipping and visuals
ZoneServiceZone tagging, lookups, pushback, teleport
MutationServiceSize rolls, natural and event mutations, income maths
EggSpawnServiceNest building, egg spawning, claim/return/consume
EggCarryServicePickup, carry weld, delivery, drops and losses
GuardianServiceGuardian models, wake, chase, catch, egg recovery
GrowthServiceGrowing models, timers, visual stages, selling, Grow All
HatchServiceHatch validation, mutation roll, ceremony, delivery
PetServicePet models, placement, slots, selling, best-pet equipping
IncomeServiceIncome recomputation and the payout tick
IndexServiceDiscoveries, pet/zone/bat rewards, catalog payload
FusionServiceFusion validation, upgrade roll and inheritance
FriendBonusServiceFriend counting and the income bonus
MonetizationServicePasses, products and receipt processing
LeaderboardServiceleaderstats, physical board and global board
EventServiceEvent windows and state exposed to other systems
RiftService, RiftEventServiceRift sacrafice, banners, overlord encounter
GreatBloomService, AngelsDemonsServiceBloom crystals and the Angel/Demon rotation
SpecialEggServiceSpecial egg pools, decorators and announcements
NightServiceDay/night cycle, night wall, growth speed-up
ToolServiceBats, bear traps, swings, knockback
ItemServiceEgg and pet items, placement validation, tools in the hotbar
PetRoamService, PetPreviewServicePlaced-pet wandering and preview models
RewardsServiceFree gift and badge awards
PetGrantServicePet granting used by rewards and events
BoostServiceTimed boosts, boss shop, admin abuse
ExpansionWorldExpansion geometry, teleports and point helpers
LabelServiceHolograms, speed signs, base and seller labels
ModelLibraryEgg, pet, nest and guardian model building
WorldInteractionServicePrompts and hologram interaction
RemoteHandlerRemote dispatch and the action allow-list
TutorialServiceTutorial state and the red-line guide
AdminServiceConsole commands
FeatureServices, FeatureTests, TestHarnessFeature wiring and the test suites

#Remotes

ReplicatedStorage.Remotes is created at runtime by ReplicatedStorage.Shared.Net.

KindNames
RemoteEventSnapshot, Delta, World, Notify, Ready, Announce, Fade
RemoteFunctionRequest, PetPreview

Every client request goes through Request and must name an allowed action:

buyTreadmill  buyTrail  equipTrail  unequipTrail  buyPetSlot  equipBestPets
placePet  unplacePet  sellPet  sellAllPets  sellEgg  sellAllEggs  hatchEgg
growAll  dropEgg  fusion  claimIndex  setSetting  teleportZone  adminCommand
upgradePen  shrineFuse  luminousReroll  claimFreeGift  featureState
bossShopBuy  riftSacrifice  useMutationShard  enterRift  leaveRift
chargeIncubator  incubateEgg  openMonsterChest  placeItem  pickUpPet

#Client

StarterPlayer.StarterPlayerScripts.ClientMain boots the UI: UIKit, UISounds, Windows, State, Hud, TutorialGuide and the panels Shop, Eggs, Admin, Index, TrailShop, Pets.

Supporting client modules cover feel and feedback: ChaseAlert, TrapAlert, RegionBanner, EggPrompt, EggHop, EggPickupGate, Hotbar, ItemPlacement, PetHold, PetSmoother, PetWalkAnimation, GuardianSmoother, TreadmillRunner, NightTimer, NightAudio, Music, Announcements, ScreenFade, SpawnCamera, SpecialRegions and BaseVisuals.

#Server storage

InstancePurpose
EggForge, EggBuild, EggSpecsEgg model construction and per-pet egg specs
PetForge, PetBuildPet model construction
NestForgeNest models
ExpansionPetSpecs, ExpansionEggSpecs, ExpansionModelBuildExpansion (angel/demon) content
SAE_Tools, PetPartsRepairTools, BearTrap, RuntimeTool models and runtime scratch space

#Where to change what

TaskEdit
Rebalance rewardsConfig.Pets, Config.Rarity*, Config.Size, Config.Mutations
Add a biomeappend to Config.Zones, add a RAW block in Catalog, add geometry to Workspace.Map, add a guardian to Config.GuardianStats
Add a petextend the biome list in Catalog.RAW (or RAW_EXTRA / RAW_RIFT) and add its income to Config.PetIncome
Retune the chaseConfig.Guardian, Config.GuardianStats
Retune economyConfig.Economy, Config.Pen, Config.Treadmills, Config.Trails
Enable an eventthe matching Config.Flags entry plus Config.Events / Features
Go live with purchasesfill Config.Monetization ids and align Config.Shop prices