Gold Pile Sizes
From LSWiki
(Difference between revisions)
Revision as of 10:04, 24 April 2009 (edit) Megnmax (Talk | contribs) (Twighlight reveals the value of gold piles nouns) ← Previous diff |
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) Next diff → |
||
Line 1: | Line 1: | ||
- | [OOC Twilight] switch(amount) { | + | if(amount == 1) { |
- | + | alter_identity(Identity_Adjunct_Nouns, 0); | |
- | [OOC Twilight] case 1 : | + | alter_identity(Identity_Nouns, ({ "coin" })); |
- | + | } else { | |
- | [OOC Twilight] break; | + | alter_identity(Identity_Nouns, ({ "coins" })); |
- | + | } | |
- | [OOC Twilight] case 2 : | + | switch(amount) { |
- | + | case 1 : | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "couple" })); | + | break; |
- | + | case 2 : | |
- | [OOC Twilight] break; | + | alter_identity(Identity_Adjunct_Nouns, ({ "couple" })); |
- | + | break; | |
- | [OOC Twilight] case 3 .. 10 : | + | case 3 .. 10 : |
- | + | alter_identity(Identity_Adjunct_Adjectives, ({ "small" })); | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "small stack", "stack" })); | + | alter_identity(Identity_Adjunct_Nouns, ({ "stack" })); |
- | + | break; | |
- | [OOC Twilight] break; | + | case 11 .. 30 : |
- | + | alter_identity(Identity_Adjunct_Adjectives, ({ "large" })); | |
- | [OOC Twilight] case 11 .. 30 : | + | alter_identity(Identity_Adjunct_Nouns, ({ "stack" })); |
- | + | break; | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "large stack", "stack" })); | + | case 31 .. 80 : |
- | + | alter_identity(Identity_Adjunct_Adjectives, ({ "small" })); | |
- | [OOC Twilight] break; | + | alter_identity(Identity_Adjunct_Nouns, ({ "pile" })); |
- | + | break; | |
- | [OOC Twilight] case 31 .. 80 : | + | case 81 .. 300 : |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "pile" })); | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "small pile", "pile" })); | + | break; |
- | + | case 301 .. 900 : | |
- | [OOC Twilight] break; | + | alter_identity(Identity_Adjunct_Adjectives, ({ "large" })); |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "pile" })); | |
- | [OOC Twilight] case 81 .. 300 : | + | break; |
- | + | case 901 .. 1500 : | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "pile" })); | + | alter_identity(Identity_Adjunct_Adjectives, ({ "huge" })); |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "pile" })); | |
- | [OOC Twilight] break; | + | break; |
- | + | case 1501 .. 3000 : | |
- | [OOC Twilight] case 301 .. 900 : | + | alter_identity(Identity_Adjunct_Adjectives, ({ "gigantic" })); |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "pile" })); | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "large pile", "pile" })); | + | break; |
- | + | case 3001 .. 6000 : | |
- | [OOC Twilight] break; | + | alter_identity(Identity_Adjunct_Adjectives, ({ "small" })); |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); | |
- | [OOC Twilight] case 901 .. 1500 : | + | break; |
- | + | case 6001 .. 15000 : | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "huge pile", "pile" })); | + | alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); |
- | + | break; | |
- | [OOC Twilight] break; | + | <pre> |
- | + | case 15001 .. 25000 : | |
- | [OOC Twilight] case 1501 .. 3000 : | + | alter_identity(Identity_Adjunct_Adjectives, ({ "great", "big" })); |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "gigantic pile", "pile" })); | + | break; |
- | + | case 25001 .. 50000 : | |
- | [OOC Twilight] break; | + | alter_identity(Identity_Adjunct_Adjectives, ({ "humongous" })); |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); | |
- | [OOC Twilight] case 3001 .. 6000 : | + | break; |
- | + | case 50001 .. 300000 : | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "small mountain", "mountain" })); | + | alter_identity(Identity_Adjunct_Adjectives, ({ "stupendous" })); |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); | |
- | [OOC Twilight] break; | + | break; |
- | + | case 300001 .. 10000000 : | |
- | [OOC Twilight] case 6001 .. 15000 : | + | alter_identity(Identity_Adjunct_Adjectives, ({ "amazing" })); |
- | + | alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); | + | break; |
- | + | default : | |
- | [OOC Twilight] break; | + | if(intp(amount) && amount > 0) { |
- | + | alter_identity(Identity_Adjunct_Adjectives, ({ "colossal" })); | |
- | [OOC Twilight] case 15001 .. 25000 : | + | alter_identity(Identity_Adjunct_Nouns, ({ "mountain" })); |
- | + | } else { | |
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "great big mountain", "big mountain", "mountain" })); | + | alter_identity(Identity_Adjunct_Nouns, ({ "buggy pile", "pile" })); |
- | + | } | |
- | [OOC Twilight] break; | + | break; |
- | + | } | |
- | [OOC Twilight] case 25001 .. 50000 : | + | |
- | + | ||
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "humongous mountain", "mountain" })); | + | |
- | + | ||
- | [OOC Twilight] break; | + | |
- | + | ||
- | [OOC Twilight] case 50001 .. 300000 : | + | |
- | + | ||
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "truly stupendous mountain", "stupendous mountain", "mountain" })); | + | |
- | + | ||
- | [OOC Twilight] break; | + | |
- | + | ||
- | [OOC Twilight] case 300001 .. 10000000 : | + | |
- | + | ||
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "absolutely amazing mountain", "amazing mountain", "mountain" })); | + | |
- | + | ||
- | [OOC Twilight] break; | + | |
- | + | ||
- | [OOC Twilight] default : | + | |
- | + | ||
- | [OOC Twilight] if(intp(amount)) | + | |
- | + | ||
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "very strange pile", "strange pile", "pile" })); | + | |
- | + | ||
- | [OOC Twilight] else | + | |
- | + | ||
- | [OOC Twilight] alter_identity(Identity_Adjunct_Nouns, ({ "buggy pile", "pile" })); | + | |
- | + | ||
- | [OOC Twilight] break; | + | |
- | + | ||
- | [OOC Twilight] } | + |
Revision as of 10:13, 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; }