Skip to content

Commit

Permalink
Fixes lavaland syndicate station's explosives being able to be picked…
Browse files Browse the repository at this point in the history
… up (#12033)

* wew

* Update syndicatebomb.dm

* kick the bot until it works

* Update code/game/turfs/closed/wall/mineral_walls.dm

Co-authored-by: PowerfulBacon <[email protected]>

* Revert "Update code/game/turfs/closed/wall/mineral_walls.dm"

This reverts commit d4661ea.

* Update mineral_walls.dm

---------

Co-authored-by: PowerfulBacon <[email protected]>
  • Loading branch information
XeonMations and PowerfulBacon authored Dec 26, 2024
1 parent 14f8905 commit b71a63f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions code/game/machinery/syndicatebomb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,12 @@
range_light = 20
range_flame = 20

// Special bomb core for inside the lavaland syndicate base walls. Players should not be able to interact with this.
/obj/item/bombcore/large/syndicate_base
installed = TRUE
anchored = TRUE
invisibility = INVISIBILITY_OBSERVER

/obj/item/bombcore/miniature
name = "small bomb core"
w_class = WEIGHT_CLASS_SMALL
Expand Down
11 changes: 8 additions & 3 deletions code/game/turfs/closed/wall/mineral_walls.dm
Original file line number Diff line number Diff line change
Expand Up @@ -352,17 +352,22 @@
icon_state = "map-overspace"
fixed_underlay = list("space"=1)

/////////////////////Lavaland Base Syndicate Explosive Walls /////////////////////

/turf/closed/wall/mineral/plastitanium/explosive
var/obj/item/bombcore/large/bombcore
var/obj/item/bombcore/large/syndicate_base/bombcore

/turf/closed/wall/mineral/plastitanium/explosive/Initialize(mapload)
. = ..()
bombcore = new(get_turf(src))
bombcore.installed = TRUE
bombcore = new /obj/item/bombcore/large/syndicate_base(src)

/turf/closed/wall/mineral/plastitanium/explosive/ex_act(severity)
bombcore.detonate()

/turf/closed/wall/mineral/plastitanium/explosive/Destroy()
qdel(bombcore)
..()

//have to copypaste this code
/turf/closed/wall/mineral/plastitanium/interior/copyTurf(turf/T)
if(T.type != type)
Expand Down

0 comments on commit b71a63f

Please sign in to comment.