mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
[MIRROR] Completely removes proc_holders from existence. Refactors all wizard, xeno, spider, and genetics powers to be actions. Also refactors and sorts ton of accompanying code. [MDB IGNORE] (#14666)
* Completely removes `proc_holders` from existence. Refactors all wizard, xeno, spider, and genetics powers to be actions. Also refactors and sorts ton of accompanying code. * our changes * yes * 0 * Update blackmesa.dmm Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
MrMelbert
Gandalf
parent
f507824ee7
commit
c68fea7cba
@@ -556,9 +556,6 @@
|
||||
new_module.on_install()
|
||||
if(wearer)
|
||||
new_module.on_equip()
|
||||
var/datum/action/item_action/mod/pinned_module/action = new_module.pinned_to[REF(wearer)]
|
||||
if(action)
|
||||
action.Grant(wearer)
|
||||
// SKYRAT EDIT START - pAIs in MODsuits
|
||||
if(mod_pai)
|
||||
var/datum/action/item_action/mod/pinned_module/action = new_module.pinned_to[ref(mod_pai)]
|
||||
@@ -577,7 +574,7 @@
|
||||
if(old_module.active)
|
||||
old_module.on_deactivation(display_message = !deleting, deleting = deleting)
|
||||
old_module.on_uninstall(deleting = deleting)
|
||||
QDEL_LIST(old_module.pinned_to)
|
||||
QDEL_LIST_ASSOC_VAL(old_module.pinned_to)
|
||||
old_module.mod = null
|
||||
|
||||
/obj/item/mod/control/proc/update_access(mob/user, obj/item/card/id/card)
|
||||
|
||||
Reference in New Issue
Block a user