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

[Aftershock] Afs Scraps and the places they spawn #40037

Merged
merged 15 commits into from
Jun 12, 2020
55 changes: 52 additions & 3 deletions data/mods/Aftershock/items/item_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,33 @@
"id": "science",
"//": "extension of vanilla itemgroup",
"type": "item_group",
"items": [ [ "bionic_maintenance_toolkit", 20 ] ]
"items": [
[ "bionic_maintenance_toolkit", 20 ],
[ "afs_biomaterial_1", 20 ],
[ "afs_neural_io_1", 20 ],
[ "afs_material_2", 20 ],
[ "afs_magnet_1", 20 ],
[ "afs_energy_storage_1", 20 ],
[ "afs_circuitry_1", 20 ]
]
},
{
"id": "tools_medical",
"//": "extension of vanilla itemgroup",
"type": "item_group",
"items": [ [ "bionic_maintenance_toolkit", 20 ] ]
"items": [
[ "bionic_maintenance_toolkit", 20 ],
[ "afs_biomaterial_2", 20 ],
[ "afs_biomaterial_3", 10 ],
[ "afs_biomaterial_1", 20 ],
[ "afs_neural_io_2", 15 ]
]
},
{
"id": "surgery",
"//": "extension of vanilla itemgroup",
"type": "item_group",
"items": [ [ "bionic_maintenance_toolkit", 20 ] ]
"items": [ [ "bionic_maintenance_toolkit", 20 ], [ "afs_biomaterial_4", 10 ], [ "afs_neural_io_3", 5 ] ]
},
{
"id": "jewelry_accessories",
Expand Down Expand Up @@ -239,5 +253,40 @@
"type": "item_group",
"subtype": "collection",
"items": [ [ "q_solarpack", 1 ] ]
},
{
"type": "item_group",
"id": "afs_scrapgroup",
"items": [
[ "afs_biomaterial_1", 40 ],
[ "afs_biomaterial_2", 20 ],
[ "afs_biomaterial_3", 10 ],
[ "afs_biomaterial_4", 3 ],
[ "afs_circuitry_1", 25 ],
[ "afs_circuitry_2", 14 ],
[ "afs_circuitry_3", 6 ],
[ "afs_energy_storage_1", 30 ],
[ "afs_energy_storage_2", 19 ],
[ "afs_energy_storage_3", 2 ],
[ "afs_magnet_1", 18 ],
[ "afs_material_1", 100 ],
[ "afs_material_2", 40 ],
[ "afs_material_3", 20 ],
[ "afs_neural_io_1", 65 ],
[ "afs_neural_io_2", 10 ],
[ "plut_cell", 20 ]
]
},
{
"type": "item_group",
"id": "exoticplants",
"items": [
[ "seed_pineapple", 20 ],
[ "seed_melon", 20 ],
[ "seed_bananas", 20 ],
[ "seed_orange", 20 ],
[ "seed_lemon", 20 ],
[ "seed_coconut", 20 ]
]
}
]
54 changes: 54 additions & 0 deletions data/mods/Aftershock/items/seed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[
{
"id": "seed_pineapple",
"copy-from": "seed",
"type": "COMESTIBLE",
"name": { "str_sp": "pineapple stem" },
"description": "Roots of a pineapple plant, for growing your own.",
"weight": "152 g",
"price": 160,
"charges": 2,
"stack_size": 8,
"seed_data": { "plant_name": "pineapple", "fruit": "pineapple", "byproducts": [ "straw_pile" ], "grow": "280 days" }
},
{
"id": "seed_melon",
"copy-from": "seed_fruit",
"type": "COMESTIBLE",
"name": { "str_sp": "melon seeds" },
"description": "Some melon seeds.",
"seed_data": { "plant_name": "melon", "fruit": "melon", "byproducts": [ "withered" ], "grow": "91 days" }
},
{
"id": "seed_bananas",
"copy-from": "seed_fruit",
"type": "COMESTIBLE",
"name": { "str_sp": "banana saplings" },
"description": "Some banana saplings.",
"seed_data": { "plant_name": "banana", "fruit": "banana", "byproducts": [ "withered" ], "grow": "120 days" }
},
{
"id": "seed_orange",
"copy-from": "seed_fruit",
"type": "COMESTIBLE",
"name": { "str_sp": "orange vine" },
"description": "Some orange vine. Definitely GMO.",
"seed_data": { "plant_name": "orange", "fruit": "orange", "byproducts": [ "withered" ], "grow": "91 days" }
},
{
"id": "seed_lemon",
"copy-from": "seed_fruit",
"type": "COMESTIBLE",
"name": { "str_sp": "lemon vine" },
"description": "Some lemon vines. Definitely GMO.",
"seed_data": { "plant_name": "lemon", "fruit": "lemon", "byproducts": [ "withered" ], "grow": "91 days" }
},
{
"id": "seed_coconut",
"copy-from": "seed_fruit",
"type": "COMESTIBLE",
"name": { "str_sp": "subterraenean coconut" },
"description": "Proof that man went too far before the Cataclysm.",
"seed_data": { "plant_name": "coconut", "fruit": "coconut", "byproducts": [ "withered" ], "grow": "120 days" }
}
]
222 changes: 222 additions & 0 deletions data/mods/Aftershock/maps/furniture.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,227 @@
]
},
"looks_like": "f_fridge"
},
{
"type": "furniture",
"id": "f_sleep_pod",
"name": "sleep pod",
"symbol": "#",
"description": "This is a climate controlled sleep pod. An easy way to reduce energy costs in dense urban environments.",
"color": "light_blue",
"move_cost_mod": 15,
"coverage": 80,
"comfort": 8,
"floor_bedding_warmth": 1000,
"required_str": -1,
"looks_like": "f_bed_frame",
"flags": [ "TRANSPARENT", "PLACE_ITEM", "MOUNTABLE", "CAN_SIT" ],
"bash": {
"str_min": 18,
"str_max": 40,
"sound": "clang!",
"sound_fail": "whump.",
"items": [
{ "item": "afs_energy_storage_2", "count": [ 2, 4 ] },
{ "item": "steel_chunk", "count": [ 3, 6 ] },
{ "item": "rag", "count": [ 40, 55 ] },
{ "item": "afs_material_1", "count": [ 10, 20 ] }
]
}
},
{
"type": "furniture",
"id": "f_cryo_pod",
"name": "cryo pod",
"symbol": "#",
"description": "This is a long term sleep pod. Cryo pods are mostly used by people waiting a short term for organs or criminals avoiding heat right after a crime.",
"color": "light_blue",
"move_cost_mod": 15,
"coverage": 80,
"comfort": 2,
"floor_bedding_warmth": 500,
"required_str": -1,
"looks_like": "f_bed_frame",
"flags": [ "TRANSPARENT", "PLACE_ITEM", "MOUNTABLE", "CAN_SIT" ],
"bash": {
"str_min": 18,
"str_max": 40,
"sound": "clang!",
"sound_fail": "whump.",
"items": [
{ "item": "afs_energy_storage_2", "count": [ 2, 4 ] },
{ "item": "steel_chunk", "count": [ 3, 6 ] },
{ "item": "rag", "count": [ 40, 55 ] },
{ "item": "afs_material_1", "count": [ 10, 20 ] },
{ "item": "afs_magnet_2", "count": [ 1, 3 ] },
{ "item": "afs_circuitry_3", "count": [ 0, 1 ] }
]
}
},
{
"type": "furniture",
"id": "f_crispr",
"name": "CRISPR Biolab",
"symbol": "&",
"description": "A boxy looking device of arms, droppers and pipettes. It was used pre-Cataclysm to do expirements in gene editing.",
"color": "light_cyan",
"looks_like": "f_robotic_arm",
"move_cost_mod": -1,
"coverage": 35,
"required_str": -1,
"flags": [ "TRANSPARENT" ],
"deconstruct": {
"items": [
{ "item": "afs_circuitry_3", "count": [ 1, 2 ] },
{ "item": "afs_circuitry_2", "count": [ 4, 8 ] },
{ "item": "cable", "charges": [ 4, 6 ] },
{ "item": "small_lcd_screen", "count": [ 1, 2 ] },
{ "item": "e_scrap", "count": [ 10, 16 ] },
{ "item": "afs_circuitry_1", "count": [ 6, 10 ] },
{ "item": "afs_energy_storage_2", "count": [ 2, 4 ] },
{ "item": "afs_energy_storage_1", "count": [ 2, 4 ] },
{ "item": "plastic_chunk", "count": [ 10, 12 ] },
{ "item": "afs_material_1", "count": [ 6, 8 ] }
]
},
"bash": {
"str_min": 8,
"str_max": 150,
"sound": "crunch!",
"sound_fail": "whack!",
"items": [
{ "item": "afs_circuitry_3", "prob": 25 },
{ "item": "afs_circuitry_2", "count": [ 0, 2 ], "prob": 50 },
{ "item": "cable", "charges": [ 1, 2 ], "prob": 50 },
{ "item": "small_lcd_screen", "prob": 25 },
{ "item": "afs_circuitry_1", "count": [ 1, 4 ], "prob": 50 },
{ "item": "circuit", "count": [ 0, 2 ], "prob": 50 },
{ "item": "afs_energy_storage_1", "prob": 25 },
{ "item": "afs_energy_storage_2", "prob": 25 },
{ "item": "plastic_chunk", "count": [ 4, 10 ], "prob": 50 },
{ "item": "afs_material_1", "count": [ 2, 6 ], "prob": 50 }
]
}
},
{
"type": "furniture",
"id": "f_3dprinter",
"name": "3D printer",
"symbol": "?",
"description": "This box was used for rapid prototyping of products and for general entertainment purposes in the masses.",
"color": "light_cyan",
"looks_like": "f_robotic_arm",
"move_cost_mod": -1,
"coverage": 35,
"required_str": -1,
"flags": [ "TRANSPARENT" ],
"deconstruct": {
"items": [
{ "item": "afs_circuitry_3", "count": [ 1, 2 ] },
{ "item": "afs_circuitry_2", "count": [ 4, 8 ] },
{ "item": "cable", "charges": [ 4, 6 ] },
{ "item": "small_lcd_screen", "count": [ 1, 2 ] },
{ "item": "e_scrap", "count": [ 10, 16 ] },
{ "item": "afs_circuitry_1", "count": [ 6, 10 ] },
{ "item": "afs_energy_storage_2", "count": [ 2, 4 ] },
{ "item": "afs_energy_storage_1", "count": [ 2, 4 ] },
{ "item": "plastic_chunk", "count": [ 10, 12 ] },
{ "item": "afs_material_1", "count": [ 6, 8 ] },
{ "item": "afs_material_2", "count": [ 3, 7 ] }
]
},
"bash": {
"str_min": 8,
"str_max": 150,
"sound": "crunch!",
"sound_fail": "whack!",
"items": [
{ "item": "afs_circuitry_3", "prob": 25 },
{ "item": "afs_circuitry_2", "count": [ 0, 2 ], "prob": 50 },
{ "item": "cable", "charges": [ 1, 2 ], "prob": 50 },
{ "item": "small_lcd_screen", "prob": 25 },
{ "item": "afs_circuitry_1", "count": [ 1, 4 ], "prob": 50 },
{ "item": "circuit", "count": [ 0, 2 ], "prob": 50 },
{ "item": "afs_energy_storage_1", "prob": 25 },
{ "item": "afs_energy_storage_2", "prob": 25 },
{ "item": "plastic_chunk", "count": [ 4, 10 ], "prob": 50 },
{ "item": "afs_material_1", "count": [ 2, 6 ], "prob": 50 },
{ "item": "afs_material_2", "count": [ 1, 4 ], "prob": 50 }
]
}
},
{
"type": "furniture",
"id": "f_neuralnet_inserter",
"name": "neural net inserter",
"looks_like": "f_drill_press",
"description": "This device looks like a cross between some kind of nightmare dentistry equipment and socketing tool mounted on a slide that lets it drop precisely down. Useful for those project that require putting delicate items into hard to reach spaces.",
"symbol": "7",
"color": "yellow_red",
"move_cost_mod": -1,
"coverage": 40,
"required_str": 10,
"flags": [ "BLOCKSDOOR" ],
"bash": {
"str_min": 40,
"str_max": 150,
"sound_fail": "clang!",
"items": [
{ "item": "afs_circuitry_1", "charges": [ 0, 4 ] },
{ "item": "afs_material_1", "count": [ 8, 12 ] },
{ "item": "afs_material_2", "count": [ 2, 4 ] },
{ "item": "afs_magnet_1", "count": [ 4, 10 ] },
{ "item": "afs_material_3", "count": [ 2, 4 ] }
]
},
"deconstruct": {
"items": [
{ "item": "afs_circuitry_1", "charges": [ 4, 8 ] },
{ "item": "afs_material_2", "count": [ 4, 6 ] },
{ "item": "afs_energy_storage_2", "count": [ 1, 2 ] },
{ "item": "afs_material_1", "count": [ 12, 16 ] },
{ "item": "afs_material_3", "count": [ 2, 4 ] },
{ "item": "spike", "count": 1 },
{ "item": "afs_magnet_1", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
{
"type": "furniture",
"id": "f_monomolecularsaw",
"name": "monomolecular saw",
"looks_like": "f_bandsaw",
"description": "A wire the size of a cheescutter runs in a single direction in this tool, allowing atomically precise cuts at almost any angle. Even unpowered it gives off a visual distortion for several inches around it to prevent you from losing a hand. It is impossible to deconstruct this device without the wire self destructing.",
"symbol": "7",
"color": "yellow_cyan",
"move_cost_mod": -2,
"coverage": 40,
"required_str": 10,
"flags": [ "BLOCKSDOOR" ],
"bash": {
"str_min": 40,
"str_max": 150,
"sound_fail": "clang!",
"items": [
{ "item": "afs_circuitry_1", "charges": [ 0, 4 ] },
{ "item": "afs_material_1", "count": [ 8, 12 ] },
{ "item": "afs_material_2", "count": [ 2, 4 ] },
{ "item": "afs_magnet_1", "count": [ 4, 10 ] },
{ "item": "afs_material_3", "count": [ 2, 4 ] }
]
},
"deconstruct": {
"items": [
{ "item": "afs_circuitry_1", "charges": [ 4, 8 ] },
{ "item": "afs_material_2", "count": [ 4, 6 ] },
{ "item": "afs_energy_storage_1", "count": [ 1, 2 ] },
{ "item": "afs_material_1", "count": [ 12, 16 ] },
{ "item": "afs_material_3", "count": [ 2, 4 ] },
{ "item": "afs_circuitry_2", "count": [ 1, 2 ] },
{ "item": "afs_magnet_1", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
}
]
Loading