This mod fixes, improves and enhances ts_furniture. Sitting now works fine. Mods that provide new trees and add group wood to the definition are automatically registered to the furniture of Tables and Chairs. This mod also Introduces new furniture.
A basic mod for adding furniture to the game. I do recommend Table and Chairs.
I tried to register the wood ("group wood" defined) of a not yet published mod with this code:
if minetest.get_modpath("tables_chairs") then
tables_chairs.register_furniture("terraria_for_valleys:beech_wood", "Beech Wood Planks")
tables_chairs.register_furniture("terraria_for_valleys:maple_wood", "Maple Wood Planks")
tables_chairs.register_furniture("terraria_for_valleys:oak_wood", "Oak Wood Planks")
tables_chairs.register_furniture("terraria_for_valleys:spruce_wood", "Spruce Wood Planks")
end
and got this error:
2024-06-02 16:02:39: ERROR[Main]: ModError: Failed to load and run script from /home/roland/minetest-5.8.0/minetest/bin/../mods/terraria_for_valleys/init.lua:
2024-06-02 16:02:39: ERROR[Main]: ...5.8.0/minetest/bin/../mods/terraria_for_valleys/init.lua:99: attempt to index global 'tables_chairs' (a nil value)
2024-06-02 16:02:39: ERROR[Main]: stack traceback:
2024-06-02 16:02:39: ERROR[Main]: ...5.8.0/minetest/bin/../mods/terraria_for_valleys/init.lua:99: in main chunk
If I additionally test
if minetest.global_exists("tables_chairs")
I get no error. So I can't access global value "tables_chairs" because the mod is present in folder but not yet loaded. I thought an API could help.
A beautiful idea to provide reusable petroglyphs on desert stone you can decorate your home with, or anything.
Gives a feeling of being historically linked to some anchestor inhabitants. :)
I recommend this mod.
If you want to create your own petroglyhps, there's a suitible second mod, petroglyph maker, also by Neuromancer.
A mod I've been waiting for!
This mod fixes, improves and enhances ts_furniture. Sitting now works fine. Mods that provide new trees and add group wood to the definition are automatically registered to the furniture of Tables and Chairs. This mod also Introduces new furniture.
A basic mod for adding furniture to the game. I do recommend Table and Chairs.
I tried to register the wood ("group wood" defined) of a not yet published mod with this code:
and got this error:
If I additionally test
I get no error. So I can't access global value "tables_chairs" because the mod is present in folder but not yet loaded. I thought an API could help.
How can I register trees from other mods? An API-function would be helpful.