handle modules larger than 1x1, widen door size to allow walking around it
This commit is contained in:
@@ -18,11 +18,11 @@ namespace EscapeRoomEngine.Engine.Runtime.Requirements
|
||||
}
|
||||
|
||||
var placementCandidates = Candidates(
|
||||
space.rrPlacement.EveryPlacement,
|
||||
module.srPlacement.EveryPlacementInSpace(space),
|
||||
module.description.placementRequirements,
|
||||
module, space);
|
||||
|
||||
Logger.Log($"placement candidates: {string.Join(", ", placementCandidates.ToList().ConvertAll(c => c.PositionAndOrientation()))}", LogType.RequirementResolution);
|
||||
Logger.Log($"placement candidates: {string.Join(", ", placementCandidates.ToList().ConvertAll(c => c.ToStringShort()))}", LogType.RequirementResolution);
|
||||
|
||||
if (placementCandidates.Count > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user