summaryrefslogtreecommitdiff
path: root/jc_allow-bio-firestarter-on-smoker.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2023-01-24 11:19:56 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2023-01-24 11:19:56 -0800
commit70185b22eb4da241e331ad5a7171ddf767d019fc (patch)
tree674ef96917de88530f3faffdbb0ad63254f4b8d5 /jc_allow-bio-firestarter-on-smoker.patch
parentRemove several bugfixes from the ammo revert patches. (diff)
downloadcataclysm-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.patch6
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 );
+ }
}