The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Zodiac Planetariums | Extra Planetarium Choices
 Topik ini telah disematkan, kemungkinan topiknya penting
AgentCucco  [pengembang] 13 Jun 2021 @ 6:16pm
Compatibility Example
I realized a bunch of people aren't gonna download this mod just to add compat to it, so I'd be better if I just post the example here :P

local NewStarSigns = RegisterMod(...) NewStarSigns.Items = { Sign1 = Isaac.GetItemIdByName("Sign 1"), Sign2 = Isaac.GetItemIdByName("Sign 2"), Sign3 = Isaac.GetItemIdByName("Sign 3"), } ---- Zodiac Planetariums compat CCO = CCO or {} -- Stands for Cucco :) CCO.ZodiacPlanetariums = CCO.ZodiacPlanetariums or {} CCO.ZodiacPlanetariums.Items = CCO.ZodiacPlanetariums.Items or {} table.insert(CCO.ZodiacPlanetariums.Items, {ID = NewStarSigns.Items.Sign1, Weight = 1}) table.insert(CCO.ZodiacPlanetariums.Items, {ID = NewStarSigns.Items.Sign2, Weight = 1}) table.insert(CCO.ZodiacPlanetariums.Items, {ID = NewStarSigns.Items.Sign3, Weight = 1})