Skip to content

Commit

Permalink
add description for subCat defs, and use architect sense's new stuff …
Browse files Browse the repository at this point in the history
…emulation mode
  • Loading branch information
FluffierThanThou committed Feb 5, 2017
1 parent bcab33a commit 364476e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
Binary file modified Assemblies/StuffedFloors.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ All original content (e.g. text, imagery, sounds) in this mod is licensed under
Parts of the code in this mod, and some content may be licensed by their original authors. If this is the case, the original author & license will either be given in the source code, or be in a LICENSE file next to the content. Please do not decompile my mods, but use the original source code available on [GitHub](https://github.com/FluffierThanThou/StuffedFloors/), so license information in the source code is preserved.

# Version
This is version v0.16.0.3
This is version v0.16.0.4
21 changes: 4 additions & 17 deletions Source/SteamConfig.vdf
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,9 @@ This mod does two things. First, using Architect Sense it provides a framework f
[b]For players[/b]
Adds several floor types (borrowed with permission from Telkir’s [url=http://steamcommunity.com/sharedfiles/filedetails/?id=725623521]More Floors[/url], CuproPanda’s [url=https://ludeon.com/forums/index.php?topic=13400#msg135940]Extra Floors[/url] and Pravus’ [url=http://steamcommunity.com/sharedfiles/filedetails/?id=784370602]Fences and Floors[/url]) in a variety of stone, wood and metal types.
Works great with other mods that add more resources, e.g.;
Works great with other mods that add more resources, e.g. [url=http://steamcommunity.com/sharedfiles/filedetails/?id=728233992]Minerals and Materials[/url], [url=http://steamcommunity.com/sharedfiles/filedetails/?id=836912371]Extended Woodworking[/url] and [url=http://steamcommunity.com/sharedfiles/filedetails/?id=725576127]GlitterTech[/url].
- [url=http://steamcommunity.com/sharedfiles/filedetails/?id=728233992]Minerals and Materials[/url]
- [url=http://steamcommunity.com/sharedfiles/filedetails/?id=836912371]Extended Woodworking[/url]
- [url=http://steamcommunity.com/sharedfiles/filedetails/?id=725576127]GlitterTech[/url].
This mod also organizes and where needed, removes the floors added by;
- Vanilla RimWorld
- [url=http://steamcommunity.com/sharedfiles/filedetails/?id=725623521]More Floors[/url]
- [url=http://steamcommunity.com/sharedfiles/filedetails/?id=836912371]Extended Woodworking[/url]
- [url=http://steamcommunity.com/sharedfiles/filedetails/?id=728233992]Minerals and Materials[/url]
- [url=http://steamcommunity.com/sharedfiles/filedetails/?id=725576127]GlitterTech[/url]
- [url=http://steamcommunity.com/sharedfiles/filedetails/?id=801544922]Floored[/url]
This mod also organizes and where needed, removes the floors added by Vanilla RimWorld, [url=http://steamcommunity.com/sharedfiles/filedetails/?id=725623521]More Floors[/url], [url=http://steamcommunity.com/sharedfiles/filedetails/?id=836912371]Extended Woodworking[/url], [url=http://steamcommunity.com/sharedfiles/filedetails/?id=728233992]Minerals and Materials[/url], [url=http://steamcommunity.com/sharedfiles/filedetails/?id=725576127]GlitterTech[/url] and [url=http://steamcommunity.com/sharedfiles/filedetails/?id=801544922]Floored[/url].
[b]For modders[/b]
Adds a custom FloorTypeDef that derives from TerrainDef, and allows modders to create floortypes by setting a texture (grayscale for best effect, will be coloured by stuff) and a list of stuffCategories to generate terrain defs for. The resulting designators will be placed together in a category, and any vanilla or other mod’s terrains made obsolete can also be provided in the XML, and will then be hidden for the user (but not removed, so it won’t break save games).
Expand Down Expand Up @@ -64,10 +51,10 @@ All original code in this mod is licensed under the [url=https://opensource.org/
Parts of the code in this mod, and some content may be licensed by their original authors. If this is the case, the original author & license will either be given in the source code, or be in a LICENSE file next to the content. Please do not decompile my mods, but use the original source code available on [url=https://github.com/FluffierThanThou/StuffedFloors/]GitHub[/url], so license information in the source code is preserved.
[h1]Version[/h1]
This is version v0.16.0.3
This is version v0.16.0.4
"
"changenote" ""
"changenote" "collapse more floors category"
"publishedfileid" "853043503"
}

2 changes: 2 additions & 0 deletions Source/StuffedFloors/Controller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ private static void CreateArchitectSubCategory( FloorTypeDef floorType, List<Ter
{
DesignationSubCategoryDef subCategoryDef = new DesignationSubCategoryDef();
subCategoryDef.label = floorType.label;
subCategoryDef.description = floorType.description;
subCategoryDef.designationCategory = floorType.designationCategory;
subCategoryDef.preview = false; // we want the stuff-like selector
subCategoryDef.emulateStuff = true;

// poke ArchitectSense
DesignatorUtility.AddSubCategory( DefDatabase<DesignationCategoryDef>.GetNamed( "Floors" ), subCategoryDef, terrainDefs.ToList() );
Expand Down

0 comments on commit 364476e

Please sign in to comment.