From 735a0a2686167190bbee34146421e5f1039c5c36 Mon Sep 17 00:00:00 2001 From: rheirman Date: Wed, 21 Mar 2018 10:28:18 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 1731eb7..fb3e86d 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ In the example, the Pirate faction is patched so that it only uses Muffalos and Always -
  • - */FactionDef[ defName = "Pirate"]/modExtensions +
  • + */FactionDef[ defName = "Pirate"]
  • 30 @@ -48,27 +48,5 @@ In the example, the Pirate faction is patched so that it only uses Muffalos and
  • - - - Always - -
  • - */FactionDef[ defName = "Pirate" and not(DefModExtension)] - - -
  • - 30 - - 100 - - 0 - Muffalo,Cougar - "" -
  • - - - -
    -
    ``` From 8724bddf42bc92861e859dc47fd50996ed819cc8 Mon Sep 17 00:00:00 2001 From: rheirman Date: Wed, 21 Mar 2018 10:28:41 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb3e86d..a0c643a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Check out Patches/Races.xml for an example. ### Restrict used mount per faction. If you want a certain faction only to use certain mounts, you can create a patch like the following example. You can also directly add a tag to a FactionDef instead of patching. -In the example, the Pirate faction is patched so that it only uses Muffalos and Cougars. Two patches are used to ensure it also works when the faction already has a modExtensions tag. +In the example, the Pirate faction is patched so that it only uses Muffalos and Cougars. ```xml