mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 12:35:33 +01:00
Fixes MOD plasma core recharge amount from plasma sheets (#76022)
## About The Pull Request title ## Why It's Good For The Game this looks like it was erroneously done and has kneecapped recharging off sheets in the process ## Changelog 🆑 fix: MOD plasma cores' improved recharging from sheets (2000 charge up from 1500) is back again. /🆑 --------- Co-authored-by: Hatterhat <Hatterhat@users.noreply.github.com>
This commit is contained in:
@@ -279,6 +279,9 @@
|
||||
return
|
||||
mod.wearer.throw_alert(ALERT_MODSUIT_CHARGE, /atom/movable/screen/alert/nocell)
|
||||
|
||||
#define PLASMA_CORE_ORE_CHARGE 1500
|
||||
#define PLASMA_CORE_SHEET_CHARGE 2000
|
||||
|
||||
/obj/item/mod/core/plasma
|
||||
name = "MOD plasma core"
|
||||
icon_state = "mod-core-plasma"
|
||||
@@ -289,7 +292,7 @@
|
||||
/// How much charge we are currently storing.
|
||||
var/charge = 10000
|
||||
/// Associated list of charge sources and how much they charge, only stacks allowed.
|
||||
var/list/charger_list = list(/obj/item/stack/ore/plasma = 1500, /obj/item/stack/sheet/mineral/plasma =SHEET_MATERIAL_AMOUNT)
|
||||
var/list/charger_list = list(/obj/item/stack/ore/plasma = PLASMA_CORE_ORE_CHARGE, /obj/item/stack/sheet/mineral/plasma = PLASMA_CORE_SHEET_CHARGE)
|
||||
|
||||
/obj/item/mod/core/plasma/install(obj/item/mod/control/mod_unit)
|
||||
. = ..()
|
||||
@@ -356,6 +359,9 @@
|
||||
balloon_alert(user, "core refueled")
|
||||
return TRUE
|
||||
|
||||
#undef PLASMA_CORE_ORE_CHARGE
|
||||
#undef PLASMA_CORE_SHEET_CHARGE
|
||||
|
||||
/obj/item/mod/core/plasma/lavaland
|
||||
name = "MOD plasma flower core"
|
||||
icon_state = "mod-core-plasma-flower"
|
||||
|
||||
Reference in New Issue
Block a user