Ethereal replaced ethereal:strawberry #6438

Open
opened 2024-03-10 19:48:51 +00:00 by AliasAlreadyTaken · 4 comments

Ethereal seems to have removed its strawberries and "replaced" them by farming strawberries (which we then replace by bushes:strawberry):

2024-03-10 19:23:49: ERROR[Main]: ModError: Failed to load and run script from /home/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:
2024-03-10 19:23:49: ERROR[Main]: ...8.0/Minetest_test/bin/../mods/yl_commons/util/groups.lua:6: attempting to override unknown item ethereal:strawberry
2024-03-10 19:23:49: ERROR[Main]: stack traceback:
2024-03-10 19:23:49: ERROR[Main]: 	[C]: in function 'error'
2024-03-10 19:23:49: ERROR[Main]: 	...8.0/Minetest_test/bin/../mods/yl_commons/util/groups.lua:6: in function 'add_groups'
2024-03-10 19:23:49: ERROR[Main]: 	...Minetest_test/bin/../mods/yl_commons/groups/ethereal.lua:17: in main chunk
2024-03-10 19:23:49: ERROR[Main]: 	[C]: in function 'dofile'
2024-03-10 19:23:49: ERROR[Main]: 	...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:234: in function 'dofile'
2024-03-10 19:23:49: ERROR[Main]: 	...8.0/Minetest_test/bin/../mods/yl_commons/groups/init.lua:14: in main chunk
2024-03-10 19:23:49: ERROR[Main]: 	[C]: in function 'dofile'
2024-03-10 19:23:49: ERROR[Main]: 	...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:234: in function 'dofile'
2024-03-10 19:23:49: ERROR[Main]: 	...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:241: in main chunk

"fixed" by

--[[yl_commons.add_groups("ethereal:strawberry", {
    food_strawberry = 1,
    food_berry = 1,
    seed = 1
})]]--

Second error:

2024-03-10 19:32:21: ERROR[Main]: [yl_commons] attempting to log metadata for unknown node "cottages:anvil"
2024-03-10 19:32:21: ERROR[Main]: [yl_commons] attempting to log metadata for unknown node "cottages:quern"
2024-03-10 19:32:23: ERROR[Main]: ModError: Failed to load and run script from /home/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:
2024-03-10 19:32:23: ERROR[Main]: ...t_test/bin/../mods/yl_commons/features/unified_crops.lua:66: unknown item "ethereal:strawberry"
2024-03-10 19:32:23: ERROR[Main]: stack traceback:
2024-03-10 19:32:23: ERROR[Main]: 	[C]: in function 'error'
2024-03-10 19:32:23: ERROR[Main]: 	...t_test/bin/../mods/yl_commons/features/unified_crops.lua:66: in function 'override_target'
2024-03-10 19:32:23: ERROR[Main]: 	...t_test/bin/../mods/yl_commons/features/unified_crops.lua:453: in main chunk
2024-03-10 19:32:23: ERROR[Main]: 	[C]: in function 'dofile'
2024-03-10 19:32:23: ERROR[Main]: 	...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:234: in function 'dofile'
2024-03-10 19:32:23: ERROR[Main]: 	...0/Minetest_test/bin/../mods/yl_commons/features/init.lua:70: in main chunk
2024-03-10 19:32:23: ERROR[Main]: 	[C]: in function 'dofile'
2024-03-10 19:32:23: ERROR[Main]: 	...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:234: in function 'dofile'
2024-03-10 19:32:23: ERROR[Main]: 	...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:242: in main chunk

"fixed" by

if yl_commons.has.ethereal then
    override_target("items", "banana", "ethereal:banana")
    override_target("items", "coconut", "ethereal:coconut")
    override_target("items", "coconut_bits", "ethereal:coconut_slice")

    add_alternate("items", "onion", "ethereal:wild_onion_plant")
    add_alternate("crops", "onion", {pattern = "ethereal:onion_%i", steps = 5})
    add_alternate("wilds", "onion", "ethereal:onion_5")

    --override_target("items", "strawberry", "ethereal:strawberry")
    --override_target("crops", "strawberry", {pattern = "ethereal:strawberry_%i", steps = 8})
    --override_target("wilds", "strawberry", "ethereal:strawberry_8")

    if yl_commons.has.canned_food then
        add_alternate("items", "canned_onion", "canned_food:canned_wild_onion")
        add_alternate("items", "pickled_onion", "canned_food:canned_wild_onion_plus")
    end
end

This replacement and the fixes lead to the strawberry block not craftable

Ethereal seems to have removed its strawberries and "replaced" them by farming strawberries (which we then replace by bushes:strawberry): ``` 2024-03-10 19:23:49: ERROR[Main]: ModError: Failed to load and run script from /home/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua: 2024-03-10 19:23:49: ERROR[Main]: ...8.0/Minetest_test/bin/../mods/yl_commons/util/groups.lua:6: attempting to override unknown item ethereal:strawberry 2024-03-10 19:23:49: ERROR[Main]: stack traceback: 2024-03-10 19:23:49: ERROR[Main]: [C]: in function 'error' 2024-03-10 19:23:49: ERROR[Main]: ...8.0/Minetest_test/bin/../mods/yl_commons/util/groups.lua:6: in function 'add_groups' 2024-03-10 19:23:49: ERROR[Main]: ...Minetest_test/bin/../mods/yl_commons/groups/ethereal.lua:17: in main chunk 2024-03-10 19:23:49: ERROR[Main]: [C]: in function 'dofile' 2024-03-10 19:23:49: ERROR[Main]: ...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:234: in function 'dofile' 2024-03-10 19:23:49: ERROR[Main]: ...8.0/Minetest_test/bin/../mods/yl_commons/groups/init.lua:14: in main chunk 2024-03-10 19:23:49: ERROR[Main]: [C]: in function 'dofile' 2024-03-10 19:23:49: ERROR[Main]: ...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:234: in function 'dofile' 2024-03-10 19:23:49: ERROR[Main]: ...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:241: in main chunk ``` "fixed" by ```lua --[[yl_commons.add_groups("ethereal:strawberry", { food_strawberry = 1, food_berry = 1, seed = 1 })]]-- ``` Second error: ``` 2024-03-10 19:32:21: ERROR[Main]: [yl_commons] attempting to log metadata for unknown node "cottages:anvil" 2024-03-10 19:32:21: ERROR[Main]: [yl_commons] attempting to log metadata for unknown node "cottages:quern" 2024-03-10 19:32:23: ERROR[Main]: ModError: Failed to load and run script from /home/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua: 2024-03-10 19:32:23: ERROR[Main]: ...t_test/bin/../mods/yl_commons/features/unified_crops.lua:66: unknown item "ethereal:strawberry" 2024-03-10 19:32:23: ERROR[Main]: stack traceback: 2024-03-10 19:32:23: ERROR[Main]: [C]: in function 'error' 2024-03-10 19:32:23: ERROR[Main]: ...t_test/bin/../mods/yl_commons/features/unified_crops.lua:66: in function 'override_target' 2024-03-10 19:32:23: ERROR[Main]: ...t_test/bin/../mods/yl_commons/features/unified_crops.lua:453: in main chunk 2024-03-10 19:32:23: ERROR[Main]: [C]: in function 'dofile' 2024-03-10 19:32:23: ERROR[Main]: ...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:234: in function 'dofile' 2024-03-10 19:32:23: ERROR[Main]: ...0/Minetest_test/bin/../mods/yl_commons/features/init.lua:70: in main chunk 2024-03-10 19:32:23: ERROR[Main]: [C]: in function 'dofile' 2024-03-10 19:32:23: ERROR[Main]: ...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:234: in function 'dofile' 2024-03-10 19:32:23: ERROR[Main]: ...e/mt/5.8.0/Minetest_test/bin/../mods/yl_commons/init.lua:242: in main chunk ``` "fixed" by ```lua if yl_commons.has.ethereal then override_target("items", "banana", "ethereal:banana") override_target("items", "coconut", "ethereal:coconut") override_target("items", "coconut_bits", "ethereal:coconut_slice") add_alternate("items", "onion", "ethereal:wild_onion_plant") add_alternate("crops", "onion", {pattern = "ethereal:onion_%i", steps = 5}) add_alternate("wilds", "onion", "ethereal:onion_5") --override_target("items", "strawberry", "ethereal:strawberry") --override_target("crops", "strawberry", {pattern = "ethereal:strawberry_%i", steps = 8}) --override_target("wilds", "strawberry", "ethereal:strawberry_8") if yl_commons.has.canned_food then add_alternate("items", "canned_onion", "canned_food:canned_wild_onion") add_alternate("items", "pickled_onion", "canned_food:canned_wild_onion_plus") end end ``` This replacement and the fixes lead to the strawberry block not craftable
AliasAlreadyTaken added the
1. kind/bug
3. source/integration
labels 2024-03-10 19:49:03 +00:00
AliasAlreadyTaken added this to the 1.1.123 milestone 2024-03-10 19:49:06 +00:00
Author
Owner

This also leads to placed ethereal:strawberry become unknown blocks.

For the update, maybe we should roll back to the previous commit

This also leads to placed ethereal:strawberry become unknown blocks. For the update, maybe we should roll back to the previous commit
AliasAlreadyTaken modified the milestone from 1.1.123 to 1.1.124 2024-03-10 20:55:17 +00:00
Author
Owner

I rest ethereal to 1e67afe05e6911bc00150df95874fe69cf4a111b for this upodate, we'll deal with strawberries in the next

I rest ethereal to 1e67afe05e6911bc00150df95874fe69cf4a111b for this upodate, we'll deal with strawberries in the next
Member
upstream issue: https://codeberg.org/tenplus1/farming/issues/5
Member

integration fix: 86ec37da01

strawberry block crafting fix: #6438

these fixes should work w/ the current setup, with the currently broken farming redo/ethereal situation, and hopefully in the future when farming redo gets updated to actually create the strawberries.

integration fix: https://gitea.your-land.de/your-land/yl_commons/commit/86ec37da01e248921952734d9e019ef8dfd746d1 strawberry block crafting fix: https://gitea.your-land.de/your-land/bugtracker/issues/6438 these fixes should work w/ the current setup, with the currently broken farming redo/ethereal situation, and hopefully in the future when farming redo gets updated to actually create the strawberries.
AliasAlreadyTaken added the
4. step/ready to QA test
label 2024-04-19 20:18:12 +00:00
AliasAlreadyTaken added the
ugh/QA OK
label 2024-04-22 12:24:53 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#6438
No description provided.