0.86.3 small bugfix/optimization update!
This is a small bugfix/optimization update. I found out a callback I used to detect when memory doesn't work on windows and linux, so I wrote some custom code to detect that instead. If you were running a bunch of mods or/and have a device with not a lot of ram this update should help make game run better. It also fixes a bunch of bugs and adds some features to use by modders.
Download it here.
As always thanks for your support!
Edit: Updated link to 0.86.3
0.86.3 changelog:
Small:
Made game limit fps to 30 when minimised/unfocused.
Added a check to warn players when game cannot save files internally
Bugfixes:
Fixed a bug that caused some of the contracts to be impossible to finish.
Fixed a bug that let you move panties with pants on in cowgirl scene.
Fixed a bug that caused mc to get stuck when manualy thrusting in cowgirl scene.
Fixed a bug that caused heart eyes to switch on and off in cowgirl scene.
Modding:
Changed automatically generated mod to name second variable "itemid" instead of "item"
Made automatically generated mods use a lua "do end" scope instead of awkwardly setting variables to nil
You can now use "ItemPrefabManager.GetItemById()" to access items already in the game to for example copy them and use them in the mods.
0.86.2 changelog:
When removing items during scenes you can now choose what to remove. This fixes the issue where modded hair had to be removed before any clothing.
Fixed a black screen when starting the game on android
0.86.1 changelog:
Small:
Game will now try to free up memory if available memory gets low. Previously it relied on unity's lowMemory callback which sucks and doesn't work on windows and linux.
Fixed a bug that caused game to not launch if you changed a volume on a device running in a locale where floating point numbers use a different format than a dot as a separator between whole and fractional part of the number.
Couple new tshirts
Made plain clothes a bit more likely to appear in shops
Fixed a bug where second karaoke event in translations would have a wrong dialogue
Fixed a bunch of other issues with translations
Modding:
You can now access a lot of game's resources using the "R" variable (R stands for resources). Right now it's not that useful, but will be in the future. For example:
R.Sound - All sound effects used in game
R.Music - All music used in gameAdded methods to ItemPrefab:
SetRainbowShader() - Makes item use rainbow shader like in rainbow hair
SetMovingTextureShader(IReference<Texture2D> textureReference = null) - Makes item use moving texture shader(By default uses galaxy texture like in galaxy hair, but any texture can be assigned)
ModUtlities.GetAsSprite() is now obsolote and internally calls new method ModUtilities.GetSpriteReference() also changed the TextureOverriderManager to use references to resources instead of resources to maintain backwards compatibility
Added ModUtilities.GetTextureReference(Guid modGuid, string path), which returns a reference to a texture that can be used for example in SetMovingTextureShader
In advanced mod creator:
Added a way to merge packed texture containers
Added a way to split off packed texture to a new packed texture container
Fixed a bug where merging a layer in packed texture container would delete packed textures with different target
