~SCORCHED GUNS 2~

~SCORCHED GUNS 2~

666k Downloads

[Suggestion] Add config option for what helmets make you immune to gas.

SPYROHAWK opened this issue · 3 comments

commented

Pretty straightforward for cross-mod compatability.

In the recent updates, Scorched Guns added gas grenades, as well as vents and other sources of gas. Two respirator helmets were also added, which make you immune to the gas. However, for pack creators, more options would be nice.

The Plague Helmet and Diving Helmet from Protection Pixel logically feel like they should make you gas immune. Same with all of the gas masks from Marbeled’s Arsenal. But there’s so many more. Gas Mask from Steampowered. Space suits from Ad Astra? Hazmat suit from Alex’s Caves?

Rather than adding compatability for every mod that could possibly work as a gas mask, I figured it wouldn’t be too hard to just add a line to the config file where pack creators can list helmets that work as gas masks.

commented

Absolutely makes sense. Will do

commented

Just wanted to follow up on this. Nothing wrong with the mod, this is purely me not knowing things, and this seems like the most relevant place to ask.

I saw in the most recent update, it contains this line:
"Adjusted sulfur gas to take into account the "gas_mask" tag, with a few mods gas masks added by default"

Fantastic! Two questions though. I always forget how doing stuff with tags works.

  1. How do you view what items are in a tag?
  2. How do you add items to a tag?

Any help would be appreciated! I've been trying to search online but I can't quite figure it out.

commented

So if you download the data pack, linked on the mod pages, and extract it and go into data/scguns/tags/items then find gas_mask then you could add whatever helmet you'd like