Skip to content

Commit

Permalink
Merge branch 'CleverRaven:master' into oops-my-bad
Browse files Browse the repository at this point in the history
  • Loading branch information
BioHazardSuit authored Jan 6, 2022
2 parents 09a75b7 + 4d22129 commit cc1646a
Show file tree
Hide file tree
Showing 417 changed files with 191,785 additions and 125,124 deletions.
1 change: 1 addition & 0 deletions SIGNOFF
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ Paul Bransford (draeath) <[email protected]>
Mark Langsdorf (mlangsdorf) <[email protected]> / <[email protected]>
Ratul Saha (sahaRatul) <[email protected]> / <[email protected]>
Davis Bray (Kaltag1925) <[email protected]>
Nicolas Appriou <[email protected]>
16 changes: 8 additions & 8 deletions data/core/tips.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "Light itself doesn't draw zombies, it's sight, noise or smell." ]
"text": [ "Light itself doesn't draw zombies, it's sight, noise, or smell." ]
},
{
"type": "snippet",
Expand Down Expand Up @@ -287,7 +287,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "Different characters, professions, hobbies and scenarios can spice up your game. Roleplay!" ]
"text": [ "Different characters, professions, hobbies, and scenarios can spice up your game. Roleplay!" ]
},
{
"type": "snippet",
Expand Down Expand Up @@ -372,7 +372,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "Major blood loss? Drink plenty, supplement iron and rest to regenerate your red blood cells." ]
"text": [ "Major blood loss? Drink plenty, supplement iron, and rest to regenerate your red blood cells." ]
},
{
"type": "snippet",
Expand Down Expand Up @@ -432,7 +432,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "You can automate repetitive tasks such as foraging, mining or mopping for your convenience." ]
"text": [ "You can automate repetitive tasks such as foraging, mining, or mopping for your convenience." ]
},
{
"type": "snippet",
Expand Down Expand Up @@ -517,7 +517,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "Fight on your conditions whenever you can. Use terrain, traps and fire to your advantage." ]
"text": [ "Fight on your conditions whenever you can. Use terrain, traps, and fire to your advantage." ]
},
{
"type": "snippet",
Expand Down Expand Up @@ -552,7 +552,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "Where applicable, use blacklists, whitelists and filters for a better quality of life." ]
"text": [ "Where applicable, use blacklists, whitelists, and filters for a better quality of life." ]
},
{
"type": "snippet",
Expand Down Expand Up @@ -582,7 +582,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "Be mindful of what, when and how much you eat. A balanced diet is crucial in the long run." ]
"text": [ "Be mindful of what, when, and how much you eat. A balanced diet is crucial in the long run." ]
},
{
"type": "snippet",
Expand All @@ -592,7 +592,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "For free in the construction menu: a crafting spot, a firewood source and a practice target." ]
"text": [ "For free in the construction menu: a crafting spot, a firewood source, and a practice target." ]
},
{
"type": "snippet",
Expand Down
1 change: 1 addition & 0 deletions data/core/weather.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"precip": "none",
"rains": false,
"acidic": false,
"sound_category": "clear",
"sun_intensity": "normal"
},
{
Expand Down
6 changes: 3 additions & 3 deletions data/help/texts.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@
"name": "<3>: Description of gun types",
"messages": [
"<color_light_gray>( Handguns</color>\nHandguns are small weapons held in one or both hands. They are much more difficult to aim and control than larger firearms, and this is reflected in their poor accuracy. However, their small size makes them appropriate for short-range combat. They are also relatively quick to reload and use a very wide variety of ammunition. Their small size and low weight make it possible to carry several loaded handguns, switching from one to the next as their ammo is spent.",
"<color_green>( Crossbows</color>\nThe best feature of crossbows is their silence. The bolts they fire are only rarely destroyed; if you pick up the bolts after firing them, your ammunition supply will last much longer. Crossbows suffer from a short range and a very long reload time (modified by your strength); plus, most only hold a single round.\nFor this reason, it is advisable to carry a few loaded crossbows. Crossbows can be very difficult to find; however, it is possible to craft one given a high enough Mechanics skill. Likewise, it is possible to make wooden bolts from any number of wooden objects, though these are much less effective than steel bolts. Crossbows use the handgun skill.",
"<color_yellow>( Bows</color>\nSilent, deadly, relatively easy to make, and the arrows are reusable. Bows have been used forever. Bows are two-handed, and require the user to have a certain strength level. If you do not have enough strength to draw the string back, you will fire at a reduced effectiveness. This reduces the reload and fire speeds and decreases the range of the arrows fired.\nMost normal bows require strength of at least 8, others require an above average strength of 10, or a significant strength of 12. Bows use the archery skill.",
"<color_green>( Crossbows</color>\nThe best feature of crossbows is low noise they produce. The bolts they fire are only rarely destroyed; if you pick up the bolts after firing them, your ammunition supply will last much longer. Crossbows suffer from a short range and a very long reload time (modified by your strength); plus, most only hold a single round.\nFor this reason, it is advisable to carry a few loaded crossbows. Crossbows can be very difficult to find; however, it is possible to craft one given a high enough Fabrication skill. Likewise, it is possible to make wooden bolts from any number of wooden objects, though these are much less effective than steel bolts. Crossbows use the rifles skill.",
"<color_yellow>( Bows</color>\nSilent, deadly, relatively easy to make, and the arrows are reusable. Bows have been used forever. Bows are two-handed, and require the user to have a certain strength level. If you do not have enough strength to draw the string back, you won't be able to use the bow.\nMost normal bows require strength of at least 8, others require an above average strength of 10, or a significant strength of 12. Bows use the archery skill.",
"<color_red>( Shotguns</color>\nShotguns are some of the most powerful weapons in the game, capable of taking out almost any enemy with a single hit. Birdshot and 00 shot spread out after leaving the barrel, making it very easy to hit nearby monsters. However, they are very ineffective against armor, and some armored monsters might shrug off 00 shot completely. Shotgun slugs are the answer to this problem; they also offer much better range than shot.\nThe biggest drawback to shotguns is their noisiness. They are very loud, and impossible to silence. A shot that kills one zombie might attract three more! Beware of that.",
"<color_cyan>( Submachine Guns</color>\nSubmachine guns are small weapons (some are barely larger than a handgun), designed for relatively close combat and the ability to spray large numbers of bullets. However, they are more effective when firing single shots, so use discretion. They mainly use 9mm and .45 ammunition; however, other SMGs exist. They reload moderately quickly, and are suitable for close or medium-long range combat.",
"<color_brown>( Sniper and Marksman Rifles</color>\nSniper and marksman rifles are popular for their superior range and accuracy. What's more, their scopes or sights make shots fired at targets at very long range as accurate as those fired at shorter range. Unlike assault rifles, sniper and marksman rifles usually have no automatic fire. They also may be slow to reload and fire, so when facing a large group of nearby enemies, they are not the best pick.",
Expand All @@ -328,7 +328,7 @@
"Q: How can I remove boards from boarded-up windows and doors?\nA: Use a hammer and choose the direction of the boarded-up window or door to remove the boards.",
"Q: The game just told me to quit, and other weird stuff is happening.\nA: You have the \"Kaluptic Psychosis\" trait, which might make the game seem buggy.",
"Q: How can I prevent monsters from attacking me while I sleep?\nA: Find a safe place to sleep; for example, in a cleared building far from the front door. Set traps if you have them, or build a fire to scare off wild animals.",
"Q: Why do I always sink when I try to swim?\nA: Your swimming ability is reduced greatly by the weight you are carrying, and is also adversely affected by most clothing you wear. Until you reach a high level of the swimming skill, you'll need to drop your equipment and remove your clothing to swim, making it a last-ditch escape plan. Diving gear may significantly help you in swimming and diving.",
"Q: Why do I always sink when I try to swim?\nA: Your swimming ability is reduced greatly by the weight you are carrying, and is also adversely affected by most clothing you wear. Until you reach a high level of the athletics skill, you'll need to drop your equipment and remove your clothing to swim, making it a last-ditch escape plan. Diving gear may significantly help you in swimming and diving.",
"Q: How can I cure a fungal infection?\nA: The Blood Filter bionic and some antifungal chemicals can cure fungal infection. Antifungal chemicals to cure the fungal infection can either be found as random loot or made from other ingredients.",
"Q: How do I get into science labs?\nA: You can enter the front door if you have an appropriate ID card by examining (<press_examine>) the keypad. If you are skilled in computers and have an electrohack, it is possible to hack the keypad. An EMP blast has a chance to force the doors open, but it's more likely to break them. You can also sneak in through the sewers sometimes, or try to smash through the walls with explosions.",
"Q: Why does my crafting fail so often?\nA: Check the difficulty of the recipe, and the primary skill used; your skill level should be around one and a half times the difficulty to be confident that it will succeed. Also, note any proficiencies or other skills that may influence your chances of success.",
Expand Down
2 changes: 1 addition & 1 deletion data/json/artifact/artifact_item_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
{
"id": "art_crystal",
"type": "GENERIC",
"name": { "str": "transluscent crystal" },
"name": { "str": "translucent crystal" },
"description": "It is the only one of its kind.\nIt may have unknown powers; try activating them.",
"symbol": "A",
"volume": "500 ml",
Expand Down
13 changes: 7 additions & 6 deletions data/json/body_parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"hit_size": 1.5,
"hit_difficulty": 1.1,
"limb_type": "hand",
"limb_scores": [ [ "manip", 0.5, 1.0 ], [ "swim", 0.15 ] ],
"limb_scores": [ [ "grip", 0.5 ], [ "manip", 0.5, 1.0 ], [ "swim", 0.15 ] ],
"side": "left",
"legacy_id": "HAND_L",
"stylish_bonus": 0.5,
Expand Down Expand Up @@ -224,7 +224,7 @@
"hit_size": 1.5,
"hit_difficulty": 1.1,
"limb_type": "hand",
"limb_scores": [ [ "manip", 0.5, 1.0 ], [ "swim", 0.15 ] ],
"limb_scores": [ [ "grip", 0.5 ], [ "manip", 0.5, 1.0 ], [ "swim", 0.15 ] ],
"side": "right",
"legacy_id": "HAND_R",
"stylish_bonus": 0.5,
Expand Down Expand Up @@ -255,7 +255,7 @@
"hit_size": 13,
"hit_difficulty": 0.9,
"limb_type": "leg",
"limb_scores": [ [ "manip", 0.1, 0.2 ], [ "move_speed", 0.5 ], [ "swim", 0.15 ] ],
"limb_scores": [ [ "manip", 0.1, 0.2 ], [ "move_speed", 0.5 ], [ "swim", 0.15 ], [ "block", 1 ] ],
"encumb_impacts_dodge": true,
"side": "left",
"legacy_id": "LEG_L",
Expand Down Expand Up @@ -290,7 +290,7 @@
"hit_size": 13,
"hit_difficulty": 0.9,
"limb_type": "leg",
"limb_scores": [ [ "manip", 0.1, 0.2 ], [ "move_speed", 0.5 ], [ "swim", 0.15 ] ],
"limb_scores": [ [ "manip", 0.1, 0.2 ], [ "move_speed", 0.5 ], [ "swim", 0.15 ], [ "block", 1 ] ],
"encumb_impacts_dodge": true,
"side": "right",
"legacy_id": "LEG_R",
Expand Down Expand Up @@ -380,13 +380,14 @@
"main_part": "debug_tail",
"hit_difficulty": 0.8,
"limb_type": "tail",
"limb_scores": [ [ "manip", 0.5, 1.0 ], [ "balance", 1.0 ], [ "swim", 0.15 ] ],
"limb_scores": [ [ "manip", 0.5, 1.0 ], [ "balance", 1.0 ], [ "swim", 0.15 ], [ "lift", 2 ], [ "block", 5 ] ],
"opposite_part": "debug_tail",
"side": "both",
"connected_to": "torso",
"accusative": { "ctxt": "bodypart_accusative", "str": "debug tail" },
"hp_bar_ui_text": "DBG TAIL",
"base_hp": 20
"base_hp": 20,
"flags": [ "ALWAYS_BLOCK", "NONSTANDARD_BLOCK" ]
},
{
"id": "sub_limb_debug",
Expand Down
7 changes: 7 additions & 0 deletions data/json/character_modifiers.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@
"mod_type": "x",
"value": { "limb_score": "footing", "max": "max_move_cost", "nominator": 1.0 }
},
{
"type": "character_mod",
"id": "limb_str_mod",
"description": "Strength modifier",
"mod_type": "x",
"value": { "limb_score": "lift" }
},
{
"type": "character_mod",
"id": "limb_run_cost_mod",
Expand Down
23 changes: 23 additions & 0 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -3001,6 +3001,17 @@
"pre_special": "check_empty",
"post_special": "done_appliance"
},
{
"type": "construction",
"id": "app_oven",
"group": "place_oven",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "oven", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance"
},
{
"type": "construction",
"id": "app_standing_lamp",
Expand Down Expand Up @@ -3450,6 +3461,18 @@
"pre_special": "check_empty",
"post_terrain": "f_butcher_rack"
},
{
"type": "construction",
"id": "constr_spin_wheel",
"group": "build_spinwheel",
"category": "FURN",
"required_skills": [ [ "fabrication", 3 ], [ "mechanics", 2 ], [ "tailor", 1 ] ],
"time": "3 h",
"qualities": [ [ { "id": "CUT", "level": 1 } ], [ { "id": "SAW_W", "level": 1 } ], [ { "id": "HAMMER", "level": 1 } ] ],
"components": [ [ [ "2x4", 20 ] ], [ [ "string_36", 15 ] ], [ [ "nail", 25 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_spinwheel"
},
{
"type": "construction",
"id": "constr_junk_palisade",
Expand Down
10 changes: 10 additions & 0 deletions data/json/construction_group.json
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,11 @@
"id": "build_sofa",
"name": "Build Sofa"
},
{
"type": "construction_group",
"id": "build_spinwheel",
"name": "Build Spinwheel"
},
{
"type": "construction_group",
"id": "build_split_rail_fence",
Expand Down Expand Up @@ -1089,6 +1094,11 @@
"id": "place_fridge",
"name": "Place Fridge"
},
{
"type": "construction_group",
"id": "place_oven",
"name": "Place Oven"
},
{
"type": "construction_group",
"id": "place_standing_lamp",
Expand Down
2 changes: 1 addition & 1 deletion data/json/dreams.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@
"type": "dream",
"messages": [
"You dream of jumping the gate and leading your herd to freedom.",
"You belllow on a knoll against the sky, having feasted on the apple time cider.",
"You bellow on a knoll against the sky, having feasted on the apple time cider.",
"The herd moves along and you with them, finding greener pastures."
],
"category": "CATTLE",
Expand Down
21 changes: 21 additions & 0 deletions data/json/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,24 @@
"info": "This plate will fit in <info>large</info> armor pockets",
"restriction": "Item must be a large ablative plate"
},
{
"id": "ABLATIVE_MANTLE",
"type": "json_flag",
"info": "This will hook to a <info>Hub 01 proprietary</info> mantle connector",
"restriction": "Item must be an armored mantle"
},
{
"id": "ABLATIVE_MEDIUM",
"type": "json_flag",
"info": "This plate will fit in <info>medium</info> armor pockets",
"restriction": "Item must be a medium ablative plate"
},
{
"id": "ABLATIVE_SKIRT",
"type": "json_flag",
"info": "This will hook to a <info>Hub 01 proprietary</info> skirt connector",
"restriction": "Item must be an armored skirt"
},
{
"id": "ACTIVE_CLOAKING",
"type": "json_flag",
Expand Down Expand Up @@ -556,6 +568,10 @@
"type": "json_flag",
"info": "This item used to be legal tender before the Cataclysm."
},
{
"id": "NO_AUTO_CONSUME",
"type": "json_flag"
},
{
"id": "PALS_SMALL",
"type": "json_flag",
Expand All @@ -577,6 +593,11 @@
"//": "25% chance to protect against fear_paralyze monster attack.",
"info": "This gear <good>keeps out</good> the <info>mind control rays</info>."
},
{
"id": "RAD_DETECT",
"type": "json_flag",
"info": "This item can <good>detect</good> dangerous levels of <info>radiation</info>."
},
{
"id": "RAD_PROOF",
"type": "json_flag",
Expand Down
19 changes: 4 additions & 15 deletions data/json/furniture_and_terrain/furniture-appliances.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,26 +342,15 @@
"id": "f_oven",
"name": "oven",
"symbol": "#",
"description": "A standard convection-based oven, commonly used for heating and cooking food. You could safely light a fire inside or power it with UPS.",
"description": "A standard convection-based oven, commonly used for heating and cooking food. It can safely contain a fire, although it's not adequately ventilated. You could disconnect it and plug it in to a working power grid, or power it with UPS.",
"color": "dark_gray",
"move_cost_mod": 2,
"coverage": 60,
"required_str": 10,
"flags": [ "PLACE_ITEM", "TRANSPARENT", "FIRE_CONTAINER", "CONTAINER", "BLOCKSDOOR", "MOUNTABLE" ],
"flags": [ "PLACE_ITEM", "TRANSPARENT", "EASY_DECONSTRUCT", "FIRE_CONTAINER", "CONTAINER", "BLOCKSDOOR", "MOUNTABLE" ],
"deconstruct": { "items": [ { "item": "oven", "count": 1 } ] },
"examine_action": "fireplace",
"deconstruct": {
"items": [
{ "item": "sheet_metal", "count": [ 2, 6 ] },
{ "item": "sheet_metal_small", "count": [ 0, 4 ] },
{ "item": "steel_chunk", "count": [ 2, 3 ] },
{ "item": "scrap", "count": [ 2, 6 ] },
{ "item": "element", "count": [ 1, 4 ] },
{ "item": "cable", "charges": [ 1, 3 ] },
{ "item": "pipe_fittings", "count": [ 1, 3 ] },
{ "item": "pilot_light", "count": 1 }
]
},
"max_volume": "40 L",
"max_volume": "120 L",
"bash": {
"str_min": 8,
"str_max": 30,
Expand Down
17 changes: 14 additions & 3 deletions data/json/furniture_and_terrain/furniture-decorative.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,20 @@
"description": "A decorative wreath for the winter holidays.",
"symbol": "o",
"color": "light_green",
"move_cost_mod": -1,
"required_str": 10,
"flags": [ "PLACE_ITEM" ]
"move_cost_mod": 2,
"required_str": 5,
"bash": {
"str_min": 20,
"str_max": 40,
"sound": "smash!",
"sound_fail": "thump.",
"items": [
{ "item": "pine_bough", "count": [ 4, 6 ] },
{ "item": "nail", "count": [ 5, 14 ] },
{ "item": "stick", "count": [ 1, 3 ] }
]
},
"flags": [ "PERMEABLE", "THIN_OBSTACLE", "PLACE_ITEM", "EASY_DECONSTRUCT" ]
},
{
"type": "furniture",
Expand Down
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/furniture-fakes.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"description": "A cleared spot on the ground for crafting. Slower than using a workbench or holding a project in your hands, but readily available.",
"symbol": "x",
"color": "white",
"move_cost_mod": 2,
"move_cost_mod": 0,
"required_str": 0,
"deconstruct": { "items": [ ] },
"bash": { "str_min": 0, "str_max": 0, "items": [ ] },
Expand Down
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/furniture-medical.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"type": "furniture",
"id": "f_sample_freezer",
"name": "sample freezer",
"description": "A specialized freezer capable of maintaining tempuratures of -80 Celsius, and is often used only for the preservation of delicate scientific samples.",
"description": "A specialized freezer capable of maintaining temperatures of -80 Celsius, and is often used only for the preservation of delicate scientific samples.",
"symbol": "[",
"bgcolor": "white",
"move_cost_mod": 2,
Expand Down
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/furniture-roof.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"color": "white",
"move_cost_mod": -2,
"required_str": 10,
"flags": [ "TRANSPARENT", "PLACE_ITEM" ],
"flags": [ "TRANSPARENT", "PLACE_ITEM", "ALLOW_ON_OPEN_AIR" ],
"bash": {
"str_min": 6,
"str_max": 10,
Expand Down
Loading

0 comments on commit cc1646a

Please sign in to comment.