From 17cc4038013e2a728ee5e2683d29bf789c3a0133 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 21 Jun 2024 12:12:50 -0400 Subject: [PATCH] chore: remove unnecessary replacement --- Model/Replacement.cs | 2 -- Model/WhenSex.cs | 2 +- replacements.yaml | 29 ++++++++++------------------- 3 files changed, 11 insertions(+), 22 deletions(-) diff --git a/Model/Replacement.cs b/Model/Replacement.cs index 16736f4..6b23ec8 100644 --- a/Model/Replacement.cs +++ b/Model/Replacement.cs @@ -1,5 +1,3 @@ -using YamlDotNet.Serialization; - namespace TimePasses.Model; [Serializable] diff --git a/Model/WhenSex.cs b/Model/WhenSex.cs index 2eb9877..62ad198 100644 --- a/Model/WhenSex.cs +++ b/Model/WhenSex.cs @@ -23,4 +23,4 @@ public class WhenSex : IWhen { public enum Sex : byte { Female = 1, Male = 0, -} \ No newline at end of file +} diff --git a/replacements.yaml b/replacements.yaml index 6a03f8d..a4c8ccf 100644 --- a/replacements.yaml +++ b/replacements.yaml @@ -16,9 +16,11 @@ definitions: # # id (uint) (required) # # This is the ID from the Balloon excel sheet # - id: 123 -# # text (string) (optional) +# # text (string/list) (optional) # # This text will be used instead of the normal text if there either are # # no entries in the "when" section or if none of them match. +# # If this is a list, an entry will be chosen at random each time the +# # balloon appears. # text: |- # It's not so bad # being green. @@ -35,10 +37,12 @@ definitions: # # Inside the level object you should specify the comparator and the # # text. The comparator can be greaterThan, lessThan, or equalTo. # greaterThan: 49 -# # text (string) (required) -# text: |- -# You look like you've -# got some experience. +# # text (string/list) (required) +# text: +# - |- +# You look like you've +# got some experience. +# - Please don't hurt me! # # quest (list object) # # This when item specifies text that should be displayed depending on # # the status of a quest. @@ -47,7 +51,7 @@ definitions: # # This is the quest ID, visible in the excel sheets or Garland # # Tools. # id: *patch2.0 -# # text (string) (required) +# # text (string/list) (required) # text: |- # I can't believe you made # it out of Porta Decumana! @@ -103,16 +107,3 @@ replacements: text: |- It seems like the repairs never end... - - # Original: I smells me a man. - # Limsa Lominsa Upper Decks (X: 12.6 Y: 13.8) - # seems bugged? original should account for sex but doesn't seem to - # I smells me a man. - # Where've you been, lass? - - id: 1369 - when: - - sex: - is: female - text: |- - I smells me a man. - Where've you been, lass?