251 {
252
253 if ( !super.CanDisplayAttachmentCategory( category_name ) )
254 return false;
255
256
258 PlayerBase player = PlayerBase.Cast(
g_Game.GetPlayer() );
259
260 if ( category_name.
Contains(
"level_1" ) )
261 {
262 if ( category_name.
Contains(
"level_1_" ) )
263 {
265 }
266 else
267 {
269 }
270 }
271
272 if ( category_name.
Contains(
"level_2" ) )
273 {
274 if ( category_name.
Contains(
"level_2_" ) )
275 {
277 }
278 else
279 {
281 }
282 }
283
284 if ( category_name.
Contains(
"level_3" ) )
285 {
286 if ( category_name.
Contains(
"level_3_" ) )
287 {
289 }
290 else
291 {
293 }
294 }
295
296 return true;
297 }
Construction GetConstruction()
const float MAX_FLOOR_VERTICAL_DISTANCE
override bool CheckMemoryPointVerticalDistance(float max_dist, string selection, PlayerBase player)
bool Contains(string sample)
Returns true if sample is substring of string.
proto int ToLower()
Changes string to lowercase. Returns length.