Merge branch 'master' of https://github.com/space-syndicate/space-station-14 into OhShitUstreamAgain
@@ -123,7 +123,6 @@ public sealed partial class RoleLoadout : IEquatable<RoleLoadout>
|
||||
}
|
||||
|
||||
// Corvax-Loadouts-Start
|
||||
var groupProtoLoadouts = groupProto.Loadouts;
|
||||
if (collection.TryResolveType<ISharedLoadoutsManager>(out var loadoutsManager) && group.Id == "Inventory")
|
||||
{
|
||||
var prototypes = new List<string>();
|
||||
@@ -136,7 +135,7 @@ public sealed partial class RoleLoadout : IEquatable<RoleLoadout>
|
||||
prototypes = protos;
|
||||
}
|
||||
|
||||
groupProtoLoadouts = prototypes.Select(id => (ProtoId<LoadoutPrototype>)id).ToList();
|
||||
groupProto.Loadouts.AddRange(prototypes.Select(id => (ProtoId<LoadoutPrototype>)id));
|
||||
}
|
||||
// Corvax-Loadouts-End
|
||||
|
||||
@@ -176,7 +175,7 @@ public sealed partial class RoleLoadout : IEquatable<RoleLoadout>
|
||||
// If you put invalid ones first but that's your fault for not using sensible defaults
|
||||
if (loadouts.Count < groupProto.MinLimit)
|
||||
{
|
||||
foreach (var protoId in groupProtoLoadouts) // Corvax-Loadout: Use groupProtoLoadouts instead of groupProto.Loadouts
|
||||
foreach (var protoId in groupProto.Loadouts)
|
||||
{
|
||||
if (loadouts.Count >= groupProto.MinLimit)
|
||||
break;
|
||||
|
||||
|
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 238 B |
|
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 219 B |
|
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 237 B |
|
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 294 B |
|
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 275 B |
|
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 259 B |
|
Before Width: | Height: | Size: 343 B After Width: | Height: | Size: 290 B |
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 242 B |
|
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 247 B |
|
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 296 B |
|
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 456 B |
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 333 B |
|
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 336 B |
|
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 346 B |
|
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 337 B After Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 342 B |
|
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 214 B |
|
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 272 B |
|
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 232 B |
|
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 243 B |
|
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 283 B |
|
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 252 B |
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 291 B |
|
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 260 B |
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 304 B |
|
Before Width: | Height: | Size: 256 B After Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 271 B |
|
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 212 B |
|
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 292 B |
|
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 246 B |
|
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 452 B |
|
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 463 B |
@@ -5,7 +5,7 @@
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris at commit 4e0bbe682d0a00192d24708fdb7031008aa03f18 and bee station at commit https://github.com/BeeStation/BeeStation-Hornet/commit/13dd5ac712385642574138f6d7b30eea7c2fab9c, Job signs by EmoGarbage404 (github) with inspiration from yogstation and tgstation, 'direction_exam' and 'direction_icu' made by rosieposieeee (github). 'court', 'janitor', 'law', 'psychology', 'eva' changed for corvax by netwy (discord, 583844759429316618) and updated by github:lapatison; Job signs localized by kaiserGans (github), 'direction_atmos' made by SlamBamActionman. voxcross taken from vgstation13 at https://github.com/vgstation-coders/vgstation13/blob/e7f005f8b8d3f7d89cbee3b87f76c23f9e951c27/icons/obj/decals.dmi, 'ntmining' modified by Ko4erga, 'corvax_newyear' by Ko4erga, 'direction_pods' derived by WarPigeon from existing directional signs.",
|
||||
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris at commit 4e0bbe682d0a00192d24708fdb7031008aa03f18 and bee station at commit https://github.com/BeeStation/BeeStation-Hornet/commit/13dd5ac712385642574138f6d7b30eea7c2fab9c, Job signs by EmoGarbage404 (github) with inspiration from yogstation and tgstation, 'direction_exam' and 'direction_icu' made by rosieposieeee (github). 'court', 'janitor', 'law', 'psychology', 'eva' changed for corvax by netwy (discord, 583844759429316618) and updated by github:lapatison; Job signs localized by kaiserGans (github), 'direction_atmos' made by SlamBamActionman. voxcross taken from vgstation13 at https://github.com/vgstation-coders/vgstation13/blob/e7f005f8b8d3f7d89cbee3b87f76c23f9e951c27/icons/obj/decals.dmi, 'ntmining' modified by Ko4erga, 'corvax_newyear' by Ko4erga, 'direction_pods' derived by WarPigeon from existing directional signs, 'cans_sci' by @mishutka09 (discord:1152277579206774854), 'bath' by NotSoDamn (github)",
|
||||
"states": [
|
||||
{
|
||||
"name": "ai"
|
||||
|
||||