@@ -857,8 +857,9 @@ void mtype::load( const JsonObject &jo, const std::string_view src )
857
857
858
858
optional ( jo, was_loaded, " bodytype" , bodytype );
859
859
optional ( jo, was_loaded, " color" , color, nc_color_reader{}, c_white );
860
- optional ( jo, was_loaded, " volume" , volume, units_bound_reader<units::volume> { 0_ml } );
861
- optional ( jo, was_loaded, " weight" , weight, units_bound_reader<units::mass> { 0_gram } );
860
+ optional ( jo, was_loaded, " volume" , volume, units_bound_reader<units::volume> { 0_ml }, 62499_ml );
861
+ optional ( jo, was_loaded, " weight" , weight, units_bound_reader<units::mass> { 0_gram },
862
+ 81499_gram );
862
863
863
864
optional ( jo, was_loaded, " phase" , phase, make_flag_reader ( gen.phase_map , " phase id" ),
864
865
phase_id::SOLID );
@@ -998,7 +999,7 @@ void mtype::load( const JsonObject &jo, const std::string_view src )
998
999
999
1000
optional ( jo, was_loaded, " dissect" , dissect );
1000
1001
1001
- optional ( jo, was_loaded, " decay" , decay );
1002
+ optional ( jo, was_loaded, " decay" , decay, harvest_id::NULL_ID () );
1002
1003
1003
1004
optional ( jo, was_loaded, " shearing" , shearing );
1004
1005
0 commit comments