Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spiral mine jsonify #48003

Merged
merged 61 commits into from
Mar 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
d793a43
Created separate file for mine overmap specials and moved definition …
Night-Pryanik Mar 11, 2021
b945eee
Fixed hardcoded tunnels not spawning
Night-Pryanik Mar 11, 2021
d70a241
Added pillar terrain
Night-Pryanik Mar 12, 2021
823fb55
Added pillars to lower section of mine shaft
Night-Pryanik Mar 12, 2021
be9f399
Added overmap terrain definitions for spiral mine variant
Night-Pryanik Mar 12, 2021
21aa342
Created Spiral mine overmap special
Night-Pryanik Mar 12, 2021
056a481
Added nested mapgen for mine locations
Night-Pryanik Mar 12, 2021
79f65a7
Added spiral madman NPC and its responses
Night-Pryanik Mar 12, 2021
8d9ae6b
Added Spiral mine mapgen
Night-Pryanik Mar 12, 2021
ef4aca8
Moved spiral and spiral_hub OMTs to obsolete terrain list
Night-Pryanik Mar 12, 2021
d2079ef
Removed spiral and spiral_hub OMTs from mods
Night-Pryanik Mar 12, 2021
67234a2
Removed all mentions of old hardcoded spiral and spiral hub mapgen
Night-Pryanik Mar 12, 2021
c0697f5
Valentine Cards (#47438)
Maleclypse Feb 18, 2021
fd263ed
Add a proficiency for handloading, and a new profession (#47244)
Feb 18, 2021
e7011f7
Drug Dealer Profession (#47255)
slimeboy460 Feb 18, 2021
e03e778
Adds hallula, a type of bread popular in Bolivia and Chile
ToxiClay Dec 23, 2020
005caf8
Arm mounted pouch (#46946)
Jamuro-g Feb 18, 2021
ec6e6c1
Tazer drone iii (#47353)
Feb 18, 2021
79f615c
Added Gelatin and Several Gelatin Based Recipes (#47080)
GrubGrubgit Feb 18, 2021
f38b0aa
Content: bread in a can (#45680)
Xaleth Feb 18, 2021
14c7a89
New random mission (#44999)
El-Jekozo Feb 18, 2021
23fb60e
Mycus fruit Juice (#44952)
Chambs-15 Feb 18, 2021
7602a6e
Milleable corn (#46254)
Zukulini Feb 18, 2021
71b9a8b
Talk Tag Additions (#47010)
klorpa Feb 18, 2021
208b9f6
Fix typo in Valentines Card (#47583)
UmbralReaper Feb 20, 2021
be9bdaa
(CrazyCataclysm) Crazy Hallucinations (#47386)
SariusSkelrets Feb 23, 2021
f43a8d8
Mealgurb (#47685)
Fosheze Feb 23, 2021
3b5ab3b
Add duct tape blindfold for old reciepe plus tweaks for reciepe (#47527)
Lamandus Feb 23, 2021
8477818
Prepare npc, spell, character, and item for new ai (#47207)
KorGgenT Feb 23, 2021
3988f39
Make acetylene torch cut metal walls. (#46255)
NeviNovat Feb 23, 2021
cd4dbb8
Added disassembly recipes for several items (#46316)
Karol1223 Feb 23, 2021
1e94713
Celsius temperature for freezing point (#47028)
Hirmuolio Feb 23, 2021
4a44956
Stand up peek (#47257)
Moltenhead Feb 23, 2021
e641428
[AFTERSHOCK] Basic Ballistic Weapons (#47559)
Mom-Bun Feb 24, 2021
e2f00cf
makes glass walls and glass doors constructable (#47692)
OromisElf Feb 24, 2021
215da75
Crackers as bread and jam&cheese sandwich (#47649)
Maleclypse Feb 24, 2021
f96b96d
[Aftershock] misc typograpical fixes (#47783)
casswedson Feb 28, 2021
7225311
Tweaks for teas (#47848)
Lamandus Mar 3, 2021
c3d1540
Have travis run for 0.F-dev
actual-nh Mar 3, 2021
7044406
Tweakes to copper and metal pipes. (#47825)
Lamandus Mar 3, 2021
195fe40
Fried eggs deluxe, sandwiches, and condiment list (#47786)
Maleclypse Mar 3, 2021
f49d2c5
Homemade toastems, buttercream frosting and recipes (#47696)
Maleclypse Mar 3, 2021
fca63de
Chocolate Cow don't drop "cow pies"
Feb 19, 2021
c5d362a
Remove unused FATIGUE energy source from spells
Mar 3, 2021
5b101f1
[Magiclysm] add owlbear origin snippet (#47752)
KorGgenT Mar 3, 2021
a25422c
[Magiclysm] add lesser banishment spell, buff greater banishment (#47…
KorGgenT Mar 3, 2021
0728b18
Unhardcode bio_heatsink and bio_climate
Ramza13 Feb 23, 2021
4f1fca0
Hunting lodge Location (#44378)
Maleclypse Mar 4, 2021
432d078
fungal evolution (#47247)
LyleSY Mar 4, 2021
714767d
Add book strap carrier (#47665)
FuelType-Memes Mar 4, 2021
68abdd9
Partial mine jsonify; new zombie miner (#47790)
Night-Pryanik Mar 4, 2021
2d3e9d9
Add 0.F-dev to matrix.yml
actual-nh Mar 4, 2021
7a5f2dc
0.F-dev workflows (#47875)
actual-nh Mar 5, 2021
9574872
Alter brown bread recipe to match canned version
actual-nh Mar 6, 2021
34a2af5
Mine entrance expand (#47928)
Night-Pryanik Mar 8, 2021
d7c6292
[DinoMod] Mushroom Madness (#47907)
LyleSY Mar 8, 2021
2a0ebcb
misc typograpical fixes
casswedson Mar 9, 2021
744ea57
body pillow recipe makes makeshift body pillow now (#47917)
OromisElf Mar 9, 2021
2d53283
Apply suggestion from code review
Night-Pryanik Mar 13, 2021
42df336
Merge branch '0.F-dev' into mine-tunnels-jsonify
Night-Pryanik Mar 13, 2021
de634c7
Merge branch '0.F-dev' into mine-tunnels-jsonify
ZhilkinSerg Mar 14, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions data/json/furniture_and_terrain/terrain-walls.json
Original file line number Diff line number Diff line change
Expand Up @@ -1476,5 +1476,25 @@
"ter_set": "t_null",
"items": [ { "item": "rock", "count": [ 3, 8 ] }, { "item": "pebble", "count": [ 20, 38 ] } ]
}
},
{
"type": "terrain",
"id": "t_pillar",
"name": "pillar",
"looks_like": "t_column",
"description": "A concrete column that helps keep the mine's ceiling and walls from collapsing.",
"symbol": "1",
"color": "light_gray",
"move_cost": 0,
"coverage": 80,
"flags": [ "WALL", "PERMEABLE", "MINEABLE" ],
"bash": {
"str_min": 120,
"str_max": 200,
"sound": "crash!",
"sound_fail": "whump!",
"ter_set": "t_reb_cage",
"items": [ { "item": "rock", "count": [ 10, 22 ] } ]
}
}
]
20 changes: 11 additions & 9 deletions data/json/mapgen/mine/mine_shaft.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,28 +43,28 @@
"rows": [
"###### ## #################### #######",
"###### ## ################### ########",
"###### ## ############# #### #########",
"###### ## ############# #### #########",
"####### ############### ### ##########",
"######## ############### ## ###########",
"######## ############## ############",
" ###### ################ ##########",
" ## ################# ###########",
"# ##### ###### ###########",
" ## ################# ###########",
"# ##### ###### ###########",
" #### ## ",
"###### ### #### #### ",
"###### |-| #### ##### ",
"###### |----|<|--| ",
"##### |!@@...!@@| #### #####",
"### |.@@....@@| ######### ######",
"### |.@@....@@| ######### ######",
" +.......@@| ########## ######",
"*****************=========| # ######## ####",
" +.......®®| ####### ####",
" +.......®®| ####### ####",
" |.........| ######### ####",
"# |.........| ######### #",
"## |LLLL|SSSS| ######### #",
"#### |----|----| ######## #",
"## |LLLL|SSSS| ######### #",
"#### |----|----| ######## #",
"###### ######### ",
"####### ## ####### ######## "
"####### ## ####### ######## "
],
"terrain": {
"<": "t_ladder_up",
Expand All @@ -78,6 +78,7 @@
"=": "t_conveyor",
"*": "t_railroad_track_small",
"®": "t_thconc_floor",
"№": "t_pillar",
Copy link
Contributor

@actual-nh actual-nh Mar 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"№": "t_pillar",
"№": "t_pillar",

Something in US-ASCII would probably be preferable, since people's systems are going to differ on how to interpret this (what do you see it as? I see a capital N with a superscripted, underlined o) and editing it may be a difficulty (I know it would be for me).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actively using unicode characters, see #46726 for example, where there are LOTS of them. I know it's making direct editing a bit harder, but there are many advantages of using such characters, so it's fully justified, at least for me.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understand; you did kind of run out of US-ASCII characters for that one...

"L": "t_thconc_floor",
"S": "t_thconc_floor"
},
Expand All @@ -86,7 +87,8 @@
"L": [ { "item": "clothing_work_set", "chance": 50 }, { "item": "hardware_clothing", "chance": 50 } ],
"S": { "item": "mine_equipment", "chance": 80 }
},
"place_vehicles": [ { "vehicle": "trolley", "x": 10, "y": 16, "chance": 100, "status": 0 } ]
"place_vehicles": [ { "vehicle": "trolley", "x": 10, "y": 16, "chance": 100, "status": 0 } ],
"monsters": { " ": { "monster": "GROUP_MINER", "chance": 1, "density": 0.0005 } }
}
}
]
190 changes: 190 additions & 0 deletions data/json/mapgen/mine/mine_spiral.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
[
{
"type": "monstergroup",
"name": "GROUP_MINER",
"default": "mon_zombie_miner",
"monsters": [ ]
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ [ "mine_spiral_west", "mine_spiral_central", "mine_spiral_east" ] ],
"object": {
"fill_ter": "t_rock_floor",
"rows": [
"########################################################################",
"@@@@@@@@@@@@@@@@@@@@@@@@@###############################################",
"@ @###############################################",
"@ ##################### @###############################################",
"@ #@@@@@@@@@@@@@@@@@@@# @###############################################",
"@ #@ @# @###############################################",
"@ #@ ############### @# @###############################################",
"@ #@ #@@@@@@@@@@@### @# @###############################################",
"@ #@ #@ ># @# @###############################################",
"@ #@ #@ @@@@@@@@@### @# @###############################################",
"@ #@ #@ ############ @# @###############################################",
"@ #@ #@ @# @###############################################",
"@ #@ #@@@@@@@@@@@@@@@@# @#####################@@@@@@@@@@@@@@@@@@@@@@@@@@",
"@ #@ ################## @#####################! @@@@@@@@@@@!@@@@@@@@@@ !",
"@ #@ @##################### ",
"@ #@@@@@@@@@@@@@@@@########################### ",
"@ ############################################**************************",
"@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@## #### ",
"@ # ## ",
"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##### ! @@@@@@@@@@!@@@@@@@@@@ !",
"###############################################@@@@@@@@@@@@@@@@@@@@@@@@@",
"########################################################################",
"########################################################################",
"########################################################################"
],
"terrain": {
"@": [ [ "t_rock", 4 ], [ "t_rock_floor", 1 ] ],
"#": "t_rock",
"*": "t_railroad_track_small",
"!": "t_pillar",
">": "t_slope_down"
},
"items": { " ": { "item": "mine_equipment", "chance": 1 } },
"monsters": { " ": { "monster": "GROUP_MINER", "chance": 1, "density": 0.001 } }
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [
[ "mine_spiral_-1_nw", "mine_spiral_-1_n", "mine_spiral_-1_ne" ],
[ "mine_spiral_-1_sw", "mine_spiral_-1_s", "mine_spiral_-1_se" ]
],
"object": {
"fill_ter": "t_rock_floor",
"rows": [
"####################################@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
"####################################@ @",
"########@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 1 ###### @",
"########@ # @",
"########@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ # #### @",
"########@ @##################@######@ # #~ # @",
"########@ @# @######@ # # @",
"########@ @# @@@@@@@@@@@@@@@ @######@ ###### @",
"########@ @# @#############@ @######@ @",
"########@ @# @####< #@ @######@ @",
"########@ @# @########### #@ @######@ @",
"########@ @# @@@@@@@@@@@@ #@ @######@ 1 1 1 @",
"########@ @# #@ @######@ @",
"########@ @################@ @######@ @",
"########@ @@@@@@@@@@@@@@@@@@ @######@ @",
"########@ @######@ @",
"########@@@@@@@@@@@@@@@@@@@@@@######@ @",
"####################################@ @",
"####################################@@@@@@@@@@@@@@@@@@@@@@@ @",
"##########################################################@ @",
"##########################################################@ @",
"#####@@@@@@@@@@@@@@@@@@####@@@@@@@@@@@@@@@@@@@############@ @",
"##### #### @############@ @",
"##### #### #### #### ############@ @",
"#####%%%%%%######%%%%%%####!!!!!!######$$$$$$ ############@ @",
"#####% ###### %####! ##### $ ############@ @",
"#####% %%%%######%%%% %####! !!!!##### $$$$ $ ############@ @",
"#####% % %######% % %####! ! !##### $ >$ $ ############@ @",
"#####% %######% %####! !##### $ $ ############@ @",
"#####%%%%%%######%%%%%%####!!!!!!##### $$$$$$ ############@ @",
"#### ###### ## ##### ############@ @",
"### ###### @####@ @############@ @",
"#@ @@@@@@@######@@@@@@@@@@@@@@@@@####@@@@@@@@############@ @",
"#@ @#####################################################@ @",
"#@ @####################################################### @",
"#@ @@@@@@@######@@@@@@@@@@@@@@@@######@@@@@@@@@@@@@@@@@@@### @",
"### ###### ###### ## @",
"#### ###### ## ###### ### #### ##",
"##### ###### #### ###### ##### ###### ###",
"#####^^^^^^######^^^^^^####&&&&&&######&&&&&&######******######******###",
"#####^ ###### ^####& ###### &######* ###### *###",
"#####^ ^^^^######^^^^ ^####& &&&&######&&&& &######* ****######**** *###",
"#####^ ^ ^######^ ^ ^####& & &######& & &######* * *######* * *###",
"#####^ ^######^ ^####& &######& &######* *######* *###",
"#####^^^^^^######^^^^^^####&&&&&&######&&&&&&######******######******###",
"##### #### #### #### ###### ###### ###",
"##### @##@ @####@ ###",
"#####@@@@@@@@@@@@@@@@@@@##@@@@@@@@@@@@@@@@@@@@####@@@@@@@@@@@@@@@@@@@###"
],
"terrain": {
"@": [ [ "t_rock", 4 ], [ "t_rock_floor", 1 ] ],
"#": "t_rock",
">": "t_slope_down",
"<": "t_slope_up",
"$": "t_lava"
},
"furniture": { "&": "f_wreckage", "^": "f_rubble", "%": "f_rubble_rock", "!": "f_rubble_landfill" },
"nested": {
"1": { "chunks": [ [ "spiral_cw", 25 ], [ "spiral_ccw", 25 ], [ "spiral_boulder_cw", 25 ], [ "spiral_boulder_ccw", 25 ] ] }
},
"item": { "*": { "item": "rock", "chance": 100 } },
"npcs": { "~": { "class": "spiral_madman" } }
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [
[ "mine_spiral_finale_nw", "mine_spiral_finale_n", "mine_spiral_finale_ne" ],
[ "mine_spiral_finale_sw", "mine_spiral_finale_s", "mine_spiral_finale_se" ]
],
"object": {
"fill_ter": "t_rock_floor",
"rows": [
"###### 1 1 1 1 1 1 1 1 ",
"# ",
"# #### ",
"# #! # ",
"# # ",
"###### ",
" ",
" ###### ",
" # ",
" #### # ",
" # !# # ",
" # # ",
" ###### ",
" ",
"###### 1 1 1 1 1 1 ###### ",
"# # ",
"# #### #### # ",
"# #! # # # # ",
"# # # # ",
"###### ###### ",
" ",
"###### ###### ###### ",
"# # # ",
"# #### #### # #### # ",
"# # # # !# # # # # ",
"# # # # # # ",
"###### ###### ###### ",
" < ",
"###### 1 ###### 1 1 1 ###### ",
"# # # ",
"# #### # #### #### # ",
"# #! # # #! # # # # ",
"# # # # # # ",
"###### ###### ###### ",
" ",
"###### ###### ",
"# # ",
"# #### #### # ",
"# # # # !# # ",
"# # # # ",
"###### ###### ",
" ",
"###### 1 1 1 1 1 1 1 1 ",
"# ",
"# #### ",
"# #! # ",
"# # ",
"###### "
],
"terrain": { "@": [ [ "t_rock", 4 ], [ "t_rock_floor", 1 ] ], "#": "t_rock", "<": "t_slope_up" },
"monsters": { " ": { "monster": "GROUP_SPIRAL", "chance": 1, "density": 0.001 } },
"nested": { "1": { "chunks": [ [ "spiral_cw", 50 ], [ "spiral_ccw", 50 ] ] } },
"items": { "!": { "item": "spiral", "chance": 60 } }
}
}
]
76 changes: 76 additions & 0 deletions data/json/mapgen/nested/mine_nested.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
[
{
"type": "palette",
"id": "mine_palette",
"terrain": { "#": "t_rock", " ": "t_rock_floor", "$": "t_rock_floor" },
"furniture": { "$": "f_boulder_large" }
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "spiral_cw",
"object": {
"palettes": [ "mine_palette" ],
"mapgensize": [ 6, 6 ],
"rows": [
"######",
" #",
"#### #",
"# # #",
"# #",
"######"
]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "spiral_ccw",
"object": {
"palettes": [ "mine_palette" ],
"mapgensize": [ 6, 6 ],
"rows": [
"######",
"# ",
"# ####",
"# # #",
"# #",
"######"
]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "spiral_boulder_cw",
"object": {
"palettes": [ "mine_palette" ],
"mapgensize": [ 6, 6 ],
"rows": [
"$$$$$$",
" $",
"$$$$ $",
"$ $ $",
"$ $",
"$$$$$$"
]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "spiral_boulder_ccw",
"object": {
"palettes": [ "mine_palette" ],
"mapgensize": [ 6, 6 ],
"rows": [
"$$$$$$",
"$ ",
"$ $$$$",
"$ $ $",
"$ $",
"$$$$$$"
]
}
}
]
Loading