mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-05 13:15:03 +02:00
Journey fixes for physical position
This commit is contained in:
parent
c4e70db933
commit
3b04bb3887
@ -1,26 +1,26 @@
|
|||||||
[journey]
|
[journey]
|
||||||
map_info_main_caption=The Journey
|
map_info_main_caption=The Journey
|
||||||
map_info_sub_caption=v 1.9
|
map_info_sub_caption=v 1.9
|
||||||
map_info_text=The selectors in the mothership, allow you to choose a destination.\nWorlds can be rerolled by spending a satellite at the top selector.\nOnce enough players are on a selector, mothership will start traveling.\n\nA teleporter will be deployed, after reaching the target.\nIt is however, only capable of transfering the subjects body.\n\nWorlds will get more difficult with each jump, stacking the chosen modifiers.\nLaunch uranium fuel cells via rocket cargo, to advance to the next world.\nThe tooltips on the top buttons yield informations about the current world.\nIf the journey ends, an admin can fully reset the map via command "/journey-reset".\n\nHow far will the journey lead?
|
map_info_text=The selectors in the mothership, allow you to choose a destination.\nWorlds can be rerolled by spending a satellite at the top selector.\nOnce enough players are on a selector, mothership will start traveling.\n\nA teleporter will be deployed, after reaching the target.\nIt is however, only capable of transfering the subjects body.\n\nWorlds will get more difficult with each jump, stacking the chosen modifiers.\nLaunch uranium fuel cells via rocket cargo, to advance to the next world.\nThe tooltips on the top buttons yield informations about the current world.\nIf the journey ends, an admin can fully reset the map via command "/journey-reset".\n\nHow far will the journey lead?
|
||||||
|
|
||||||
tooltip_satellite=Satellites stored: __1__ / __2__\nSatellites are used by Mothership to scout for alternative destinations.
|
tooltip_satellite=Satellites stored: __1__ / __2__\nSatellites are used by Mothership to scout for alternative destinations.
|
||||||
tooltip_nuclear_fuel=Emergency Reactors working: __1__ / __2__\n30 Emergency Reactors are usually damaged by Mothership if the current colony is determined to be lost and Mothership has to leave in a hurry.\nIf teleporter is lost and there is no emergency power, the game is over and run resets.
|
tooltip_nuclear_fuel=Emergency Reactors working: __1__ / __2__\n3 Emergency Reactors are usually damaged by Mothership if the current colony is determined to be lost and Mothership has to leave in a hurry.\nIf teleporter is lost and there is no emergency power, the game is over and run resets.
|
||||||
tooltip_fuel=Fuel requirement to advance to next world:\n__1__\n\nNuclear Fuel Cells in Mothership Cargo:\n__2__
|
tooltip_fuel=Fuel requirement to advance to next world:\n__1__\n\nNuclear Fuel Cells in Mothership Cargo:\n__2__
|
||||||
tooltip_delivery=Orbital Station Delivery: __1__ / __2__\nStation pays with one random starting item roll per time threshold.\nTimes: 120min, 240min, 480min, 960min, 1920min, 3840min\nCurrent time: __3__ minutes.
|
tooltip_delivery=Orbital Station Delivery: __1__ / __2__\nStation pays with one random starting item roll per time threshold.\nTimes: 120min, 240min, 480min, 960min, 1920min, 3840min\nCurrent time: __3__ minutes.
|
||||||
|
|
||||||
beacon_hp=HP: __1__/10000
|
beacon_hp=HP: __1__/10000
|
||||||
teleporter=Personal Teleporter
|
teleporter=Personal Teleporter
|
||||||
|
|
||||||
chunks_delete=Deleting chunks.. __1__
|
chunks_delete=Deleting chunks.. __1__
|
||||||
mothership_format=[font=heading-1][color=255,155,155]<Mothership> [/color][/font][font=default-game][color=200,200,200]__1__[/color][/font]
|
mothership_format=[font=heading-1][color=255,155,155]<Mothership> [/color][/font][font=default-game][color=200,200,200]__1__[/color][/font]
|
||||||
world=World __1__ | __2__
|
world=World __1__ | __2__
|
||||||
world_tooltip=__1__\n\n__2__\nCapsules:\n__3__
|
world_tooltip=__1__\n\n__2__\nCapsules:\n__3__
|
||||||
tooltip_modifier=__1__ - __2__%\n
|
tooltip_modifier=__1__ - __2__%\n
|
||||||
tooltip_capsule= __1__x [item=__2__]
|
tooltip_capsule= __1__x [item=__2__]
|
||||||
tooltip_capsule2= __1__x [item=__2__]\n
|
tooltip_capsule2= __1__x [item=__2__]\n
|
||||||
|
|
||||||
message_rocket_launched=Launching a rocket with __1__x [item=__2__] at [gps=__3__,__4__,nauvis].
|
message_rocket_launched=Launching a rocket with __1__x [item=__2__] at [gps=__3__,__4__,nauvis].
|
||||||
message_min_players=The minimal amount of players to vote for new world is set to __1__.
|
message_min_players=The minimal amount of players to vote for new world is set to __1__.
|
||||||
message_delivery_done=[img=item/__1__] Orbital Station delivery completed in __2__ minutes, granting __3__ loot rolls!
|
message_delivery_done=[img=item/__1__] Orbital Station delivery completed in __2__ minutes, granting __3__ loot rolls!
|
||||||
message_delivered=Delivered from Orbital Station: __2__x [img=item/__1__] added to capsule storage.
|
message_delivered=Delivered from Orbital Station: __2__x [img=item/__1__] added to capsule storage.
|
||||||
cmd_server_restarting=Server is restarting to apply updates to the scenario...Please reconnect in a minute.
|
cmd_server_restarting=Server is restarting to apply updates to the scenario...Please reconnect in a minute.
|
||||||
|
@ -130,7 +130,7 @@ local function drop_player_items(journey, player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local surface = player.surface
|
local surface = player.surface
|
||||||
local spill_blockage = surface.create_entity { name = 'oil-refinery', position = journey.beacon_objective.position or player.position }
|
local spill_blockage = surface.create_entity { name = 'oil-refinery', position = journey.beacon_objective.position or player.physical_position }
|
||||||
|
|
||||||
for _, define in pairs({ defines.inventory.character_main, defines.inventory.character_guns, defines.inventory.character_ammo, defines.inventory.character_armor, defines.inventory.character_vehicle, defines.inventory.character_trash }) do
|
for _, define in pairs({ defines.inventory.character_main, defines.inventory.character_guns, defines.inventory.character_ammo, defines.inventory.character_armor, defines.inventory.character_vehicle, defines.inventory.character_trash }) do
|
||||||
local inventory = character.get_inventory(define)
|
local inventory = character.get_inventory(define)
|
||||||
@ -138,7 +138,7 @@ local function drop_player_items(journey, player)
|
|||||||
for i = 1, #inventory, 1 do
|
for i = 1, #inventory, 1 do
|
||||||
local slot = inventory[i]
|
local slot = inventory[i]
|
||||||
if slot.valid and slot.valid_for_read then
|
if slot.valid and slot.valid_for_read then
|
||||||
surface.spill_item_stack({ position = player.position, stack = slot, enable_looted = true, allow_belts = false })
|
surface.spill_item_stack({ position = player.physical_position, stack = slot, enable_looted = true, allow_belts = false })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inventory.clear()
|
inventory.clear()
|
||||||
@ -1573,7 +1573,7 @@ function Public.teleporters(journey, player)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
local surface = player.surface
|
local surface = player.surface
|
||||||
local tile = surface.get_tile(player.position)
|
local tile = surface.get_tile(player.physical_position)
|
||||||
if tile.name ~= Constants.teleporter_tile and tile.hidden_tile ~= Constants.teleporter_tile then
|
if tile.name ~= Constants.teleporter_tile and tile.hidden_tile ~= Constants.teleporter_tile then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
@ -425,10 +425,10 @@ Public.volcanic = {
|
|||||||
if surface.index ~= 1 then
|
if surface.index ~= 1 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if solid_tiles[surface.get_tile(player.position.x, player.position.y).name] then
|
if solid_tiles[surface.get_tile(player.physical_position.x, player.physical_position.y).name] then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
surface.create_entity({ name = 'fire-flame', position = player.position })
|
surface.create_entity({ name = 'fire-flame', position = player.physical_position })
|
||||||
end,
|
end,
|
||||||
on_world_start = function (journey)
|
on_world_start = function (journey)
|
||||||
local surface = game.surfaces.nauvis
|
local surface = game.surfaces.nauvis
|
||||||
|
Loading…
x
Reference in New Issue
Block a user