From 0c0cdc1d394e1ed9789aa1ed239e5d0855095781 Mon Sep 17 00:00:00 2001 From: Brandon Cornejo Date: Mon, 14 Jan 2019 20:09:45 -0600 Subject: [PATCH] Gemcutting highlights --- src/actions.tin | 6 ++++++ src/combat.tin | 4 ++-- src/mdtparse.py | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/actions.tin b/src/actions.tin index 7ca671e..64f706f 100644 --- a/src/actions.tin +++ b/src/actions.tin @@ -42,6 +42,12 @@ #showme {\a}; }; +#NOP ==[Gemcutting/Finesmithing]== +#HIGHLIGHT {You take the diamond-tipped chisel from your roll of gemcutting tools and delicately chip %1} {bold green}; +#HIGHLIGHT {You take the diamond-tipped chisel from your roll of gemcutting tools and chip away %1} {bold red}; +#HIGHLIGHT {You take the diamond-tipped chisel from your roll of gemcutting tools and, struggling with %1} {bold red}; + + #NOP ==[End Session On Quit]== #ACTION {Thanks for playing. See you next time.} { #end; diff --git a/src/combat.tin b/src/combat.tin index 0ddfb36..e2f4fa3 100644 --- a/src/combat.tin +++ b/src/combat.tin @@ -22,8 +22,8 @@ #HIGHLIGHT {^You shove %1} {bold green}; #HIGHLIGHT {^You trip %1} {bold green}; #HIGHLIGHT {^You lose the moment.} {bold red}; -#HIGHLIGHT {^You {skilfully |silently|}sneak around %1 without being spotted and manage to catch %w by surprise.$} {bold green}; -#HIGHLIGHT {^You hold your cover as you {skilfully |silently|}sneak around %1 and manage to catch %w by surprise.$} {bold green}; +#HIGHLIGHT {^You {skillfully |silently|}sneak around %1 without being spotted and manage to catch %w by surprise.$} {bold green}; +#HIGHLIGHT {^You hold your cover as you {skillfully |silently|}sneak around %1 and manage to catch %w by surprise.$} {bold green}; diff --git a/src/mdtparse.py b/src/mdtparse.py index 739cd91..939a684 100644 --- a/src/mdtparse.py +++ b/src/mdtparse.py @@ -250,6 +250,7 @@ class MapDoorText: entry, self.colour_map['reset'] ) + this_value = custom_match[2] if add_player_value == True: