Merge pull request #6271 from Citadel-Station-13/upstream-merge-36521
[MIRROR] Burning ores (from either fire or lava) now yields materials at a decreased rate.
This commit is contained in:
@@ -49,6 +49,16 @@
|
||||
|
||||
return TRUE
|
||||
|
||||
/obj/item/stack/ore/burn()
|
||||
if(!refined_type)
|
||||
return ..()
|
||||
var/obj/item/stack/sheet/S = new refined_type(drop_location())
|
||||
var/percent = rand(0.3,0.7)
|
||||
var/amountrefined = round(amount*percent)
|
||||
S.amount = amountrefined
|
||||
S.update_icon()
|
||||
qdel(src)
|
||||
|
||||
/obj/item/stack/ore/uranium
|
||||
name = "uranium ore"
|
||||
icon_state = "Uranium ore"
|
||||
|
||||
Reference in New Issue
Block a user