From 83f995c9cc49b412ed9a4af775cbaae7f501e875 Mon Sep 17 00:00:00 2001 From: prndev <prndev@users.noreply.github.com> Date: Tue, 1 May 2018 11:26:02 +0200 Subject: [PATCH] AttractiveLingerieForAPregnantWoman is now considered a valid vector art suffix, although it is rather verbose. --- artTools/game_suffixes.txt | 2 +- src/art/vector/Helper_Functions.tw | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artTools/game_suffixes.txt b/artTools/game_suffixes.txt index b5f4080ea00..958d0487bea 100644 --- a/artTools/game_suffixes.txt +++ b/artTools/game_suffixes.txt @@ -1,6 +1,6 @@ Apron AttractiveLingerie -AttractiveLingerie +AttractiveLingerieForAPregnantWoman BallGown Battledress BodyOil diff --git a/src/art/vector/Helper_Functions.tw b/src/art/vector/Helper_Functions.tw index 06e89d804a5..87367fe1627 100644 --- a/src/art/vector/Helper_Functions.tw +++ b/src/art/vector/Helper_Functions.tw @@ -3,7 +3,7 @@ window.clothing2artSuffix = function(v) { return v.replace(/^a[n]? /,"") /* remove "a" and "an" from the beginning*/ .replace(/ ?(outfit|clothing) ?/,"") /* remove "outfit" and "clothing" (redundant) */ - .replace(/ (and|for) .+/,"") /* remove concatenated descriptions */ + .replace(/ and .+/,"") /* remove concatenated descriptions */ .replace(/\w\S*/g, function(txt){ return txt.charAt(0).toUpperCase() + -- GitLab