Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Howto change *_redo.lua IF statement, that the "Farming Redo" Mod is supported #28

Open
JohannesPaulHoffmann opened this issue Dec 17, 2023 · 1 comment

Comments

@JohannesPaulHoffmann
Copy link

Hi,

in order to support the "Farming Redo" Mod, the individual Plant *_redo.lua files can be modified to set (the variable) germ to = "_1", when the case of 0 takes apply.

The Plants get then, when Placed, not Placed as Seeds anymore, but as *_1 State, where "Farming Redo" can work with.

Regards,
Johannes

P.S.: I added Plants to the growing Group, on several locations ("Mapgen, "crop_def", in the 'items.lua' file, "minetest.register_node({})", but brought no effect, but "Farming Redo"s README shows that.

@acmgit
Copy link
Owner

acmgit commented Dec 18, 2023

Cucina_vegana detects farming_redo automatically and works with the right lua-files.

Yes i know this, this is the reason, why i added in the settingtypes "cucina_vegana.plant_settings.germ_launch (Start germ @) int 0".
This is by default 0, change this setting and the crops start at another stage, for example 1.

The problem is, minetest without farming_redo start without problems with stage 0.
With farming_redo installed, you need to set this to 1.

Next problem is, minetest without farming_redo, the seeds named: seed_xxxxx. (xxxx is the name of the crop.)
In farming_redo, the seeds are named: xxxxx_seed.

Than, minetest's declaration of new crops works with one declaration, where you add the number of steps.
In farming_redo, you have to define each stage separate.

Afaik the group "growing" has no effect in the vanilla minetest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants