Mods / Immersive Phototrophy

Category: #Food
Author: OmegaHaxors
Side: Both
Created: Sep 14th 2021 at 1:14 AM
Last modified: Sep 26th 2021 at 8:02 AM
Downloads: 623
Follow Unfollow 0

Hate eating all the time? Think that hunger mechanics are more annoying than they are fun?
Become a plant. They can make energy from the sun, skipping the eating process completely!

Simply type /photosynthesis to become a plant. If you type it again, you'll turn back into a boring mundane animal.
While a plant, you restore energy when in light. Not just sunlight, but also held light, block light, and even light coming off of entities.
Your plant skin will also generate sugar and inject it right into your blood, giving you a sugar rush. The more light, the faster you go.

All values are based on real life. A lot of research and effort went into ensuring a perfect balance, backed up by real world values.
It's not all good though, there's downsides. Your heavy plant skin will make you 20% slower. Clothing and armor also blocks light.
This means that you'll have to put up with harsher winters, will be more vulnerable to enemy attacks, and will likely live in a greenhouse.

By typing /exposure, you can get a quick look at how much energy you are producing and how much skin is exposed.
The more skin is exposed, the more energy you will produce and the faster you will go, negating the downside.
Even though at maximum exposure, you'll still move 10% slower than normal when relying on torchlight.

Do you think torches are too overpowered? Nerf block light values by downloading World of Darkness!

Hopefully this passion project of mine makes for a unique and enjoyable experience for all who download.
Please leave feedback on the forum thread, and let me know what you think about the new mechanic:

Version For Game version Downloads Release date Changelog Download
v0.2.2 180 Sep 26th 2021 at 8:02 AM Show
v0.2.1 144 Sep 24th 2021 at 3:48 AM Show
v0.2.0 142 Sep 22nd 2021 at 7:50 PM Show
v0.0.1 157 Sep 14th 2021 at 1:15 AM Show

6 Comments (oldest first | newest first)

OmegaHaxors, Feb 8th at 11:58 AM

TODO features:
Add "sterile gut" trait: Cannot gain saturation-immunity from cooked meals
Reduce saturation gain from eating across the board while Phototrophic
Impliment "hard skin" trait, reducing armor-blockable damage by 50%
Add sunbathing mechanic, allowing users to sleep in the sun to restore saturation
Make herbivore animals such as bunnies track and bite at Phototrophic players
Phototrophic players drop special food items on death to encouraging PvP
More gameplay-friendly way to modify Phototropic tag that dosen't rely on the /photosynthesis command
Add support to the Phototropic tag to allow for precentages instead of just being a "if not null" check
Add benefits and penalties at various phototrophy precentages. For example: Can't eat at all at 100%
Better handling of Exposure, primarly on clothing items that cover more or less than average for that slot
Add "Leaf" Armor which automatically exposes that slot to light, even if clothing underneath blocks it

TODO mod support:
Add support for Aspyxia allowing Phototrophic players to breathe in carbon dioxide
Add support for Oxygen Not Included allowing Phototrophic players to restore oxygen with light
Add support for VSMovement Mod allowing Phototrophic players to restore stamina with light

OmegaHaxors, Oct 23rd 2021 at 4:45 PM

Actually that was the original plan... but
The class system is hot trash and miserable to work within.
Any attempts to impliment it have been permenentaly cancelled.
What ideas I did have made it into this, or are planned for the future.

The mod works by giving your player the phototrophic tag. The value dosen't matter, as long as it's not null.
It checks if you have the tag, and if you do, it runs the calculations. If you don't it will just skip over you completely.
Knowing this, you can impliment your own class if you can figure out how to give them that tag on character creation.

I'll give you a hint; it's way harder than is even remotely reasonable and may actually be impossible. Save your time.
But if you can figure it out, awesome. Feel more than free to make your own mod and have this one as a dependancy.

The mod is still subject to change/improvement as the game's API opens up, and as I figure out how to do things.

l33tmaan, Oct 21st 2021 at 4:20 PM

I think that was the original goal? DArkHekRoMaNT

DArkHekRoMaNT, Oct 21st 2021 at 12:18 PM

Have you thought about adding instead of a command - a separate plant class (possibly optional)? :)

OmegaHaxors, Oct 19th 2021 at 12:56 PM

Thanks for the feedback, Theisgood.
Don't worry too much about it, just go outside and watch your hunger bar restore.
You'll get a general feel of how much light you're getting by how fast you move.
If you're too slow or hungry, take some clothing/armor off and get some sunshine.

Theisgood, Sep 27th 2021 at 8:40 PM

Such a cool mod idea.


Its intimidating to me but I think if I just try it I can make it work.


Once again this is super unique and different. 

delete edit