mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
Merge branch 'develop' of https://github.com/danielmartin0/ComfyFactorio-Pirates into develop
This commit is contained in:
commit
8fd3c7ff67
@ -110,7 +110,7 @@ local check_distance_between_player_and_locomotive = function(player)
|
||||
local t_y = gap_between_locomotive.highest_pos.y
|
||||
|
||||
if c_y - t_y <= gap_between_locomotive.neg_gap then
|
||||
player.teleport({position.x, locomotive.position.y + gap_between_locomotive.neg_gap}, surface)
|
||||
player.teleport({position.x, locomotive.position.y + gap_between_locomotive.neg_gap + 2}, surface)
|
||||
player.print(({'breached_wall.hinder'}), Color.warning)
|
||||
if player.character then
|
||||
player.character.health = player.character.health - 5
|
||||
|
Loading…
x
Reference in New Issue
Block a user