You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we need to use C# for the seasons, we should only do it to the extent needed. setting up a season cycle that can be manipulated in xml or something? I still think we need to keep our defs and texture assignments in xml if possible (like vanilla does).
According to dingo, this may not be too easy.
This is the current code that changes the plants to lose leaves:
inPlantProperties(<plant>)
public void PostLoadSpecial(ThingDefparentDef){if(!this.leaflessGraphicPath.NullOrEmpty()){LongEventHandler.ExecuteWhenFinished(delegate{this.leaflessGraphic=GraphicDatabase.Get(parentDef.graphicData.graphicClass,this.leaflessGraphicPath,parentDef.graphic.Shader,parentDef.graphicData.drawSize,parentDef.graphicData.color,parentDef.graphicData.colorTwo);});}}
The text was updated successfully, but these errors were encountered:
If we need to use C# for the seasons, we should only do it to the extent needed. setting up a season cycle that can be manipulated in xml or something? I still think we need to keep our defs and texture assignments in xml if possible (like vanilla does).
According to dingo, this may not be too easy.
This is the current code that changes the plants to lose leaves:
The text was updated successfully, but these errors were encountered: