diff --git a/data/mods/Xedra_Evolved/furniture_and_terrain/terrain-flora.json b/data/mods/Xedra_Evolved/furniture_and_terrain/terrain-flora.json index dd0f63a676437..36ae89907cf76 100644 --- a/data/mods/Xedra_Evolved/furniture_and_terrain/terrain-flora.json +++ b/data/mods/Xedra_Evolved/furniture_and_terrain/terrain-flora.json @@ -165,5 +165,60 @@ { "item": "leaves", "count": [ 50, 150 ] } ] } + }, + { + "type": "terrain", + "id": "t_shrub_goblin_fruit_spring", + "name": "strange bush", + "looks_like": "t_shrub", + "description": "A strange plant, faintly luminous, with waxy purple leaves and flowers like chiming bells. Odd-looking fruit hang from some of the branches.", + "symbol": "#", + "color": "light_blue_green", + "move_cost": 8, + "coverage": 40, + "flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "THIN_OBSTACLE", "SHRUB", "SHORT", "SMALL_HIDE", "BROWSABLE" ], + "transforms_into": "t_shrub_goblin_fruit_spring_harvested", + "examine_action": "harvest_ter_nectar", + "light_emitted": 15, + "harvest_by_season": [ { "seasons": [ "spring" ], "id": "shrub_goblin_fruits_harv" } ], + "bash": { + "str_min": 4, + "str_max": 60, + "sound": "crunch.", + "sound_fail": "brush.", + "ter_set": "t_dirt", + "items": [ + { "item": "withered", "prob": 50, "count": [ 1, 2 ] }, + { "item": "leaves", "count": [ 1, 10 ] }, + { "item": "twig", "prob": 80, "count": [ 1, 5 ] } + ] + } + }, + { + "type": "terrain", + "id": "t_shrub_goblin_fruit_spring_harvested", + "name": "strange bush", + "looks_like": "t_shrub", + "description": "A strange plant, faintly luminous, with waxy purple leaves and flowers like chiming bells.", + "symbol": "#", + "color": "blue_green", + "move_cost": 8, + "coverage": 40, + "flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "THIN_OBSTACLE", "SHRUB", "SHORT", "HARVESTED", "SMALL_HIDE" ], + "transforms_into": "t_shrub_goblin_fruit_spring", + "examine_action": "harvested_plant", + "light_emitted": 15, + "bash": { + "str_min": 4, + "str_max": 60, + "sound": "crunch.", + "sound_fail": "brush.", + "ter_set": "t_dirt", + "items": [ + { "item": "withered", "prob": 50, "count": [ 1, 2 ] }, + { "item": "leaves", "count": [ 1, 10 ] }, + { "item": "twig", "prob": 80, "count": [ 1, 5 ] } + ] + } } ] diff --git a/data/mods/Xedra_Evolved/harvest.json b/data/mods/Xedra_Evolved/harvest.json index 7b580ecb1f1d3..f2aaa535bc76c 100644 --- a/data/mods/Xedra_Evolved/harvest.json +++ b/data/mods/Xedra_Evolved/harvest.json @@ -81,5 +81,10 @@ { "drop": "fae_fur", "type": "skin", "mass_ratio": 0.02 }, { "drop": "fat", "type": "flesh", "mass_ratio": 0.07 } ] + }, + { + "id": "shrub_goblin_fruits_harv", + "type": "harvest", + "entries": [ { "drop": "spell_spawned_goblin_fruit", "type": "goblin_fruit_harv_type", "base_num": [ 1, 3 ] } ] } ] diff --git a/data/mods/Xedra_Evolved/harvest_drop_type.json b/data/mods/Xedra_Evolved/harvest_drop_type.json new file mode 100644 index 0000000000000..59284b5868ee3 --- /dev/null +++ b/data/mods/Xedra_Evolved/harvest_drop_type.json @@ -0,0 +1,7 @@ +[ + { + "type": "harvest_drop_type", + "id": "goblin_fruit_harv_type", + "group": true + } +] diff --git a/data/mods/Xedra_Evolved/mapgen/map_extras.json b/data/mods/Xedra_Evolved/mapgen/map_extras.json index 5c60816c0b99f..e219a328b85f2 100644 --- a/data/mods/Xedra_Evolved/mapgen/map_extras.json +++ b/data/mods/Xedra_Evolved/mapgen/map_extras.json @@ -596,5 +596,81 @@ { "monster": "GROUP_GENIUS_IERDE", "x": [ 0, 23 ], "y": [ 0, 23 ], "chance": 4, "density": 0.1 } ] } + }, + { + "id": "mx_goblin_fruits", + "type": "map_extra", + "name": { "str": "strange plants" }, + "description": "A group of strange plants are growing here.", + "generator": { "generator_method": "update_mapgen", "generator_id": "mx_goblin_fruits" }, + "min_max_zlevel": [ 0, 0 ], + "sym": "G", + "color": "magenta", + "autonote": true + }, + { + "type": "mapgen", + "method": "json", + "update_mapgen_id": "mx_goblin_fruits", + "object": { + "rows": [ + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "flags": [ "ALLOW_TERRAIN_UNDER_OTHER_DATA" ], + "place_nested": [ { "chunks": [ "goblin_fruit_plants" ], "x": [ 2, 13 ], "y": [ 2, 13 ] } ] + } + }, + { + "type": "mapgen", + "method": "json", + "nested_mapgen_id": "goblin_fruit_plants", + "object": { + "mapgensize": [ 9, 9 ], + "rows": [ + " GGG ", + " GGGGGGG ", + " GGGGGGG ", + "GGGGGGGGG", + "GGGGGGGGG", + "GGGGGGGGG", + " GGGGGGG ", + " GGGGGGG ", + " GGG " + ], + "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ], + "terrain": { + "G": [ + [ "t_shrub_goblin_fruit_spring", 1 ], + [ "t_shrub_goblin_fruit_summer", 1 ], + [ "t_shrub_goblin_fruit_autumn", 1 ], + [ "t_shrub_goblin_fruit_winter", 1 ], + [ "t_null", 15 ] + ], + " ": "t_null" + } + } } ]