equal
deleted
inserted
replaced
335 // static land (if set) |
335 // static land (if set) |
336 NSString *staticMap = [self.gameConfig objectForKey:@"staticmap_command"]; |
336 NSString *staticMap = [self.gameConfig objectForKey:@"staticmap_command"]; |
337 if ([staticMap length] != 0) |
337 if ([staticMap length] != 0) |
338 [self sendToEngine:staticMap]; |
338 [self sendToEngine:staticMap]; |
339 |
339 |
|
340 // lua script (if set) |
|
341 NSString *script = [self.gameConfig objectForKey:@"script_command"]; |
|
342 if ([script length] != 0) |
|
343 [self sendToEngine:script]; |
|
344 |
340 // theme info |
345 // theme info |
341 [self sendToEngine:[self.gameConfig objectForKey:@"theme_command"]]; |
346 [self sendToEngine:[self.gameConfig objectForKey:@"theme_command"]]; |
342 |
347 |
343 // scheme (returns initial health) |
348 // scheme (returns initial health) |
344 NSInteger health = [self provideScheme:[self.gameConfig objectForKey:@"scheme"]]; |
349 NSInteger health = [self provideScheme:[self.gameConfig objectForKey:@"scheme"]]; |