Skip to content

Commit

Permalink
[Content] [Balance] Thread, yarn, and fabric audit and additions. (#7…
Browse files Browse the repository at this point in the history
…0850)

* Thread and Yarn Audit

Removed Felt to Thread recipes: you can't actually do that without carding the felt back into something you can draft onto a spindle.
Added a carding recipe to turn felt patches back into wool staples.
Multiplied the time factor for spinning thread with no proficiency by 6.  I had hands on experience doing this with a professional hobbyist. Looks easy; isn't.
Removed Fiber Twisting from yarn recipes.  There is no difference between spinning thread and spinning yarn except how much you get per inch for the same amount of work. (Tested with alpaca, wool, and cotton.)

* Creation of a Fabric Store

It was noted that a dedicated supply store for all things fabric didn't exist.

You can find both tailoring supplies and a low chance of fur related supplies.

* Linting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Linting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* More Linting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Lint for the Lint Lord

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Linted?

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* More Lint for the pocket

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* I should json_format before I commit

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Linted

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Linted again

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Misplaced ,

* Missing seperator

* Missing /n at EOF

* Missing /n at EOF

* Changed name of fabric store roof TO fabric store roof

* Added missing bits to spawn the building and roof

* Added wool to thread and cotton to yarn

First steps at divorcing the distinction between material and finished product.

* Revert change to respect allergy

I totally forgot about wool allergies.

* Spelling

Co-authored-by: Procyonae <[email protected]>

* Commiting this since it seems benign

Co-authored-by: Procyonae <[email protected]>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Procyonae <[email protected]>
  • Loading branch information
3 people authored Jan 14, 2024
1 parent 3e06692 commit 414d97c
Show file tree
Hide file tree
Showing 6 changed files with 164 additions and 29 deletions.
90 changes: 90 additions & 0 deletions data/json/mapgen/s_fabricstore.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
[
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "s_fabricstore" ],
"//": "Fabric Outlet",
"object": {
"fill_ter": "t_floor",
"rows": [
"------------------------",
"------------------------",
"------------------------",
"..p--####:::++:::#......",
"..p--#JJ| #......",
"..p--# | #......",
"..p--#+|| #......",
"..p--# [Q ccc C#......",
"..p--# Q C#......",
"..p--# Q CCC C#......",
"..p--# c #......",
"..p--# c #......",
"..p--#+|||i|ccccc#......",
"..p--# [[[ | s%#......",
"..p--# s | #......",
"..p--; s |+||||#......",
".....0 [[ +___#......",
"....z#|+||i|||_St#......",
"....z#d | #####......",
"....z#ds|LlLl#4zzz......",
"....z##0######z.........",
"........................",
"........................",
"........................"
],
"palettes": [ "standard_building_palette", "fabric_store_pallete" ],
"terrain": { "t": "t_linoleum_white", "S": "t_linoleum_white", "_": "t_linoleum_white" },
"place_loot": [ { "group": "cash_register_random", "x": 7, "y": 7 } ]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": "s_fabricstore_roof",
"object": {
"fill_ter": "t_flat_roof",
"rows": [
" ",
" ",
" ",
" ------------- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -...........- ",
" -.......5---- ",
" -...&...- ",
" --------- ",
" ",
" ",
" "
],
"palettes": [ "roof_palette" ],
"place_items": [ { "item": "roof_trash", "x": [ 7, 13 ], "y": [ 5, 15 ], "chance": 50, "repeat": [ 1, 3 ] } ],
"place_nested": [
{
"chunks": [
[ "null", 20 ],
[ "roof_2x2_utilities_b", 15 ],
[ "roof_2x2_utilities_c", 5 ],
[ "roof_2x2_utilities_d", 20 ],
[ "roof_4x4_utility", 20 ],
[ "roof_2x2_utilities", 30 ]
],
"x": [ 7, 12 ],
"y": [ 5, 13 ]
}
]
}
}
]
36 changes: 36 additions & 0 deletions data/json/mapgen_palettes/fabric_store_palette.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[
{
"type": "palette",
"id": "fabric_store_pallete",
"terrain": {
";": [ "t_door_locked", "t_door_elocked_alarm" ],
"i": "t_door_locked_interior",
"0": "t_window_alarm",
"z": "t_region_shrub_decorative",
"p": "t_region_groundcover_urban"
},
"furniture": {
"%": "f_console_broken",
"c": "f_rack",
"C": "f_rack",
"Q": "f_rack",
"s": "f_stool",
"d": "f_desk",
"[": "f_table",
"p": "f_region_flower",
"L": "f_locker",
"l": "f_locker",
"J": "f_locker"
},
"items": {
"c": [ { "item": "SUS_tailoring_materials", "chance": 50 }, { "item": "SUS_tailoring_materials", "chance": 50 } ],
"C": { "item": "SUS_fur_tailoring_materials", "chance": 30 },
"Q": { "item": "SUS_tailoring_tool_drawer", "chance": 80 },
"d": { "item": "SUS_office_desk", "chance": 60 },
"[": { "item": "SUS_tailoring_tool_drawer", "chance": 30 },
"L": [ { "item": "SUS_fur_tailoring_materials", "chance": 50 }, { "item": "SUS_tailoring_fasteners", "chance": 50 } ],
"l": [ { "item": "SUS_tailoring_materials", "chance": 30 }, { "item": "SUS_tailoring_fasteners", "chance": 50 } ],
"J": { "item": "SUS_janitors_closet", "chance": 60 }
}
}
]
9 changes: 9 additions & 0 deletions data/json/overmap/multitile_city_buildings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5242,5 +5242,14 @@
{ "point": [ 0, 0, 0 ], "overmap": "barber_shop_north" },
{ "point": [ 0, 0, 1 ], "overmap": "barber_shop_roof_north" }
]
},
{
"type": "city_building",
"id": "s_fabricstore",
"locations": [ "land" ],
"overmaps": [
{ "point": [ 0, 0, 0 ], "overmap": "s_fabricstore_north" },
{ "point": [ 0, 0, 1 ], "overmap": "s_fabricstore_roof_north" }
]
}
]
17 changes: 17 additions & 0 deletions data/json/overmap/overmap_terrain/overmap_terrain_commercial.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,23 @@
"name": "clothing store",
"color": "blue"
},
{
"type": "overmap_terrain",
"id": [ "s_fabricstore" ],
"copy-from": "generic_city_building",
"looks_like": "s_clothes",
"name": "fabric store",
"color": "blue",
"extend": { "flags": [ "SOURCE_TAILORING" ] }
},
{
"type": "overmap_terrain",
"id": [ "s_fabricstore_roof" ],
"copy-from": "generic_city_building",
"looks_like": "s_clothes_roof",
"name": "fabric store roof",
"color": "blue"
},
{
"type": "overmap_terrain",
"id": [ "s_bookstore", "s_bookstore_1", "s_bookstore_2" ],
Expand Down
40 changes: 11 additions & 29 deletions data/json/recipes/other/materials.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,31 +286,13 @@
{
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"result": "thread",
"id_suffix": "with_spinningwheel_from_felt",
"category": "CC_OTHER",
"subcategory": "CSC_OTHER_MATERIALS",
"skill_used": "fabrication",
"batch_time_factors": [ 70, 1 ],
"time": "15 s",
"charges": 50,
"autolearn": true,
"tools": [ [ [ "spinwheelitem", -1 ] ] ],
"components": [ [ [ "felt_patch", 1 ] ] ]
},
{
"type": "recipe",
"activity_level": "NO_EXERCISE",
"result": "thread",
"id_suffix": "with_electric_spinwheel_from_felt",
"result": "wool_staple",
"category": "CC_OTHER",
"subcategory": "CSC_OTHER_MATERIALS",
"skill_used": "fabrication",
"batch_time_factors": [ 70, 1 ],
"time": "15 s",
"charges": 50,
"skill_used": "tailor",
"time": "10 m",
"autolearn": true,
"tools": [ [ [ "electric_spinwheel", 1 ] ] ],
"tools": [ [ [ "carding_paddles", -1 ] ] ],
"components": [ [ [ "felt_patch", 1 ] ] ]
},
{
Expand Down Expand Up @@ -370,7 +352,7 @@
"skills_required": [ "fabrication", 1 ],
"time": "10 m",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_spinning", "skill_penalty": 0.5 } ],
"proficiencies": [ { "proficiency": "prof_spinning", "skill_penalty": 0.5, "time_multiplier": 6 } ],
"tools": [ [ [ "distaff_spindle", -1 ] ] ],
"components": [ [ [ "cotton_ball", 3 ] ] ]
},
Expand All @@ -385,7 +367,7 @@
"skill_used": "tailor",
"time": "30 s",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_spinning", "skill_penalty": 0.5 } ],
"proficiencies": [ { "proficiency": "prof_spinning", "skill_penalty": 0.5, "time_multiplier": 6 } ],
"tools": [ [ [ "spinwheelitem", -1 ] ] ],
"components": [ [ [ "cotton_ball", 3 ] ] ]
},
Expand All @@ -400,7 +382,7 @@
"skill_used": "tailor",
"time": "30 s",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_spinning", "skill_penalty": 0.5 } ],
"proficiencies": [ { "proficiency": "prof_spinning", "skill_penalty": 0.5, "time_multiplier": 6 } ],
"tools": [ [ [ "electric_spinwheel", 2 ] ] ],
"components": [ [ [ "cotton_ball", 3 ] ] ]
},
Expand Down Expand Up @@ -503,9 +485,9 @@
"subcategory": "CSC_OTHER_MATERIALS",
"skill_used": "tailor",
"difficulty": 1,
"time": "30 m",
"time": "10 m",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_spinning" }, { "proficiency": "prof_fibers" } ],
"proficiencies": [ { "proficiency": "prof_spinning", "time_multiplier": 6 } ],
"qualities": [ { "id": "CUT", "level": 2 } ],
"tools": [ [ [ "distaff_spindle", -1 ] ] ],
"components": [ [ [ "wool_staple", 1 ] ] ]
Expand All @@ -521,7 +503,7 @@
"batch_time_factors": [ 70, 1 ],
"time": "90 s",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_spinning" }, { "proficiency": "prof_fibers" } ],
"proficiencies": [ { "proficiency": "prof_spinning", "time_multiplier": 6 } ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"tools": [ [ [ "spinwheelitem", -1 ] ] ],
"components": [ [ [ "wool_staple", 1 ] ] ]
Expand All @@ -537,7 +519,7 @@
"batch_time_factors": [ 70, 1 ],
"time": "90 s",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_spinning" }, { "proficiency": "prof_fibers" } ],
"proficiencies": [ { "proficiency": "prof_spinning", "time_multiplier": 6 } ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"tools": [ [ [ "electric_spinwheel", 4 ] ] ],
"components": [ [ [ "wool_staple", 1 ] ] ]
Expand Down
1 change: 1 addition & 0 deletions data/json/regional_map_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,7 @@
"s_clothes_4": 300,
"s_clothes_5": 100,
"s_clothes_6": 450,
"s_fabricstore": 200,
"s_library": 200,
"s_library_1": 200,
"s_library_2": 200,
Expand Down

0 comments on commit 414d97c

Please sign in to comment.