More possible spiderlings

In addition to spiderlings, there is now a 10% chance of spawning an egg cluster.
This commit is contained in:
Razgriz
2023-06-23 15:11:48 -07:00
committed by GitHub
parent 25f659d669
commit c666d552a6

View File

@@ -33,6 +33,12 @@
while((spawncount >= 1) && vents.len) while((spawncount >= 1) && vents.len)
var/obj/vent = pick(vents) var/obj/vent = pick(vents)
new /obj/effect/spider/spiderling(vent.loc) //VOREStation Edit - No nurses //Oh my JESUS CHRIST, this slipped past me. Literally no nurses. Well guess what, nurses are back. //CHOMPEDIT START adding spider EGGS to the possible spawns instead of singular spiderling spawns.
var/spawn_spiderlings = pickweight(list(
/obj/effect/spider/spiderling = 90,
/obj/effect/spider/eggcluster = 10
))
new spawn_spiderlings(vent.loc) //VOREStation Edit - No nurses //Oh my JESUS CHRIST, this slipped past me. Literally no nurses. Well guess what, nurses are back.
//CHOMPEDIT END
vents -= vent vents -= vent
spawncount-- spawncount--