Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Palletized(/nested?) item placement without defined "chance" defaults to 0 (will never be placed) #72326

Closed
RenechCDDA opened this issue Mar 11, 2024 · 9 comments · Fixed by #72458
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Map / Mapgen Overmap, Mapgen, Map extras, Map display (S2 - Confirmed) Bug that's been confirmed to exist Spawn Creatures, items, vehicles, locations appearing on map

Comments

@RenechCDDA
Copy link
Member

Describe the bug

We have a palette (lodge_items)with a definition "L": { "item": "cannibal_food", "repeat": [ 1, 4 ] },.

"D": { "item": "hunting_lodge_weapons" },
"F": { "item": "archery_ammo", "chance": 30, "repeat": [ 1, 4 ] },
"h": { "item": "cannibal_weapons", "repeat": [ 1, 4 ] },
"L": { "item": "cannibal_food", "repeat": [ 1, 4 ] },

Natural understanding from repeating that is that it will spawn 1-4 of those items. Instead, it always spawns 0.

Note that "D": { "item": "hunting_lodge_weapons" }, and "h": { "item": "cannibal_weapons", "repeat": [ 1, 4 ] }, will never be placed either, lacking a defined chance

Here is an image of a nested mapgen spawn from the debug menu:

image

And for comparison, the mapgen entry:

"DF ARF LRL LRa ",
"R ",
"SF DRA LRa LRL ",

Notice that every square with L and D defined is empty. They are always empty. They will never spawn, because their chance defaults to 0.

Attach save file

N/A requires modification to prove without a doubt. Use this branch: master...RenechCDDA:Cataclysm-DDA:nested_mapgen_fail

Debug spawn lodge, teleport to lodge. Notice that the pantry is empty despite having many definitions for items to be put into it. Notice that the only change to files has been to remove explicit chance definitions.

Steps to reproduce

Visit cannibal lodge, notice that there is nothing from the cannibal_food entry despite it being defined.

Use this branch to verify: master...RenechCDDA:Cataclysm-DDA:nested_mapgen_fail

Expected behavior

If I define an item to spawn in mapgen without specifying a chance, it should default to 100, definitely not 0! I defined it to spawn, didn't I?

Screenshots

No response

Versions and configuration

c5225cf

Windows 10

Additional context

No response

@RenechCDDA RenechCDDA added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Mar 11, 2024
@RenechCDDA RenechCDDA added Map / Mapgen Overmap, Mapgen, Map extras, Map display Spawn Creatures, items, vehicles, locations appearing on map [C++] Changes (can be) made in C++. Previously named `Code` labels Mar 11, 2024
@PatrikLundell
Copy link
Contributor

I believe the behavior of omitting a spawn chance should be to always spawn. This differs from 100% in that it would not be affected by spawn reduction rates. However, this might be too subtle a difference to be usable in practice (i.e. a significant risk of intending 100% rather than mandatory).

An alternative would be to make the chance entry mandatory and have checks reject entries without it.

@RenechCDDA
Copy link
Member Author

Here is a list of all the affected vanilla groups:

02:33:26.824 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_dishes with context items 4 in palette farm
02:33:29.610 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_silverware with context items 4 in palette farm
02:33:30.089 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_knife_drawer with context items 4 in palette farm
02:33:30.530 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_junk_drawer with context items 5 in palette farm
02:33:30.856 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_kitchen_sink with context items 5 in palette farm
02:33:31.304 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_cookware with context items 6 in palette farm
02:33:31.304 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_utensils with context items 6 in palette farm
02:33:31.313 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group hunting_lodge_weapons with context items D in palette lodge_items
02:33:31.313 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group cannibal_food with context items L in palette lodge_items
02:33:31.313 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group cannibal_weapons with context items h in palette lodge_items
02:33:31.315 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group trash with context items U in palette mil_surplus_intact
02:33:33.576 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group airliner_debris with context items * in palette 
[ Previous repeated 28 times ]
02:33:33.579 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group airliner_debris with context items * in palette 
02:33:33.645 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group stash_wood with context items w in palette 
02:33:33.685 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group shelter with context items w in palette 
[ Previous repeated 3 times ]
02:33:33.686 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group shelter with context items w in palette 
02:33:33.970 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.970 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.970 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.970 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.970 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_ballroom with context items   in palette 
02:33:33.970 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.971 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.971 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.971 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_gym with context items ` in palette 
02:33:33.972 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.972 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.972 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.972 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.972 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.972 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items - in palette 
02:33:33.972 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items _ in palette 
02:33:33.972 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.973 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.973 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.973 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.973 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.973 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.974 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.974 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_bedroom with context items   in palette 
02:33:33.974 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.974 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.974 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.974 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.975 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.975 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.975 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.976 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.976 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.976 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.976 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.977 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.977 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.977 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.977 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.977 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.977 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.978 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.978 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.978 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_bedroom with context items   in palette 
02:33:33.978 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.979 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.979 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.979 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.979 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.979 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.980 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.980 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.980 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.980 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.981 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.981 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
[ Previous repeated 1 times ]
02:33:33.981 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.982 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.982 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.982 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.982 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.983 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:33.983 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.983 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.984 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.984 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.984 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.985 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:33:33.985 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:33:33.985 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items - in palette 
02:33:33.985 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:33:34.005 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group lab_shoes with context items l in palette 
02:33:34.005 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group lab_torso with context items l in palette 
02:33:34.005 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group lab_pants with context items l in palette 
02:33:34.005 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group underwear with context items l in palette 
02:33:34.278 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group cash_register_random with context items 3 in palette 
02:33:34.279 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group cash_register_ransacked with context items 3 in palette 
02:33:34.357 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group fireplace_fill with context items # in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3083 with context items O in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3084 with context items O in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3085 with context items O in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3086 with context items O in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3087 with context items O in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3088 with context items O in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3089 with context items O in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3090 with context items O in palette 
02:33:34.462 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3091 with context items O in palette 
02:33:34.463 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3092 with context items O in palette 
02:33:34.463 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3093 with context items O in palette 
02:33:34.463 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3094 with context items O in palette 
02:33:34.493 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group tools_science with context items X in palette 

@RenechCDDA
Copy link
Member Author

And with all the mods loaded at once:

02:43:48.485 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_dishes with context items 4 in palette farm
02:43:49.496 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_silverware with context items 4 in palette farm
02:43:49.496 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_knife_drawer with context items 4 in palette farm
02:43:49.496 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_junk_drawer with context items 5 in palette farm
02:43:49.496 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_kitchen_sink with context items 5 in palette farm
02:43:49.496 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_cookware with context items 6 in palette farm
02:43:49.496 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group SUS_utensils with context items 6 in palette farm
02:43:49.505 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group hunting_lodge_weapons with context items D in palette lodge_items
02:43:49.505 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group cannibal_food with context items L in palette lodge_items
02:43:49.505 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group cannibal_weapons with context items h in palette lodge_items
02:43:49.508 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group trash with context items U in palette mil_surplus_intact
02:43:50.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_tools_space_emergency with context items % in palette afs_habitat_mech_furnishing
02:44:25.620 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_bionics_power with context items $ in palette 
02:44:25.623 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group oa_ig_sb_water with context items W in palette 
02:44:25.623 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group oa_ig_sb_water with context items W in palette 
02:44:25.643 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group airliner_debris with context items * in palette 
[ Previous repeated 28 times ]
02:44:25.646 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group airliner_debris with context items * in palette 
02:44:25.724 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group stash_wood with context items w in palette 
02:44:25.763 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.763 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.764 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.764 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.764 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_ballroom with context items   in palette 
02:44:25.764 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.764 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.765 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.765 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_gym with context items ` in palette 
02:44:25.765 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.765 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.765 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.765 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.765 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.766 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items - in palette 
02:44:25.766 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items _ in palette 
02:44:25.766 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.766 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.766 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.766 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.766 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.766 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.767 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.767 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.767 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.767 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.767 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_bedroom with context items   in palette 
02:44:25.767 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.768 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.768 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.768 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.768 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.769 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.769 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.769 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.769 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.769 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.769 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
[ Previous repeated 1 times ]
02:44:25.770 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.770 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.771 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.771 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.771 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.771 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.772 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.772 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.772 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.772 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.773 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.773 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:25.773 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:25.773 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items - in palette 
02:44:25.773 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group veggy_pickled_jar_glass_sealed_2 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group veggy_pickled_jar_3l_glass_sealed_12 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group sauerkraut_jar_glass_sealed_2 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group apple_canned_jar_3l_glass_sealed_24 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group fish_pickled_jar_glass_sealed_2 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group fish_pickled_jar_3l_glass_sealed_12 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group meat_pickled_jar_glass_sealed_2 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group meat_pickled_jar_3l_glass_sealed_12 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group veggy_canned_jar_3l_glass_sealed_12 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group can_tomato_jar_3l_glass_sealed_24 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group meat_canned_jar_3l_glass_sealed_12 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group flour_bag_paper_powder_1_70 with context items Ṛ in palette 
02:44:25.777 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group kitchen_sack with context items Ṛ in palette 
02:44:25.784 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group shelter with context items v in palette 
[ Previous repeated 3 times ]
02:44:25.785 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group shelter with context items v in palette 
02:44:25.785 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group shelter with context items w in palette 
[ Previous repeated 3 times ]
02:44:25.787 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group shelter with context items w in palette 
02:44:25.992 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group enchanted_tools_plus1 with context items N in palette 
02:44:25.992 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group enchanted_tools_plus1 with context items N in palette 
02:44:26.043 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_stored_meats with context items Ñ in palette 
02:44:26.043 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_stored_meats with context items Ñ in palette 
02:44:26.062 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group nuclear_reactor with context items 3 in palette 
02:44:26.062 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_kitchenette with context items Ñ in palette 
02:44:26.062 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group nuclear_reactor with context items 3 in palette 
02:44:26.062 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_kitchenette with context items Ñ in palette 
02:44:26.062 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group nuclear_reactor with context items 3 in palette 
02:44:26.062 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_kitchenette with context items Ñ in palette 
02:44:26.062 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group nuclear_reactor with context items 3 in palette 
02:44:26.062 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_kitchenette with context items Ñ in palette 
02:44:26.120 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.120 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.120 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.121 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.121 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_ballroom with context items   in palette 
02:44:26.121 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_ballroom with context items   in palette 
02:44:26.121 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
[ Previous repeated 2 times ]
02:44:26.122 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.122 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.122 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_gym with context items ` in palette 
02:44:26.122 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_gym with context items ` in palette 
02:44:26.123 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.123 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.123 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.123 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.123 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.123 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.124 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.124 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.124 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items - in palette 
02:44:26.124 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items _ in palette 
02:44:26.124 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.124 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.124 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.124 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.125 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.125 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.125 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.125 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_bedroom with context items   in palette 
02:44:26.125 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.125 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.126 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.126 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.126 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.126 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.127 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.127 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.127 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.128 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.128 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.128 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.128 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
[ Previous repeated 1 times ]
02:44:26.128 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.129 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.129 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.129 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.129 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.129 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.130 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.130 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.130 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.130 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.130 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.131 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.131 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.131 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.131 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_bedroom with context items   in palette 
02:44:26.131 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.131 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_bedroom with context items   in palette 
02:44:26.131 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.132 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.132 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.132 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.132 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.133 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.133 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.133 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.134 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.134 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.134 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.134 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.134 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.134 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.135 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.135 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.135 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.135 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
[ Previous repeated 3 times ]
02:44:26.136 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.137 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
[ Previous repeated 2 times ]
02:44:26.137 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.138 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.138 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.138 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.139 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.139 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.139 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.139 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.139 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.140 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.140 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.141 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
[ Previous repeated 1 times ]
02:44:26.141 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.141 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.142 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items   in palette 
02:44:26.142 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_yard with context items . in palette 
02:44:26.142 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items - in palette 
02:44:26.142 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.142 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_mansion with context items - in palette 
02:44:26.142 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group clutter_basement with context items . in palette 
02:44:26.156 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group tools_science with context items X in palette 
02:44:26.163 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group lab_shoes with context items l in palette 
02:44:26.163 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group lab_torso with context items l in palette 
02:44:26.163 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group lab_pants with context items l in palette 
02:44:26.163 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group underwear with context items l in palette 
02:44:26.519 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group afs_kitchenette with context items Ñ in palette 
02:44:26.547 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group cash_register_random with context items 3 in palette 
02:44:26.547 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group cash_register_ransacked with context items 3 in palette 
02:44:26.569 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group spy_map with context items 1 in palette 
02:44:26.635 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group fireplace_fill with context items # in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3884 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3885 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3886 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3887 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3888 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3889 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3890 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3891 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3892 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3893 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3894 with context items O in palette 
02:44:26.761 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3895 with context items O in palette 
02:44:26.762 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3896 with context items O in palette 
02:44:26.762 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3897 with context items O in palette 
02:44:26.762 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3898 with context items O in palette 
02:44:26.762 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3899 with context items O in palette 
02:44:26.762 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3900 with context items O in palette 
02:44:26.762 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3901 with context items O in palette 
02:44:26.763 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3902 with context items O in palette 
02:44:26.763 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3903 with context items O in palette 
02:44:26.763 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3904 with context items O in palette 
02:44:26.763 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3905 with context items O in palette 
02:44:26.763 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3906 with context items O in palette 
02:44:26.763 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group Ƿ 3907 with context items O in palette 
02:44:26.793 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group tools_science with context items X in palette 
02:44:26.885 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group corpse_bloody with context place_items in nested mapgen lmoe_dead_mage
02:44:26.886 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group corpse_bloody with context place_items in nested mapgen lmoe_dead_mage_scen_start
02:44:26.915 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group military with context place_items in update mapgen mx_nest_dromaeosaurus
02:44:26.915 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group science with context place_items in update mapgen mx_nest_dromaeosaurus
02:44:26.915 ERROR : \Cataclysm-DDA\src\mapgen.cpp:2203 [jmapgen_item_group] Missing chance definition in group military with context place_items in update mapgen mx_nest_dromaeosaurus

@RenechCDDA
Copy link
Member Author

This was used to report all the errors at once: master...RenechCDDA:Cataclysm-DDA:check_mapgen_failures

@RenechCDDA
Copy link
Member Author

Some other notes related to this problem:

-Both chance and prob can be defined. prob is not even supposed to be here. It should throw skipped member errors. It does not. Oh no.

{ "item": "veggy_pickled_jar_glass_sealed_2", "prob": 40, "repeat": [ 10, 80 ] },

-Chance seems to override prob.

-Based on the above, I am strongly considering taking up alcoholism, as this will be a mess to clean up.

@Procyonae
Copy link
Contributor

The "chance" should be defaulting to 1/100 as per the docs https://docs.cataclysmdda.org/MAPGEN.html#place-items-from-an-item-group-with-items though I've never understood why that is the default

Taking that into account "h": { "item": "cannibal_weapons", "chance": 100, "repeat": [ 1, 4 ] }, and "h": { "item": "cannibal_weapons", "chance": 100, "count": [ 1, 4 ] }, are subtlely different due to the spawn reduction mechanics Patrick brought up, if global item spawns are at 50% for example and repeat and count both rolled 4, the repeat would try 4 times at 50/100 to spawn 1 while chance would try once at 50/100 to spawn 4.

Prob should definately throw an error tho ye

@RenechCDDA
Copy link
Member Author

Spawn rate should already be covered by this:

for( const item &itm : item_group::items_from( group_id, turn, spawn_flags::use_spawn_rate ) ) {

There is some merit to allowing mapgen to force spawns, ignoring spawn rate. But mostly I am concerned about the huge difference in expectation from someone writing "D": { "item": "hunting_lodge_weapons" }, and the game interpreting that to mean it should only be placed 1% of the time.

@Procyonae
Copy link
Contributor

Procyonae commented Mar 17, 2024

I forgot just how stoopid this is, "item" uses a one in x chance that defaults to 1 (so guaranteed) while "items" uses x in 100 chance that defaults to 1 (so 1%). Ideally both would be x in y imo but having just messed about and finding there's 2000+ "items" "chance": 100 alone changing the whole lot would be ridiculously disruptive so we might have to make do with just changing the default

@PatrikLundell
Copy link
Contributor

There is also the alternative to eat this elephant one bite at a time, i.e. Changing the default and decide on which syntax to keep (for application later), and then change 100 or so entries at a time to the canonical syntax over 20+ PRs (probably changing a number of files over in each PR, so the PRs are independent, apart from the first and last one.) and then finally remove support of the undesirable syntax.
It's take a lot of time, and I wouldn't recommend doing the PRs in quick succession as the stale-bot risk killing the last ones to be reviewed off before the reviewers have time to process them.

@RenechCDDA RenechCDDA added (S2 - Confirmed) Bug that's been confirmed to exist and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Map / Mapgen Overmap, Mapgen, Map extras, Map display (S2 - Confirmed) Bug that's been confirmed to exist Spawn Creatures, items, vehicles, locations appearing on map
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants