mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 11:35:19 +01:00
Resolves compile errors with the exception of map errors.
This commit is contained in:
@@ -309,7 +309,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
/* //VORESTATION AI TEMPORARY REMOVAL
|
||||
/datum/chemical_reaction/slimevore
|
||||
name = "Slime Vore" // Hostile vore mobs only
|
||||
id = "m_tele"
|
||||
@@ -317,11 +317,11 @@
|
||||
required_reagents = list("phoron" = 20, "nutriment" = 20, "sugar" = 20, "mutationtoxin" = 20) //Can't do slime jelly as it'll conflict with another, but mutation toxin will do.
|
||||
result_amount = 1
|
||||
on_reaction(var/datum/reagents/holder)
|
||||
var/mob_path = /mob/living/simple_animal
|
||||
var/mob_path = /mob/living/simple_mob
|
||||
var/blocked = list(
|
||||
/mob/living/simple_animal/hostile/mimic,
|
||||
/mob/living/simple_animal/hostile/alien/queen,
|
||||
/mob/living/simple_animal/shadekin
|
||||
/mob/living/simple_mob/hostile/mimic,
|
||||
/mob/living/simple_mob/hostile/alien/queen,
|
||||
/mob/living/simple_mob/shadekin
|
||||
)//exclusion list for things you don't want the reaction to create.
|
||||
var/list/voremobs = typesof(mob_path) - mob_path - blocked // list of possible hostile mobs
|
||||
|
||||
@@ -334,9 +334,10 @@
|
||||
var/spawn_count = rand(1,3)
|
||||
for(var/i = 1, i <= spawn_count, i++)
|
||||
var/chosen = pick(voremobs)
|
||||
var/mob/living/simple_animal/hostile/C = new chosen
|
||||
var/mob/living/simple_mob/hostile/C = new chosen
|
||||
C.faction = "slimesummon"
|
||||
C.loc = get_turf(holder.my_atom)
|
||||
if(prob(50))
|
||||
for(var/j = 1, j <= rand(1, 3), j++)
|
||||
step(C, pick(NORTH,SOUTH,EAST,WEST))
|
||||
*/
|
||||
Reference in New Issue
Block a user