Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upElectric fire starter can't start oil lamp #21005
Comments
This comment has been minimized.
This comment has been minimized.
|
|
Leland
closed this
May 12, 2017
Leland
added
<Bug>
(S1 - Need confirmation)
labels
May 12, 2017
Leland
reopened this
May 12, 2017
This comment has been minimized.
This comment has been minimized.
|
Spoke too soon! You do need a fire source. Can confirm this. And can also say that regular lighters do work. |
Leland
added
(S2 - Confirmed)
and removed
(S1 - Need confirmation)
labels
May 12, 2017
This comment has been minimized.
This comment has been minimized.
|
Oh my god you guys, we just have a giant if/else set for a list of things that can produce fire. Lines 6651 to 6702 in 54f5d76 So, hotfix would be to just add in Edit: this one's way beyond me |
This comment has been minimized.
This comment has been minimized.
|
I was about to say, were you thinking of oil lamp cookers? |
This comment has been minimized.
This comment has been minimized.
|
@DangerNoodle Nope, I mean an actual oil lamp (the thing you probably just immediately use as a part to make a cooker) |
This comment has been minimized.
This comment has been minimized.
|
I was asking @Leland that, actually. |
This comment has been minimized.
This comment has been minimized.
|
I don't think you wanna use add crude_firestarter to that as that would include the firedrills and camp fire drills which do not make an open flame and would not be practical for lighting a oil lamp with. Also I am unsure if you even want to add electric to this either as far as I am aware you really cant start a any type of oil lamp with them either. My understanding of the firestarter is just a coil of wire that heats up not a open flame. If that is the case then this is working as intended. |
This comment has been minimized.
This comment has been minimized.
|
While I could make a case for using the the ember you get from a fire drill being able to start an oil lamp, I think someone should double check the code used to check for cauterizing wounds and make sure it doesn't use "player::has_fire", unless we want the electric firestarter to count as enough heat to cauterize |
This comment has been minimized.
This comment has been minimized.
|
@Xpyder From what I gather in the code it only searches for things with flame. below is an excerpt of code.
|
This comment has been minimized.
This comment has been minimized.
|
game.add_msg(tostring(player:has_charges("fire",1))) |
This comment has been minimized.
This comment has been minimized.
|
custom firestarters with reasonable movecosts also cannot activate items that require fire. |
Xpyder commentedMay 12, 2017
You can't light an oil lamp while holding an electric fire starter, without lighting something else first.