From b8c45577d6f2d4eba6a63b8f0900aa5dbf7a5267 Mon Sep 17 00:00:00 2001 From: Brandon Cornejo Date: Sat, 28 Feb 2026 18:37:56 -0600 Subject: [PATCH] Move magic item actions to magic.tin file --- src/actions.tin | 15 +-------------- src/magic.tin | 9 +++++++++ 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/actions.tin b/src/actions.tin index d2163f3..20070c6 100644 --- a/src/actions.tin +++ b/src/actions.tin @@ -77,7 +77,7 @@ #HIGHLIGHT {the {green|aqua|cyan|blue|yellow|red|orange|beige|brown|grey|black|violet|mauve|pink|purple} ball} {Cyan}; #ACTION {^The %1 duellist has yielded to you, if this satisfies you then enter "accept surrender from duellist" to accept} { #showme {\a}; -} +}; #HIGHLIGHT {blackbird} {violet}; #HIGHLIGHT {old {men|man|women|woman|shopper|shoppers|beggar|beggars}} {magenta}; #ACTION {^One of the truffle pigs unearths a truffle from the ground.$} { @@ -104,19 +104,6 @@ #HIGHLIGHT {^%1 giant spiders climb up from below!} {Violet}; #HIGHLIGHT {^%1 spiders scuttle up from below and join the fight!} {Violet}; - -#NOP ==[Horses]== -#HIGHLIGHT {brindle horse} orange; - -#NOP ==[Magic Items]==; -#SUB {^You feel you have regained enough strength to invoke a flame weapon again.$} {You feel you have regained enough strength to invoke<900> a flame<900> weapon again.}; -#ACTION {^You feel you have regained enough strength to invoke a flame weapon again.$} { #showme {\a}; }; -#SUB {^You zap your balsa wand at %1.$} {You zap<900> your balsa wand<900> at %1<900>.}; -#SUB {^A pulse of light leaves the balsa wand and envelops %1.$} {A pulse of light<900> leaves the balsa wand<900> and envelops %1<900>.}; -#SUB {^A pulse of pure night leaves the balsa wand and envelops you.$} {A pulse<900> of pure night<900> leaves the balsa wand<900> and envelops you<900>.}; -#SUB {^A pulse of pure night leaves the balsa wand and envelops you, while %1 fizzles slightly and dims.$} {A pulse<900> of pure night<900> leaves the balsa wand<900> and envelops you<900>, while the black diamond nostril stud<900> fizzles slightly and dims<900>.}; -#HIGHLIGHT {^You feel your skin start to ripple uncomfortably...$} {}; - #NOP ==[Tab Completions]== #ACTION {^[%1 has gained the %2 achievement %3]$} { #tab {%1}; diff --git a/src/magic.tin b/src/magic.tin index 0ffb0c6..ffb053e 100644 --- a/src/magic.tin +++ b/src/magic.tin @@ -68,5 +68,14 @@ #HIGHLIGHT {^You are unconscious. You can't do anything.$} {}; #HIGHLIGHT {^You emerge from your trance.$} {}; +#NOP ==[Magic Items]==; +#SUB {^You feel you have regained enough strength to invoke a flame weapon again.$} {You feel you have regained enough strength to invoke<900> a flame<900> weapon again.}; +#ACTION {^You feel you have regained enough strength to invoke a flame weapon again.$} { #showme {\a}; }; +#SUB {^You zap your balsa wand at %1.$} {You zap<900> your balsa wand<900> at %1<900>.}; +#SUB {^A pulse of light leaves the balsa wand and envelops %1.$} {A pulse of light<900> leaves the balsa wand<900> and envelops %1<900>.}; +#SUB {^A pulse of pure night leaves the balsa wand and envelops you.$} {A pulse<900> of pure night<900> leaves the balsa wand<900> and envelops you<900>.}; +#SUB {^A pulse of pure night leaves the balsa wand and envelops you, while %1 fizzles slightly and dims.$} {A pulse<900> of pure night<900> leaves the balsa wand<900> and envelops you<900>, while the black diamond nostril stud<900> fizzles slightly and dims<900>.}; +#HIGHLIGHT {^You feel your skin start to ripple uncomfortably...$} {}; + #CLASS {magic} {close};