Skip to content

Commit

Permalink
Low-tech crafting expansion and overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicFox556 committed Jan 22, 2023
1 parent fdb6831 commit 1b81215
Show file tree
Hide file tree
Showing 33 changed files with 2,825 additions and 50 deletions.
22 changes: 22 additions & 0 deletions data/json/EraOfDecay/furniture/crafting.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,27 @@
{ "item": "cable", "charges": [ 4, 8 ] }
]
}
},
{
"type": "furniture",
"id": "f_bloomery",
"name": "brick bloomery",
"symbol": "#",
"description": "A small primitive brick furnace outfitted with tuyere, intended for smelting iron from its oxides. Could also be used to contain a fire, but smoke will be an issue.",
"bgcolor": "light_red",
"move_cost_mod": 2,
"coverage": 50,
"required_str": -1,
"crafting_pseudo_item": "bloomery",
"flags": [ "TRANSPARENT", "CONTAINER", "FIRE_CONTAINER", "PLACE_ITEM", "EASY_DECONSTRUCT", "MINEABLE" ],
"deconstruct": { "items": [ { "item": "fire_brick", "count": 12 } ] },
"examine_action": "fireplace",
"bash": {
"str_min": 18,
"str_max": 50,
"sound": "crash!",
"sound_fail": "whump!",
"items": [ { "item": "fire_brick", "count": [ 6, 12 ] } ]
}
}
]
21 changes: 21 additions & 0 deletions data/json/EraOfDecay/itemgroups/materials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"type": "item_group",
"id": "ores",
"//": "All ores, with probability based on overall commonness of certain ores on Earth.",
"items": [
{ "item": "bog_ore", "prob": 200 },
{ "item": "chunk_hematite", "prob": 500 },
{ "item": "chunk_copper", "prob": 100 },
{ "item": "chunk_silver", "prob": 50 },
{ "item": "chunk_gold", "prob": 10 },
{ "item": "chunk_platinum", "prob": 5 },
{ "item": "chunk_aluminum", "prob": 1 },
{ "item": "chunk_cassiterite", "prob": 200 },
{ "item": "chunk_galena", "prob": 200 },
{ "item": "chunk_bismite", "prob": 100 },
{ "item": "chunk_cinnabar", "prob": 50 },
{ "item": "chunk_nickeline", "prob": 100 }
]
}
]
14 changes: 14 additions & 0 deletions data/json/EraOfDecay/itemgroups/offworld/natural.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"id": "minerals_swamp",
"type": "item_group",
"//": "For ore veins.",
"items": [ [ "bog_ore", 10 ] ]
},
{
"id": "rubble_fake",
"type": "item_group",
"//": "Unable to both randomly placed rubble and ensure rocks spawn underneath. For ore veins.",
"items": [ { "item": "rock", "prob": 100, "count-min": 1, "count-max": 3 } ]
}
]
9 changes: 1 addition & 8 deletions data/json/EraOfDecay/items/armor/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,7 @@
"looks_like": "jerrypack",
"color": "green",
"material_thickness": 2,
"pocket_data": [
{
"max_contains_volume": "15 L",
"max_contains_weight": "25 kg",
"watertight": true,
"rigid": true
}
],
"pocket_data": [ { "max_contains_volume": "15 L", "max_contains_weight": "25 kg", "watertight": true, "rigid": true } ],
"qualities": [ [ "BOIL", 2 ], [ "CONTAIN", 1 ] ],
"flags": [ "OVERSIZE", "BELTED", "WATER_FRIENDLY", "FRAGILE" ],
"armor": [ { "encumbrance": 24, "coverage": 70, "covers": [ "torso" ], "specifically_covers": [ "torso_hanging_back" ] } ]
Expand Down
194 changes: 194 additions & 0 deletions data/json/EraOfDecay/items/generic/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -890,5 +890,199 @@
"//weight_per_mol": "153.6 g",
"material": [ "powder" ],
"weight": "1600 mg"
},
{
"type": "AMMO",
"id": "brass_chunk",
"copy-from": "reagent_powder",
"name": { "str_sp": "brass" },
"description": "Small chunks of brass. Often used for making cartridge casings, non-sparking tools, low-friction mechanical parts and has many other applications.",
"//": "Density assumed to be 8500 mg/ml.",
"material": [ "brass" ],
"color": "yellow",
"weight": "8500 mg"
},
{
"type": "GENERIC",
"id": "bog_ore",
"symbol": "*",
"color": "brown",
"name": { "str": "bog ore chunk" },
"category": "spare_parts",
"description": "A form of impure iron deposit that develops in bogs or swamps; looks like a brown rock. Contains less iron than magnetite or hematite, but could still be refined into steel with a bloomery.",
"price": 0,
"bashing": 7,
"price_postapoc": 0,
"material": [ "soil", "stone" ],
"weight": "1 kg",
"volume": "250 ml",
"to_hit": -1
},
{
"type": "AMMO",
"id": "material_sand_black",
"category": "spare_parts",
"name": { "str_sp": "black sand" },
"symbol": "=",
"color": "dark_gray",
"description": "A handful of sand, rich with minerals eroded from a deposit. Not as useful in this state, but might be a source of magnetite.",
"material": "powder_nonflam",
"volume": "250 ml",
"weight": "23 g",
"ammo_type": "components",
"count": 50
},
{
"type": "GENERIC",
"id": "chunk_hematite",
"category": "spare_parts",
"price": 250,
"name": { "str": "hematite chunk" },
"symbol": "*",
"color": "light_gray",
"description": "A chunk of hematite, an ore of iron. It only needs to be smelted into usable form.",
"material": "stone",
"volume": "15 ml",
"weight": "76 g"
},
{
"type": "GENERIC",
"id": "chunk_copper",
"category": "spare_parts",
"price": 100,
"name": { "str": "native copper chunk" },
"symbol": "*",
"color": "light_red",
"description": "A large chunk of copper, in its native state. It just needs to be worked into a more usable shape.",
"material": "copper",
"volume": "1 L",
"weight": "8960 g",
"bashing": 2
},
{
"type": "GENERIC",
"id": "chunk_silver",
"category": "spare_parts",
"price": 500,
"name": { "str": "native silver chunk" },
"symbol": "*",
"color": "light_gray",
"description": "A large chunk of silver, in its native state. It just needs to be worked into a more usable shape.",
"material": "silver",
"volume": "1 L",
"weight": "10490 g",
"bashing": 3
},
{
"type": "GENERIC",
"id": "chunk_gold",
"category": "spare_parts",
"price": 1500,
"name": { "str": "native gold chunk" },
"symbol": "*",
"color": "yellow",
"description": "A large chunk of native gold, a rare find. It just needs to be worked into a more usable shape.",
"material": "gold",
"volume": "1 L",
"weight": "19320 g",
"bashing": 4
},
{
"type": "GENERIC",
"id": "chunk_platinum",
"category": "spare_parts",
"price": 1500,
"name": { "str": "native platinum chunk" },
"symbol": "*",
"color": "light_gray",
"description": "A large chunk of native platinum, a rare find. It just needs to be worked into a more usable shape.",
"material": "platinum",
"volume": "1 L",
"weight": "21450 g",
"bashing": 4
},
{
"type": "GENERIC",
"id": "chunk_aluminum",
"category": "spare_parts",
"price": 100,
"name": { "str": "native aluminum chunk" },
"symbol": "*",
"color": "white",
"description": "A large chunk of native aluminum, which would have been priceless before other ways to obtain aluminum were discovered. It needs to be cast into an ingot to use.",
"material": "aluminum",
"volume": "1 L",
"weight": "2700 g",
"bashing": 1
},
{
"type": "GENERIC",
"id": "chunk_cassiterite",
"category": "spare_parts",
"price": 300,
"name": { "str": "cassiterite chunk" },
"symbol": "*",
"color": "brown",
"description": "A large chunk of cassiterite, an ore of tin. It just needs to be smelted into usable form.",
"material": "stone",
"volume": "1 L",
"weight": "6260 g",
"bashing": 2
},
{
"type": "GENERIC",
"id": "chunk_galena",
"category": "spare_parts",
"price": 250,
"name": { "str": "galena chunk" },
"symbol": "*",
"color": "light_gray",
"description": "A large chunk of galena, a lead ore. It just needs to be smelted into usable form.",
"material": "stone",
"volume": "1 L",
"weight": "7600 g",
"bashing": 3
},
{
"type": "GENERIC",
"id": "chunk_bismite",
"category": "spare_parts",
"price": 250,
"name": { "str": "bismite chunk" },
"symbol": "*",
"color": "light_gray",
"description": "A large chunk of bismite, a bismuth ore. It just needs to be smelted into usable form.",
"material": "stone",
"volume": "1 L",
"weight": "8900 g",
"bashing": 3
},
{
"type": "GENERIC",
"id": "chunk_cinnabar",
"category": "spare_parts",
"price": 250,
"name": { "str": "cinnabar chunk" },
"symbol": "*",
"color": "light_red",
"description": "A large chunk of cinnabar, a red mineral from which elemental mercury can be obtained.",
"material": "stone",
"volume": "1 L",
"weight": "8100 g",
"bashing": 3
},
{
"type": "GENERIC",
"id": "chunk_nickeline",
"category": "spare_parts",
"price": 250,
"name": { "str": "nickeline chunk" },
"symbol": "*",
"color": "light_red",
"description": "A large chunk of nickeline, a nickel ore. It just needs to be smelted into a usable form.",
"material": "stone",
"volume": "1 L",
"weight": "7800 g",
"bashing": 3
}
]
66 changes: 66 additions & 0 deletions data/json/EraOfDecay/items/tools/other.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[
{
"type": "GENERIC",
"id": "bellows",
"name": { "str": "pair of bellows", "str_pl": "pairs of bellows" },
"description": "A device constructed from wood and leather, built to furnish a strong blast of air. Useful for metalworking and some other applications.",
"category": "tools",
"weight": "2 kg",
"volume": "3 L",
"longest_side": "30 cm",
"symbol": ";",
"color": "brown",
"price": 700,
"price_postapoc": 100,
"material": [ "wood", "leather" ],
"qualities": [ [ "AIR_BLOW", 2 ] ]
},
{
"type": "GENERIC",
"id": "bellows_primitive",
"name": { "str": "primitive air blower" },
"description": "A round clay container with a lid which has one hole in it to let the air in and another one to blow it out, along with a primitive impeller made from cordage and sticks, which is spun around to provide a blast of air. Useful for metalworking and some other applications, but really can't replace proper bellows.",
"category": "tools",
"weight": "4 kg",
"volume": "6 L",
"longest_side": "35 cm",
"symbol": ";",
"color": "brown",
"price": 0,
"price_postapoc": 10,
"material": [ "clay", "wood" ],
"qualities": [ [ "AIR_BLOW", 1 ] ]
},
{
"id": "bloomery",
"type": "GENERIC",
"category": "tools",
"name": { "str": "portable bloomery", "str_pl": "portable bloomeries" },
"description": "A relatively small portable bloomery made from bricks, outfitted with tuyere for blowing air into it, and an external steel frame to prevent it from falling apart during transportation. It's intended for smelting iron from its oxides.",
"weight": "18 kg",
"volume": "40 L",
"price": 52500,
"price_postapoc": 2500,
"to_hit": -2,
"bashing": 8,
"material": [ "clay", "steel" ],
"symbol": ";",
"color": "brown"
},
{
"id": "wooden_brick_mold",
"type": "GENERIC",
"category": "tools",
"name": { "str": "wooden brick mold" },
"description": "A crude wooden rectangular mold for shaping bricks, held together by some cordage.",
"weight": "1 kg",
"volume": "2 L",
"price": 0,
"price_postapoc": 10,
"to_hit": -2,
"bashing": 8,
"material": [ "wood" ],
"symbol": ";",
"color": "brown"
}
]
Loading

0 comments on commit 1b81215

Please sign in to comment.