Add edible plant resource nodes

This commit is contained in:
2026-05-17 16:01:06 -07:00
parent d69311363d
commit 054552202d
11 changed files with 155 additions and 6 deletions
+27
View File
@@ -73,6 +73,11 @@ ENVIRONMENT_MATERIALS = {
"color": unreal.LinearColor(0.55, 0.49, 0.28, 1.0),
"roughness": 0.93,
},
"edible_plant_resource": {
"path": f"{MATERIAL_FOLDER}/M_AGR_GZ_EdiblePlant_Resource",
"color": unreal.LinearColor(0.22, 0.46, 0.18, 1.0),
"roughness": 0.9,
},
"stone_resource": {
"path": f"{MATERIAL_FOLDER}/M_AGR_GZ_Stone_Sandstone",
"color": unreal.LinearColor(0.43, 0.40, 0.35, 1.0),
@@ -87,6 +92,7 @@ ENVIRONMENT_MATERIALS = {
RESOURCE_MATERIAL_BY_LABEL_PREFIX = {
"AGR_GZ_Wood": "wood_resource",
"AGR_GZ_Fiber": "fiber_resource",
"AGR_GZ_EdiblePlant": "edible_plant_resource",
"AGR_GZ_Stone": "stone_resource",
"AGR_DemoWoodResource": "wood_resource",
"AGR_DemoFiberResource": "fiber_resource",
@@ -245,6 +251,27 @@ BIOME_RESOURCE_ACTORS = [
"z_offset": 65.0,
"rotation": unreal.Rotator(0.0, 114.0, 0.0),
},
{
"label": "AGR_GZ_EdiblePlant_CoastalScrub_01",
"class_path": "/Game/Agrarian/Blueprints/Resources/BP_EdiblePlantResourceNode",
"location_xy": unreal.Vector(-31400.0, -7600.0, 0.0),
"z_offset": 58.0,
"rotation": unreal.Rotator(0.0, 21.0, 0.0),
},
{
"label": "AGR_GZ_EdiblePlant_Grassland_02",
"class_path": "/Game/Agrarian/Blueprints/Resources/BP_EdiblePlantResourceNode",
"location_xy": unreal.Vector(6200.0, -26800.0, 0.0),
"z_offset": 58.0,
"rotation": unreal.Rotator(0.0, -48.0, 0.0),
},
{
"label": "AGR_GZ_EdiblePlant_DrainageCandidate_03",
"class_path": "/Game/Agrarian/Blueprints/Resources/BP_EdiblePlantResourceNode",
"location_xy": unreal.Vector(-9400.0, 12800.0, 0.0),
"z_offset": 58.0,
"rotation": unreal.Rotator(0.0, 96.0, 0.0),
},
{
"label": "AGR_GZ_Stone_Slope_01",
"class_path": "/Game/Agrarian/Blueprints/Resources/BP_StoneResourceNode",