Material datums - Moogle Helped - Check #10169 for more info (#10176)

* 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:
Jamie D
2020-10-28 17:53:59 +00:00
committed by GitHub
parent 2094d37c89
commit 10c9af0d77
195 changed files with 2308 additions and 1646 deletions

View File

@@ -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"