mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 20:22:07 +00:00
Removes some action_slots from items where it's not needed (#91466)
## About The Pull Request Removes action_slots from items which dont need it. Either the parent type already has it set (anything storage) or chain of command, which has no actions, nor any subtypes do ## Why It's Good For The Game code improvement ## Changelog 🆑 code: removes action_slots when not needed /🆑
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
|
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
|
||||||
obj_flags = CONDUCTS_ELECTRICITY
|
obj_flags = CONDUCTS_ELECTRICITY
|
||||||
slot_flags = ITEM_SLOT_BELT
|
slot_flags = ITEM_SLOT_BELT
|
||||||
action_slots = ALL
|
|
||||||
force = 10
|
force = 10
|
||||||
throwforce = 7
|
throwforce = 7
|
||||||
demolition_mod = 0.25
|
demolition_mod = 0.25
|
||||||
|
|||||||
@@ -464,7 +464,6 @@
|
|||||||
w_class = WEIGHT_CLASS_NORMAL
|
w_class = WEIGHT_CLASS_NORMAL
|
||||||
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||||
actions_types = list(/datum/action/item_action/reload_rebar)
|
actions_types = list(/datum/action/item_action/reload_rebar)
|
||||||
action_slots = ALL
|
|
||||||
storage_type = /datum/storage/bag/rebar_quiver/syndicate
|
storage_type = /datum/storage/bag/rebar_quiver/syndicate
|
||||||
|
|
||||||
/obj/item/storage/bag/rebar_quiver/syndicate/Initialize(mapload)
|
/obj/item/storage/bag/rebar_quiver/syndicate/Initialize(mapload)
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
icon_state = "duffel"
|
icon_state = "duffel"
|
||||||
inhand_icon_state = "duffel"
|
inhand_icon_state = "duffel"
|
||||||
actions_types = list(/datum/action/item_action/zipper)
|
actions_types = list(/datum/action/item_action/zipper)
|
||||||
action_slots = ALL
|
|
||||||
storage_type = /datum/storage/duffel
|
storage_type = /datum/storage/duffel
|
||||||
// How much to slow you down if your bag isn't zipped up
|
// How much to slow you down if your bag isn't zipped up
|
||||||
var/zip_slowdown = 1
|
var/zip_slowdown = 1
|
||||||
|
|||||||
@@ -82,7 +82,6 @@
|
|||||||
worn_icon_state = "syndicate_holster"
|
worn_icon_state = "syndicate_holster"
|
||||||
w_class = WEIGHT_CLASS_NORMAL
|
w_class = WEIGHT_CLASS_NORMAL
|
||||||
actions_types = list(/datum/action/item_action/chameleon/change/belt)
|
actions_types = list(/datum/action/item_action/chameleon/change/belt)
|
||||||
action_slots = ALL
|
|
||||||
storage_type = /datum/storage/holster/chameleon
|
storage_type = /datum/storage/holster/chameleon
|
||||||
|
|
||||||
/obj/item/storage/belt/holster/nukie
|
/obj/item/storage/belt/holster/nukie
|
||||||
|
|||||||
@@ -152,7 +152,6 @@ do { \
|
|||||||
|
|
||||||
/obj/item/clothing/head/chameleon/drone
|
/obj/item/clothing/head/chameleon/drone
|
||||||
actions_types = list(/datum/action/item_action/chameleon/change/hat, /datum/action/item_action/chameleon/drone/togglehatmask, /datum/action/item_action/chameleon/drone/randomise)
|
actions_types = list(/datum/action/item_action/chameleon/change/hat, /datum/action/item_action/chameleon/drone/togglehatmask, /datum/action/item_action/chameleon/drone/randomise)
|
||||||
action_slots = ALL
|
|
||||||
item_flags = DROPDEL
|
item_flags = DROPDEL
|
||||||
// The camohat, I mean, holographic hat projection, is part of the drone itself.
|
// The camohat, I mean, holographic hat projection, is part of the drone itself.
|
||||||
armor_type = /datum/armor/none
|
armor_type = /datum/armor/none
|
||||||
@@ -201,7 +200,6 @@ do { \
|
|||||||
|
|
||||||
/obj/item/clothing/mask/chameleon/drone
|
/obj/item/clothing/mask/chameleon/drone
|
||||||
actions_types = list(/datum/action/item_action/chameleon/change/mask, /datum/action/item_action/chameleon/drone/togglehatmask, /datum/action/item_action/chameleon/drone/randomise)
|
actions_types = list(/datum/action/item_action/chameleon/change/mask, /datum/action/item_action/chameleon/drone/togglehatmask, /datum/action/item_action/chameleon/drone/randomise)
|
||||||
action_slots = ALL
|
|
||||||
item_flags = DROPDEL
|
item_flags = DROPDEL
|
||||||
//Same as the drone chameleon hat, undroppable and no protection
|
//Same as the drone chameleon hat, undroppable and no protection
|
||||||
armor_type = /datum/armor/none
|
armor_type = /datum/armor/none
|
||||||
@@ -269,7 +267,6 @@ do { \
|
|||||||
/obj/item/storage/backpack/chameleon
|
/obj/item/storage/backpack/chameleon
|
||||||
name = "backpack"
|
name = "backpack"
|
||||||
actions_types = list(/datum/action/item_action/chameleon/change/backpack)
|
actions_types = list(/datum/action/item_action/chameleon/change/backpack)
|
||||||
action_slots = ALL
|
|
||||||
|
|
||||||
/obj/item/storage/backpack/chameleon/Initialize(mapload)
|
/obj/item/storage/backpack/chameleon/Initialize(mapload)
|
||||||
. = ..()
|
. = ..()
|
||||||
@@ -287,7 +284,6 @@ do { \
|
|||||||
name = "toolbelt"
|
name = "toolbelt"
|
||||||
desc = "Holds tools."
|
desc = "Holds tools."
|
||||||
actions_types = list(/datum/action/item_action/chameleon/change/belt)
|
actions_types = list(/datum/action/item_action/chameleon/change/belt)
|
||||||
action_slots = ALL
|
|
||||||
|
|
||||||
/obj/item/storage/belt/chameleon/Initialize(mapload)
|
/obj/item/storage/belt/chameleon/Initialize(mapload)
|
||||||
. = ..()
|
. = ..()
|
||||||
@@ -315,7 +311,6 @@ do { \
|
|||||||
/obj/item/modular_computer/pda/chameleon
|
/obj/item/modular_computer/pda/chameleon
|
||||||
name = "tablet"
|
name = "tablet"
|
||||||
actions_types = list(/datum/action/item_action/chameleon/change/tablet)
|
actions_types = list(/datum/action/item_action/chameleon/change/tablet)
|
||||||
action_slots = ALL
|
|
||||||
flags_1 = parent_type::flags_1 | NO_NEW_GAGS_PREVIEW_1
|
flags_1 = parent_type::flags_1 | NO_NEW_GAGS_PREVIEW_1
|
||||||
|
|
||||||
/obj/item/modular_computer/pda/chameleon/broken
|
/obj/item/modular_computer/pda/chameleon/broken
|
||||||
|
|||||||
Reference in New Issue
Block a user