mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Bring back random mine mobs (#2205)
* chomp mod spawner * mob spawner * mine mob spawner * Update vorestation.dme * Update caves.dm
This commit is contained in:
23
code/game/objects/mob_spawner_ch.dm
Normal file
23
code/game/objects/mob_spawner_ch.dm
Normal file
@@ -0,0 +1,23 @@
|
||||
/obj/structure/mob_spawner/scanner/mining_animals
|
||||
name = "Mining Lazy Spawner"
|
||||
spawn_delay = 10 MINUTES
|
||||
range = 10
|
||||
simultaneous_spawns = 1
|
||||
mob_faction = "wild animal"
|
||||
total_spawns = 2
|
||||
destructible = 0
|
||||
anchored = 1
|
||||
invisibility = 101
|
||||
spawn_types = list(
|
||||
/mob/living/silicon/robot/lost = 2,
|
||||
/mob/living/simple_mob/mechanical/hivebot/swarm = 1,
|
||||
/mob/living/simple_mob/animal/space/carp = 10,
|
||||
/obj/structure/closet/crate/mimic = 2,
|
||||
/mob/living/simple_mob/animal/space/bats = 70,
|
||||
/mob/living/simple_mob/animal/space/jelly = 25,
|
||||
/mob/living/simple_mob/animal/space/bear = 1,
|
||||
/mob/living/simple_mob/vore/aggressive/deathclaw = 1,
|
||||
/mob/living/simple_mob/animal/space/goose = 60,
|
||||
/mob/living/simple_mob/vore/bee = 50,
|
||||
/mob/living/simple_mob/metroid/mine = 20,
|
||||
)
|
||||
@@ -52,6 +52,8 @@
|
||||
if(!T.ignore_cavegen)
|
||||
if(map[current_cell] == FLOOR_CHAR)
|
||||
T.make_floor()
|
||||
if(prob(1)) // 1 in 100 chance //CHOMP Add
|
||||
new /obj/structure/mob_spawner/scanner/mining_animals(T) //CHOMP Add
|
||||
else
|
||||
T.make_wall()
|
||||
|
||||
@@ -62,4 +64,4 @@
|
||||
T.make_ore(1)
|
||||
get_additional_spawns(map[current_cell],T,get_spawn_dir(x, y))
|
||||
//VOREStation Edit End
|
||||
return T
|
||||
return T
|
||||
|
||||
@@ -1114,6 +1114,7 @@
|
||||
#include "code\game\objects\explosion_recursive.dm"
|
||||
#include "code\game\objects\items.dm"
|
||||
#include "code\game\objects\kasscbuttons_ch.dm"
|
||||
#include "code\game\objects\mob_spawner_ch.dm"
|
||||
#include "code\game\objects\mob_spawner_vr.dm"
|
||||
#include "code\game\objects\objs.dm"
|
||||
#include "code\game\objects\structures.dm"
|
||||
|
||||
Reference in New Issue
Block a user