mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Removes a lot of redefined procs (#26186)
* aaaaaaaaaaaaaaa * Forgor * Adds missing /proc/ --------- Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,13 @@
|
||||
/obj/item/mod/module/storage/Initialize()
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_ADJACENCY_TRANSPARENT, ROUNDSTART_TRAIT)
|
||||
var/obj/item/storage/backpack/modstorage/S = new(src)
|
||||
bag = S
|
||||
bag.max_w_class = max_w_class
|
||||
bag.max_combined_w_class = max_combined_w_class
|
||||
bag.storage_slots = max_items
|
||||
bag.source = src
|
||||
bag.forceMove(src)
|
||||
|
||||
/obj/item/mod/module/storage/serialize()
|
||||
var/list/data = ..()
|
||||
@@ -31,16 +38,6 @@
|
||||
bag = list_to_object(data["bag"], src)
|
||||
bag.source = src
|
||||
|
||||
/obj/item/mod/module/storage/Initialize(mapload)
|
||||
. = ..()
|
||||
var/obj/item/storage/backpack/modstorage/S = new(src)
|
||||
bag = S
|
||||
bag.max_w_class = max_w_class
|
||||
bag.max_combined_w_class = max_combined_w_class
|
||||
bag.storage_slots = max_items
|
||||
bag.source = src
|
||||
bag.forceMove(src)
|
||||
|
||||
/obj/item/mod/module/storage/Destroy()
|
||||
QDEL_NULL(bag)
|
||||
return ..()
|
||||
|
||||
@@ -312,16 +312,6 @@
|
||||
/obj/item/mod/module/ash_accretion/Initialize(mapload)
|
||||
. = ..()
|
||||
armor_mod_2 = new armor_mod_1
|
||||
|
||||
/obj/item/mod/module/ash_accretion/Destroy()
|
||||
QDEL_NULL(armor_mod_2)
|
||||
return ..()
|
||||
|
||||
/obj/item/mod/armor/mod_ash_accretion
|
||||
armor = list(MELEE = 4, BULLET = 1, LASER = 2, ENERGY = 1, BOMB = 4, RAD = 0, FIRE = 0, ACID = 0)
|
||||
|
||||
/obj/item/mod/module/ash_accretion/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!accretion_turfs)
|
||||
accretion_turfs = typecacheof(list(
|
||||
/turf/simulated/floor/plating/asteroid
|
||||
@@ -333,6 +323,13 @@
|
||||
/turf/simulated/floor/indestructible/necropolis
|
||||
))
|
||||
|
||||
/obj/item/mod/module/ash_accretion/Destroy()
|
||||
QDEL_NULL(armor_mod_2)
|
||||
return ..()
|
||||
|
||||
/obj/item/mod/armor/mod_ash_accretion
|
||||
armor = list(MELEE = 4, BULLET = 1, LASER = 2, ENERGY = 1, BOMB = 4, RAD = 0, FIRE = 0, ACID = 0)
|
||||
|
||||
/obj/item/mod/module/ash_accretion/on_suit_activation()
|
||||
RegisterSignal(mod.wearer, COMSIG_MOVABLE_MOVED, PROC_REF(on_move))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user