Transplant trees mod help

I’m not trying to implement a way to make trees grow, but I want to at least be able to transplant useful trees to my base.

This is the json I’ve done:

Constructions:
{
“type” : “construction”,
“description” : “Dig up Apple Tree”,
“category” : “OTHER”,
“required_skills” : [ [ “survival”, 3 ] ],
“time” : 30,
“qualities”: [ [ { “id”: “DIG”, “level”: 2 } ] ],
“byproducts”: [ { “item”: “packed_apple_tree” } ],
“components” : [
[ [ “bag_canvas”, 1 ] ]
],
“pre_terrain” : “t_tree_apple”,
“post_terrain” : “t_pit”
},
{
“type” : “construction”,
“description” : “Plant Apple Tree”,
“category” : “OTHER”,
“required_skills” : [ [ “survival”, 3 ] ],
“time” : 40,
“qualities”: [ [ { “id”: “DIG”, “level”: 2 } ] ],
“byproducts”: [ { “item”: “bag_canvas” } ],
“components” : [
[ [ “packed_apple_tree”, 1 ] ]
],
“pre_terrain” : “t_pit”,
“post_terrain” : “t_tree_apple”
}

Items (I ripped this straight from heavy duty frame, so I think it should change):
{
“type”:“GENERIC”,
“id” : “packed_apple_tree”,
“name” : “packed apple tree”,
“description” : “An uprooted apple tree that can be placed somewhere else.”,
“weight” : 100000,
“to_hit” : -6,
“color” : “green”,
“symbol” : “]”,
“material” : [“wood”, “cotton”],
“volume” : 80,
“bashing” : 25,
“category” : “other”,
“price” : 12000
}

I’m not sure how to make the 1 construction compatible for multiple trees, though. I felt like “deconstruct furniture”, which works on multiple things, would help, but it had “pre_special” and “check_deconstruct” instead of “pre_terrain”. Are those specials not able to be modified with json?

2 Likes