mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2025-02-07 13:07:58 +02:00
Fix fulgoran lightning attrators on enemy force. Fix liquid tile strip placement not respecting size modifier. Tweak default Fulgoran spawn area.
This commit is contained in:
parent
bafd95df2f
commit
f9c50f4749
@ -1,14 +1,11 @@
|
||||
ACTIVE ITEMS:
|
||||
|
||||
-- Look into on_player_driving_changed_state for detecting player rocket/platform transitions.
|
||||
-- Look at rocket launch events and this: `event.rocket.cargo_pod`
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
BACKLOG:
|
||||
|
||||
Not specific:
|
||||
|
||||
- Fix wording for "force grass" setting if I allow any tile to be used there...
|
||||
|
||||
Minor:
|
||||
- If dead when resetting spawn... possibly delay the opening of the welcome GUI or block spawning until character is spawned?
|
||||
@ -22,7 +19,7 @@ Performance:
|
||||
- Rework world eater to use less find_entities_filtered
|
||||
|
||||
Major:
|
||||
- Space Age Support (TBD)
|
||||
- Space Age Support (In Progress)
|
||||
|
||||
|
||||
------------------------------------------------------SPACE AGE---------------------------------------------------------
|
||||
|
@ -1700,7 +1700,8 @@ function PlaceFulgoranLightningAttractors(surface, position, count)
|
||||
if (open_pos ~= nil) then
|
||||
surface.create_entity({
|
||||
name = ATTRACTOR_NAME,
|
||||
position = open_pos
|
||||
position = open_pos,
|
||||
force = "player" -- Same as native game
|
||||
})
|
||||
end
|
||||
end
|
||||
|
@ -1,10 +1,11 @@
|
||||
-- THIS is used as the default starting items on all surfaces if no other settings are provided!
|
||||
-- This config is used as the default config for the planet fulgora.
|
||||
|
||||
---@type OarcConfigStartingItems
|
||||
FULGORA_STARTER_ITEMS = table.deepcopy(NO_STARTER_ITEMS)
|
||||
|
||||
---@type OarcConfigSpawn
|
||||
FULGORA_SPAWN_CONFIG = table.deepcopy(NAUVIS_SPAWN_CONFIG)
|
||||
FULGORA_SPAWN_CONFIG.fill_tile = "fulgoran-paving"
|
||||
FULGORA_SPAWN_CONFIG.fill_tile = "fulgoran-dunes"
|
||||
FULGORA_SPAWN_CONFIG.liquid_tile = "oil-ocean-deep"
|
||||
FULGORA_SPAWN_CONFIG.tree_entity = nil
|
||||
FULGORA_SPAWN_CONFIG.random_entities = {
|
||||
@ -22,7 +23,7 @@ FULGORA_SPAWN_CONFIG.radius_modifier = 0.7
|
||||
FULGORA_SPAWN_CONFIG.solid_resources =
|
||||
{
|
||||
["scrap"] = {
|
||||
amount = 10000,
|
||||
amount = 2000,
|
||||
size = 25,
|
||||
|
||||
-- These are only used if not using automatic placing.
|
||||
|
@ -507,7 +507,7 @@ function SendPlayerToNewSpawnAndCreateIt(delayed_spawn)
|
||||
-- Reference position is the top of the spawn area.
|
||||
local reference_pos = {
|
||||
x = delayed_spawn.position.x,
|
||||
y = delayed_spawn.position.y - storage.ocfg.spawn_general.spawn_radius_tiles
|
||||
y = delayed_spawn.position.y - (storage.ocfg.spawn_general.spawn_radius_tiles * spawn_config.radius_modifier)
|
||||
}
|
||||
CreateTileStrip(game.surfaces[delayed_spawn.surface],
|
||||
{ x = reference_pos.x + water_data.x_offset, y = reference_pos.y + water_data.y_offset },
|
||||
|
Loading…
x
Reference in New Issue
Block a user