<commit_before>Crafty.c 'DroneShip',
  init: ->
    @requires '2D, WebGL, Tween, Choreography, Solid, Collision,' +
      'ViewportFixed, Hideable, Flipable, Scalable, SunBlock, WaterSplashes'
    @attr(
      w: 32 * 12
      h: 32 * 5
      z: -13
      waterRadius: 8
      minSplashDuration: 1700
      defaultWaterCooldown: 800
      waterSplashSpeed: 700
      minOffset: 2
      splashUpwards: false
    )
    @collision [20, 50, 11*32, 50, 11*32, 128, 20, 128]

    start = Crafty.e('2D, WebGL, aircraftCarrierStart').attr(
      x: @x
      y: @y
      z: @z
    )
    @attach(start)
    end = Crafty.e('2D, WebGL, aircraftCarrierEnd').attr(
      x: @x + 6 * 32
      y: @y
      z: @z
    )
    @attach(end)

    start2 = Crafty.e('2D, WebGL, aircraftCarrierStart').attr(
      x: @x
      y: @y + 60
      z: 3
    ).crop(0, 60, 6*32, 5*32)
    @attach(start2)
    end2 = Crafty.e('2D, WebGL, aircraftCarrierEnd').attr(
      x: @x + 6 * 32
      y: @y + 60
      z: 3
    ).crop(0, 60, 6*32, 5*32)
    @attach(end2)
<commit_msg>Add radar to drone ship<commit_after>Crafty.c 'DroneShip',
  init: ->
    @requires '2D, WebGL, Tween, Choreography, Solid, Collision,' +
      'ViewportFixed, Hideable, Flipable, Scalable, SunBlock, WaterSplashes'
    @attr(
      w: 32 * 12
      h: 32 * 5
      z: -13
      waterRadius: 8
      minSplashDuration: 1700
      defaultWaterCooldown: 800
      waterSplashSpeed: 700
      minOffset: 2
      splashUpwards: false
    )
    @collision [20, 50, 11*32, 50, 11*32, 128, 20, 128]

    start = Crafty.e('2D, WebGL, aircraftCarrierStart').attr(
      x: @x
      y: @y
      z: @z
    )
    @attach(start)

    radar = Crafty.e('2D, WebGL, aircraftCarrierRadar').attr(
      x: @x + 8 * 32
      y: @y - 24
      z: @z + 1
    )
    @attach(radar)

    end = Crafty.e('2D, WebGL, aircraftCarrierEnd').attr(
      x: @x + 6 * 32
      y: @y
      z: @z
    )
    @attach(end)

    start2 = Crafty.e('2D, WebGL, aircraftCarrierStart').attr(
      x: @x
      y: @y + 60
      z: 3
    ).crop(0, 60, 6*32, 5*32)
    @attach(start2)
    end2 = Crafty.e('2D, WebGL, aircraftCarrierEnd').attr(
      x: @x + 6 * 32
      y: @y + 60
      z: 3
    ).crop(0, 60, 6*32, 5*32)
    @attach(end2)

{'fraction_non_alphanumeric': 0.14854586129753916, 'fraction_numerical': 0.07651006711409396, 'mean_word_length': 2.06721536351166, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5758325', 'n_tokens_mistral': 1046, 'n_tokens_neox': 897, 'n_words': 227}