Abandoned Ruins - Updated (core)

by Keysivi

This mod doesn't do anything by itself. You need to install ruin-set mods or no ruin will be spawned. It then can spawn randomly choosen ruins in the world. These ruins are destroyed fragments of bases, forts, small oases, and more. (Now co-authored with roland77)

Content
a month ago
2.0
8.01K

b [FIXED] spawning.lua:214: attempt to compare number with table

2 months ago

The mod Abandoned Ruins - Updated (1.5.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AbandonedRuins_updated_fork::on_nth_tick(10)
AbandonedRuins_updated_fork/lua/spawning.lua:214: attempt to compare number with table
stack traceback:
AbandonedRuins_updated_fork/lua/spawning.lua:214: in function 'spawn_entity'
AbandonedRuins_updated_fork/lua/spawning.lua:289: in function 'spawn_entities'
AbandonedRuins_updated_fork/lua/spawning.lua:444: in function 'spawn_ruin'
AbandonedRuins_updated_fork/lua/spawning.lua:509: in function 'spawn_random_ruin'
AbandonedRuins_updated_fork/lua/events.lua:107: in function <AbandonedRuins_updated_fork/lua/events.lua:61>

2 months ago

1.5.4 is being prepared (tested). But it isn't easy to test something that happens to rarely as very rarely damage_info.dmg's random value is zero.

2 months ago

no need to rush it✌️

2 months ago

Worked, 2 ruins have spawned with zero damage entities.

2 months ago

??? A grep on amount=0 should have returned at least one entity?

grep safe_damage /opt/GOG\ Games/Factorio/game/factorio-current.log |grep amount=0 returns zero rows.

This thread has been locked.