[1.5] Allow Tool (3.13.0) - The Rimworld Multitool

Started by UnlimitedHugs, January 01, 2016, 04:46:25 AM

Previous topic - Next topic

Crusader

Hello, I hope I have not left anything. Spanish localization update:

In Designators.xml add:


  <HarvestFullyGrownDesignator.label>Cosecha completamente cultivada</HarvestFullyGrownDesignator.label>
  <HarvestFullyGrownDesignator.description>Ordena la cosecha o tala de cultivos y árboles que están suficientemente crecidos para producir su máxima cantidad de recursos cuando se recolectan.
Mantenga pulsada la tecla Shift para incluir solo las plantas.
Mantenga pulsada la tecla Ctrl para incluir solo árboles.</HarvestFullyGrownDesignator.description>

  <StripMineDesignator.label>Minar en tiras</StripMineDesignator.label>
  <StripMineDesignator.description>Establece órdenes de mina en una cuadrícula para maximizar la posibilidad de encontrar minerales ocultos.
Mantenga pulsada la tecla Shift para mostrar la ventana de configuración o designar utilizando la configuración actual.</StripMineDesignator.description>


In KeyBindings.xml add:


<DesignatorHarvestFullyGrown.label>Designar: Cosecha completamente cultivada</DesignatorHarvestFullyGrown.label>

<DesignatorStripMine.label>Designar: Minar en tiras</DesignatorStripMine.label>


In keyed.xml add:


<Harvest_fully_grown_success>{0} plantas completamente cultivadas marcadas para la cosecha.</Harvest_fully_grown_success>
<Harvest_fully_grown_failure>No se encontraron nuevas plantas o árboles completamente crecidos.</Harvest_fully_grown_failure>
 
    <Designator_context_harvest_fullgrown>Cosechar plantas completamente cultivadas en el mapa</Designator_context_harvest_fullgrown>
<Designator_context_harvest_home_fullgrown>Cosechar plantas completamente cultivadas en el área de origen.</Designator_context_harvest_home_fullgrown>
<Designator_context_harvest_fullgrown_succ>{0} plantas completamente cultivadas designadas para la cosecha.</Designator_context_harvest_fullgrown_succ>
<Designator_context_harvest_fullgrown_fail>No se encontraron nuevas plantas completamente cultivadas para cosechar.</Designator_context_harvest_fullgrown_fail>
<Designator_context_allow_visible>Permitir todas las cosas visibles</Designator_context_allow_visible>
<Designator_context_allow_visible_succ>Permitidas {0} cosas visibles.</Designator_context_allow_visible_succ>
<Designator_context_allow_visible_fail>No se encontraron cosas prohibidas visibles para permitir.</Designator_context_allow_visible_fail>
<Designator_context_forbid_visible>Prohibir todas las cosas visibles</Designator_context_forbid_visible>
<Designator_context_forbid_visible_succ>{0} cosas visibles han sido prohibidas.</Designator_context_forbid_visible_succ>
<Designator_context_forbid_visible_fail>No se encontró visible prohibido para anular.</Designator_context_forbid_visible_fail>
 
    <StripMine_win_horizontalSpacing>Espaciado horizontal</StripMine_win_horizontalSpacing>
<StripMine_win_verticalSpacing>Espaciado vertical</StripMine_win_verticalSpacing>
<StripMine_win_showWindow>Mostrar esta ventana</StripMine_win_showWindow>
<StripMine_win_showWindow_tip>Deshabilite para utilizar automáticamente esta configuración la próxima vez.\nHold Shift para volver a mostrar esta ventana.</StripMine_win_showWindow_tip>
<StripMine_win_variableOffset>Desplazamiento de cuadrícula variable</StripMine_win_variableOffset>
<StripMine_win_variableOffset_tip>Cuando se habilita, la cuadrícula se extenderá desde el punto inicial de la selección. De lo contrario, las líneas de cuadrícula siempre pasarán a través de las mismas celdas, independientemente de dónde se inició la selección.</StripMine_win_variableOffset_tip>
<StripMine_cursor_autoApply>Aplicar inmediatamente</StripMine_cursor_autoApply>
 
   <Designator_context_mine_selectStripMine>Seleccione la herramienta "Minar en tiras"</Designator_context_mine_selectStripMine>




UnlimitedHugs

Updated to 3.11.0

The update for Rimworld 1.3 is live.
Changes include drafted hunting immunity for tame-designated animals and a few translation updates.

Quote from: glencoe2004 on January 28, 2021, 03:56:03 AM
Could you add a setting to make finish off only cut neck and not brain? I'm using HOPM and it's a bitch having to shoot pawns in the legs until they die.
I don't want to mess with that, to be honest.

Quote from: Crusader on July 09, 2021, 10:12:05 AM
Hello, I hope I have not left anything. Spanish localization update:
Merged, thank you.
Next time please provide the changes in the form of files or a pull request, as they are easier to handle.
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

UnlimitedHugs

Updated to 3.11.1

Minor fix to require the latest HugsLib version, if not installed.
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

Piligrime

hello! can someone tell me what i did wrong with this mod?
game version - 1.3.3136 64-bits

instaled last versions of mod 3.11.1 and hugs lib 9.0.1. from first message here

getting this on old save file.

Exception processing alert AllowTool.Alert_NoUrgentStorage: System.NullReferenceException: Object reference not set to an instance of an object
  at AllowTool.Alert_NoUrgentStorage.GetReport () [0x00006] in <62b4ea65b8384767bbe2ebb0d5b5d734>:0
  at RimWorld.Alert.Recalculate () [0x00000] in <51088e970b8e4926b1c0bfe6119e867e>:0
  at RimWorld.AlertsReadout.CheckAddOrRemoveAlert (RimWorld.Alert alert, System.Boolean forceRemove) [0x00000] in <51088e970b8e4926b1c0bfe6119e867e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
RimWorld.AlertsReadout:CheckAddOrRemoveAlert (RimWorld.Alert,bool)
RimWorld.AlertsReadout:AlertsReadoutUpdate ()
RimWorld.UIRoot_Play:UIRootUpdate ()
Verse.Root:Update ()
Verse.Root_Play:Update ()

and this if i start new colony

Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
  at AllowTool.WorkGiver_HaulUrgently.GetHaulablesForPawn (Verse.Pawn pawn) [0x00006] in <62b4ea65b8384767bbe2ebb0d5b5d734>:0
  at AllowTool.WorkGiver_HaulUrgently.ShouldSkip (Verse.Pawn pawn, System.Boolean forced) [0x00001] in <62b4ea65b8384767bbe2ebb0d5b5d734>:0
  at RimWorld.JobGiver_Work.PawnCanUseWorkGiver (Verse.Pawn pawn, RimWorld.WorkGiver giver) [0x0002c] in <51088e970b8e4926b1c0bfe6119e867e>:0
  at RimWorld.JobGiver_Work.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00176] in <51088e970b8e4926b1c0bfe6119e867e>:0
  at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000fb] in <51088e970b8e4926b1c0bfe6119e867e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

hugs lib is higher than mod in the list

Canute

I think another mod patch the thing that allowtool do too.
You should try to move Allowtool at the end of the modlist.

When that don't help, maybe post the link from the full logfile made with hugslib (Share logs button), that might include some more informations.

Piligrime

just accidentaly but it was last mod in a list already and hugs lib above it when i was posting first msg. Unfortunately i don't know how to make full logfile with hugslib and google dont realy helps.
Also another thing i noticed while i was playing with mods arrangements later, with allowtools mod my allow and forbid buttons dissapear from orders completely.

Canute


Piligrime

looks like it dont work too... well that just means its even more global thing than i thought and you probably wont be able to help me. anyway tnx for the try

semogy

Quote from: Crusader on July 09, 2021, 10:12:05 AM
Hello, I hope I have not left anything. Spanish localization update:

In Designators.xml add:


  <HarvestFullyGrownDesignator.label>Cosecha completamente cultivada</HarvestFullyGrownDesignator.label>
  <HarvestFullyGrownDesignator.description>Ordena la cosecha o tala de cultivos y árboles que están suficientemente crecidos para producir su máxima cantidad de recursos cuando se recolectan.
Mantenga pulsada la tecla Shift para incluir solo las plantas.
Mantenga pulsada la tecla Ctrl para incluir solo árboles.</HarvestFullyGrownDesignator.description>

  <StripMineDesignator.label>Minar en tiras</StripMineDesignator.label>
  <StripMineDesignator.description>Establece órdenes de mina en una cuadrícula para maximizar la posibilidad de encontrar minerales ocultos.
Mantenga pulsada la tecla Shift para mostrar la ventana de configuración o designar utilizando la configuración actual.</StripMineDesignator.description>


In KeyBindings.xml add:


<DesignatorHarvestFullyGrown.label>Designar: Cosecha completamente cultivada</DesignatorHarvestFullyGrown.label>

<DesignatorStripMine.label>Designar: Minar en tiras</DesignatorStripMine.label>


In keyed.xml add:


<Harvest_fully_grown_success>{0} plantas completamente cultivadas marcadas para la cosecha.</Harvest_fully_grown_success>
<Harvest_fully_grown_failure>No se encontraron nuevas plantas o árboles completamente crecidos.</Harvest_fully_grown_failure>
 
    <Designator_context_harvest_fullgrown>Cosechar plantas completamente cultivadas en el mapa</Designator_context_harvest_fullgrown>
<Designator_context_harvest_home_fullgrown>Cosechar plantas completamente cultivadas en el área de origen.</Designator_context_harvest_home_fullgrown>
<Designator_context_harvest_fullgrown_succ>{0} plantas completamente cultivadas designadas para la cosecha.</Designator_context_harvest_fullgrown_succ>
<Designator_context_harvest_fullgrown_fail>No se encontraron nuevas plantas completamente cultivadas para cosechar.</Designator_context_harvest_fullgrown_fail>
<Designator_context_allow_visible>Permitir todas las cosas visibles</Designator_context_allow_visible>
<Designator_context_allow_visible_succ>Permitidas {0} cosas visibles.</Designator_context_allow_visible_succ>
<Designator_context_allow_visible_fail>No se encontraron cosas prohibidas visibles para permitir.</Designator_context_allow_visible_fail>
<Designator_context_forbid_visible>Prohibir todas las cosas visibles</Designator_context_forbid_visible>
<Designator_context_forbid_visible_succ>{0} cosas visibles han sido prohibidas.</Designator_context_forbid_visible_succ>
<Designator_context_forbid_visible_fail>No se encontró visible prohibido para anular.</Designator_context_forbid_visible_fail>
 
    <StripMine_win_horizontalSpacing>Espaciado horizontal</StripMine_win_horizontalSpacing>
<StripMine_win_verticalSpacing>Espaciado vertical</StripMine_win_verticalSpacing>
<StripMine_win_showWindow>Mostrar esta ventana</StripMine_win_showWindow>
<StripMine_win_showWindow_tip>Deshabilite para utilizar automáticamente esta configuración la próxima vez.\nHold Shift para volver a mostrar esta ventana.</StripMine_win_showWindow_tip>
<StripMine_win_variableOffset>Desplazamiento de cuadrícula variable</StripMine_win_variableOffset>
<StripMine_win_variableOffset_tip>Cuando se habilita, la cuadrícula se extenderá desde el punto inicial de la selección. De lo contrario, las líneas de cuadrícula siempre pasarán a través de las mismas celdas, independientemente de dónde se inició la selección.</StripMine_win_variableOffset_tip>
<StripMine_cursor_autoApply>Aplicar inmediatamente</StripMine_cursor_autoApply>
 
   <Designator_context_mine_selectStripMine>Seleccione la herramienta "Minar en tiras"</Designator_context_mine_selectStripMine>


Amariithynar

Is there any way to get the Haul Urgently/Haul+ functionality (that is, non-manual priority hauling for specifically selected items) *without* all the rest of the baggage of the Allow Tool? It does a LOT of things that I just don't want, including messing with double-clicking items to highlight everything in the local area with its "select similar", and even the Haul+ tool sticks to your cursor when using it on something, which is incredibly annoying having to cancel out every single time I use it.

UnlimitedHugs

Updated to 3.12.0

Hey fellas! The 1.4 update is here.
Many thanks to m00nl1ght-dev on GitHub for taking care of most of this update.

I also added some checks to prevent the Gauranlen tree from being accidentally chop-designated, same as for the Anima tree.

There are a few outstanding issues I would still like to take care of, such as the flickering right-click icons, but I figured I'd rather release an early build for 1.4.

Please let me know if you find anything not working as expected.

Quote from: semogy on December 03, 2021, 10:45:34 PM
Quote from: Crusader on July 09, 2021, 10:12:05 AM
Hello, I hope I have not left anything. Spanish localization update:
I'll see if I can include that into the next update. Submitting the changes as a PR on GitHub is the easier way of going about this, just saying  :)

Quote from: Amariithynar on April 12, 2022, 07:45:20 AM
Is there any way to get the Haul Urgently/Haul+ functionality (that is, non-manual priority hauling for specifically selected items) *without* all the rest of the baggage of the Allow Tool?
You can disable most of the features in the mod options. This includes the tool pickup when you shift-click the command buttons.
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

UnlimitedHugs

Updated to 3.12.1

A quick update to fix the flickering right-click icons issue.
This update might also help with the Performance Optimizer mod conflict that some have been reporting.
The fix was contributed by m00nl1ght-dev on GitHub. Great job, and much appreciated.

Quote from: semogy on December 03, 2021, 10:45:34 PM
Quote from: Crusader on July 09, 2021, 10:12:05 AM
Hello, I hope I have not left anything. Spanish localization update:
Turns out, these changes have already been merged. Kudos to whoever submitted the PR, I guess :D
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

UnlimitedHugs

HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

StellarHarbour

System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.GridsUtility.Fogged (Verse.IntVec3 c, Verse.Map map) [0x00000] in <8b65cb0a4c2c41c5b3fbd3a92fbde076>:0
  at AllowTool.Designator_HaulUrgently.ThingIsRelevant (Verse.Thing thing) [0x00015] in <265ca9a7207e4e91b7143054729037f5>:0
  at AllowTool.Designator_HaulUrgently.CanDesignateThing (Verse.Thing t) [0x00001] in <265ca9a7207e4e91b7143054729037f5>:0
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.Designator.CreateReverseDesignationGizmo_Patch1(Verse.Designator,Verse.Thing)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&) currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
RimWorld.UIRoot_Play:UIRootOnGUI ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)

StellarHarbour

Can you change Haul Urgently hotkey or remove it? When I try to strip pawns it always additionally set to haul them with this mod