mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
fixes bluecrystals exploit
This commit is contained in:
@@ -40,6 +40,13 @@
|
||||
R.update_icon()
|
||||
..()
|
||||
|
||||
/datum/stack_recipe/bluespacecrystals
|
||||
/datum/stack_recipe/bluespacecrystals/post_build(var/obj/item/stack/S, var/obj/result)
|
||||
if(istype(result, obj/item/weapon/ore/bluespacecrystal/B))
|
||||
var/obj/item/weapon/ore/bluespacecrystal/B = result
|
||||
B.refined_type = null
|
||||
..()
|
||||
|
||||
/*
|
||||
* Recipe list datum
|
||||
*/
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
// Polycrystals, aka stacks
|
||||
|
||||
var/global/list/datum/stack_recipe/bluespace_crystal_recipes = list(new/datum/stack_recipe("Breadkdown into bluespace crystal", /obj/item/weapon/ore/bluespace_crystal, 1, one_per_turf = 0, on_floor = 1))
|
||||
var/global/list/datum/stack_recipe/bluespace_crystal_recipes = list(/datum/stack_recipe/bluespacecrystals("Breakdown into bluespace crystal", /obj/item/weapon/ore/bluespace_crystal, 1, one_per_turf = 0, on_floor = 1))
|
||||
|
||||
/obj/item/stack/sheet/bluespace_crystal
|
||||
name = "bluespace polycrystal"
|
||||
|
||||
Reference in New Issue
Block a user