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

Put some stuff into boxes #35898

Closed
wants to merge 43 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
5bbd6e1
Add mi-go atmosphere effect
I-am-Erk Nov 21, 2019
2af1b15
Merge pull request #17 from CleverRaven/master
I-am-Erk Nov 22, 2019
813465c
Merge remote-tracking branch 'upstream/master'
I-am-Erk Nov 23, 2019
24bb986
Merge remote-tracking branch 'upstream/master'
I-am-Erk Nov 27, 2019
f3fa4aa
Merge remote-tracking branch 'upstream/master'
I-am-Erk Dec 2, 2019
017c26d
Merge branch 'master' of github.com:I-am-Erk/Cataclysm-DDA
I-am-Erk Dec 3, 2019
8a1ad00
Removes parasites from raw_milk
Dec 3, 2019
e4bcb11
contamination entry
Dec 3, 2019
825d835
use same time scale as rotting food
Dec 3, 2019
f3e7ff8
Raw milk has 30% chance to give foodpoisoning
Dec 3, 2019
e269e93
space
Dec 3, 2019
8c759d9
5% proba
Dec 3, 2019
961f46c
doc
Dec 3, 2019
28227f1
Jsonize skill companion rank factors
ZhilkinSerg Dec 3, 2019
6678797
Silence type punning warning reported by gcc 6.5 (#35849)
kevingranade Dec 4, 2019
8650ef0
Remove professions with survivor armor & change Rescuer's armor (#35844)
Dec 4, 2019
10b6b77
Restore penalty to reading already-read books. (#35845)
kevingranade Dec 4, 2019
8accca1
Update evac shelters and bring them (mostly) up to code (#35847)
I-am-Erk Dec 4, 2019
aeb50da
New JSON recipe property for overriding inheritance of specified flag…
Davi-DeGanne Dec 4, 2019
aa2a176
Rope and cordage overhaul (#35700)
Rail-Runner Dec 4, 2019
e04cb3a
Fix typo
OzoneH3 Dec 4, 2019
77359a3
Resolve #35858
sah4001 Dec 4, 2019
05b44c6
resolve #35814
sah4001 Dec 4, 2019
03ac53c
Linting
sah4001 Dec 4, 2019
d2dc068
Update shot.json
tenmillimaster Dec 4, 2019
839143d
Updated Android build process (2019-12-04) (#35859)
ZhilkinSerg Dec 4, 2019
49baeb0
Update name, volume, and weight json members to newer format (#35857)
KorGgenT Dec 4, 2019
fa75327
Fixed sidewalk generation for various buildings (#35853)
Night-Pryanik Dec 4, 2019
71c81fa
Modify animal vehicle power by their strength
Davi-DeGanne Dec 5, 2019
6fdd663
Fix the Dark Sight spell (#35850)
CSHague Dec 5, 2019
02c07bf
Remove stim values from cheeseburgers etc.
Kodiologist Dec 5, 2019
cf8f0ed
Updated road connections to various wilderness locations
Night-Pryanik Dec 5, 2019
1d90f08
Fix items with charges washing bug
Davi-DeGanne Dec 5, 2019
ca8b2e3
Add fragile flag to majority of glasses.
arijust Dec 5, 2019
161d486
Modify flatbread recipe in Aftershock
arijust Dec 5, 2019
f4b7ccc
Remove redundant get() call on smart pointer
ZhilkinSerg Dec 5, 2019
5f48174
add sound/deafness to labels and labels-narrow sidebar layouts (#35886)
esotericist Dec 6, 2019
b2aaaea
Updated lang/extract_json_strings.py to recognize "scent_type" JSON type
BrettDong Dec 6, 2019
f56e1ca
Routine i18n updates on 6 Dec 2019
BrettDong Dec 6, 2019
6bd589a
Afs mi go turrets (#35726)
Maleclypse Dec 6, 2019
7b879f1
Raise spawn chance for cardboard boxes. (#35876)
arijust Dec 6, 2019
8ccf84d
JSONize flag-based modifiers on comestible enjoyability (#35813)
Davi-DeGanne Dec 6, 2019
4d93d19
add a box to hold trades stuff
I-am-Erk Dec 6, 2019
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
12 changes: 11 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,16 @@ android {
}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

flavorDimensions "version"

productFlavors {
experimental {
dimension "version"
applicationIdSuffix ".experimental"
}
}

signingConfigs {
if (keystoreProperties.getProperty('storeFile') != null) {
if (file(keystoreProperties.getProperty('storeFile')).exists()) {
Expand Down Expand Up @@ -221,7 +231,7 @@ android {
variant.outputs.each { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith(".aar")) {
def fileName = "com.cleverraven.cataclysmdda.aar";
def fileName = "$applicationId.aar";
output.outputFile = new File(outputFile.parent, fileName);
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ deps=./deps.zip
override_version=

# This property controls path where overriden version number header should be generated
# You can override this from the command line by passing "-pversion_header_path=#"
# You can override this from the command line by passing "-Pversion_header_path=#"
version_header_path=app/jni/src/version.h
6 changes: 1 addition & 5 deletions data/json/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -701,11 +701,6 @@
"id": "ELECTRIC_IMMUNE",
"type": "json_flag"
},
{
"id": "NO_CRAFT_INHERIT",
"type": "json_flag",
"//": "Crafted items with this flag won't inherit flags with craft_inherit from their components."
},
{
"id": "HIDDEN_HALLU",
"type": "json_flag",
Expand All @@ -725,6 +720,7 @@
"type": "json_flag",
"context": [ "COMESTIBLE" ],
"craft_inherit": true,
"taste_mod": -5,
"//": "Has a bad taste or texture that can't be covered up through cooking.",
"info": "This food is <bad>unappetizing</bad> in a way that <bad>can't be covered up by most cooking</bad>."
},
Expand Down
85 changes: 85 additions & 0 deletions data/json/itemgroups/SUS_specific_use_storage_items.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,89 @@
[
{
"id": "SUS_evac_shelter_locker",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "Each locker contains by spec one jacket, one blanket, one gas mask, a flashlight, a plastic bowl and utensils, a lighter, and two bottles of water. Not every locker is fully stocked.",
"subtype": "collection",
"items": [
[ "evac_pamphlet", 99 ],
[ "jacket_evac", 75 ],
[ "emer_blanket", 75 ],
[ "mask_gas", 5 ],
[ "flashlight", 50 ],
[ "lighter", 20 ],
{ "item": "water_clean", "count": 2, "prob": 80 },
{ "item": "protein_bar_evac", "count": 3 },
{
"collection": [ { "item": "plastic_spoon" }, { "item": "plastic_knife" }, { "item": "plastic_fork" }, { "item": "bowl_plastic" } ],
"prob": 90
}
]
},
{
"id": "SUS_evac_shelter_cabinet",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "The cabinets contain a stock of delicious evac protein bars, and may contain clean water, cans of food, and spare blankets.",
"subtype": "collection",
"items": [
{
"distribution": [
{
"collection": [ { "item": "emer_blanket", "count": 5, "prob": 80 }, { "item": "jacket_evac", "count": 5, "prob": 80 } ],
"prob": 30
},
{ "item": "water_clean", "count": 12, "prob": 20 },
{ "item": "protein_bar_evac", "count": 24, "prob": 60 },
{
"collection": [
{ "item": "extinguisher", "prob": 70 },
{ "item": "1st_aid", "count": [ 1, 3 ], "prob": 85 },
{ "item": "two_way_radio", "prob": 65 },
{ "item": "light_disposable_cell", "count": [ 2, 4 ], "prob": 65 },
{ "item": "electric_lantern", "prob": 35 }
],
"prob": 10
},
{
"collection": [
{ "item": "detergent", "count": [ 1, 2 ] },
{ "item": "brush", "prob": 85 },
{ "item": "bleach", "prob": 65 },
{ "item": "ammonia", "prob": 35 }
],
"prob": 15
},
{
"collection": [
{ "item": "can_beans", "count": 12, "prob": 50 },
{ "item": "can_tomato", "count": 12, "prob": 40 },
{ "item": "soup_chicken", "count": 12, "prob": 20 },
{ "item": "can_opener", "prob": 90 }
],
"prob": 5
}
]
},
[ "evac_pamphlet", 15 ]
]
},
{
"id": "SUS_evac_shelter_sink",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "The cabinets contain a stock of delicious evac protein bars, and may contain clean water, cans of food, and spare blankets.",
"subtype": "collection",
"items": [
{ "item": "soap", "count": [ 1, 2 ] },
[ "brush", 90 ],
[ "bleach", 45 ],
[ "ammonia", 25 ],
[ "1st_aid", 60 ],
{ "item": "paper", "count": [ 1, 3 ] },
[ "evac_pamphlet", 10 ]
]
},
{
"id": "SUS_silverware",
"type": "item_group",
Expand Down
53 changes: 29 additions & 24 deletions data/json/itemgroups/collections_trades.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,36 @@
"type": "item_group",
"id": "mischw",
"//": "A general hardware group for retail, workshops, etc., with an odd assortment of extra items.",
"//2": "often spawns a box to hold everything, sometimes a plastic sheet to cover it, and then some stuff in the box.",
"subtype": "collection",
"items": [
{ "group": "tools_general", "prob": 90 },
{ "group": "supplies_hardware", "prob": 50 },
{ "group": "hardware_clothing", "prob": 20 },
{ "group": "hardware_bulk", "prob": 10 },
{ "group": "hardware_books", "prob": 10 },
[ "survnote", 1 ],
[ "box_medium", 2 ],
[ "box_large", 2 ],
[ "plastic_sheet", 2 ],
[ "machete", 5 ],
[ "boots_combat", 10 ],
[ "boots_hiking", 5 ],
[ "runner_bag", 3 ],
[ "bb", 8 ],
[ "bbgun", 10 ],
[ "beartrap", 3 ],
[ "radio", 20 ],
[ "hotplate", 10 ],
[ "extinguisher", 20 ],
[ "cable", 60 ],
[ "sm_extinguisher", 10 ],
[ "grapnel", 1 ],
[ "misc_repairkit", 5 ],
[ "knitting_needles", 1 ]
{ "distribution": [ [ "box_medium", 75 ], [ "box_large", 25 ] ], "prob": 60 },
[ "plastic_sheet", 25 ],
{
"distribution": [
{ "group": "tools_general", "prob": 90 },
{ "group": "supplies_hardware", "prob": 50 },
{ "group": "hardware_clothing", "prob": 20 },
{ "group": "hardware_bulk", "prob": 10 },
{ "group": "hardware_books", "prob": 10 },
[ "survnote", 1 ],
[ "machete", 5 ],
[ "boots_combat", 10 ],
[ "boots_hiking", 5 ],
[ "runner_bag", 3 ],
[ "bb", 8 ],
[ "bbgun", 10 ],
[ "beartrap", 3 ],
[ "radio", 20 ],
[ "hotplate", 10 ],
[ "extinguisher", 20 ],
[ "cable", 60 ],
[ "sm_extinguisher", 10 ],
[ "grapnel", 1 ],
[ "misc_repairkit", 5 ],
[ "knitting_needles", 1 ]
]
}
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions data/json/itemgroups/item_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -2461,7 +2461,7 @@
[ "survnote", 5 ],
[ "eclipse_glasses", 1 ],
[ "plastic_sheet", 5 ],
[ "box_medium", 5 ],
[ "box_medium", 15 ],
[ "thermos", 30 ],
{ "group": "tinware", "prob": 15 }
]
Expand Down Expand Up @@ -6411,8 +6411,8 @@
{ "group": "tinware", "prob": 3 },
[ "can_drink_unsealed", 2 ],
[ "can_food_unsealed", 1 ],
[ "box_small", 2 ],
[ "box_medium", 1 ],
[ "box_small", 5 ],
[ "box_medium", 3 ],
[ "box_large", 1 ],
[ "plastic_sheet", 1 ],
[ "jug_plastic", 1 ],
Expand Down
6 changes: 3 additions & 3 deletions data/json/itemgroups/supplies.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@
[ "rope_30", 35 ],
[ "circsaw_blade", 8 ],
[ "glass_sheet", 5 ],
[ "box_small", 2 ],
[ "box_medium", 2 ],
[ "box_large", 2 ],
[ "box_small", 10 ],
[ "box_medium", 10 ],
[ "box_large", 10 ],
[ "plastic_sheet", 30 ],
{ "item": "pipe", "prob": 20, "count": [ 5, 10 ] },
{ "item": "nail", "prob": 60, "count": [ 2, 4 ] },
Expand Down
14 changes: 7 additions & 7 deletions data/json/items/armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2712,7 +2712,7 @@
"material_thickness": 1,
"environmental_protection": 1,
"qualities": [ [ "GLARE", 1 ] ],
"flags": [ "FANCY", "WATER_FRIENDLY", "SUN_GLASSES" ]
"flags": [ "FANCY", "WATER_FRIENDLY", "SUN_GLASSES", "FRAGILE" ]
},
{
"id": "fanny",
Expand Down Expand Up @@ -3020,7 +3020,7 @@
"material_thickness": 1,
"environmental_protection": 1,
"qualities": [ [ "GLARE", 1 ] ],
"flags": [ "WATER_FRIENDLY", "SUN_GLASSES", "VARSIZE", "OUTER" ]
"flags": [ "WATER_FRIENDLY", "SUN_GLASSES", "VARSIZE", "OUTER", "FRAGILE" ]
},
{
"id": "flag_shirt",
Expand Down Expand Up @@ -3293,7 +3293,7 @@
"material_thickness": 1,
"environmental_protection": 1,
"use_action": { "type": "firestarter", "moves": 1000, "moves_slow": 25000, "need_sunlight": true },
"flags": [ "WATER_FRIENDLY", "FIRESTARTER", "FIX_NEARSIGHT", "FIX_FARSIGHT" ]
"flags": [ "WATER_FRIENDLY", "FIRESTARTER", "FIX_NEARSIGHT", "FIX_FARSIGHT", "FRAGILE" ]
},
{
"id": "glasses_eye",
Expand All @@ -3313,7 +3313,7 @@
"coverage": 75,
"material_thickness": 1,
"environmental_protection": 1,
"flags": [ "WATER_FRIENDLY", "FIX_NEARSIGHT" ]
"flags": [ "WATER_FRIENDLY", "FIX_NEARSIGHT", "FRAGILE" ]
},
{
"id": "glasses_monocle",
Expand All @@ -3333,7 +3333,7 @@
"coverage": 20,
"material_thickness": 1,
"environmental_protection": 1,
"flags": [ "SUPER_FANCY", "FIX_NEARSIGHT" ]
"flags": [ "SUPER_FANCY", "FIX_NEARSIGHT", "FRAGILE" ]
},
{
"id": "glasses_reading",
Expand All @@ -3354,7 +3354,7 @@
"material_thickness": 1,
"environmental_protection": 1,
"use_action": { "type": "firestarter", "moves": 1000, "moves_slow": 25000, "need_sunlight": true },
"flags": [ "WATER_FRIENDLY", "FIRESTARTER", "FIX_FARSIGHT" ]
"flags": [ "WATER_FRIENDLY", "FIRESTARTER", "FIX_FARSIGHT", "FRAGILE" ]
},
{
"id": "glasses_safety",
Expand Down Expand Up @@ -8621,7 +8621,7 @@
"material_thickness": 1,
"environmental_protection": 1,
"qualities": [ [ "GLARE", 1 ] ],
"flags": [ "WATER_FRIENDLY", "SUN_GLASSES" ]
"flags": [ "WATER_FRIENDLY", "SUN_GLASSES", "FRAGILE" ]
},
{
"id": "survivor_belt_notools",
Expand Down
5 changes: 2 additions & 3 deletions data/json/items/comestibles/carnivore.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
"calories": 25,
"fun": 0,
"healthy": 0,
"flags": [ "NUTRIENT_OVERRIDE", "NO_CRAFT_INHERIT" ]
"flags": [ "NUTRIENT_OVERRIDE" ]
},
{
"id": "offal",
Expand Down Expand Up @@ -355,8 +355,7 @@
"quench": -5,
"fun": 4,
"calories": 348,
"vitamins": [ [ "vitA", 0 ], [ "vitC", 0 ], [ "calcium", 2 ], [ "iron", 26 ], [ "vitB", 35 ] ],
"flags": "NO_CRAFT_INHERIT"
"vitamins": [ [ "vitA", 0 ], [ "vitC", 0 ], [ "calcium", 2 ], [ "iron", 26 ], [ "vitB", 35 ] ]
},
{
"id": "salted_fish",
Expand Down
4 changes: 1 addition & 3 deletions data/json/items/comestibles/dairy.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"copy-from": "milk",
"spoils_in": "12 hours",
"price": 19,
"parasites": 11,
"contamination": 5,
"description": "This is raw, unhomogenized and unpasteurized milk from a cow. It couldn't be any fresher unless you drank it straight from the cow, which might upset it. Depending on your dietary sensibilities, you might want to pasteurize or even boil this before drinking."
},
{
Expand Down Expand Up @@ -188,7 +188,6 @@
"weight": "34 g",
"color": "yellow",
"spoils_in": "180 days",
"stim": 1,
"container": "wrapper",
"comestible_type": "FOOD",
"symbol": "%",
Expand All @@ -211,7 +210,6 @@
"weight": "30 g",
"color": "yellow",
"spoils_in": "28 days",
"stim": 1,
"container": "bag_plastic",
"comestible_type": "FOOD",
"symbol": "%",
Expand Down
2 changes: 0 additions & 2 deletions data/json/items/comestibles/drink_other.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@
"name_plural": "molasses",
"weight": "89 g",
"color": "brown",
"stim": 3,
"container": "jar_glass",
"comestible_type": "DRINK",
"symbol": "~",
Expand Down Expand Up @@ -254,7 +253,6 @@
"charges": 48,
"healthy": 1,
"fun": -20,
"stim": 1,
"phase": "liquid"
},
{
Expand Down
Loading