minor bugfixes, MS and other shield trigger fixes, additional magic item colourings

This commit is contained in:
Brandon Cornejo 2026-02-19 19:27:05 -06:00
parent 0962d7c79c
commit fd9739f00f
5 changed files with 35 additions and 12 deletions

View File

@ -1,7 +1,7 @@
#VARIABLE {chat_file} {logs/chat.log}
#CONFIG {SPEEDWALK} {OFF};
#CONFIG {PACKET PATCH} {5};
#CONFIG {PACKET PATCH} {0.75}; #nop not perfect, yet to find a value that stops all broken lines;
#CONFIG {COLOR PATCH} {ON};
#CONFIG {MCCP} {ON};
#CONFIG {MOUSE} {ON};
@ -24,11 +24,10 @@
#READ {src/quota.tin};
#READ {src/combat.tin};
#READ {src/deadletter.tin};
#READ {src/db.tin};
#READ {src/magic.tin};
#READ {src/missions.tin};
#READ {src/missions.tin}; #nop this file loads all the individual mission files (sailing, sausage, werks);
#READ {src/group.tin};
#READ {src/personal.tin};

View File

@ -108,6 +108,15 @@
#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 <fff>invoke<900> a <fcb>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 <ffb>zap<900> your <bfe>balsa wand<900> at <fff>%1<900>.};
#SUB {^A pulse of light leaves the balsa wand and envelops %1.$} {A <ffb>pulse of light<900> leaves the <bfe>balsa wand<900> and envelops <fff>%1<900>.};
#SUB {^A pulse of pure night leaves the balsa wand and envelops you.$} {A <ffb>pulse<900> of <bbd>pure night<900> leaves <bfe>the balsa wand<900> and envelops <fff>you<900>.};
#SUB {^A pulse of pure night leaves the balsa wand and envelops you, while %1 fizzles slightly and dims.$} {A <ffb>pulse<900> of <bbd>pure night<900> leaves <bfe>the balsa wand<900> and envelops <fff>you<900>, while the <fff>black diamond nostril stud<900> fizzles slightly and <bbd>dims<900>.};
#HIGHLIGHT {^You feel your skin start to ripple uncomfortably...$} {<bbf>};
#NOP ==[Tab Completions]==
#ACTION {^[%1 has gained the %2 achievement %3]$} {
#tab {%1};

View File

@ -78,7 +78,8 @@
#nop reset prompt details;
#var {tpa_status} {0};
#var {tpa_color} {0};
#var {tpa_start} {0};
#nop #var {tpa_start} {0};
#unvar {tpa_start};
#unvar {quota};
#nop re-split the screen to wipe out the prompt from last character;

View File

@ -33,13 +33,13 @@
}
#nop CCC
#ACTION {^ * {Her|His|Its} skin has been {hardened|covered} {with|to}{a?} %4, although {the \w+|it} seems {weaker|not to be}} {
#ACTION {^ * {Her|His|Its} skin {is|has been} {hardened|covered} {with|to}{a?} %4, although {the \w+|it} seems {weaker|not to be}} {
#if {"$group_shields_current" != ""} {
#variable {group_shields[$group_shields_current][ccc]} {1};
/softwritegroupshieldstofile;
};
}
#ACTION {^ * Your skin has been {hardened|covered} {with|to}{a?} %4, although {the \w+|it} seems {weaker|not to be}} {
#ACTION {^ * Your skin {is|has been} {hardened|covered} {with|to}{a?} %4, although {the \w+|it} seems {weaker|not to be}} {
#variable {group_shields[$GMCP[charinfo][capname]][ccc]} {1};
/softwritegroupshieldstofile;
};
@ -57,9 +57,13 @@
/softwritegroupshieldstofile;
};
}
#ACTION {^ * You are {(really )?}protected by the power of {Pishe|Gufnork|Gapp|Sandelfon|Fish|Hat|Sek|Aegadon|Cubal|Reebox}} {
#variable {group_shields[$GMCP[charinfo][capname]][ms]} {1};
/softwritegroupshieldstofile;
}
#nop KII
#ACTION {^ * {You|She|He|It} are surrounded by a {handful|cloud|small swarm|large swarm|vast sawrm|plague} of} {
#ACTION {^ * {You|She|He|It} {is|are} surrounded by a {handful|cloud|small swarm|large swarm|vast sawrm|plague} of} {
#if {"%1" == "You"} {
#variable {group_shields[$GMCP[charinfo][capname]][kii]} {1};
};
@ -256,7 +260,7 @@
};
#nop KII
#nop KII;
#ACTION {^The last of the injured {lacewings|stick insects|mayflies|praying mantids|butterflies|ladybirds|dragonflies|damselflies|moths|grasshoppers|winged termites|sandflies|mosquitoes|gnats|crickets|flying ants|locusts|horseflies|cicadas|bees|wasps|hornets|elephant beetles|assassin bugs} surrounding {(\w+\b\W*?){1,8}} crash to the ground.$} {
#variable {gs_dropname} {%1};
#replace {gs_dropname} { } {;};
@ -288,6 +292,16 @@
};
};
#nop MS;
#ACTION {^You are protected by the power of {Pishe|Gufnork|Gapp|Sandelfon|Fish|Hat|Sek|Aegadon|Cubal|Reebox}.$} {
#variable {group_shields[$GMCP[charinfo][capname]][ms]} {1};
/writegroupshieldstofile;
};
#ACTION {^Your divine protection expires.$} {
#variable {group_shields[$GMCP[charinfo][capname]][ms]} {0};
/writegroupshieldstofile;
};
#nop ======================================;
@ -367,11 +381,11 @@
#format {gs_displayline} {%.6s: } {$name};
#format {gs_displayline} {%-8s} {$gs_displayline};
#foreach {tpa;ccc;eff;kii} {shield} {
#foreach {tpa;ccc;eff;kii;ms} {shield} {
#if {&group_shields[$name][$shield] && "$group_shields[$name][$shield]" == "1"} {
#format {gs_displayline} {%s <fef>%u<099>} {$gs_displayline} {$shield};
#format {gs_displayline} {%s <eee>%u<099>} {$gs_displayline} {$shield};
} {
#format {gs_displayline} {%s <aaa>%u<099>} {$gs_displayline} {$shield};
#format {gs_displayline} {%s <bbb>%u<099>} {$gs_displayline} {$shield};
};
};
#line {log} {$groupshield_file} {$gs_displayline};

View File

@ -353,7 +353,7 @@
#nop The smuggler captain dies.
#ACTION {^%1 dies.$} {
#foreach {*killtimers[]} {spot} {
#nop Force case insensitivity on the match due to "The" "A" being capitalized
#nop Force case insensitivity on the match due to "The" "A" being capitalized;
#regex {%1} {%i$spot} {
#format {killtimers[$spot][time]} {%T};
};