Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "Mini-Flamethrower CBM lights fuelless fires" #35271

Merged
merged 2 commits into from
Nov 3, 2019

Conversation

Fris0uman
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Mini Flamethrower CBM is really just a lighter"

Purpose of change

Fixes #28855

Describe the solution

Check if terrain is flammable before lighting the fire
If not don't light fire
Rename Mini-Flamethrower to Finger Lighter since that's what it is.

Describe alternatives you've considered

Testing

Activate bio_lighter on pavement
No Fire
Activate bbio_lighter on a bush
Fire
Activate a lighter on another bush
Wait
Both fire go out about at the same time

Additional context

If someone has a better name than Finger Lighter I can change it again.

bio_lighter light instant fire at the cost of 100 move, it does not use the start_fire activity. I don't know if it's intended or not.

@RDru
Copy link
Contributor

RDru commented Nov 3, 2019

IMO it should remain as flamethrower. With some fuel consumption like gasoline or even napalm.

@Fris0uman
Copy link
Contributor Author

Fris0uman commented Nov 3, 2019

But it never actually worked as a flamethrower, it was just able to light fuelless fire on the pavement on a tile next to you

@curstwist curstwist added <Bugfix> This is a fix for a bug (or closes open issue) Bionics CBM (Compact Bionic Modules) labels Nov 3, 2019
@ZhilkinSerg ZhilkinSerg merged commit 3c1dcd1 into CleverRaven:master Nov 3, 2019
@Fris0uman Fris0uman deleted the bio_lighter branch November 3, 2019 14:37
@AlexMooney
Copy link
Contributor

It seems like 75 kJ is now way overpriced for what the CBM does. This should probably use less energy than the electric firestarter, since that one is "inefficient". The firestarter is "charges_per_use": 5, so this should be <5 kJ, right?

Ramza13 pushed a commit to Ramza13/Cataclysm-DDA that referenced this pull request Nov 5, 2019
* bio_lighter can't light pavement on fire

* Rename to Finger Lighter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bionics CBM (Compact Bionic Modules) <Bugfix> This is a fix for a bug (or closes open issue)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mini-Flamethrower CBM lights fuelless fires
5 participants