Compare commits

..

2 Commits

Author SHA1 Message Date
Maleclypse 6b7d3263c8 Cabin item spawn adjustments (#48825) 2021-05-11 18:06:06 -07:00
LaVeyanFiend 644178b618 Higher Aim speed is good (#48839) 2021-05-11 17:56:51 -07:00
3 changed files with 29 additions and 19 deletions
+15 -9
View File
@@ -66,7 +66,7 @@
{ "item": "magazines", "chance": 60, "repeat": [ 1, 8 ] },
{ "item": "manuals", "chance": 30 }
],
"B": { "item": "bed", "chance": 60 },
"B": { "item": "bed", "chance": 60, "repeat": [ 1, 3 ] },
"d": [ { "item": "livingroom", "chance": 40 }, { "item": "office", "chance": 40 } ],
"D": [
{ "item": "SUS_dresser_mens", "chance": 50, "repeat": [ 1, 4 ] },
@@ -84,20 +84,26 @@
"R": [
{ "item": "camping", "chance": 50 },
{ "item": "gear_survival", "chance": 30 },
{ "item": "cannedfood", "chance": 50 },
{ "item": "cannedfood", "chance": 50, "repeat": [ 2, 4 ] },
{ "item": "stash_food", "chance": 50 }
],
"s": { "item": "SUS_bathroom_sink", "chance": 60 },
"s": [
{ "item": "SUS_bathroom_sink", "chance": 60 },
{ "item": "SUS_hair_drawer", "chance": 30 },
{ "item": "SUS_bathroom_cabinet", "chance": 30 },
{ "item": "SUS_bathroom_medicine", "chance": 20 },
{ "item": "harddrugs", "chance": 2 }
],
"t": { "item": "dining", "chance": 30, "repeat": [ 1, 2 ] },
"U": { "item": "camping", "chance": 30, "repeat": [ 1, 4 ] },
"u": { "item": "SUS_pantry", "chance": 50 },
"u": [ { "item": "SUS_pantry", "chance": 25 }, { "item": "cannedfood", "chance": 20, "repeat": [ 1, 2 ] } ],
"V": { "item": "SUS_oven", "chance": 70 },
"Y": { "item": "coat_rack", "chance": 35, "repeat": [ 1, 4 ] },
"1": [ { "item": "SUS_dishes", "chance": 35 }, { "item": "SUS_silverware", "chance": 35 } ],
"2": { "item": "SUS_cookware", "chance": 35 },
"3": [ { "item": "SUS_utensils", "chance": 35 }, { "item": "SUS_knife_drawer", "chance": 35 } ],
"4": [ { "item": "SUS_junk_drawer", "chance": 35 }, { "item": "SUS_spice_collection", "chance": 35 } ],
"5": { "item": "SUS_kitchen_sink", "chance": 35 }
"1": [ { "item": "SUS_dishes", "chance": 50 }, { "item": "SUS_silverware", "chance": 50 } ],
"2": { "item": "SUS_cookware", "chance": 100 },
"3": [ { "item": "SUS_utensils", "chance": 50 }, { "item": "SUS_knife_drawer", "chance": 50 } ],
"4": [ { "item": "SUS_junk_drawer", "chance": 50 }, { "item": "SUS_spice_collection", "chance": 50 } ],
"5": { "item": "SUS_kitchen_sink", "chance": 100 }
},
"toilets": { "T": { } }
}
+13 -9
View File
@@ -112,18 +112,22 @@
},
"toilets": { "&": { } },
"items": {
"I": { "item": "office", "chance": 30 },
"Q": { "item": "shower", "chance": 30 },
"S": { "item": "softdrugs", "chance": 30 },
"I": { "item": "office", "chance": 30, "repeat": [ 1, 2 ] },
"Q": { "item": "shower", "chance": 30, "repeat": [ 1, 2 ] },
"S": { "item": "softdrugs", "chance": 30, "repeat": [ 1, 2 ] },
"@": { "item": "bed", "chance": 20, "repeat": [ 1, 2 ] },
"V": { "item": "kitchen_counters", "chance": 20, "repeat": [ 1, 2 ] },
"V": [ { "item": "SUS_utensils", "chance": 50 }, { "item": "SUS_knife_drawer", "chance": 50 } ],
"t": { "item": "dishes_dining", "chance": 30 },
"D": { "item": "magic_shop_wands", "chance": 30 },
"F": { "item": "fridge", "chance": 20, "repeat": [ 1, 2 ] },
"D": { "item": "magic_shop_wands", "chance": 30, "repeat": [ 1, 2 ] },
"F": { "item": "SUS_fridge", "chance": 100 },
"G": { "item": "magic_shop_potions", "chance": 30, "repeat": [ 1, 2 ] },
"O": { "item": "oven", "chance": 20, "repeat": [ 1, 2 ] },
"K": { "item": "allclothes", "chance": 20, "repeat": [ 1, 2 ] },
"B": { "item": "magic_shop_books", "chance": 20, "repeat": [ 1, 2 ] }
"O": { "item": "oven", "chance": 70, "repeat": [ 1, 2 ] },
"K": { "item": "allclothes", "chance": 70, "repeat": [ 1, 2 ] },
"B": [
{ "item": "magic_shop_books", "chance": 20, "repeat": [ 1, 2 ] },
{ "item": "homebooks", "chance": 40, "repeat": [ 1, 4 ] },
{ "item": "games", "chance": 20, "repeat": [ 1, 2 ] }
]
}
}
},
+1 -1
View File
@@ -2566,7 +2566,7 @@ void item::gunmod_info( std::vector<iteminfo> &info, const iteminfo_query *parts
}
if( mod.aim_speed >= 0 && parts->test( iteminfo_parts::GUNMOD_AIMSPEED ) ) {
info.push_back( iteminfo( "GUNMOD", _( "Aim speed: " ), "",
iteminfo::lower_is_better, mod.aim_speed ) );
iteminfo::no_flags, mod.aim_speed ) );
}
int total_damage = static_cast<int>( mod.damage.total_damage() );
if( total_damage != 0 && parts->test( iteminfo_parts::GUNMOD_DAMAGE ) ) {