Esempio n. 1
0
        private static void onStrawberryConstructor(On.Celeste.Strawberry.orig_ctor orig, Strawberry self, EntityData data, Vector2 offset, EntityID gid)
        {
            orig(self, data, offset, gid);

            // save the value for SpringCollab2020_ignoreLighting to the DynData for the strawberry.
            new DynData <Strawberry>(self)["SpringCollab2020_ignoreLighting"] = data.Bool("SpringCollab2020_ignoreLighting");
        }
Esempio n. 2
0
 void PatchNewBerry(On.Celeste.Strawberry.orig_ctor orig, Strawberry self, EntityData e, Vector2 v, EntityID i)
 {
     orig(self, e, v, i);
     PatchAutoBubble(self, e);
 }