Skip to content

Commit

Permalink
Magiclysm: Forest Tomb (#37699)
Browse files Browse the repository at this point in the history
  • Loading branch information
arijust authored and ZhilkinSerg committed Apr 2, 2020
1 parent 07119f9 commit 5298664
Showing 5 changed files with 189 additions and 0 deletions.
19 changes: 19 additions & 0 deletions data/mods/Magiclysm/furniture.json
Original file line number Diff line number Diff line change
@@ -186,5 +186,24 @@
{ "item": "glass_shard", "count": [ 8, 12 ] }
]
}
},
{
"type": "furniture",
"id": "f_altar",
"name": "stone altar",
"move_cost_mod": 10,
"symbol": "H",
"color": "light_gray",
"coverage": 40,
"required_str": 30,
"flags": [ "BASHABLE" ],
"description": "This is big stone altar. Most commonly used in morally questionable rituals.",
"bash": {
"str_min": 30,
"str_max": 160,
"sound": "smash!",
"sound_fail": "thump.",
"items": [ { "item": "rock", "count": [ 5, 15 ] }, { "item": "sharp_rock", "count": [ 3, 5 ] } ]
}
}
]
5 changes: 5 additions & 0 deletions data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
@@ -1034,5 +1034,10 @@
"type": "item_group",
"id": "magic_basement_photo",
"items": [ [ "wizard_photo", 100 ] ]
},
{
"type": "item_group",
"id": "forest_tomb_spellbook",
"items": [ [ "summon_undead_spellbook", 100 ] ]
}
]
134 changes: 134 additions & 0 deletions data/mods/Magiclysm/worldgen/forest_tomb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
[
{
"type": "palette",
"id": "tomb",
"terrain": {
".": "t_rock_floor",
" ": [ [ "t_grass_dead", 15 ], [ "t_dirt", 4 ], [ "t_dirtmound", 3 ], [ "t_rock_floor_no_roof", 4 ] ],
"T": "t_tree_dead",
"R": "t_railroad_rubble",
"S": "t_shrub",
"<": "t_slope_up",
">": "t_slope_down",
"#": "t_rock"
},
"furniture": { "H": "f_altar", "C": "f_coffin_c" },
"items": { "R": { "item": "animist_items", "chance": 25 }, "H": { "item": "forest_tomb_spellbook", "chance": 100 } },
"monster": { "x": { "monster": "mon_skeleton", "chance": 50 }, "Z": { "monster": "mon_zombie_necro", "chance": 100 } }
},
{
"type": "palette",
"id": "tomb_roof",
"terrain": { ".": "t_rock_roof", " ": "t_open_air", ">": "t_slope_down" }
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "forest_tomb" ],
"//": "Ground level - Z-0.",
"weight": 100,
"object": {
"fill_ter": "t_rock_floor",
"rows": [
" S ",
" S ",
" S ",
" S ",
" S ",
" S S ",
" ##<############### ",
" ################## ",
" S ####C.##>>##..C### ",
" ###x..........###<S ",
" ###...##..##..C### ",
" ###.####..######## ",
" ###..###..x..##### ",
" ###..C##..#...R### S ",
" S####R###..######## ",
" ########..###<#### ",
" T T S ",
" S ",
" T T S ",
" S ",
" T T ",
" S ",
" S ",
" S "
],
"palettes": [ "tomb" ]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "forest_tomb_bottom" ],
"//": "Underground level - Z -1.",
"weight": 100,
"object": {
"fill_ter": "t_rock_floor",
"rows": [
"########################",
"########################",
"########################",
"########################",
"########################",
"######.R################",
"######.####.......######",
"######.####..###.x######",
"#####C..C##<<##R.C######",
"#######.###..###########",
"#######.....############",
"###########..###########",
"###########..###########",
"############.###########",
"###########..###########",
"###########..###########",
"###########.############",
"########C......C########",
"########........########",
"########...HZ...########",
"########R......R########",
"########################",
"########################",
"########################"
],
"palettes": [ "tomb" ]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "forest_tomb_roof" ],
"//": "Roof level - Z +1.",
"weight": 100,
"object": {
"rows": [
" ",
" ",
" ",
" ",
" ",
" ",
" ..>............... ",
" .................. ",
" .................. ",
" .................> ",
" .................. ",
" .................. ",
" .................. ",
" .................. ",
" .................. ",
" .............>.... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"palettes": [ "tomb_roof" ]
}
}
]
13 changes: 13 additions & 0 deletions data/mods/Magiclysm/worldgen/overmap_specials.json
Original file line number Diff line number Diff line change
@@ -114,5 +114,18 @@
"city_sizes": [ 4, 12 ],
"occurrences": [ 0, 1 ],
"flags": [ "CLASSIC", "LAKE" ]
},
{
"type": "overmap_special",
"id": "forest_tomb",
"overmaps": [
{ "point": [ 0, 0, 0 ], "overmap": "forest_tomb_north" },
{ "point": [ 0, 0, 1 ], "overmap": "forest_tomb_roof_north" },
{ "point": [ 0, 0, -1 ], "overmap": "forest_tomb_bottom_north" }
],
"locations": [ "wilderness" ],
"city_distance": [ 20, -1 ],
"city_sizes": [ 0, 20 ],
"occurrences": [ 0, 1 ]
}
]
18 changes: 18 additions & 0 deletions data/mods/Magiclysm/worldgen/overmap_terrain.json
Original file line number Diff line number Diff line change
@@ -353,6 +353,24 @@
"id": "wizardtower2_roof",
"copy-from": "wizardtower1_ground"
},
{
"type": "overmap_terrain",
"id": "forest_tomb",
"name": "forest",
"sym": "F",
"color": "brown",
"see_cost": 5
},
{
"type": "overmap_terrain",
"id": "forest_tomb_roof",
"copy-from": "forest_tomb"
},
{
"type": "overmap_terrain",
"id": "forest_tomb_bottom",
"copy-from": "forest_tomb"
},
{
"type": "overmap_terrain",
"id": "magic_academy_ground",

0 comments on commit 5298664

Please sign in to comment.