RimWorld

RimWorld

105 ratings
[Og] Special Trees Tweaks
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
368.687 KB
2 May, 2024 @ 1:58am
14 Jul @ 7:11pm
3 Change Notes ( view )

Subscribe to download
[Og] Special Trees Tweaks

Description
Description:
A rework of Anima Gauranlen Polux Tweaks, use XML extensions for mod setting.
This mod made a lot of configurable change to the Anima Trees, Gauranlen Trees, Polux Trees, Harbinger Trees and Archean Trees.
  1. Anima Trees:
    • Replantable.
    • Allows you to build Artificial Buildings next to it.
  2. Gauranlen Trees:
    • Flammability set to 0.
    • Replantable.
    • Configurable wild dryad numbers (0-4), so you can plant it as decoration without annoying dryads.
    • Allows you to build Artificial Buildings next to it.
  3. Polux Trees:
    • Flammability set to 0.
    • Replantable.
    • Allows you to build Artificial Buildings next to it.
  4. Harbinger Trees:
    • Replantable.
  5. Archean Trees:
    • Flammability set to 0.
    • Replantable.
Notice:
Gauranlen Trees and Polux Trees will still display red lines and text when built in close proximity due to the limitation of patches, but there is no impact on functionality actually.

Everything is configurable through XML extensions -- simply open "more mod settings" window and click "Special Trees Tweaks".
In 1.6, you can open the mod setting directly in "mod setting" tab

Compatibility:
Since it's a patch mod, it should be compatible with anything.
61 Comments
Victor 20 Jul @ 6:36pm 
You should add some tests before the patches, I recommend using the SafeReplace patch from XML Extensions, so that you don't get errors if another mod patches the same Defs.
WarCookie 19 Jul @ 5:54am 
szmtex 18 Jul @ 10:48am 
2nd:

[[Og] Special Trees Tweaks] Patch operation Verse.PatchOperationFindMod(Anomaly) failed
file: C:\Gry i Programy\Steam\steamapps\workshop\content\294100\3237449833\Patches\Anomaly_Plants_Special.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.PatchOperation:Complete (string)
Verse.LoadedModManager:ClearCachedPatches ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
szmtex 18 Jul @ 10:48am 
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
szmtex 18 Jul @ 10:47am 
geting two red errors on startup:

[[Og] Special Trees Tweaks - Start of stack trace]
Verse.PatchOperationRemove(xpath="/Defs/ThingDef[defName="Plant_TreeHarbinger"]/minifiedDef"): Failed to find a node with the given xpath
XmlExtensions.OptionalPatch(key='toggle_minified_Harbinger', defaultValue='true'): Error in <caseTrue> in the operation at position=1
Verse.PatchOperationSequence: Error in the operation at position=1
Verse.PatchOperationFindMod(Anomaly): Error in <match>
[End of stack trace]
Source file: C:\Gry i Programy\Steam\steamapps\workshop\content\294100\3237449833\Patches\Anomaly_Plants_Special.xml
szmtex 18 Jul @ 10:47am 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
XmlExtensions.ErrorManager:PrintErrors (string,Verse.ModContentPack)
XmlExtensions.PatchOperation_Patch:Postfix (Verse.PatchOperation,bool&,System.Xml.XmlDocument)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PatchOperation.Apply_Patch2 (Verse.PatchOperation,System.Xml.XmlDocument)
(wrapper dynamic-method)
szmtex 18 Jul @ 10:46am 
MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ApplyPatches_Patch3 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
gunns22 15 Jul @ 3:08am 
:steamthumbsup:
OganessonG  [author] 14 Jul @ 7:17pm 
Updated.
gunns22 13 Jul @ 6:20pm 
:steamthumbsup: