Skip to content

Commit

Permalink
Merge branch 'master' into Gangshit13
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishpoker committed Apr 11, 2024
2 parents 78f9ad1 + 7e591e8 commit 2d0ad41
Show file tree
Hide file tree
Showing 40 changed files with 60,423 additions and 56,937 deletions.
109,815 changes: 55,588 additions & 54,227 deletions _maps/VR/yuma_VR.dmm

Large diffs are not rendered by default.

5,490 changes: 3,264 additions & 2,226 deletions _maps/map_files/Pahrump/Dungeons.dmm

Large diffs are not rendered by default.

1,372 changes: 943 additions & 429 deletions _maps/map_files/Pahrump/Pahrump-Underground-1.dmm

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions code/datums/components/crafting/guncrafting.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,21 @@
desc = "A basic workbench with a full set of tools for simple to intermediate projects."
resistance_flags = INDESTRUCTIBLE
density = TRUE
pass_flags = LETPASSTHROW
pass_flags_self = PASSTABLE
layer = BELOW_OBJ_LAYER
anchored = TRUE
machine_tool_behaviour = list(TOOL_WORKBENCH, TOOL_CROWBAR, TOOL_SCREWDRIVER, TOOL_WIRECUTTER, TOOL_WRENCH)
drag_delay = 0.4 SECONDS // Heavy, slow to drag
var/wrenchable = 1

/obj/machinery/workbench/CanPass(atom/movable/mover, border_dir)
if(src.density == 0)
return 1
if(istype(mover) && (mover.pass_flags & pass_flags_self))
return 1
else
return 0

/obj/machinery/workbench/can_be_unfasten_wrench(mob/user, silent)
if (!wrenchable) // case also covered by NODECONSTRUCT checks in default_unfasten_wrench
Expand Down
2 changes: 1 addition & 1 deletion code/datums/components/crafting/recipes/recipes_tribal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
result = /obj/item/gun/syringe/blowgun
time = 50
reqs = list(/obj/item/stack/sheet/mineral/bamboo = 10)
always_available = FALSE
always_available = TRUE

/datum/crafting_recipe/tribalwar/bow
name = "String Wooden Bow"
Expand Down
6 changes: 5 additions & 1 deletion code/game/machinery/camera/camera.dm
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,12 @@
I.play_tool_sound(src)
return TRUE

/obj/machinery/camera/multitool_act(mob/living/user, obj/item/I)
/obj/machinery/camera/multitool_act(mob/living/user, obj/item/multitool/I)
if(!panel_open)
if(istype(I))
to_chat(user, "<span class='notice'>You log [src] in the multitool's buffer.</span>")
I.buffer = src
return TRUE
return FALSE

setViewRange((view_range == initial(view_range)) ? short_range : initial(view_range))
Expand Down
11 changes: 11 additions & 0 deletions code/game/machinery/computer/camera.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
var/obj/screen/cam_screen
var/obj/screen/plane_master/lighting/cam_plane_master
var/obj/screen/background/cam_background
var/camera_type = /obj/machinery/camera

/obj/machinery/computer/security/Initialize()
. = ..()
Expand Down Expand Up @@ -173,6 +174,16 @@
D["[C.c_tag]"] = C
return D

/obj/machinery/computer/security/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/multitool))
var/obj/item/multitool/P = W
if(istype(P.buffer, camera_type))
to_chat(user, "<font color = #666633>-% Successfully linked [P.buffer] with [src] %-</font color>")
var/obj/machinery/camera/connectingcamera = P.buffer
network |= connectingcamera.network
return
else
return ..()
// SECURITY MONITORS

/obj/machinery/computer/security/wooden_tv
Expand Down
Loading

0 comments on commit 2d0ad41

Please sign in to comment.