A mod for My Winter Car, Small tweaks for improved logic clothes
I was embarrassed to post the source code because it consists of vibecode, but this moment had to come
The mod settings are flexible, practically everything can be disabled
The mod supports custom skins
The mod contains a simple API for modders.
For example
using Expanded_Clothes;
// ...
private void Mod_OnLoad()
{
if (ModLoader.IsModPresent("Expanded_Clothes"))
{
// Use handlers so that if the player has not installed the mod,
// no errors appear in the console
// DO NOT MAKE YOUR MOD DEPENDENT ON MINE IF IT IS NOT NECESSARY
EX_Load();
}
}
private void EX_Load()
{
// USE OWN MODID
// create shelf
Expanded_Clothes.API.Shelf("MODID", new Vector3(0f, 0f, 0f), new Vector3(270f, 0f, 0f));
// create coat rack with random hats (boolean true)
Expanded_Clothes.API.CoatRack("MODID", new Vector3(0f, 0f, 04f), new Vector3(0f, 0f, 0f), true);
// create washer
Expanded_Clothes.API.Washer("MODID", new Vector3(0f, 0f, 0f), new Vector3(0f, 0f, 0f));
}API.Register see in Futufon.cs
Huge thanks
honeycomb936: idea with mod, help with code
DUBOVYK: high-quality hand textures
traxr: high-quality clothes
cinnerax: high-quality 3d-models
Script from HowMuchIsLeft: for cloth status ItemContentDescription.cs used in StateDirty.cs
