Gold Pile Sizes

From LSWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 10:13, 24 April 2009 (edit)
Chaos (Talk | contribs)
(may as well just post the code without channel cruft, 's been updated anyway)
← Previous diff
Revision as of 10:14, 24 April 2009 (edit)
Chaos (Talk | contribs)

Next diff →
Line 45: Line 45:
alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); alter_identity(Identity_Adjunct_Nouns, ({ "mountain" }));
break; break;
-<pre> 
case 15001 .. 25000 : case 15001 .. 25000 :
alter_identity(Identity_Adjunct_Adjectives, ({ "great", "big" })); alter_identity(Identity_Adjunct_Adjectives, ({ "great", "big" }));

Revision as of 10:14, 24 April 2009

   if(amount == 1) {
       alter_identity(Identity_Adjunct_Nouns, 0);
       alter_identity(Identity_Nouns, ({ "coin" }));
   } else {
       alter_identity(Identity_Nouns, ({ "coins" }));
   }
   switch(amount) {
   case 1                  :
       break;
   case 2                  :
       alter_identity(Identity_Adjunct_Nouns, ({ "couple" }));
       break;
   case 3 .. 10            :
       alter_identity(Identity_Adjunct_Adjectives, ({ "small" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "stack" }));
       break;
   case 11 .. 30           :
       alter_identity(Identity_Adjunct_Adjectives, ({ "large" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "stack" }));
       break;
   case 31 .. 80           :
       alter_identity(Identity_Adjunct_Adjectives, ({ "small" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "pile" }));
       break;
   case 81 .. 300          :
       alter_identity(Identity_Adjunct_Nouns, ({ "pile" }));
       break;
   case 301 .. 900         :
       alter_identity(Identity_Adjunct_Adjectives, ({ "large" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "pile" }));
       break;
   case 901 .. 1500        :
       alter_identity(Identity_Adjunct_Adjectives, ({ "huge" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "pile" }));
       break;
   case 1501 .. 3000       :
       alter_identity(Identity_Adjunct_Adjectives, ({ "gigantic" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "pile" }));
       break;
   case 3001 .. 6000       :
       alter_identity(Identity_Adjunct_Adjectives, ({ "small" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "mountain" }));
       break;
   case 6001 .. 15000      :
       alter_identity(Identity_Adjunct_Nouns, ({ "mountain" }));
       break;
   case 15001 .. 25000     :
       alter_identity(Identity_Adjunct_Adjectives, ({ "great", "big" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "mountain" }));
       break;
   case 25001 .. 50000     :
       alter_identity(Identity_Adjunct_Adjectives, ({ "humongous" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "mountain" }));
       break;
   case 50001 .. 300000    :
       alter_identity(Identity_Adjunct_Adjectives, ({ "stupendous" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "mountain" }));
       break;
   case 300001 .. 10000000 :
       alter_identity(Identity_Adjunct_Adjectives, ({ "amazing" }));
       alter_identity(Identity_Adjunct_Nouns, ({ "mountain" }));
       break;
   default                 :
       if(intp(amount) && amount > 0) {
           alter_identity(Identity_Adjunct_Adjectives, ({ "colossal" }));
           alter_identity(Identity_Adjunct_Nouns, ({ "mountain" }));
       } else {
           alter_identity(Identity_Adjunct_Nouns, ({ "buggy pile", "pile" }));
       }
       break;
   }
Personal tools