In my personal mod I don’t have a way to revert them to normal versions of themselves, but I have a fungal agent orange bomb that I use after destroying the ‘leader’ of a fungal area. To make it go through walls or (any) trees you’d have to use the ranged weapon version and hit them dead on (or make fungal walls and trees “PERMEABLE”). My ‘cheat’ items follow; while not quite what you’re looking for I hope they help in some way.
[code]
{
“id”: “fungicidebomb”,
“type”: “TOOL”,
“symbol”: “",
“color”: “dark_gray”,
“name”: “Fungicide Bomb”,
“description”: “This canister of fungicide gas kills fungus dead, guaranteed. Disclaimer: doesn’t work through walls or trees”,
“price”: 2000,
“material”: “steel”,
“weight”: 1264,
“volume”: 1,
“bashing”: 6,
“to_hit”: -1,
“flags”: [“BOMB”, “TRADER_AVOID”],
“category”: “weapons”,
“use_action”: {
“type”: “transform”,
“target”: ““fungicidebomb_act””,
“target_charges”: 20,
“active”: true,
“msg”: “You pull the pin on the fungicide bomb.”
}
},
{
“id”: “fungicidebomb_act”,
“type”: “TOOL”,
“symbol”: "”,
“color”: “dark_gray”,
“name”: “active fungicide grenade”,
“description”: “This canister of fungicide gas kills fungus dead, guaranteed. Disclaimer: doesn’t work through walls or trees.”,
“price”: 0,
“material”: “steel”,
“weight”: 1264,
“volume”: 1,
“bashing”: 6,
“to_hit”: -1,
“max_charges”: 5,
“initial_charges”: 5,
“turns_per_charge”: 1,
“revert_to”: “fungicidebomb”,
“category”: “weapons”,
“flags”: [ “TRADER_AVOID” ],
“use_action”: {
“type”: “explosion”,
“sound_volume”: 0,
“sound_msg”: “Tick.”,
“no_deactivate_msg”: “You’ve already pulled the %s’s pin, try throwing it instead.”,
“fields_radius”: 72,
“fields_type”: “fd_fungicidal_gas”,
“fields_min_density”: 3,
“fields_max_density”: 3
}
},
{
“id”: “rail_laser_sight”,
“type”: “GUNMOD”,
“name”: “rail laser sight”,
“description”: “A small visible-light laser that mounts on a firearm’s accessory rail to enhance ease and speed of target acquisition. Aside from increased weight, there are no drawbacks.”,
“weight”: 120,
“volume”: 1,
“integral_volume”: 0,
“price”: 12000,
“material”: [ “plastic”, “steel” ],
“symbol”: “:”,
“color”: “dark_gray”,
“location”: “rail”,
“mod_targets”: [ “smg”, “rifle”, “pistol”, “shotgun”, “crossbow”, “launcher” ],
“aim_speed”: 2,
“gun_data”: {
“skill”: “launcherl”,
“range”: 15,
“ranged_damage”: -5,
“dispersion”: 10,
“sight_dispersion”: 10,
“aim_speed”: 6,
“durability”: 8,
“burst”: 5,
“reload”: 0,
“ammo_effects”: [ “NEVER_MISFIRES”, “GAS_FUNGICIDAL”, “STREAM_GAS_FUNGICIDAL”, “JET” ]
},
“sight_dispersion”: 100
}
[/code] {