-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ad4199
commit 1c7301e
Showing
16 changed files
with
488 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
[ | ||
{ | ||
"type": "furniture", | ||
"id": "f_m224_mortar", | ||
"name": "M224 mortar", | ||
"description": "Deployed and ready to be used 60 mm mortar. You are lucky you don't need to scavenge actual firing tables, as they are clipped tightly to the mortar itself. However you can use it only for indirect fire, with a substantial precision loss.", | ||
"symbol": "#", | ||
"color": "dark_gray", | ||
"move_cost_mod": 2, | ||
"coverage": 60, | ||
"required_str": 10, | ||
"flags": [ "MOUNTABLE", "SHORT", "FLAT_SURF" ], | ||
"bash": { | ||
"str_min": 12, | ||
"str_max": 40, | ||
"sound": "smash!", | ||
"sound_fail": "whump.", | ||
"items": [ { "item": "black_glass_shard", "count": [ 40, 80 ] } ] | ||
}, | ||
"//range": [ | ||
"charge; muzzle velocity; min range, max range", | ||
"0, 210, 70, 400 ", | ||
"1, 415, 250, 1340", | ||
"2, 560, 350, 2150", | ||
"3, 680, 500, 2890", | ||
"4, 810, 650, 3490", | ||
"aim deviation: 10% of total distance, decreased by laucnher skill to 2%", | ||
"aim duration: 16 seconds, decreased by launcher skill to 5 seconds, if you already aimed the gun properly; the first shot gonna take up to 190 secodns, decreased by launcher skill to 60 seconds" | ||
], | ||
"examine_action": { | ||
"type": "mortar", | ||
"ammo": [ "mortar_60mm" ], | ||
"condition": { "math": [ "u_skill('launcher') >= 1" ] }, | ||
"condition_fail_msg": "You have absolutely no idea how to use this mortar.", | ||
"range": 3490, | ||
"aim_duration": { | ||
"math": [ | ||
"u_effect_duration('aimed_60mm') > 1", | ||
" ? max(5, 16 / u_skill('launcher'))", | ||
" : max(60, 190 / u_skill('launcher'))" | ||
] | ||
}, | ||
"aim_deviation": { "math": [ "max(0.02, 0.1 / u_skill('launcher'))" ] }, | ||
"booster": "60mm_propellant", | ||
"booster_distances": [ | ||
{ "amount": 4, "distance": 400 }, | ||
{ "amount": 3, "distance": 1340 }, | ||
{ "amount": 2, "distance": 2150 }, | ||
{ "amount": 1, "distance": 2890 } | ||
], | ||
"effect_on_conditions": [ | ||
{ | ||
"id": "EOC_SHOT", | ||
"effect": [ | ||
{ "u_add_effect": "aimed_60mm", "duration": "3 minutes" }, | ||
{ "math": [ "u_skill_exp('launcher', 'format': 'percentage')++" ] } | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[ | ||
{ | ||
"id": "60mm_shell_m720a1", | ||
"type": "AMMO", | ||
"name": { "str": "high-explosive mortar shell" }, | ||
"description": "High-explosive mortar cartridge, designed to be used against troops, light vehicles, light bunkers or similar targets. Multioption fuse allows it to be set to function as proximity burst, impact burst, or delay burst.", | ||
"variants": [ | ||
{ | ||
"id": "60mm_shell_m720", | ||
"name": { "str": "M720A1 60 mm mortar shell (HE)", "str_pl": "M720A1 60 mm mortar shells (HE)" }, | ||
"description": "High-explosive mortar cartridge, designed to be used against troops, light vehicles, light bunkers or similar targets. Multioption fuse allows it to be set to function as proximity burst, impact burst, or delay burst." | ||
} | ||
], | ||
"weight": "1700 g", | ||
"//": "190 g of comp-b, so explosion power should be 250; let's pretend case mass is third of the rest of the weight, so 500 g", | ||
"volume": "680 ml", | ||
"longest_side": "376 mm", | ||
"price": "400 USD", | ||
"price_postapoc": "20 USD", | ||
"flags": [ "IRREPLACEABLE_CONSUMABLE" ], | ||
"material": [ { "type": "steel", "portion": 80 }, { "type": "powder", "portion": 20 } ], | ||
"symbol": "=", | ||
"color": "dark_gray", | ||
"count": 1, | ||
"stack_size": 1, | ||
"ammo_type": "mortar_60mm", | ||
"effects": [ "SPECIAL_COOKOFF", "NEVER_MISFIRES", "EXPLOSIVE_60mmHE" ] | ||
}, | ||
{ | ||
"id": "60mm_shell_m768", | ||
"copy-from": "60mm_shell_m720a1", | ||
"type": "AMMO", | ||
"name": { "str": "high-explosive mortar shell" }, | ||
"description": "High-explosive mortar cartridge, designed to be used against troops, light vehicles, light bunkers or similar targets. Multioption fuse allows it to be set to function as proximity burst, impact burst, or delay burst. This one is more modern version, both more safe and more powerful.", | ||
"variants": [ | ||
{ | ||
"id": "60mm_shell_m768", | ||
"name": { "str": "M768 60 mm mortar shell (HE)", "str_pl": "M768 60 mm mortar shells (HE)" }, | ||
"description": "High-explosive mortar cartridge, designed to be used against troops, light vehicles, light bunkers or similar targets. This one is more modern version, more safe and more powerful, but uses more simple impact fuze." | ||
} | ||
], | ||
"weight": "1655 g", | ||
"//": "358 g of pax-21, which is replacement for comp b - weaker (~1.0 tnt equivalent), but safer, so explosion power should be 358; let's pretend case mass is third of the rest of the weight, so 430 g", | ||
"price": "600 USD", | ||
"extend": { "effects": [ "EXPLOSIVE_60mmHE2" ] }, | ||
"delete": { "effects": [ "EXPLOSIVE_60mmHE" ] } | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[ | ||
{ | ||
"type": "GENERIC", | ||
"id": "mortar_m224", | ||
"name": { "str_sp": "light mortar" }, | ||
"description": "Lightweight Company Mortar System is a portable mortar that can be carried and used by a one person, even if much slower than with a full crew of three. Luckily, someone attached a bunch of firing tables to it. Whoever will use it should be prepared to spend plenty of time estimating distances and calculating correct elevation and rotation angles.", | ||
"variants": [ | ||
{ | ||
"id": "mortar_m224", | ||
"name": { "str": "60mm M224 mortar" }, | ||
"description": "Lightweight Company Mortar System is a portable mortar that can be carried and used by a one person, even if much slower than with a full crew of three. Luckily, someone attached a bunch of firing tables to it. Whoever will use it should be prepared to spend plenty of time estimating distances and calculating correct elevation and rotation angles." | ||
} | ||
], | ||
"use_action": { "type": "deploy_furn", "furn_type": "f_m224_mortar" }, | ||
"category": "other", | ||
"material": [ "steel" ], | ||
"weight": "21100 g", | ||
"volume": "48 L", | ||
"longest_side": "100 cm", | ||
"price": "11000 USD", | ||
"price_postapoc": "20 USD", | ||
"symbol": "q", | ||
"color": "light_gray" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.