<commit_before>//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:32

/obj/item/weapon/tank/jetpack
	name = "Jetpack (Empty)"
	desc = "A tank of compressed gas for use as propulsion in zero-gravity areas. Use with caution."
	icon_state = "jetpack"
	w_class = 4.0
	item_state = "jetpack"
	distribute_pressure = ONE_ATMOSPHERE*O2STANDARD
	var/datum/effect/effect/system/ion_trail_follow/ion_trail
	var/on = 0.0
	var/stabilization_on = 0
	var/volume_rate = 500              //Needed for borg jetpack transfer
	action_button_name = "Toggle Jetpack"

/obj/item/weapon/tank/jetpack/New()
	..()
	src.ion_trail = new /datum/effect/effect/system/ion_trail_follow()
	src.ion_trail.set_up(src)
	return


/obj/item/weapon/tank/jetpack/examine(mob/user)
	if(!..(user, 0))
		return

	if(air_contents.oxygen < 10)
		user << text("\red <B>The meter on the [src.name] indicates you are almost out of air!</B>")
		playsound(user, 'sound/effects/alert.ogg', 50, 1)


/obj/item/weapon/tank/jetpack/verb/toggle_rockets()
	set name = "Toggle Jetpack Stabilization"
	set category = "Object"
	src.stabilization_on = !( src.stabilization_on )
	usr << "You toggle the stabilization [stabilization_on? "on":"off"]."
	return


/obj/item/weapon/tank/jetpack/verb/toggle()
	set name = "Toggle Jetpack"
	set category = "Object"
	on = !on
	if(on)
		icon_state = "[icon_state]-on"
//			item_state = "[item_state]-on"
		ion_trail.start()
	else
		icon_state = initial(icon_state)
//			item_state = initial(item_state)
		ion_trail.stop()
	return<commit_msg>why bay and tg why<commit_after>//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:32

/obj/item/weapon/tank/jetpack
	name = "Jetpack (Empty)"
	desc = "A tank of compressed gas for use as propulsion in zero-gravity areas. Use with caution."
	icon_state = "jetpack"
	w_class = 4.0
	item_state = "jetpack"
	distribute_pressure = ONE_ATMOSPHERE*O2STANDARD
	var/datum/effect/effect/system/ion_trail_follow/ion_trail
	var/on = 0.0
	var/stabilization_on = 0
	var/volume_rate = 500              //Needed for borg jetpack transfer
	action_button_name = "Toggle Jetpack"

/obj/item/weapon/tank/jetpack/New()
	..()
	src.ion_trail = new /datum/effect/effect/system/ion_trail_follow()
	src.ion_trail.set_up(src)
	return

/obj/item/weapon/tank/jetpack/Destroy()
	qdel(ion_trail)
	ion_trail = null
	return ..()

/obj/item/weapon/tank/jetpack/examine(mob/user)
	if(!..(user, 0))
		return

	if(air_contents.oxygen < 10)
		user << text("\red <B>The meter on the [src.name] indicates you are almost out of air!</B>")
		playsound(user, 'sound/effects/alert.ogg', 50, 1)


/obj/item/weapon/tank/jetpack/verb/toggle_rockets()
	set name = "Toggle Jetpack Stabilization"
	set category = "Object"
	src.stabilization_on = !( src.stabilization_on )
	usr << "You toggle the stabilization [stabilization_on? "on":"off"]."
	return


/obj/item/weapon/tank/jetpack/verb/toggle()
	set name = "Toggle Jetpack"
	set category = "Object"
	on = !on
	if(on)
		icon_state = "[icon_state]-on"
//			item_state = "[item_state]-on"
		ion_trail.start()
	else
		icon_state = initial(icon_state)
//			item_state = initial(item_state)
		ion_trail.stop()
	return
{'fraction_non_alphanumeric': 0.13566257475605917, 'fraction_numerical': 0.01762669184765502, 'mean_word_length': 4.0364500792393025, 'pattern_counts': {'":': 2, '<': 17, '<?xml version=': 0, '>': 7, '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': '2972733', 'n_tokens_mistral': 1314, 'n_tokens_neox': 1224, 'n_words': 256}