mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Sex props plus quiver visuals
This commit is contained in:
parent
f275ed90ae
commit
4a2905c7fc
152 changed files with 1985 additions and 184 deletions
|
@ -144,7 +144,7 @@ namespace RimWorldAnimationStudio
|
|||
|
||||
public void SaveCustomArrays()
|
||||
{
|
||||
var path = Path.Combine(Application.streamingAssetsPath, "customTags.xml");
|
||||
var path = Path.Combine(Application.persistentDataPath, "customTags.xml");
|
||||
|
||||
CustomTagsHelper helper = new CustomTagsHelper();
|
||||
|
||||
|
@ -159,8 +159,14 @@ namespace RimWorldAnimationStudio
|
|||
|
||||
public void LoadCustomArrays()
|
||||
{
|
||||
var path = Path.Combine(Application.streamingAssetsPath, "customTags.xml");
|
||||
string path;
|
||||
|
||||
if (File.Exists(Path.Combine(Application.persistentDataPath, "customTags.xml")))
|
||||
{ path = Path.Combine(Application.persistentDataPath, "customTags.xml"); }
|
||||
|
||||
else
|
||||
{ path = Path.Combine(Application.streamingAssetsPath, "customTags.xml"); }
|
||||
|
||||
if (File.Exists(path) == false)
|
||||
{ SaveCustomArrays(); return; }
|
||||
|
||||
|
@ -186,7 +192,13 @@ namespace RimWorldAnimationStudio
|
|||
|
||||
public void LoadAlienRaceDefs()
|
||||
{
|
||||
var path = Path.Combine(Application.streamingAssetsPath, "alienRaceDefs.xml");
|
||||
string path;
|
||||
|
||||
if (File.Exists(Path.Combine(Application.persistentDataPath, "alienRaceDefs.xml")))
|
||||
{ path = Path.Combine(Application.persistentDataPath, "alienRaceDefs.xml"); }
|
||||
|
||||
else
|
||||
{ path = Path.Combine(Application.streamingAssetsPath, "alienRaceDefs.xml"); }
|
||||
|
||||
if (File.Exists(path) == false)
|
||||
{ SaveAlienRaceDefs(); return; }
|
||||
|
@ -197,7 +209,7 @@ namespace RimWorldAnimationStudio
|
|||
|
||||
public void SaveAlienRaceDefs()
|
||||
{
|
||||
var path = Path.Combine(Application.streamingAssetsPath, "alienRaceDefs.xml");
|
||||
var path = Path.Combine(Application.persistentDataPath, "alienRaceDefs.xml");
|
||||
|
||||
XmlUtility.WriteXML(AlienRaceDefs.allDefs, path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue