VanillaPlus Structures
Author:
Downloads: 22,584
File Size: 413.0 KB
Created:
Updated:
Mod ID: 1021680
Categories:

VanillaPlus Structures

Major overhaul of vanilla structures, currently adding over 50 new configuration options to 35 different structures. Highly compatible with other mods.

Major overhaul of vanilla structures, currently adding over 50 new configuration options to 35 different structures. All structures include a large set of generic inventory and structure configuration including health, inventory slots, spoil timers, fuel, and more.

Special features -

  • Highly configurable. Over 50 configuration options for each structure.
  • Seamless compatibility with both vanilla and other mods. Easily merge engrams and reduce the need for duplicate structures.
  • Bosses automatically unlock remapped tek engrams.

Full documentation (WIP) can be found at VanillaPlus Docs

Usage notes

More structure specific configuration will be added in the future. This will include things like tree sap amounts, crop plot greenhouse multipliers, tek shield radius, and much more.

Not currently configurable for console players. UI will be added to allow this.

See bottom of page for configuration sections and options. Full documentation coming soon.

VanillaPlus Structures is not a port of S+ and does not seek feature parity. The implementation is drastically different, and allows fully replicated configuration at runtime for specific structures (ie; blessed structures). This is not fully exposed yet. It also provides a means for mod authors to expose custom configuration on their own structures.

Thank you all early adopters! The initial feature set is quickly becoming stable and bug-free, while new features are also continuing to be added.

  • Add engrams to crafting structures using the extraDefaultItems option. Only items added by mods require a full blueprint path. Alternatively, use RemapAdditionalStructureEngrams to include additional engrams from any structure.
  • Use bForceAllowCraftingComponent to ensure that any added engrams will be craftable.
[VanillaPlus.Smithy]  
RemapAdditionalStructureEngrams = TekReplicator_CS_C  
bForceAllowCraftingComponent = True
extraDefaultItems=PrimalItemAmmo_ArrowTranq_C,PrimalItemRaft_C,'/VanillaPlusStructures/CoreBlueprints/Items/Structures/PrimalItemStructure_Forge_VP.PrimalItemStructure_Forge_VP_C','/CompactFertilizer/CoreBlueprints/Items/Consumables/PrimalItemConsumable_FertilizerBag.PrimalItemConsumable_FertilizerBag_C'  
  • Basic building structures like walls and floors are not included. These may be added in a separate mod.
  • Does not affect any vanilla items, only remaps their engrams. All existing structures and items will continue to function normally. They will no longer be craftable.
  • Default configuration is not written for a structure until the first time a structure is placed. Not all values are written to the ini. There are over 50 options for each structure.

Known issues

  • Certain modded engrams may not show after loading when using RemapAdditionalStructureEngrams. Pickup and re-place structure as temporary workaround. Next update.
  • Placement options may not work as expected.
  • Incorrect configuration of fuel arrays can cause a crash. Ensure all arrays are the same length. Use 'None' or 0 as needed. In the future these options will be combined into a single array.
  • Not currently configurable for console hosts.

Mod author notes

Most class names are suffixed with _VP to avoid naming collisions.

One of the primary goals of this mod is to provide a framework that allows authors to produce more versatile mods. It exposes a large number of options with very little effort, allowing admins to better configure your mods for their servers. Over 50 base options currently available to all item containers. Documentation for allowing this configuration on your own structures will be added soon.

Please avoid publishing forks of this mod unless it makes significant changes. You should fully abide by the MIT license in this case.

You should however, feel free to include it in your own server mod packs, total conversions, or others. A link back to this mod on Curseforge (which contains this source and the MIT licensing information) is sufficient. You are NOT required to share the source for your own mod, or to explicitly reproduce any other licensing information in-game.

Gitea private repository access and other resources are available for contributors.

Todo -

  • Auto doors
  • UI and world overrides, especially for console hosts.
  • Inventory item restrictions (add organic polymer to fridge, etc)
  • Structure specific settings (generator, crop plots, beer barrel, tek shield, etc)
  • More structures (generic building structures like walls, floors, etc, but also things like beds)

Non default -

All configurable

  • AC Insulation range doubled from 1200 to 2400.
  • Cooking pot and industrial cooking pot auto-crafting initially deactivated when placing. To reduce unintentional auto-crafting of dyes.

Please leave a comment if you find other defaults that do not match the vanilla structure defaults.

Config options -

Main

[VanillaPlus]
bDebugLogClient=False
bDebugLogEngrams=False
bDumpStructurePaths=False

Configuration section names -

Air conditioner - VanillaPlus.AirConditioner
Beer barrel - VanillaPlus.BeerBarrel
Bookshelf - VanillaPlus.Bookshelf
Campfire - VanillaPlus.Campfire
Cooking pot - VanillaPlus.CookingPot
Generator - VanillaPlus.ElectricGenerator
Feeding trough - VanillaPlus.Trough
Fireplace - VanillaPlus.Fireplace
Forge - VanillaPlus.Forge
Grill - VanillaPlus.Grill
Refrigerator - VanillaPlus.Refrigerator
Industrial cooking pot - VanillaPlus.CookingPotIndustrial
Industrial forge - VanillaPlus.ForgeIndustrial
Mortar and pestle - VanillaPlus.MortarAndPestle
Preserving bin - VanillaPlus.PreservingBin
Standing torch - VanillaPlus.StandingTorch
Smithy - VanillaPlus.Smithy
Chem bench - VanillaPlus.ChemBench
Fabricator - VanillaPlus.Fabricator
Grinder - VanillaPlus.GrinderIndustrial
Small storage box - VanillaPlus.StorageBoxSmall
Large storage box - VanillaPlus.StorageBoxLarge
Vault - VanillaPlus.StorageBoxHuge
Tek generator - VanillaPlus.TekGenerator
Tek replicator - VanillaPlus.TekReplicator
Tek shield - VanillaPlus.TekShield
Tek transmitter - VanillaPlus.TekTransmitter
Tek trough - VanillaPlus.TekTrough
Toilet - VanillaPlus.Toilet
Tree sap tap - VanillaPlus.TreeSapTap
Artifact pedestal - VanillaPlus.TrophyBase
Trophy wall - VanillaPlus.TrophyWall
Wall torch - VanillaPlus.WallTorch
Metal water tap - VanillaPlus.WaterTapMetal
Stone water tap - VanillaPlus.WaterTap

Emitter options - Applicable to all structures with emitters

bCanToggleSilence = True

Structure options - Applicable to all structures

bCanBeDamaged = True  
MaxHealth = 100.0  
bIsFoundation = False  
bDisableActivationUnderwater = False  
bOnlyAllowPlacementInWater = False  
bActiveRequiresPower = True  
bFuelAllowActivationWhenNoPower = True  
bOnlyAllowTeamActivation = False  
bAutoActivateContainer = False  
bAutoActivateIfPowered = True  
bAllowAutoActivateWhenNoPower= False  
bDisplayActivationOnInventoryUI = True  
bOnlyUseSpoilingMultiplierIfActivated = False  
InsulationRange = 0.0  
HyperThermiaInsulation = 0.0  
HypoThermiaInsulation = 0.0  
ContainerActiveDecreaseHealthSpeed = 0.0  
bCanToggleActivation = True  
bPreventToggleActivation = False  
bAutoActivateWhenFueled = False  
bAllowCustomName = False  
FuelConsumptionIntervalsMultiplier = 0.5  
ActiveRequiresFuelItems =   
FuelItemsConsumeInterval =   
FuelItemsConsumedGiveItems =   
bDrawFuelRemaining = True  
FuelConsumeDecreaseDurabilityAmounts =   
bForceNoPinLocking = False  
bSupportsLocking = False  
bSupportsPinLocking = False  
bIsFloor = False  
bIsWall = False  
bRequiresPlacementOnStructureFloors = False  
bDestroyStructureIfFloorDestroyed = True  
bPreventAttachToSaddle = False  
WaterPlacementMinimumWaterHeight = 0.0  
bAllowPickingUpStructureAfterPlacement = True  
bAllowDamageByFriendlyDinos = False  
bForceZeroDamageProcessing = False  
DecayDestructionPeriodMultiplier = 1.0  
StructureSettingsClass =   
DescriptiveName = Structure  

Inventory Options - Applicable to all item containers

bRemapParentEngrams = True  
bRemapSiblingEngrams = False  
RemapAdditionalStructureEngrams = TekReplicator_CS_C  
bForceAllowCraftingComponent = True  
bRemoteInventoryOnlyAllowTribe = False  
bUseExtendedCharacterCraftingFunctionality = False  
bAllowRemoteRepairing = False  
bAllowRemoteCrafting = False  
CraftingItemSpeed = 1.0  
ItemSpoilingTimeMultipliers=((ItemClass='/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Polymer_Organic.PrimalItemResource_Polymer_Organic_C',ItemMultiplier=2),(ItemClass='/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemAmmo_AggroTranqDart.PrimalItemAmmo_AggroTranqDart_C',ItemMultiplier=5))  
AbsoluteMaxInventoryItems = 300  
MaxInventoryItems = 1  
InventoryNameOverride =  
RemoteInventoryDescriptionString =  
bUseItemCountInsteadOfInventory = False  
bAllowDeactivatedCrafting = False  
extraDefaultItems=PrimalItemAmmo_ArrowTranq_C,PrimalItemRaft_C,'/VanillaPlusStructures/CoreBlueprints/Items/Structures/PrimalItemStructure_Forge_VP.PrimalItemStructure_Forge_VP_C','/CompactFertilizer/CoreBlueprints/Items/Consumables/PrimalItemConsumable_FertilizerBag.PrimalItemConsumable_FertilizerBag_C'  

Auto-craft Options - Applicable to Campfire, Cooking pot, Fireplace, Grill, Industrial Cooking Pot

bCanToggleAutoCraft = True  
bAutoCraftActivated = True