mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Hmm * work please * Fixes * Ack * REEE * EEEE * e * e * e * STAND FIX * Update code/game/machinery/autolathe.dm Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com> * Update code/game/machinery/autolathe.dm Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com> Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com>
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
/datum/department_goal/car/uranium/check_complete()
|
||||
var/obj/machinery/ore_silo/O = GLOB.ore_silo_default
|
||||
var/datum/component/material_container/materials = O.GetComponent(/datum/component/material_container)
|
||||
return materials.can_use_amount(500*MINERAL_MATERIAL_AMOUNT, MAT_URANIUM)
|
||||
|
||||
return materials.has_enough_of_material(/datum/material/uranium, MINERAL_MATERIAL_AMOUNT, 500)
|
||||
|
||||
// Setup a tesla in cargo
|
||||
/datum/department_goal/car/tesla
|
||||
name = "Create a tesla"
|
||||
|
||||
Reference in New Issue
Block a user