RustyMods / Seasonality

Valheim plugin to manipulate prefab material textures and colors in order to achieve a seasonal experience.
11 stars 4 forks source link

Are there any plans or possibilities to integrate modded crops (e.g. valharvest / boneappetit)? #20

Open BlackDogTM opened 8 months ago

BlackDogTM commented 8 months ago

Do you plan to add the possibility to add Custom crops like garlic or tomatoes from valharvest to the list of unplantable crops during winter?

RustyMods commented 8 months ago

its already possible using yml configurations :)

BlackDogTM commented 8 months ago

oh great! I just tried and wasn't able to make it work... can you tell me whats wrong with my prefab?

season_spring: [] season_summer: [] season_fall: [] season_winter: ['tomato','potato','rice','garlic','PumpkinSeeds','AppleSeeds',PepperSeeds']

BlackDogTM commented 8 months ago

I've been trying for 4 hours now, this is how my CustomPrefab.yml looks right now:

season_spring: [] season_summer: [] season_fall: [] season_winter:

it still doesn't stop the mentioned crops from growing durin winter. I even checked with the CustomValues.yml that the prefabs are correct.

could it be possible that the function simply doesn't work?

I added the config as a .json file, maybe somethings wrong with my config?

RustyMods.SeasonalTweaks.json

RustyMods commented 8 months ago

you will need to find the prefab names. usually something like: pickable_pepper

BlackDogTM commented 8 months ago

Hi thanks for your replay

I tried it with the prefabs "pickable_..." but it still doesn't work

season_spring: ['Pickable_Tomato','Pickable_Pumpkin','Pickable_Pepper','Pickable_Rice','Pickable_garlic','Pickable_Potato'] season_summer: [] season_fall: [] season_winter:

The log doesn't show any errors when starting, not sure what else I could do :(

RustyMods commented 8 months ago

add: sapling_tomato Pickable_Tomato Pickable_Tomato_wild

BlackDogTM commented 8 months ago

Awesome!

sapling_tomato was the one that was needed

for all the valharvest crops to be disabled during winter one needs to add the following:

Thank you so much!