From 348753ecfec37fa2b0dd4433716c50396dd00354 Mon Sep 17 00:00:00 2001
From: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Date: Fri, 1 Nov 2024 20:40:38 -0500
Subject: [PATCH 1/7] Field Stone Addition

---
 data/json/construction/floors_indoors.json |  8 ++++----
 data/json/deconstruction.json              | 22 ++++++++++++++++++++++
 data/json/itemgroups/SUS/creek_bed.json    |  7 +++++++
 data/json/items/resources/stone.json       | 14 ++++++++++++++
 data/json/mapgen_palettes/stream.json      | 12 ++++++++++++
 5 files changed, 59 insertions(+), 4 deletions(-)
 create mode 100644 data/json/itemgroups/SUS/creek_bed.json

diff --git a/data/json/construction/floors_indoors.json b/data/json/construction/floors_indoors.json
index ee1412c5414e7..ed6a6f79d7894 100644
--- a/data/json/construction/floors_indoors.json
+++ b/data/json/construction/floors_indoors.json
@@ -465,9 +465,9 @@
     "//": "Step 2: the full wall",
     "category": "CONSTRUCT",
     "required_skills": [ [ "fabrication", 3 ] ],
-    "time": "180 m",
+    "time": "580 m",
     "qualities": [ [ { "id": "DIG", "level": 2 } ] ],
-    "components": [ [ [ "rock", 20 ] ] ],
+    "components": [ [ [ "field_stone", 500 ] ] ],
     "pre_terrain": "t_drystone_wall_half",
     "post_terrain": "t_drystone_wall"
   },
@@ -478,9 +478,9 @@
     "//": "Step 1: half the wall",
     "category": "CONSTRUCT",
     "required_skills": [ [ "fabrication", 1 ] ],
-    "time": "180 m",
+    "time": "280 m",
     "qualities": [ [ { "id": "DIG", "level": 1 } ] ],
-    "components": [ [ [ "rock", 20 ] ] ],
+    "components": [ [ [ "field_stone", 500 ] ] ],
     "pre_special": "check_empty",
     "post_terrain": "t_drystone_wall_half"
   },
diff --git a/data/json/deconstruction.json b/data/json/deconstruction.json
index c8d34f1f52013..99320f27d608d 100644
--- a/data/json/deconstruction.json
+++ b/data/json/deconstruction.json
@@ -462,6 +462,28 @@
     "pre_terrain": "t_rock_wall_half",
     "post_terrain": "t_dirt"
   },
+  {
+    "type": "construction",
+    "id": "constr_remove_dry_rock_wall_halfway",
+    "group": "remove_rock_wall",
+    "//": "Cuts out a segment of half complete stone wall, and then breaks it apart for disposal.",
+    "category": "DECONSTRUCT",
+    "time": "180 m",
+    "byproducts": [ { "item": "field_stone", "count": [ 500 ] } ],
+    "pre_terrain": "t_drystone_wall_half",
+    "post_terrain": "t_dirt"
+  },
+  {
+    "type": "construction",
+    "id": "constr_remove_dry_rock_wall",
+    "group": "remove_rock_wall",
+    "//": "Cuts out a segment of half complete stone wall, and then breaks it apart for disposal.",
+    "category": "DECONSTRUCT",
+    "time": "360 m",
+    "byproducts": [ { "item": "field_stone", "count": [ 1000 ] } ],
+    "pre_terrain": "t_drystone_wall",
+    "post_terrain": "t_dirt"
+  },
   {
     "type": "construction",
     "id": "constr_remove_brick_wall",
diff --git a/data/json/itemgroups/SUS/creek_bed.json b/data/json/itemgroups/SUS/creek_bed.json
new file mode 100644
index 0000000000000..fbe23fcae6793
--- /dev/null
+++ b/data/json/itemgroups/SUS/creek_bed.json
@@ -0,0 +1,7 @@
+[
+  {
+    "id": "creek_bed",
+    "type": "item_group",
+    "items": [ [ "rock", 5 ], [ "field_stone", 20 ], [ "stick", 10 ], [ "long_stick", 2 ], [ "log", 1 ] ]
+  }
+]
\ No newline at end of file
diff --git a/data/json/items/resources/stone.json b/data/json/items/resources/stone.json
index b62501e4261fe..cb0e5cc729dc7 100644
--- a/data/json/items/resources/stone.json
+++ b/data/json/items/resources/stone.json
@@ -29,6 +29,20 @@
     "name": { "str": "flint" },
     "description": "A chunk of flint, the kind of rock that can make sparks if stuck against high-carbon steel.  It also chips in a semi-predictable way if struck, leaving a sharp edge."
   },
+  {
+    "type": "GENERIC",
+    "id": "field_stone",
+    "symbol": ";",
+    "color": "brown",
+    "name": { "str": "field stone" },
+    "description": "A medium, flatish, heavy rock, big enough and flat enough to be used as a into field stone walls.",
+    "category": "spare_parts",
+    "material": "stone",
+    "weight": "2628 g",
+    "volume": "1 L",
+    "longest_side": "35 cm",
+    "melee_damage": { "bash": 7 }
+  },
   {
     "type": "GENERIC",
     "id": "rock_large",
diff --git a/data/json/mapgen_palettes/stream.json b/data/json/mapgen_palettes/stream.json
index 0a7527b3749f6..3190d827daa1f 100644
--- a/data/json/mapgen_palettes/stream.json
+++ b/data/json/mapgen_palettes/stream.json
@@ -31,6 +31,18 @@
         [ "f_boulder_medium", 2 ],
         [ "f_boulder_large", 1 ]
       ]
+    },
+    "items": {
+      "1": [
+        { "item": "trash", "chance": 5, "repeat": 2 },
+        { "item": "creek_bed", "chance": 50, "repeat": 3 },
+        { "item": "wheels", "chance": 1 }
+      ],
+      "2": [
+        { "item": "trash", "chance": 25, "repeat": 2 },
+        { "item": "creek_bed", "chance": 40, "repeat": 5 },
+        { "item": "wheels", "chance": 1 }
+      ]
     }
   }
 ]

From 1901f289bc50d0d763c6daadc9ee56182d2205eb Mon Sep 17 00:00:00 2001
From: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Date: Fri, 1 Nov 2024 21:25:20 -0500
Subject: [PATCH 2/7] Update data/json/itemgroups/SUS/creek_bed.json

---
 data/json/itemgroups/SUS/creek_bed.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/json/itemgroups/SUS/creek_bed.json b/data/json/itemgroups/SUS/creek_bed.json
index fbe23fcae6793..05058202e0f22 100644
--- a/data/json/itemgroups/SUS/creek_bed.json
+++ b/data/json/itemgroups/SUS/creek_bed.json
@@ -4,4 +4,4 @@
     "type": "item_group",
     "items": [ [ "rock", 5 ], [ "field_stone", 20 ], [ "stick", 10 ], [ "long_stick", 2 ], [ "log", 1 ] ]
   }
-]
\ No newline at end of file
+]

From 9baecde7b86a876a1fc561924fc790aa3bf96c5c Mon Sep 17 00:00:00 2001
From: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Date: Fri, 1 Nov 2024 21:27:21 -0500
Subject: [PATCH 3/7] Update terrain-walls.json

---
 data/json/furniture_and_terrain/terrain-walls.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/json/furniture_and_terrain/terrain-walls.json b/data/json/furniture_and_terrain/terrain-walls.json
index 1f0f992ae2ca0..8febf4c42f737 100644
--- a/data/json/furniture_and_terrain/terrain-walls.json
+++ b/data/json/furniture_and_terrain/terrain-walls.json
@@ -3236,7 +3236,7 @@
       "sound": "crash!",
       "sound_fail": "whump!",
       "ter_set": "t_null",
-      "items": [ { "item": "rock", "count": [ 8, 18 ] }, { "item": "pebble", "count": [ 20, 38 ] } ]
+      "items": [ { "item": "field_stone", "count": [ 900, 980 ] }, { "item": "pebble", "count": [ 200, 380 ] } ]
     }
   },
   {
@@ -3258,7 +3258,7 @@
       "sound": "crash!",
       "sound_fail": "whump!",
       "ter_set": "t_null",
-      "items": [ { "item": "rock", "count": [ 3, 8 ] }, { "item": "pebble", "count": [ 20, 38 ] } ]
+      "items": [ { "item": "rock", "count": [ 400, 480 ] }, { "item": "pebble", "count": [ 50, 120 ] } ]
     }
   },
   {

From f2cd0f3897a71d9ea962cb9327ea7d512f07cdaa Mon Sep 17 00:00:00 2001
From: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Date: Fri, 1 Nov 2024 23:10:53 -0500
Subject: [PATCH 4/7] Apply suggestions from code review

---
 data/json/deconstruction.json | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/data/json/deconstruction.json b/data/json/deconstruction.json
index 99320f27d608d..3db8ca3d9f8f5 100644
--- a/data/json/deconstruction.json
+++ b/data/json/deconstruction.json
@@ -469,6 +469,7 @@
     "//": "Cuts out a segment of half complete stone wall, and then breaks it apart for disposal.",
     "category": "DECONSTRUCT",
     "time": "180 m",
+    "required_skills": [ [ "fabrication", 0 ] ],
     "byproducts": [ { "item": "field_stone", "count": [ 500 ] } ],
     "pre_terrain": "t_drystone_wall_half",
     "post_terrain": "t_dirt"
@@ -480,6 +481,7 @@
     "//": "Cuts out a segment of half complete stone wall, and then breaks it apart for disposal.",
     "category": "DECONSTRUCT",
     "time": "360 m",
+    "required_skills": [ [ "fabrication", 0 ] ],
     "byproducts": [ { "item": "field_stone", "count": [ 1000 ] } ],
     "pre_terrain": "t_drystone_wall",
     "post_terrain": "t_dirt"

From 290100b8b9ca66d7a32704c3735275daeefb6fe2 Mon Sep 17 00:00:00 2001
From: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Date: Sat, 2 Nov 2024 11:22:17 -0500
Subject: [PATCH 5/7] Update deconstruction.json

---
 data/json/deconstruction.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/json/deconstruction.json b/data/json/deconstruction.json
index 3db8ca3d9f8f5..56cafda65a0c5 100644
--- a/data/json/deconstruction.json
+++ b/data/json/deconstruction.json
@@ -470,7 +470,7 @@
     "category": "DECONSTRUCT",
     "time": "180 m",
     "required_skills": [ [ "fabrication", 0 ] ],
-    "byproducts": [ { "item": "field_stone", "count": [ 500 ] } ],
+    "byproducts": [ { "item": "field_stone", "count": 500 } ],
     "pre_terrain": "t_drystone_wall_half",
     "post_terrain": "t_dirt"
   },
@@ -482,7 +482,7 @@
     "category": "DECONSTRUCT",
     "time": "360 m",
     "required_skills": [ [ "fabrication", 0 ] ],
-    "byproducts": [ { "item": "field_stone", "count": [ 1000 ] } ],
+    "byproducts": [ { "item": "field_stone", "count": 1000 } ],
     "pre_terrain": "t_drystone_wall",
     "post_terrain": "t_dirt"
   },

From 64977f6ef3a8bf2985c0fc6742e259d85dc46c92 Mon Sep 17 00:00:00 2001
From: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Date: Sat, 2 Nov 2024 11:23:07 -0500
Subject: [PATCH 6/7] Update data/json/items/resources/stone.json

---
 data/json/items/resources/stone.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/json/items/resources/stone.json b/data/json/items/resources/stone.json
index cb0e5cc729dc7..b1aa6ad350aef 100644
--- a/data/json/items/resources/stone.json
+++ b/data/json/items/resources/stone.json
@@ -35,7 +35,7 @@
     "symbol": ";",
     "color": "brown",
     "name": { "str": "field stone" },
-    "description": "A medium, flatish, heavy rock, big enough and flat enough to be used as a into field stone walls.",
+    "description": "A medium, flatish, heavy rock, big enough and flat enough to be used as a block in field stone walls.",
     "category": "spare_parts",
     "material": "stone",
     "weight": "2628 g",

From b88b4e6a07852e9b31c7bb0c5cd2049fa37cd8fc Mon Sep 17 00:00:00 2001
From: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Date: Sat, 2 Nov 2024 14:25:42 -0500
Subject: [PATCH 7/7] Update data/json/itemgroups/SUS/creek_bed.json

---
 data/json/itemgroups/SUS/creek_bed.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/json/itemgroups/SUS/creek_bed.json b/data/json/itemgroups/SUS/creek_bed.json
index 05058202e0f22..4242c3d26257c 100644
--- a/data/json/itemgroups/SUS/creek_bed.json
+++ b/data/json/itemgroups/SUS/creek_bed.json
@@ -2,6 +2,6 @@
   {
     "id": "creek_bed",
     "type": "item_group",
-    "items": [ [ "rock", 5 ], [ "field_stone", 20 ], [ "stick", 10 ], [ "long_stick", 2 ], [ "log", 1 ] ]
+    "items": [ [ "rock", 5 ], [ "field_stone", 20 ], [ "stick", 10 ], [ "stick_long", 2 ], [ "log", 1 ] ]
   }
 ]