diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2023-01-24 11:19:56 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2023-01-24 11:19:56 -0800 |
commit | 70185b22eb4da241e331ad5a7171ddf767d019fc (patch) | |
tree | 674ef96917de88530f3faffdbb0ad63254f4b8d5 /jc_allow-bio-firestarter-on-smoker.patch | |
parent | Remove several bugfixes from the ammo revert patches. (diff) | |
download | cataclysm-bn-70185b22eb4da241e331ad5a7171ddf767d019fc.tar.xz |
Updated to 2023-01-17-2329
Add patch to fix the broken default FBI car name.
Fix recruiting penalty patch.
Diffstat (limited to 'jc_allow-bio-firestarter-on-smoker.patch')
-rw-r--r-- | jc_allow-bio-firestarter-on-smoker.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jc_allow-bio-firestarter-on-smoker.patch b/jc_allow-bio-firestarter-on-smoker.patch index 6209441..21043e6 100644 --- a/jc_allow-bio-firestarter-on-smoker.patch +++ b/jc_allow-bio-firestarter-on-smoker.patch @@ -19,7 +19,7 @@ - p.use_charges( itype_fire, 1 ); - for( auto &it : here.i_at( examp ) ) { - if( it.has_flag( flag_SMOKABLE ) ) { -- it.process_rot( 1, false, examp, nullptr ); +- it.process_rot( examp ); - it.set_flag( flag_PROCESSING ); + const bool has_bionic_firestarter = p.has_bionic( bio_lighter ) && + p.enough_power_for( bio_lighter ); @@ -27,7 +27,7 @@ + if( has_bionic_firestarter ) { + for( auto &it : g->m.i_at( examp ) ) { + if( it.has_flag( flag_SMOKABLE ) ) { -+ it.process_rot( 1, false, examp, nullptr ); ++ it.process_rot( examp ); + it.set_flag( flag_PROCESSING ); + } + } @@ -35,7 +35,7 @@ + p.use_charges( itype_fire, 1 ); + for( auto &it : g->m.i_at( examp ) ) { + if( it.has_flag( flag_SMOKABLE ) ) { -+ it.process_rot( 1, false, examp, nullptr ); ++ it.process_rot( examp ); + it.set_flag( flag_PROCESSING ); + } } |