mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
[MIRROR] Refactor janicart to be subtype of mop bucket [MDB IGNORE] (#17647)
* Refactor janicart to be subtype of mop bucket * SR path changes Co-authored-by: Tim <timothymtorres@gmail.com> Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
@@ -277,8 +277,8 @@
|
||||
var/obj/item/mop/wet_mop = custodial_tools
|
||||
tool_name = "[wet_mop.reagents.total_volume ? "Wet" : "Dry"] [wet_mop.name]"
|
||||
|
||||
if(istype(custodial_tools, /obj/structure/janitorialcart))
|
||||
var/obj/structure/janitorialcart/janicart = custodial_tools
|
||||
if(istype(custodial_tools, /obj/structure/mop_bucket/janitorialcart))
|
||||
var/obj/structure/mop_bucket/janitorialcart/janicart = custodial_tools
|
||||
tool_name = "[janicart.name] - Water level: [janicart.reagents.total_volume] / [janicart.reagents.maximum_volume]"
|
||||
|
||||
if(istype(custodial_tools, /mob/living/simple_animal/bot/cleanbot))
|
||||
|
||||
Reference in New Issue
Block a user