<commit_before>/obj/item/treasure
	name = "treasure"
	icon = 'icons/obj/mining.dmi'
	desc = "A valuable item."
	icon_state = ""
	w_class = WEIGHT_CLASS_SMALL
	var/treasure_value
	var/bar_stack_type
	var/shift_pixels = TRUE
	var/max_shift = 8

/obj/item/treasure/jadepiece
	name = "jade stone"
	icon = 'icons/obj/mining.dmi'
	desc = "An execptionally high quality piece of jade. Extremely valuable."
	icon_state = "jade_piece1"
	w_class = WEIGHT_CLASS_SMALL
	treasure_value = 2000
	shift_pixels = TRUE
	max_shift = 8

/obj/item/treasure/Initialize()
	..()
	if(shift_pixels)
		pixel_x += rand(max_shift, -max_shift)
		pixel_y += rand(max_shift, -max_shift)

/obj/item/treasure/jadepiece/Initialize()
	..()
	//this whole thing should be expanded later on
	if(prob(10))
		treasure_value = rand(2000, 5000)
		name = "rare [name]"
		icon_state = pick("jade_piece1", "jade_piece2")
	else
		treasure_value = rand(1000, 3000)
		icon_state = pick("jade_piece1", "jade_piece2", "raw_jade1", "raw_jade2", "raw_jade3")


/obj/item/treasure/goldbar
	name = "gold bar"
	icon = 'icons/obj/mining.dmi'
	desc = "A bar of pure gold. Exceptionally valuable."
	icon_state = "sheet-gold"
	bar_stack_type = /obj/structure/bar_stack/gold
	w_class = WEIGHT_CLASS_SMALL
	treasure_value = 1500

/obj/item/treasure/silverbar
	name = "gold bar"
	icon = 'icons/obj/mining.dmi'
	desc = "A bar of pure silver. Exceptionally valuable."
	icon_state = "sheet-silver"
	bar_stack_type = /obj/structure/bar_stack/silver
	w_class = WEIGHT_CLASS_SMALL
	treasure_value = 1100
<commit_msg>Kin to Gin.<commit_after>/obj/item/treasure
	name = "treasure"
	icon = 'icons/obj/mining.dmi'
	desc = "A valuable item."
	icon_state = ""
	w_class = WEIGHT_CLASS_SMALL
	var/treasure_value
	var/bar_stack_type
	var/shift_pixels = TRUE
	var/max_shift = 8

/obj/item/treasure/jadepiece
	name = "jade stone"
	icon = 'icons/obj/mining.dmi'
	desc = "An execptionally high quality piece of jade. Extremely valuable."
	icon_state = "jade_piece1"
	w_class = WEIGHT_CLASS_SMALL
	treasure_value = 2000
	shift_pixels = TRUE
	max_shift = 8

/obj/item/treasure/Initialize()
	..()
	if(shift_pixels)
		pixel_x += rand(max_shift, -max_shift)
		pixel_y += rand(max_shift, -max_shift)

/obj/item/treasure/jadepiece/Initialize()
	..()
	//this whole thing should be expanded later on
	if(prob(10))
		treasure_value = rand(2000, 5000)
		name = "rare [name]"
		icon_state = pick("jade_piece1", "jade_piece2")
	else
		treasure_value = rand(1000, 3000)
		icon_state = pick("jade_piece1", "jade_piece2", "raw_jade1", "raw_jade2", "raw_jade3")


/obj/item/treasure/goldbar
	name = "gold bar"
	icon = 'icons/obj/mining.dmi'
	desc = "A bar of pure gold. Exceptionally valuable."
	icon_state = "sheet-gold"
	bar_stack_type = /obj/structure/bar_stack/gold
	w_class = WEIGHT_CLASS_SMALL
	treasure_value = 1500

/obj/item/treasure/silverbar
	name = "silver bar"
	icon = 'icons/obj/mining.dmi'
	desc = "A bar of pure silver. Exceptionally valuable."
	icon_state = "sheet-silver"
	bar_stack_type = /obj/structure/bar_stack/silver
	w_class = WEIGHT_CLASS_SMALL
	treasure_value = 1100

{'fraction_non_alphanumeric': 0.1237879767291532, 'fraction_numerical': 0.025856496444731737, 'mean_word_length': 4.373263888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6599136', 'n_tokens_mistral': 1312, 'n_tokens_neox': 1228, 'n_words': 252}