Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 0.1.10
Fix issue with invisible flats when using a custom file name.
Version 0.1.9
Flats should now scale correctly based on UseExactDimensions setting.
Version 0.1.8
Invalid replacements are now ignored and logged.
Replacements using expanded textures named with the vanilla naming scheme no longer require a workaround by entering a dummy custom name (i.e. entering "-1" in FlatTextureName).
Version 0.1.7
Fixed an issue where one replacement erroring out would prevent all subsequent replacements from occurring.
Version 0.1.5
Fixed regression that causes crash when swapping vanilla flats.
Version 0.1.4
Added ability to load graphics from .dfmod bundle (.json files must still be loose).
Version 0.1.3
Added UseExactDimensions property.
Fixed issue that allows invalid custom image replacements.
Version 0.1.2
Fixed an issue with replacements overwriting previous ones.
Version 0.1.1
Fixed an issue with replaced flats appearing partially beneath the floor.
Version 0.1.0
Users can now add a pool of replacements that match the same criteria which are chosen at random.
Users can now replace flat graphics with other vanilla flat graphics.
Removed ChanceToReplace value from replacement object.
NPC Flat Replacer
Description: This is a framework for modders which aims to allow them to easily replace interior NPC flats with a higher degree of versatility than vanilla DFU. NPC flats may be replaced with the following user-supplied stipulations:
Within certain regions or all
In buildings belonging to a given faction or any
In buildings of a certain type or any
In buildings within a specified quality range (from rusty relics to incense and everywhere in between)
The added stipulations allow for greater interior flat diversity across different types of places.
Instructions: In order to create a set of one or more replacements, the modder must add a file containing their json objects to StreamingAssets/FlatReplacements. That file will reference the replacement flat graphics placed in StreamingAssets/Textures and optionally the portrait graphics in StreamingAssets/Textures/CifRci. If multiple replacements apply to the same set of criteria then one will be chosen at random for each given occurrence of the altered NPC. Refer to the readme for full documentation about the format of the json files and the directory structure.