project_files/HedgewarsMobile/Classes/CreationChamber.m
changeset 4950 941f17b2dd9f
parent 4945 541d35d1f2e8
child 4976 088d40d8aba2
equal deleted inserted replaced
4949:cbc60ccc1f1a 4950:941f17b2dd9f
    75     NSDictionary *theWeapon = nil;
    75     NSDictionary *theWeapon = nil;
    76     switch (type) {
    76     switch (type) {
    77         default: //default
    77         default: //default
    78             theWeapon = [[NSDictionary alloc] initWithObjects:
    78             theWeapon = [[NSDictionary alloc] initWithObjects:
    79                          [NSArray arrayWithObjects:
    79                          [NSArray arrayWithObjects:
    80                           @"93919294221991210322351110012010000002111101010111299",
    80                           @"93919294221991210322351110012010000002111101010111200",
    81                           @"04050405416006555465544647765766666661555101011154111",
    81                           @"04050405416006555465544647765766666661555101011154100",
    82                           @"00000000000002055000000400070040000000002000000006000",
    82                           @"00000000000002055000000400070040000000002000000006000",
    83                           @"13111103121111111231141111111111111112111111011111211",
    83                           @"13111103121111111231141111111111111112111111011111200",
    84                           nil]
    84                           nil]
    85                                                       forKeys: [NSArray arrayWithObjects:
    85                                                       forKeys: [NSArray arrayWithObjects:
    86                                                                 @"ammostore_initialqt",
    86                                                                 @"ammostore_initialqt",
    87                                                                 @"ammostore_probability",
    87                                                                 @"ammostore_probability",
    88                                                                 @"ammostore_delay",
    88                                                                 @"ammostore_delay",
    89                                                                 @"ammostore_crate", nil]];
    89                                                                 @"ammostore_crate", nil]];
    90             break;
    90             break;
    91         case 1: //crazy
    91         case 1: //crazy
    92             theWeapon = [[NSDictionary alloc] initWithObjects:
    92             theWeapon = [[NSDictionary alloc] initWithObjects:
    93                          [NSArray arrayWithObjects:
    93                          [NSArray arrayWithObjects:
    94                           @"99999999999999999929999999999999992999999999099999922",
    94                           @"99999999999999999929999999999999992999999999099999900",
    95                           @"11111101111111111111111111111111111111111111011111111",
    95                           @"11111101111111111111111111111111111111111111011111100",
    96                           @"00000000000000000000000000000000000000000000000000000",
    96                           @"00000000000000000000000000000000000000000000000000000",
    97                           @"13111103121111111231141111111111111112111101011111111",
    97                           @"13111103121111111231141111111111111112111101011111100",
    98                           nil]
    98                           nil]
    99                                                       forKeys: [NSArray arrayWithObjects:
    99                                                       forKeys: [NSArray arrayWithObjects:
   100                                                                 @"ammostore_initialqt",
   100                                                                 @"ammostore_initialqt",
   101                                                                 @"ammostore_probability",
   101                                                                 @"ammostore_probability",
   102                                                                 @"ammostore_delay",
   102                                                                 @"ammostore_delay",
   106             theWeapon = [[NSDictionary alloc] initWithObjects:
   106             theWeapon = [[NSDictionary alloc] initWithObjects:
   107                          [NSArray arrayWithObjects:
   107                          [NSArray arrayWithObjects:
   108                           @"90900090000000000000090000000000000000000000000000000",
   108                           @"90900090000000000000090000000000000000000000000000000",
   109                           @"00000000000000000000000000000000000000000000000000000",
   109                           @"00000000000000000000000000000000000000000000000000000",
   110                           @"00000000000002055000000400070040000000002000000000000",
   110                           @"00000000000002055000000400070040000000002000000000000",
   111                           @"11111111111111111111111111111111111111111001011111111",
   111                           @"11111111111111111111111111111111111111111001011111100",
   112                           nil]
   112                           nil]
   113                                                       forKeys: [NSArray arrayWithObjects:
   113                                                       forKeys: [NSArray arrayWithObjects:
   114                                                                 @"ammostore_initialqt",
   114                                                                 @"ammostore_initialqt",
   115                                                                 @"ammostore_probability",
   115                                                                 @"ammostore_probability",
   116                                                                 @"ammostore_delay",
   116                                                                 @"ammostore_delay",
   118             break;
   118             break;
   119         case 3: //shoppa
   119         case 3: //shoppa
   120             theWeapon = [[NSDictionary alloc] initWithObjects:
   120             theWeapon = [[NSDictionary alloc] initWithObjects:
   121                          [NSArray arrayWithObjects:
   121                          [NSArray arrayWithObjects:
   122                           @"00000099000000000000000000000000000000000000000000000",
   122                           @"00000099000000000000000000000000000000000000000000000",
   123                           @"44444100442444022101121212224220000000020004000100111",
   123                           @"44444100442444022101121212224220000000020004000100100",
   124                           @"00000000000000000000000000000000000000000000000000000",
   124                           @"00000000000000000000000000000000000000000000000000000",
   125                           @"11111111111111111111111111111111111111111011011111111",
   125                           @"11111111111111111111111111111111111111111011011111100",
   126                           nil]
   126                           nil]
   127                                                       forKeys: [NSArray arrayWithObjects:
   127                                                       forKeys: [NSArray arrayWithObjects:
   128                                                                 @"ammostore_initialqt",
   128                                                                 @"ammostore_initialqt",
   129                                                                 @"ammostore_probability",
   129                                                                 @"ammostore_probability",
   130                                                                 @"ammostore_delay",
   130                                                                 @"ammostore_delay",
   132             break;
   132             break;
   133         case 4: //clean slate
   133         case 4: //clean slate
   134             theWeapon = [[NSDictionary alloc] initWithObjects:
   134             theWeapon = [[NSDictionary alloc] initWithObjects:
   135                          [NSArray arrayWithObjects:
   135                          [NSArray arrayWithObjects:
   136                           @"10100090000100000110000000000000000000000000000010000",
   136                           @"10100090000100000110000000000000000000000000000010000",
   137                           @"04050405416006555465544647765766666661555101011154111",
   137                           @"04050405416006555465544647765766666661555101011154100",
   138                           @"00000000000000000000000000000000000000000000000000000",
   138                           @"00000000000000000000000000000000000000000000000000000",
   139                           @"13111103121111111231141111111111111112111111011111111",
   139                           @"13111103121111111231141111111111111112111111011111100",
   140                           nil]
   140                           nil]
   141                                                       forKeys: [NSArray arrayWithObjects:
   141                                                       forKeys: [NSArray arrayWithObjects:
   142                                                                 @"ammostore_initialqt",
   142                                                                 @"ammostore_initialqt",
   143                                                                 @"ammostore_probability",
   143                                                                 @"ammostore_probability",
   144                                                                 @"ammostore_delay",
   144                                                                 @"ammostore_delay",
   148             theWeapon = [[NSDictionary alloc] initWithObjects:
   148             theWeapon = [[NSDictionary alloc] initWithObjects:
   149                          [NSArray arrayWithObjects:
   149                          [NSArray arrayWithObjects:
   150                           @"00000099000900000003000000000000000000000000000000000",
   150                           @"00000099000900000003000000000000000000000000000000000",
   151                           @"00000000000000000000000000000000000000000000000000000",
   151                           @"00000000000000000000000000000000000000000000000000000",
   152                           @"00000000000002055000000400070040000000002000000006000",
   152                           @"00000000000002055000000400070040000000002000000006000",
   153                           @"11111111111111111111111111111111111111111111011111111",
   153                           @"11111111111111111111111111111111111111111111011111100",
   154                           nil]
   154                           nil]
   155                                                       forKeys: [NSArray arrayWithObjects:
   155                                                       forKeys: [NSArray arrayWithObjects:
   156                                                                 @"ammostore_initialqt",
   156                                                                 @"ammostore_initialqt",
   157                                                                 @"ammostore_probability",
   157                                                                 @"ammostore_probability",
   158                                                                 @"ammostore_delay",
   158                                                                 @"ammostore_delay",
   160             break;
   160             break;
   161         case 6: //thinking with portals
   161         case 6: //thinking with portals
   162             theWeapon = [[NSDictionary alloc] initWithObjects:
   162             theWeapon = [[NSDictionary alloc] initWithObjects:
   163                          [NSArray arrayWithObjects:
   163                          [NSArray arrayWithObjects:
   164                           @"90000090020000000021000000000000001100000900000000000",
   164                           @"90000090020000000021000000000000001100000900000000000",
   165                           @"04050405416006555465544647765766666661555101011154111",
   165                           @"04050405416006555465544647765766666661555101011154100",
   166                           @"00000000000002055000000400070040000000002000000006000",
   166                           @"00000000000002055000000400070040000000002000000006000",
   167                           @"13111103121111111231141111111111111112111111011111111",
   167                           @"13111103121111111231141111111111111112111111011111100",
   168                           nil]
   168                           nil]
   169                                                       forKeys: [NSArray arrayWithObjects:
   169                                                       forKeys: [NSArray arrayWithObjects:
   170                                                                 @"ammostore_initialqt",
   170                                                                 @"ammostore_initialqt",
   171                                                                 @"ammostore_probability",
   171                                                                 @"ammostore_probability",
   172                                                                 @"ammostore_delay",
   172                                                                 @"ammostore_delay",