The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Zodiac Planetariums | Extra Planetarium Choices
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
AgentCucco  [udvikler] 13. juni 2021 kl. 18:16
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})