Demiplane modifiers groups & tiers (#678)
* data setup * demiplanes modficators combine refactor * generationProb * demiplane tiers setup * migration, and t2 loots * t2 balance tweaks * retags * weather modifiers group * maplight modifiers * more passed checks * wanderer buy positions localization fix * fixes
This commit is contained in:
@@ -100,16 +100,16 @@ public sealed class RandomGiftSystem : EntitySystem
|
||||
if (proto.Abstract || proto.HideSpawnMenu || proto.Components.ContainsKey(mapGridCompName) || !proto.Components.ContainsKey(physicsCompName))
|
||||
continue;
|
||||
|
||||
_possibleGiftsUnsafe.Add(proto.ID);
|
||||
|
||||
if (!proto.Components.ContainsKey(itemCompName))
|
||||
continue;
|
||||
|
||||
//CP14 Only cp14 items
|
||||
if (!proto.Categories.Contains(indexedFilter))
|
||||
continue;
|
||||
//CP14 end
|
||||
|
||||
_possibleGiftsUnsafe.Add(proto.ID);
|
||||
|
||||
if (!proto.Components.ContainsKey(itemCompName))
|
||||
continue;
|
||||
|
||||
_possibleGiftsSafe.Add(proto.ID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user