Adds some bit running construction qol (#92217)

## About The Pull Request
- Closes #92210

1) Bit Forge can be deconstructed with a screwdriver & crowbar like a
normal machine
2) Adds examines & screentips for netpod, bitforge(icon for panel open
state added) & quantum server on how to deconstruct them. New icon state
for when bitforge has its panel open is shown below
<img width="210" height="103" alt="Screenshot (497)"
src="https://github.com/user-attachments/assets/bb44c78d-1f0e-468f-9a79-ebc5800edd09"
/>

3) Moved bitrunning machine designs into files that exist to hold that
type of code

## Changelog
🆑
code: moved designs & circuitboards for bitrunning into their correct
files
qol: adds examines & screentips for bitrunning netpod, bitforge & server
on how to deconstruct them
fix: bitforge can be deconstructed with a screwdriver & crowbar
/🆑
This commit is contained in:
SyncIt21
2025-08-05 14:32:56 +05:30
committed by GitHub
parent 72bbbfd0d4
commit bb38209bb4
10 changed files with 155 additions and 103 deletions
+33 -1
View File
@@ -5,6 +5,7 @@
desc = "A machine used by the quantum server. Quantum code converges here, materializing decrypted assets from the virtual abyss."
icon = 'icons/obj/machines/bitrunning.dmi'
icon_state = "byteforge"
base_icon_state = "byteforge"
obj_flags = BLOCKS_CONSTRUCTION | CAN_BE_HIT
/// Idle particles
var/mutable_appearance/byteforge_particles
@@ -12,18 +13,49 @@
/obj/machinery/byteforge/Initialize(mapload)
. = ..()
return INITIALIZE_HINT_LATELOAD
register_context()
/obj/machinery/byteforge/post_machine_initialize()
. = ..()
setup_particles()
/obj/machinery/byteforge/add_context(atom/source, list/context, obj/item/held_item, mob/user)
. = NONE
if(isnull(held_item))
return
if(held_item.tool_behaviour == TOOL_SCREWDRIVER)
context[SCREENTIP_CONTEXT_LMB] = "[panel_open ? "Close" : "Open"] Panel"
return CONTEXTUAL_SCREENTIP_SET
else if(held_item.tool_behaviour == TOOL_CROWBAR && panel_open)
context[SCREENTIP_CONTEXT_LMB] = "Deconstruct"
return CONTEXTUAL_SCREENTIP_SET
/obj/machinery/byteforge/examine(mob/user)
. = ..()
. += span_notice("Make sure this is 4 tiles from the quantum server")
. += span_notice("Its maintainance panel can be [EXAMINE_HINT("screwed")] [panel_open ? "close" : "open"].")
if(panel_open)
. += span_notice("It can be [EXAMINE_HINT("pried")] apart.")
/obj/machinery/byteforge/update_appearance(updates)
. = ..()
setup_particles()
/obj/machinery/byteforge/screwdriver_act(mob/living/user, obj/item/screwdriver)
. = ITEM_INTERACT_FAILURE
if(default_deconstruction_screwdriver(user, "[base_icon_state]_panel", base_icon_state, screwdriver))
return ITEM_INTERACT_SUCCESS
/obj/machinery/byteforge/crowbar_act(mob/living/user, obj/item/crowbar)
. = ITEM_INTERACT_FAILURE
if(default_deconstruction_crowbar(crowbar))
return ITEM_INTERACT_SUCCESS
/// Does some sparks after it's done
/obj/machinery/byteforge/proc/flash(atom/movable/thing)
playsound(src, 'sound/effects/magic/blink.ogg', 50, TRUE)
@@ -16,6 +16,11 @@
. = ..()
find_server()
/obj/machinery/computer/quantum_console/examine(mob/user)
. = ..()
if(!server_ref)
. += span_warning("Please install an quantum server in any tile next to this console.")
/obj/machinery/computer/quantum_console/ui_interact(mob/user, datum/tgui/ui)
. = ..()