Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm committed Mar 5, 2024
1 parent 9a2c309 commit 6062c2a
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 0 deletions.
55 changes: 55 additions & 0 deletions data/mods/Xedra_Evolved/furniture_and_terrain/terrain-flora.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] }
]
}
}
]
5 changes: 5 additions & 0 deletions data/mods/Xedra_Evolved/harvest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] } ]
}
]
7 changes: 7 additions & 0 deletions data/mods/Xedra_Evolved/harvest_drop_type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "harvest_drop_type",
"id": "goblin_fruit_harv_type",
"group": true
}
]
76 changes: 76 additions & 0 deletions data/mods/Xedra_Evolved/mapgen/map_extras.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
]

0 comments on commit 6062c2a

Please sign in to comment.