Skip to content

Instantly share code, notes, and snippets.

View wapcaplet's full-sized avatar

Eric Pierce wapcaplet

  • Society for Human Resource Management
  • Colorado Springs
View GitHub Profile
Got 4318 items with volume and weight
0.00 g/ml : jumper_cable_debug
0.00 g/ml : barrel_ported
0.00 g/ml : riv_suppressor
0.00 g/ml : bio_powershot
0.00 g/ml : riv_scope
0.00 g/ml : combination_gun_shotgun
0.00 g/ml : match
0.00 g/ml : butane
0.00 g/ml : flare_nitrate
<img src="https://user-images.githubusercontent.com/238395/88248797-a2973780-cc5f-11ea-84d4-480df8b3a689.png">
![normal](https://user-images.githubusercontent.com/238395/88248797-a2973780-cc5f-11ea-84d4-480df8b3a689.png)
The below list was generated by adding a failure-check with debugging output in the `item::put_in` function:
```
ret_val<bool> item::put_in( const item &payload, item_pocket::pocket_type pk_type )
{
ret_val<bool> result = contents.insert_item( payload, pk_type );
+ if( !result.success() ) {
+ std::cout << "put_in failed to put '" << payload.tname() << "' into '" << tname() << "'" <<
+ std::endl;
+ }
@wapcaplet
wapcaplet / gist:4d4c323acfcbc5d410840d3d9bbeaf77
Created July 6, 2020 23:34
Results of tests/cata_test [battery],[ammo] in wapcaplet:fix-batmod branch
Results of tests/cata_test [battery],[ammo] in wapcaplet:fix-batmod branch
Starting the actual test at Mon Jul 6 17:33:15 2020
Filters: [battery],[ammo]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tst is a Catch v2.12.0 host application.
Run with -? for options
cannot put payload S&W 619 into item <color_c_light_green>|| </color>holster
cannot put payload ported barrel into item Glock 18C
cannot put payload <color_c_light_green>|| </color>shoulder strap into item crossbow
cannot put payload <color_c_light_green>|| </color>shoulder strap into item M2010 ESR
cannot put payload rifle scope into item M2010 ESR
cannot put payload bipod into item M2010 ESR
cannot put payload match trigger into item USP .45
cannot put payload <color_c_light_green>|| </color>shoulder strap into item HK416 A5
cannot put payload ACOG scope into item HK416 A5
cannot put payload folding stock into item <color_c_light_green>|| </color>H&K operational briefcase
Nested mapgen IDs (nested_mapgen_id) not appearing in any chunks:
cabin_isherwood_update
clear_furniture
fbms_0
fbmw_0
isherwood_outbuilding_kilns
lab_room_7x7_turret
robofac_hq_surface_freemerchant_camp
robofac_hq_surface_merc_1
robofac_mi2_convoy_ambush_chunk
Nested mapgen IDs (nested_mapgen_id) not appearing in any chunks:
11x11_gym_open
11x11_recroom_open
5x5_holdout_E
5x5_holdout_N
5x5_holdout_S
5x5_pool
5x5_sauna_E
5x5_sauna_N
5x5_sauna_S
@wapcaplet
wapcaplet / overmap_terrain_ids.diff
Created June 17, 2020 21:50
Difference between all "id" values of "overmap_terrain" types (left) and all "om_terrain" values of "mapgen" types (right)
--- overmap_terrain_ids 2020-06-17 15:44:45.368099503 -0600
+++ mapgen_om_terrains 2020-06-17 15:43:55.630136278 -0600
@@ -44,6 +44,7 @@
BotanicalGarden_1b_roof
Cemetery_1a
Cemetery_1b
+FEMA_be
FEMA_blc
FEMA_brc
FEMA_entrance
Starting the actual test at Wed Jun 10 15:50:27 2020
Filters: [battery],[ammo_type]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tst is a Catch v2.12.0 host application.
Run with -? for options
-------------------------------------------------------------------------------
battery tool mod test