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

Commit

Permalink
Merge pull request #8 from NamelessFairy/HighEffortGimmick
Browse files Browse the repository at this point in the history
EXTREMELY THEME APPROPRIATE ARENA
  • Loading branch information
RigglePrime authored Dec 15, 2023
2 parents 3693fe8 + add1f26 commit fc3616d
Show file tree
Hide file tree
Showing 7 changed files with 432 additions and 0 deletions.
315 changes: 315 additions & 0 deletions _maps/toolbox_arenas/bomberman.dmm
Original file line number Diff line number Diff line change
@@ -0,0 +1,315 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
"a" = (
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"f" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 4
},
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"g" = (
/obj/structure/barricade/bomberman/powerup/mirror,
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"h" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 14
},
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"j" = (
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"k" = (
/obj/structure/barricade/bomberman/powerup,
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"m" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 10
},
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"p" = (
/obj/structure/barricade/bomberman/powerup/mirror,
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"x" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 6
},
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"A" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 6
},
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"B" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 16
},
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"D" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 12
},
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"E" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 10
},
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"G" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 14
},
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"J" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 8
},
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"L" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 4
},
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"M" = (
/turf/closed/indestructible/bombermanwall,
/area/centcom/tdome/arena)
"P" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 12
},
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"Q" = (
/obj/structure/barricade/bomberman/powerup,
/turf/open/floor/grass,
/area/centcom/tdome/arena)
"W" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 16
},
/turf/open/misc/grass/jungle,
/area/centcom/tdome/arena)
"Z" = (
/obj/structure/barricade/bomberman/powerup/mirror{
mirror_distance = 8
},
/turf/open/floor/grass,
/area/centcom/tdome/arena)

(1,1,1) = {"
a
j
B
W
B
W
B
W
a
j
"}
(2,1,1) = {"
j
M
h
M
h
G
M
G
M
a
"}
(3,1,1) = {"
D
P
D
P
D
P
D
P
D
P
"}
(4,1,1) = {"
m
M
m
M
m
E
M
E
M
E
"}
(5,1,1) = {"
Z
J
Z
J
Z
J
Z
J
Z
J
"}
(6,1,1) = {"
x
M
x
M
x
A
M
A
M
A
"}
(7,1,1) = {"
f
L
f
L
a
j
f
L
f
L
"}
(8,1,1) = {"
p
M
p
a
j
a
j
g
M
g
"}
(9,1,1) = {"
Q
k
Q
j
a
j
a
k
Q
k
"}
(10,1,1) = {"
j
M
j
a
j
a
j
a
M
a
"}
(11,1,1) = {"
a
j
a
j
a
j
a
j
a
j
"}
(12,1,1) = {"
j
M
j
M
j
a
M
a
M
a
"}
(13,1,1) = {"
a
j
a
j
a
j
a
j
a
j
"}
(14,1,1) = {"
j
M
j
M
j
a
M
a
M
a
"}
(15,1,1) = {"
a
j
a
j
a
j
a
j
a
j
"}
(16,1,1) = {"
j
M
j
M
j
a
M
a
M
a
"}
(17,1,1) = {"
a
j
a
j
a
j
a
j
a
j
"}
35 changes: 35 additions & 0 deletions code/game/machinery/deployable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,41 @@
. = ..()
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

0 comments on commit fc3616d

Please sign in to comment.