Skip to content

Commit

Permalink
Ported to Rimworld v1.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeseekr committed Jan 29, 2022
1 parent f8e623f commit e4dc7fc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ The Zero-Point Energy Field is very real. Please see https://en.wikipedia.org/wi
v1.0.0: 2021-06-17
* Initial Release

v1.1.0: 2022-01-29
* Released to Steam Workshop.
* Ported to the Linux build system for Rimworld mods.
* Fixed the long-standing sizing bug.
* Ported to Rimworld v1.3.
9 changes: 7 additions & 2 deletions Source/ZPM/Building_ZPM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@ static Building_ZPM()
foreach (var powerState in powerStates)
{
var graphic = new Graphic_Single();

#if RIMWORLD12
GraphicRequest request = new GraphicRequest(Type.GetType("Graphic_Single"),
$"Things/Buildings/ZPM-{powerState}", ShaderDatabase.DefaultShader, new Vector2(1, 2), Color.white,
Color.white, new GraphicData(), 0, null);

#endif
#if RIMWORLD13
GraphicRequest request = new GraphicRequest(Type.GetType("Graphic_Single"),
$"Things/Buildings/ZPM-{powerState}", ShaderDatabase.DefaultShader, new Vector2(1, 2), Color.white,
Color.white, new GraphicData(), 0, null, null);
#endif
graphic.Init(request);
chargeGraphics.Add(powerState, graphic);
}
Expand Down
6 changes: 4 additions & 2 deletions ZPM/About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</supportedVersions>
<author>HopeSeekr</author>
<url>https://github.com/BetterRimworlds/ZPM/</url>
<description>Version: 1.0.0
<description>Version: 1.1.0
The Archotech ZPM slowly converts Dark Energy into electricity, for free, but has an outsided capacity of 20,000 Watts.
It also steadily draws power from the Zero-Point Energy Field and stores it a highly charged pocket of subspace.

Expand All @@ -18,12 +18,14 @@ It is capable of powering an entire settlement for days on end..

It is highly recommended that you do not allow it to get above 75% full capacity.

Non Steam Downloads and GitHub Repositories of this mod is available at: https://github.com/BetterRimworlds/Archotech-ZPM/
Non Steam Downloads and GitHub Repositories of this mod is available at: https://github.com/BetterRimworlds/ZPM/

If you already have the BetterRimworld's Stargate mod, you will be able to research how to build your own ZPMs, at a considerable
cost. See https://github.com/BetterRimworlds/Rimworld-Stargate

Want your pawns to live forever young and healthy? Check out BetterRimworld's Cryogenesis:
https://github.com/BetterRimworlds/CryoRegenesis


</description>
</ModMetaData>

0 comments on commit e4dc7fc

Please sign in to comment.