ZephtSun

v1.0.0·Updated 2024-10-07

A utility mod for the PvZ mod that adds its own Sun currency that is tracked by a counter next to the scales.

About this mod Author’s original text

Plants vs Zombies SUN UTILITY

This is a Utility mod, branched out of the original PvZ mod. This is to allow more customisation with further modding and such.

What is the Sun Cost??

The sun cost is somewhat like a blend between energy and bones, but with its own twist on it of course.

  • You start each battle with 3 sun
  • Gain 1 sun per round
  • Sun producing cards can, as implied by the name, produce more sun with their sigils
  • Most plant cards cost sun to play, even the sun producers in the side deck
  • The sun cost is displayed in front of the scales

Installation (automated)

This is the recommended way to install this mod.

  • Download and install Mod Manager or r2modman
  • Click Install with Mod Manager button on top of the page
  • Run the game via the mod manager

Installation (manual)

This is not the recommended way but can be done if necessary.

  • Download the zip file
  • Move the.dll within into your Plugins folder
  • Also install all of this mod's dependencies

Feedback and suggestions

If you have any feedback whether it be bugs, balancing or just something in general, feel free to ping me in the inscryption modding discord.

My discord: ZephtHepto, Inscryption modding discord.

How mod makers can also use the sun cost

If you wish to expand on my mod in areas I haven't yet gotten around to, or just make your own thing using the sun cost, you can do so!

The mod includes 2 extended properties "SunCost" which defines a card as costing X amount of sun, and "Sunmaker" which makes some sigils produce X amount of sun.

If you are coding in C#, you need to add this extended property to your card:

CardInfo myCard =...;

myCard.SetExtendedProperty("SunCost", 1);

If you are making a card in JSON, you need to add the extended property like this:

{

"name": "MyCard",

"extensionProperties": {

"SunCost": "1"

}

}

Changelog

Changelog

v1.0.0

  • Released the build publicly

Sigil List

Custom Sigils

| Name | Effect |

| ---------------|---|

| SunMaker 1 | At the end of the owner's turn, a card bearing this sigil will produce 1 sun.|

| SunMaker 2 | At the end of the owner's turn, a card bearing this sigil will produce 2 sun.|

| SunMaker 3 | At the end of the owner's turn, a card bearing this sigil will produce 3 sun.|

| SunMaker X | At the end of the owner's turn, a card bearing this sigil will produce X sun. [Based on Sunmaker] |

| SunKill | When a card bearing this sigil defeats another card, the other card will drop 3 sun. [Based on Sunmaker] |

| SunBoost | When a card bearing this sigil defeats another card, the other card will drop 3 sun. [Based on Sunmaker] |

Challenge List

Custom Challenges

  • Night Time - You will no longer get passive sun falling from the sky.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack_InscryptionAPI_dev-API

File & checksum

Filename
ZephtSun-1.0.0.zip
File size
41.9 KiB