PROC:
	RenderSprites:
		Image: ref/ref-bot
	Building:
		Footprint: x=X === x=x
		Dimensions: 3,3
		LocalCenterOffset: 0,0,0
	Refinery:
		DockAngle: 64
		DockOffset: 1,1
	FreeActor:
		Actor: HARV
		SpawnOffset: 1,1
		Facing: 64
	Selectable:
		Bounds: 72,70,0,-14
		DecorationBounds: 72,102,0,-2
	-WithIdleOverlay@TOP:
	WithIdleOverlay@IDLETOP:
		Sequence: idletop

	-HitShape@TOP:	
	-HitShape:
	-HitShape@BOTTOMLEFT:
    
	HitShape@TOPLEFT:
		TargetableOffsets: 1200,-768,0
		Type: Rectangle
			TopLeft: -1280, -1280
			BottomRight: -256,-256

	HitShape@TOPRIGHT:
		TargetableOffsets: 1200,768,512
		Type: Rectangle
			TopLeft: 256, -1280
			BottomRight: 1280, -256

	HitShape@BOTLEFT:
		TargetableOffsets: -1200,-768,768
		Type: Rectangle
			TopLeft: -1280, 256
			BottomRight: -256, 1280

	HitShape@BOTRIGHT:
		TargetableOffsets: -1200,768,768
		Type: Rectangle
			TopLeft: 256, 256
			BottomRight: 1280, 1280

    GrantConditionOnDamageState@CRIT:
		Condition: critical
		EnabledSounds: kaboom1.aud
		ValidDamageStates: Critical
        
    -GrantConditionOnDamageState@CRIT:
        
