mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[NO GBP] Patches & renaming for NO_DECONSTRUCTION flag (#82547)
## About The Pull Request 1. Renames `NO_DECONSTRUCTION` -> `NO_DEBRIS_AFTER_DECONSTRUCTION`. As the name suggests when the object is deconstructed it won't drop any items/debris. After my last refactor for this flag it now serves a new purpose so its name has been changed to match that 2. Fixes objects that are now using `NO_DECONSTRUCTION` incorrectly. Some of these changes include - Removing the flag in objects where there are no means to deconstruct them (e.g. jukebox, hydroponics soil, flora etc) - Replacing the flags old purpose by overriding its tool procs so that it regains its old behaviour(e.g. You once again cannot deconstruct ctf reinforced tables, survival pods, indestructible windows etc) ## Changelog 🆑 code: renamed `NO_DECONSTRUCTION` to `NO_DEBRIS_AFTER_DECONSTRUCTION` so its name matches its intended purpose fix: fixes some items that incorrectly used `NO_DECONSTRUCTION` prior to its refactor, meaning makes some objects non deconstructable again /🆑
This commit is contained in:
@@ -159,9 +159,14 @@
|
||||
mask = /obj/item/clothing/mask/fakemoustache/italian
|
||||
|
||||
/obj/machinery/vending/hotdog/museum
|
||||
obj_flags = parent_type::obj_flags|NO_DECONSTRUCTION
|
||||
onstation_override = TRUE
|
||||
|
||||
/obj/machinery/vending/hotdog/museum/screwdriver_act(mob/living/user, obj/item/attack_item)
|
||||
return NONE
|
||||
|
||||
/obj/machinery/vending/hotdog/museum/crowbar_act(mob/living/user, obj/item/attack_item)
|
||||
return NONE
|
||||
|
||||
#define CAFE_KEYCARD_TOILETS "museum_cafe_key_toilets"
|
||||
|
||||
///Do not place these beyond the cafeteria shutters, or you might lock people out of reaching it.
|
||||
|
||||
Reference in New Issue
Block a user