Skip to content

Commit

Permalink
0.1.5.0 release
Browse files Browse the repository at this point in the history
Bug fixes: #82, #72 ?, #87
Features: #24, #41, #28
  • Loading branch information
FilUnderscore committed Feb 21, 2021
1 parent 0f5e01c commit 6550540
Show file tree
Hide file tree
Showing 35 changed files with 687 additions and 224 deletions.
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

# Custom
*.zip
Assemblies/*.dll
Assemblies/*.xml
*.bat
Assemblies/
Depend/
Tools/

# User-specific files
*.suo
Expand Down
2 changes: 1 addition & 1 deletion About/Manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Manifest>
<identifier>PersistentRimWorlds</identifier>
<version>0.1.4.0</version>
<version>0.1.5.0</version>
<dependencies>
<li>Harmony</li>
</dependencies>
Expand Down
7 changes: 3 additions & 4 deletions Languages/English/Keyed/Keys.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<FilUnderscore.PersistentRimWorlds.Convert.World>Converting world to persistent world</FilUnderscore.PersistentRimWorlds.Convert.World>
<FilUnderscore.PersistentRimWorlds.Convert.Complete>Conversion for world {0} is complete. The persistent world will now be saved as {0} and can be loaded through the Persistent RimWorlds menu.</FilUnderscore.PersistentRimWorlds.Convert.Complete>
<FilUnderscore.PersistentRimWorlds.Convert>Convert</FilUnderscore.PersistentRimWorlds.Convert>
<FilUnderscore.PersistentRimWorlds.Delete.Colony.Click>Click to delete this colony.</FilUnderscore.PersistentRimWorlds.Delete.Colony.Click>
<FilUnderscore.PersistentRimWorlds.Delete.Colony>Delete Colony</FilUnderscore.PersistentRimWorlds.Delete.Colony>
<FilUnderscore.PersistentRimWorlds.Delete.Colony.Desc>Are you sure you want to delete {0}? Press delete to confirm deletion, convert to convert this colony into a colony run by AI, or cancel this action.</FilUnderscore.PersistentRimWorlds.Delete.Colony.Desc>
<FilUnderscore.PersistentRimWorlds.Delete.Colony.Convert>Convert</FilUnderscore.PersistentRimWorlds.Delete.Colony.Convert>
<FilUnderscore.PersistentRimWorlds.Delete.World.Click>Delete persistent world.</FilUnderscore.PersistentRimWorlds.Delete.World.Click>
<FilUnderscore.PersistentRimWorlds.Delete.World>Delete Persistent World</FilUnderscore.PersistentRimWorlds.Delete.World>
<FilUnderscore.PersistentRimWorlds.Delete.World.Desc>Are you sure you want to delete {0}? Press delete to confirm deletion, convert to convert this world to a single colony game, or cancel this action.</FilUnderscore.PersistentRimWorlds.Delete.World.Desc>
Expand All @@ -27,6 +23,9 @@
<FilUnderscore.PersistentRimWorlds.Colony.ColonyLeader>Colony leader: {0}</FilUnderscore.PersistentRimWorlds.Colony.ColonyLeader>
<FilUnderscore.PersistentRimWorlds.Colony.Favourite.Add>Add to favourites</FilUnderscore.PersistentRimWorlds.Colony.Favourite.Add>
<FilUnderscore.PersistentRimWorlds.Colony.Favourite.Remove>Remove from favourites</FilUnderscore.PersistentRimWorlds.Colony.Favourite.Remove>
<FilUnderscore.PersistentRimWorlds.Colony.Abandon>Abandon Colony</FilUnderscore.PersistentRimWorlds.Colony.Abandon>
<FilUnderscore.PersistentRimWorlds.Colony.Abandon.Desc>Are you sure you want to abandon {0}? You will be returned to the main menu.</FilUnderscore.PersistentRimWorlds.Colony.Abandon.Desc>


<!-- Persistent Worlds - Loading -->
<FilUnderscore.PersistentRimWorlds.Loading.World>Loading persistent world</FilUnderscore.PersistentRimWorlds.Loading.World>
Expand Down
39 changes: 25 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
# Persistent RimWorlds
Turns a RimWorld into a Persistent RimWorld; explore fallen colonies where pirates may lurk and stop by your predecessors.

This RimWorld mod allows you to convert any chosen 'game' (save file) into a persistent rimworld, which will allow you to have multiple colonies on the same world.
This RimWorld mod allows you to convert any chosen 'game' (save file) into a persistent rimworld, allowing you to have multiple colonies on the same world. The Persistent RimWorlds mod can be accessed through the main menu.

I aim to have this mod compatible with many other mods out there, so this mod runs primarily using Harmony to patch, however checking first if have loaded in a persistent world - in order to not interfere with single colony games. The persistent world list can be accessed through the main menu,

## Development
This mod will require extensive testing and so any help is appreciated in stabilizing mod support as well as end-game support as there is still a lot of testing that needs to be conducted and bugs to be fixed, as well as features to be implemented. Any contributions are welcome that improve mod compatibility, bugs or improvements on current mod features. Any suggestions can be reported in the Issues tab with using the 'enhancement' label. Any bugs that need to be reported can be labeled with the 'bug' label.

### Branches
`stable` - The latest stable version of the mod, i.e. pre-release/official release.

`dev` - The latest unstable development version of the mod, i.e. the next version for release in-development.

## Features
## Features*
- Start a new colony using a world from a previous save.
- Trade with previous colonies throughout the world. (This may include trading using the actual inventories of said colonies)
- Visit old maps from previous abandoned colonies. (This is a dice roll event, either - structures will be degraded over time OR pirates will have settled in to your surprise when you try to resettle)
Expand All @@ -24,6 +14,27 @@ This mod will require extensive testing and so any help is appreciated in stabil

\* This list may change over time as the mod progresses in development.

## Branches
`stable` - The latest stable version of the mod, i.e. pre-release/official release.

`dev` - The latest unstable development version of the mod, i.e. the next version for release in-development.

<details>
<summary>Development, Testing & Compatibility</summary>

I aim to have this mod compatible with many other mods out there, so this mod
runs primarily using Harmony to patch. It however checks first if a persistent
world is present - in order to not interfere with single colony games.

This mod will require extensive testing, and so any help is appreciated in
stabilizing mod support as well as end-game support. This is because there
is still a lot of testing that needs to be conducted and bugs to be fixed,
as well as features to be implemented. Any contributions are welcome that
improve mod compatibility, bugs or improvements on current mod features. Any
suggestions can be reported in the Issues tab with using the 'enhancement'
label. Any bugs that need to be reported can be labeled with the 'bug' label.
</details>

## Contributions
- Brrainz for [Harmony](https://github.com/pardeike/Harmony)
- Fluffy for the [Color Picker](https://github.com/FluffierThanThou/ColourPicker)
- [Brrainz](https://github.com/pardeike) for [Harmony](https://github.com/pardeike/Harmony)
- [Fluffy](https://github.com/FluffierThanThou) for the [Color Picker](https://github.com/FluffierThanThou/ColourPicker)
18 changes: 13 additions & 5 deletions Source/PersistentRimWorlds/Logic/PersistentColony.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class PersistentColony : IExposable
/// File info used to fetch information such as last write time.
/// </summary>
public FileInfo FileInfo;

/// <summary>
/// Main source of data for colony information.
/// </summary>
Expand All @@ -24,7 +24,14 @@ public class PersistentColony : IExposable
/// </summary>
public PersistentColonyGameData GameData = new PersistentColonyGameData();
#endregion


#region Constructors
public PersistentColony()
{
}

#endregion

#region Methods
/// <summary>
/// Saving/loading of colony data.
Expand All @@ -35,16 +42,17 @@ public void ExposeData()

Scribe_Deep.Look(ref GameData, "gameData");
}

/// <summary>
/// Used in conversion/saving of the current colony in-game.
/// </summary>
/// <param name="persistentWorld"></param>
/// <param name="game"></param>
/// <param name="colonyColonyData"></param>
/// <returns></returns>
public static PersistentColony Convert(Game game, PersistentColonyData colonyColonyData = null)
public static PersistentColony Convert(PersistentWorld persistentWorld, Game game, PersistentColonyData colonyColonyData = null)
{
var persistentColony = new PersistentColony
var persistentColony = new PersistentColony()
{
ColonyData = PersistentColonyData.Convert(game, colonyColonyData),
GameData = PersistentColonyGameData.Convert(game)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class PersistentColonyGameData : IExposable

#region Fields
public sbyte CurrentMapIndex;
public int MapSize;
public int MapSize; // TODO: Make an option in "Edit Persistent World" settings menu (to be implemented).

private GameInfo info = new GameInfo();
private GameRules rules = new GameRules();
Expand Down
1 change: 1 addition & 0 deletions Source/PersistentRimWorlds/Logic/PersistentColonyLeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public sealed class PersistentColonyLeader : IExposable

public bool Set => !UniqueId.NullOrEmpty() && Name != null;

// Due to the nature of IExposable.
public PersistentColonyLeader()
{
}
Expand Down
Loading

0 comments on commit 6550540

Please sign in to comment.