Mods / CAN Crops

Category: #Other
Author: KenigVovan
Side: Both
Created: Mar 18th at 6:06 AM
Last modified: Mar 25th at 5:29 PM
Downloads: 57
Follow Unfollow 6

Latest file for v1.17.11:
cancrops_v0.1.0.zip 1-click install


WIP mod, only for testing now, do not use without backup for your worlds

Add growth/resistance/speed params to crops' seeds which affect amount of drop/resist for temperature/days for full growth cycle.
Every one of them can be in range of 1 to 10. 
With selection sticks(?) you can get new seeds, between 2 farmland blocks with growing crops place another farmland block with placed 2 
selection sticks and wait before new crop will appear. There is a chance that a weed will apeer instead and eat new crop after that, so use 
shear on farmland block to remove it. New crop can have better stats than parents.

Things which do not work or work not correctly

  • Growth param do not work now
  • Seed from new crop can be get even with stage 1
  • Even stage 1 crops can make a new crop during cross-breeding of crops
  • Weed on the farmland can spawn dead crop now, but won't break selection sticks
  • Selection sticks has to have different name apparently
  • Cross breeding now only has as result the same speccy, you got sunflower and sunflower got a new sunflower but with different stats

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v0.1.0 57 Mar 25th at 5:29 PM Show cancrops_v0.1.0.zip Install now

4 Comments (oldest first | newest first)

💬 Maudslay, 4 days ago

KenigVovan

When is the mod being updated as i'm getting frequent crashes and I just got this today.

System.InvalidCastException: Unable to cast object of type 'Vintagestory.GameContent.BlockEntityFarmland' to type 'cancrops.src.CANBlockEntityFarmland'.
at Vintagestory.GameContent.BlockFarmland.OnBlockInteractStart_Patch0(BlockFarmland this, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseBlock(Block selectedBlock, BlockSelection blockSelection) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 867
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 571
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 89
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 197
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 789
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 981
at Vintagestory.Client.GuiScreenRunningGame.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 243
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 724
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 627
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 126
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 479
at OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 454
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 375
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

No other mod does what this does and I love it. Thanks

💬 KenigVovan, Mar 26th at 3:26 PM

Dragonsmen

for now I do not alter the growth time or anything in cropProps for plants, but I'm going to add patches for totalGrowthMonths, yes. This patches can be used under the condition that FoG is not
intalled, for example.
Yes, something like agricraft/ic crops

💬 Dragonsmen, Mar 26th at 9:16 AM

Is this similar to AgriCraft on MC also would it break something like Fields of Gold that alter growth times

💬 Thranos, Mar 26th at 1:29 AM

I'll be watching this one with great interest, seems like a very cool concept.

(edit comment delete)