mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
Add support for Krastorio 2 creep
This commit is contained in:
parent
1ab917e416
commit
9e43fe1776
@ -6,5 +6,5 @@
|
||||
"author" : "Veden",
|
||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||
"description" : "Improves the enemies tactics by using potential fields/pheromones allowing probing of defenses, retreats, reinforcements, counterattacking, breaching, raids, rallying death cry, and player hunting. Uses blockable biter projectiles. Adds new Enemies (disabled by default). Difficulty setting in mod options menu.",
|
||||
"dependencies" : ["base >= 1.0.0", "? bobenemies", "? Natural_Evolution_Enemies >= 0.17.0", "? Clockwork", "? Orbital Ion Cannon", "? RampantArsenal", "? RampantResources", "? ArmouredBiters"]
|
||||
"dependencies" : ["base >= 1.0.0", "? bobenemies", "? Natural_Evolution_Enemies >= 0.17.0", "? Clockwork", "? Orbital Ion Cannon", "? RampantArsenal", "? RampantResources", "? ArmouredBiters", "? Krastorio2"]
|
||||
}
|
||||
|
@ -314,6 +314,9 @@ function baseUtils.upgradeEntity(entity, surface, baseAlignment, natives, disPos
|
||||
end
|
||||
|
||||
query.name = spawnerName
|
||||
if remote.interfaces["kr-creep"] then
|
||||
remote.call("kr-creep", "spawn_creep_at_position", surface, query.position)
|
||||
end
|
||||
return surface.create_entity(query)
|
||||
end
|
||||
return entity
|
||||
|
Loading…
x
Reference in New Issue
Block a user