Skip to content

Commit

Permalink
Merge pull request #6930 from vtcifer/patch-3
Browse files Browse the repository at this point in the history
[script] [textsubs.lic] add metal volumes on supply deport order board
  • Loading branch information
MahtraDR authored Oct 7, 2024
2 parents 2b5a488 + f6a42c2 commit 5f5af53
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions textsubs.lic
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ if DRStats.empath?
TextSubs.add('Your (.*)\'s life force is imperceptible.', 'Your \1\'s life force is imperceptible. (8/9)')
TextSubs.add('You thumb your (.*)\.', 'You thumb your \1. (9/9)')

# rubocop:disable Layout/ArgumentAlignment
# Easier reading of longer lines / comparison
TextSubs.add('^The plant appears to be in good condition',
'The plant appears to be in good condition (5/5)')
TextSubs.add('^The plant has some scrapes and discolorations along the leaves and stem',
Expand All @@ -377,6 +379,7 @@ if DRStats.empath?
'The plant has pulled into itself under shredded leaves and oozing stems (1/5)')
TextSubs.add('^The plant has coiled itself into a tight ball, the remains of its shredded leaves sticking to sap encrusted stems',
'The plant has coiled itself into a tight ball, the remains of its shredded leaves sticking to sap encrusted stems (0/5)')
# rubocop:enable Layout/ArgumentAlignment
end

TextSubs.add('(is|are)( of|) masterfully-crafted( quality|)', '\1\2 masterfully-crafted (12/12)\3')
Expand Down Expand Up @@ -1247,4 +1250,26 @@ TextSubs.add('ability has made you (a|an) peerless crafter within the Society',
TextSubs.add('ability has made you (a|an) illustrious crafter within the Society', 'ability has made you \1 illustrious (13/14) crafter within the Society')
TextSubs.add('ability has made you (a|an) legendary crafter within the Society', 'ability has made you \1 legendary (14/14) crafter within the Society')

# Display volumes for metal crafting supplies on the order board - need to be in two groups to cover fixed width
TextSubs.add('^(\d)\)\. a tiny (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (1) tiny \2 \3\4 \5 \6')
TextSubs.add('^(\d)\)\. a small (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (2) small \2 \3\4 \5 \6')
TextSubs.add('^(\d)\)\. a medium (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (3) medium \2 \3\4 \5 \6')
TextSubs.add('^(\d)\)\. a large (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (4) large \2 \3\4 \5 \6')
TextSubs.add('^(\d)\)\. a huge (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (5) huge \2 \3\4 \5 \6')
TextSubs.add('^(\d)\)\. a massive (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (10) massive \2 \3\4 \5 \6')
TextSubs.add('^(\d)\)\. an enormous (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). an (20) enormous \2 \3\4. \5 \6')
TextSubs.add('^(\d)\)\. an immense (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). an (50) immense \2 \3\4. \5 \6')
TextSubs.add('^(\d)\)\. a gigantic (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (100) gigantic \2 \3\4 \5 \6')
TextSubs.add('^(\d)\)\. a colossal (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (200) colossal \2 \3\4 \5 \6')
TextSubs.add('^(\d\d)\)\. a tiny (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (1) tiny \2 \3\4. \5 \6')
TextSubs.add('^(\d\d)\)\. a small (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (2) small \2 \3\4. \5 \6')
TextSubs.add('^(\d\d)\)\. a medium (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (3) medium \2 \3\4. \5 \6')
TextSubs.add('^(\d\d)\)\. a large (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (4) large \2 \3\4. \5 \6')
TextSubs.add('^(\d\d)\)\. a huge (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (5) huge \2 \3\4. \5 \6')
TextSubs.add('^(\d\d)\)\. a massive (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (10) massive \2 \3\4. \5 \6')
TextSubs.add('^(\d\d)\)\. an enormous (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). an (20) enormous \2 \3\4.. \5 \6')
TextSubs.add('^(\d\d)\)\. an immense (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). an (50) immense \2 \3\4.. \5 \6')
TextSubs.add('^(\d\d)\)\. a gigantic (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (100) gigantic \2 \3\4. \5 \6')
TextSubs.add('^(\d\d)\)\. a colossal (\w+) (ingot|nugget)(\.+) ([\d,]+) (\w+)', '\1). a (200) colossal \2 \3\4. \5 \6')

clear until script.gets.nil?

0 comments on commit 5f5af53

Please sign in to comment.