Ludeon Forums

Ludeon Forums

  • June 04, 2020, 01:38:36 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [1.1.2624] Cannot put floor under buiding with no terrainAffordanceNeeded  (Read 56 times)

LWM

  • Colonist
  • ***
  • Posts: 923
  • Little White Mouse
    • View Profile

GenConstruct's CanPlaceBlueprintOver will not allow placing a terrain (e.g., wood floor) underneath a building which has no terrainAffordanceNeeded requirement (e.g., a modded marker with terrainAffordanceNeeded of null).

Instead, the player must remove the building with no terrain requirement, put down the new floor, and then replace the building with no terrain requirement, which does not make sense.

Better would be: if the new def is a TerrainDef and the old def has no requirement, skip any terrain affordance tests.

A minor bug, but annoying when it crops up!

Thanks
« Last Edit: May 22, 2020, 01:36:13 AM by LWM »
Logged