Plants Core

If you liked this item, please rate it up on Steam Workshop page.

Author: Uncertainty

Last revision: 3 Sep, 2021 at 00:40 UTC

File size: 968.7 KB

On Steam Workshop

Description:
What This Is

THIS DOES NOT OVERHAUL ANYTHING ON ITS OWN
This is a Core file For my PVZ mod which contains All Code used and unused, which contains Useful Comps, and a Patch (Which makes Autoharvest possible) that can be used in future projects.

CompProperties_AutoHarvest

This Comp (Really is more of a Tag) Harvests the Plant instantly when Mature. (100%)
Useful for plants created by the player but not in a growing zone.
(Has no customizability)

CompProperties_AutoDesigHarvest

This Comp (Really is more of a Tag) Auto Designates the Plant to harvest when Mature. (100%)
Useful for plants created by the player but not in a growing zone.
(Has no customizability)

CompProperties_DummyReplace

This Comp Auto Replaces a dummy building with another thing def you set.
This is what I used to make the Sunflower plantable.

CompProperties_ArmingReplace

This Comp Auto Replaces a Building after a set time to another thing def.
I use this for the potato mine.

CompProperties_AutoClaim

This Comp Auto Claims a Building. (Has no customizability)
I use this for the potato mine when it is swapped.

CompProperties_Deterioration

This Comp is to make an item deteriorate at a set rate.
Requires TickerType normal.
This is used for Sun to deteriorate no matter the location.

License

Feel Free to use this in any of your mods, Just don’t take the patches from the code as I don’t want to know what happens when you have 4 of the same checks in one game. Also please credit me when doing so.