Ignore:
Timestamp:
08/28/10 19:46:27 (21 months ago)
Author:
james
Message:

updated stoplist for append plugin
added support for forcing female and male mixing (:malemixin and :femalemixin)
use ultraprefix for some plurals
more fixes in output_english
more stoplist for complex_spoonerism
stoplist for complex_ass
simple_calls plugin
simple_countries plugin
support for how much question types
fixed action_simple loading
a lot of abstract changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/en/output_VAR.tcl

    r1082 r1084  
    2525        bMotion_putloglev 4 * "bMotion_plugin_output_VAR $channel $line" 
    2626        global BMOTION_MIXIN_NONE BMOTION_MIXIN_REVERSE BMOTION_MIXIN_DEFAULT BMOTION_MIXIN_BOTH 
     27        global BMOTION_MIXIN_MALE BMOTION_MIXIN_FEMALE 
    2728         
    2829        set line [string map { "%noun" "%VAR{sillyThings}" } $line] 
     
    5960                        bMotion_putloglev 1 * "mixin type for $abstract is both" 
    6061                        set mixin_type $BMOTION_MIXIN_BOTH 
     62                } elseif {[lsearch $options_list "malemixin"] > -1} { 
     63                        bMotion_putloglev 1 * "mixin type for $abstract is male" 
     64                        set mixin_type $BMOTION_MIXIN_MALE 
     65                } elseif {[lsearch $options_list "femalemixin"] > -1} { 
     66                        bMotion_putloglev 1 * "mixin type for $abstract is female" 
     67                        set mixin_type $BMOTION_MIXIN_FEMALE 
    6168                } 
    6269 
     
    131138                                        bMotion_putloglev 1 * "pluralising $replacement" 
    132139                                        set replacement [bMotionMakePlural $replacement] 
    133                                         putlog $replacement 
     140                                        if {[rand 100] > 90} { 
     141                                                set replacement [bMotion_strip_article $replacement] 
     142                                                set replacement "%VAR{pluralprefix} $replacement" 
     143                                                if {[lsearch "strip" $options_list] > -1} { 
     144                                                        set replacement [bMotion_strip_article $replacement] 
     145                                                } 
     146                                        } 
    134147                                } 
    135148                                "owner" { 
Note: See TracChangeset for help on using the changeset viewer.