Lendren2007-02-25 19:51:12
I liked Daruin's #sub/ trick for shop triggers so much I looked at doing some other things with that technique. Here are a couple of very simple ones that you might find handy:
You can click on the HONOURS FULL bit to see the full honours, or the ranking to see the rankings around that person.
CODE
#TRIGGER {HONOURS FULL (%w)} {#sub {~HONOURS FULL %1~ }}
#TRIGGER {ranked (%d)(%w) in Lusternia} {#sub {%concat("~ranked %1%2 in Lusternia~ ")}}
#TRIGGER {ranked (%d)(%w) in Lusternia} {#sub {%concat("~
You can click on the HONOURS FULL bit to see the full honours, or the ranking to see the rankings around that person.
Lendren2007-02-25 19:55:50
Here's one I can't quite get to work -- it fires for some lines and not others, and I can't figure out why.
When it works, it adds links to the POLITICS display that let you review culture, or politics for a city, commune, or village.
CODE
#TRIGGER { Cultural Center: } {#sub {~ Cultural Center: ~ };#tr "PoliticsVillagePopup" { (%w): } {#sub {~ %%1: ~ }};#tr "PoliticsCityPopup" {of (*)$} {#sub {~of %%1~ }};#temp {^For specifics on a city or commune, see POLITICS ~.} {#untr "PoliticsVillagePopup";#untr "PoliticsCityPopup"}} "" {case}
When it works, it adds links to the POLITICS display that let you review culture, or politics for a city, commune, or village.