Changeset 1084 for trunk/plugins/en/output_VAR.tcl
- Timestamp:
- 08/28/10 19:46:27 (21 months ago)
- File:
-
- 1 edited
-
trunk/plugins/en/output_VAR.tcl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/output_VAR.tcl
r1082 r1084 25 25 bMotion_putloglev 4 * "bMotion_plugin_output_VAR $channel $line" 26 26 global BMOTION_MIXIN_NONE BMOTION_MIXIN_REVERSE BMOTION_MIXIN_DEFAULT BMOTION_MIXIN_BOTH 27 global BMOTION_MIXIN_MALE BMOTION_MIXIN_FEMALE 27 28 28 29 set line [string map { "%noun" "%VAR{sillyThings}" } $line] … … 59 60 bMotion_putloglev 1 * "mixin type for $abstract is both" 60 61 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 61 68 } 62 69 … … 131 138 bMotion_putloglev 1 * "pluralising $replacement" 132 139 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 } 134 147 } 135 148 "owner" {
Note: See TracChangeset
for help on using the changeset viewer.
