RimWorld

RimWorld

Massivity
This topic has been locked
robopitek  [developer] Nov 8, 2019 @ 5:14pm
Ok i need help with more experienced moders.
If you know how to make a patch to fix red errors when one of the supported mods is missing, give me an example here please.

For example, I will give here what one of my patches for other mods looks like.

___<?xml version="1.0" encoding="utf-8"?>
___<Patch>
___
_____<Operation Class="PatchOperationAdd">
______<xpath>*/ThingDef[defName = "RFFBricks"]/stuffProps/statFactors</xpath>
______<value>
_______<Mass>2</Mass>
______</value>
_____</Operation>
___
___</Patch>

This mod is here

Where do I have to put information when supported mod does not exist so that game ignores it?

__hey
____(It exists here because steam hates spaces)
__hey

(These phrases above me with normal spaces instead of "_" look like this)

hey
(It exists here because steam hates spaces)
hey
Last edited by robopitek; Nov 8, 2019 @ 6:39pm
Showing 1-2 of 2 comments
robopitek  [developer] Nov 10, 2019 @ 10:02am 
YOU STUPID MORON
you must writte something like this

__<?xml version="1.0" encoding="utf-8"?>
__<Patch>
___
____<Operation Class="PatchOperationSequence">
______<success>Always</success>
_______<operations>
_________<li Class="PatchOperationAdd">
__________<xpath>*/ThingDef[defName = "RFFBricks"]/stuffProps/statFactors</xpath>
__________<value>
___________<Mass>2</Mass>
__________</value>
________</li>
_______</operations>
____</Operation>
___
__</Patch>

But please do not write "_" in files.

Why didn't he know about it?
Last edited by robopitek; Jul 23, 2020 @ 5:36pm
robopitek  [developer] Dec 1, 2019 @ 12:30pm 
YOU ALL ARE REALLY STUPID
If you two want to delete this "_"
Write this -"[code] Write this [/code]" BAKA BAKA BAKA BAKA BAKA
Last edited by robopitek; Jul 23, 2020 @ 5:35pm
Showing 1-2 of 2 comments
Per page: 1530 50