Skip to content

Commit

Permalink
Pass flag changes (#16074)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon committed Jun 16, 2024
1 parent d076202 commit 5cdb10b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/game/objects/structures/crates_lockers/largecrate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,20 @@
var/dropmetal = TRUE
resistance_flags = XENO_DAMAGEABLE
interaction_flags = INTERACT_OBJ_DEFAULT|INTERACT_POWERLOADER_PICKUP_ALLOWED
allow_pass_flags = PASSABLE|PASS_WALKOVER|PASS_LOW_STRUCTURE
max_integrity = 40
soft_armor = list(MELEE = 0, BULLET = 80, LASER = 80, ENERGY = 80, BOMB = 0, BIO = 0, FIRE = 0, ACID = 0)
hit_sound = 'sound/effects/woodhit.ogg'
var/spawn_type
var/spawn_amount

/obj/structure/largecrate/Initialize(mapload)
. = ..()
var/static/list/connections = list(
COMSIG_OBJ_TRY_ALLOW_THROUGH = PROC_REF(can_climb_over),
)
AddElement(/datum/element/connect_loc, connections)

/obj/structure/largecrate/add_debris_element()
AddElement(/datum/element/debris, DEBRIS_WOOD, -10, 5)

Expand Down
1 change: 1 addition & 0 deletions code/game/objects/structures/rocks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
density = TRUE
anchored = TRUE
layer = ABOVE_TURF_LAYER
allow_pass_flags = PASSABLE|PASS_DEFENSIVE_STRUCTURE

/obj/structure/rock/ex_act(severity)
switch(severity)
Expand Down

0 comments on commit 5cdb10b

Please sign in to comment.