Skip to content

Commit

Permalink
rscadd(mapgen): ports assets for mapgen
Browse files Browse the repository at this point in the history
  • Loading branch information
k4m3rn authored Jun 14, 2024
1 parent fce79a1 commit ee00609
Show file tree
Hide file tree
Showing 36 changed files with 862 additions and 935 deletions.
3 changes: 1 addition & 2 deletions baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,6 @@
#include "code\game\objects\effects\item_pickup_ghost.dm"
#include "code\game\objects\effects\landmarks.dm"
#include "code\game\objects\effects\manifest.dm"
#include "code\game\objects\effects\mines.dm"
#include "code\game\objects\effects\misc.dm"
#include "code\game\objects\effects\overlays.dm"
#include "code\game\objects\effects\portals.dm"
Expand Down Expand Up @@ -1361,6 +1360,7 @@
#include "code\game\objects\structures\lamarr.dm"
#include "code\game\objects\structures\lattice.dm"
#include "code\game\objects\structures\loot_piles.dm"
#include "code\game\objects\structures\mines.dm"
#include "code\game\objects\structures\mirror.dm"
#include "code\game\objects\structures\mop_bucket.dm"
#include "code\game\objects\structures\morgue.dm"
Expand Down Expand Up @@ -2046,7 +2046,6 @@
#include "code\modules\locks\lock_construct.dm"
#include "code\modules\mapgen\_biome.dm"
#include "code\modules\mapgen\_MapGenerator.dm"
#include "code\modules\mapgen\_testing.dm"
#include "code\modules\mapgen\SingleTurf.dm"
#include "code\modules\mapgen\Whitesandsatmos.dm"
#include "code\modules\mapgen\atmosphere\_atmosphere.dm"
Expand Down
11 changes: 11 additions & 0 deletions code/game/objects/effects/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@
if(victim == O)
return 0
return 1

/obj/effect/minefield
name = "minefield"
var/minerange = 9
var/minetype = /obj/structure/landmine

/obj/effect/minefield/Initialize()
. = ..()
for(var/turf/simulated/floor/T in view(minerange,loc))
if(prob(5))
new minetype(T)
Loading

0 comments on commit ee00609

Please sign in to comment.