flare revolver:
add to ranged.json:
{
"id": "flare_revolver",
"type": "GUN",
"symbol": "(",
"color": "red",
"name": "flare revolver",
"description": "A revolver that has had its cylinder drilled out and barrel removed. While unable to fire its old ammo, it is fully capable of firing various flares.",
"rarity": 1,
"material": ["STEEL"],
"flags": "RELOAD_ONE",
"skill": "pistol",
"ammo": "flare",
"weight": 10,
"volume": 2,
"damage": 10,
"cutting": 0,
"to_hit": 1,
"ranged_damage": 0,
"range": 0,
"accuracy": 5,
"recoil": 6,
"durability": 6,
"burst": 0,
"clip_size": 1,
"reload": 300
},
add to recipe.json:
{
"result": "flare_revolver",
"category": "CC_WEAPON",
"skill_pri": "pistol",
"skill_sec": "mechanics",
"difficulty": 3,
"time": 10000,
"reversible": true,
"autolearn": true,
"tools": [
[
["screwdriver", -1],
["toolset", -1]
],
[
["wrench", -1],
["toolset", -1]
],
[
["hammer",-1],
["toolset",-1]
]
],
"components": [
[
["ruger_redhawk",1],
["sw_610",1],
["sw_619",1]
],
[
["scrap", 1]
]
]
},
Napalm Flare:
add to itypedef.cpp:
AMMO("napalm_flare", "napalm flare", 1, 100,AT_FLARE, c_dkgray_red, GLASS,
4, 10, 5, 40,6, 0, 0, 5, "\
A small vial of an extremely volatile mix. Not inherently damaging, but great for starting forest fires.",
mfb(AMMO_FLAME));
add to recipe.json:
[code]{
“result”: “napalm_flare”,
“category”: “CC_AMMO”,
“skill_pri”: “pistol”,
“skill_sec”: “mechanics”,
“difficulty”: 3,
“time”: 12500,
“reversible”: false,
“autolearn”: true,
“tools”: [
[
[“fire”, -1],
[“toolset”, 1]
]
],
“components”: [
[
[“bottle_glass”, 3]
],
[
[“shotgun_primer”, 5]
],
[
[“gunpowder”, 300]
],
[
["whiskey", 45],
["vodka", 45],
["rum", 45],
["tequila", 45],
["gin", 45],
["triple_sec", 45],
["gasoline", 2000]
]
]
},[/code]
add to bottom of itypedef.cpp, in ammo_name:
add to bottom of itypedef.cpp, in default_ammo:
add to item_factory.cpp new_ammo:
} else if ("flare" == new_ammo) {
return AT_FLARE;
add to itype.h in ammotype:
Meant as a potential replacement for molotovs. Poor range, but equal fire starting ability, with smaller ammo. However, requires the flare revolver to use.