101 NSString *probabilityStr = [NSString stringWithUTF8String:probability]; |
101 NSString *probabilityStr = [NSString stringWithUTF8String:probability]; |
102 NSString *delayStr = [NSString stringWithUTF8String:delay]; |
102 NSString *delayStr = [NSString stringWithUTF8String:delay]; |
103 NSString *cratenessStr = [NSString stringWithUTF8String:crateness]; |
103 NSString *cratenessStr = [NSString stringWithUTF8String:crateness]; |
104 |
104 |
105 NSDictionary *weapon = [[NSDictionary alloc] initWithObjectsAndKeys: |
105 NSDictionary *weapon = [[NSDictionary alloc] initWithObjectsAndKeys: |
106 [NSNumber numberWithInt:HW_getNumberOfWeapons()],@"version", |
|
107 quantityStr,@"ammostore_initialqt", |
106 quantityStr,@"ammostore_initialqt", |
108 probabilityStr,@"ammostore_probability", |
107 probabilityStr,@"ammostore_probability", |
109 delayStr,@"ammostore_delay", |
108 delayStr,@"ammostore_delay", |
110 cratenessStr,@"ammostore_crate", |
109 cratenessStr,@"ammostore_crate", |
111 self.description,@"description", |
110 self.description,@"description", |