246 {
247
248 if ( !super.CanDisplayAttachmentCategory( category_name ) )
249 return false;
250
251
254
255 if ( category_name.
Contains(
"level_1" ) )
256 {
257 if ( category_name.
Contains(
"level_1_" ) )
258 {
260 }
261 else
262 {
264 }
265 }
266
267 if ( category_name.
Contains(
"level_2" ) )
268 {
269 if ( category_name.
Contains(
"level_2_" ) )
270 {
272 }
273 else
274 {
276 }
277 }
278
279 if ( category_name.
Contains(
"level_3" ) )
280 {
281 if ( category_name.
Contains(
"level_3_" ) )
282 {
284 }
285 else
286 {
288 }
289 }
290
291 return true;
292 }
Construction GetConstruction()
const float MAX_FLOOR_VERTICAL_DISTANCE
override bool CheckMemoryPointVerticalDistance(float max_dist, string selection, PlayerBase player)
proto native CGame GetGame()
bool Contains(string sample)
Returns true if sample is substring of string.
proto int ToLower()
Changes string to lowercase. Returns length.