Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

I merged without looking and now I'm too lazy to do anything but click the revert button #10

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
315 changes: 0 additions & 315 deletions _maps/toolbox_arenas/bomberman.dmm

This file was deleted.

35 changes: 0 additions & 35 deletions code/game/machinery/deployable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -236,41 +236,6 @@
. = ..()
AddComponent(/datum/component/deployable, 5 SECONDS, /obj/machinery/deployable_turret/hmg, delete_on_use = TRUE)

/obj/structure/barricade/bomberman
name = "brick wall"
desc = "Looks vunerable to explosives, but a toolbox will do."
icon = 'icons/obj/structures.dmi'
icon_state = "bricks"
max_integrity = 1
var/obj/powerup = null

/obj/structure/barricade/bomberman/Initialize(mapload)
. = ..()
//Its an event so I can get away with this
resistance_flags = NONE

/obj/structure/barricade/bomberman/atom_destruction(damage_flag)
if(!isnull(powerup))
new powerup(get_turf(src))
. = ..()

/obj/structure/barricade/bomberman/powerup

/obj/structure/barricade/bomberman/powerup/Initialize(mapload)
. = ..()
if (!prob(13))
return
powerup = pick(subtypesof(/obj/effect/powerup/bomberman))

/obj/structure/barricade/bomberman/powerup/mirror
var/mirror_distance = 2

/obj/structure/barricade/bomberman/powerup/mirror/Initialize(mapload)
. = ..()
var/obj/structure/barricade/bomberman/mirrored_wall = new /obj/structure/barricade/bomberman(locate(x + mirror_distance, y, z))
if(!isnull(powerup))
mirrored_wall.powerup = powerup

#undef SINGLE
#undef VERTICAL
#undef HORIZONTAL
Expand Down
Loading