From b220b7c5a0f6c3cc0128ccce71bf7a5d7e1a8a4b Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 3 Apr 2023 04:44:52 +0200 Subject: [PATCH] added mod.conf --- init.lua | 3 +-- mod.conf | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 mod.conf diff --git a/init.lua b/init.lua index 0417962..3e762ec 100644 --- a/init.lua +++ b/init.lua @@ -10,8 +10,7 @@ village_sandcity.replacements_sandcity = function( housetype, pr, replacements ) {''}, { 'default:acacia_wood', 'moretrees:palm_planks', 'ethereal:palm_wood' }, 'default:acacia_wood'); - mg_villages.replace_tree_trunk( replacements, wood_type ); - mg_villages.replace_saplings( replacements, wood_type ); + local wood = mg_villages.do_group_replacement( replacements, pr, 'wood', wood_type) mg_villages.replace_materials( replacements, pr, {'default:sandstonebrick'}, diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..e75c85d --- /dev/null +++ b/mod.conf @@ -0,0 +1,5 @@ +depends = mg_villages +author = Sokomine +name = village_sandcity +title = Village type "sandcity" for mg_villages +description = Village type for a desert city with buildings created by Sokomine for mg_villages. They may provide a home for sand mobs mobs_redo.