Skip to content

Commit

Permalink
caravans no longer collide with other caravans
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Nov 16, 2023
1 parent ec71f33 commit 7d6e7c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Date: ???
- Fixed that dingrit mk2,mk3,mk4 module recipes were not outputting any empty cages
- Moved all aerial turbine code to pyAE
- fixed digosaurus being recorded in kill statistics
- caravans no longer collide with other caravans
- fixed crash when mixing oculas and factorissimo 2 (https://github.com/pyanodon/pybugreports/issues/336)
---------------------------------------------------------------------------------------------------
Version: 2.1.9
Expand Down
1 change: 1 addition & 0 deletions prototypes/creatures/caravan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ ITEM {

data:extend{{
type = 'unit',
ai_settings = {do_separation = false},
additional_pastable_entities = {'caravan'},
name = 'caravan',
can_open_gates = true,
Expand Down
3 changes: 2 additions & 1 deletion prototypes/creatures/nuka-caravan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ data:extend(
additional_pastable_entities = {'nukavan'},
icon = '__pyalienlifegraphics2__/graphics/icons/nuka-van.png',
icon_size = 64,
ai_settings = {do_separation = false},
flags = {'placeable-player', 'placeable-off-grid', 'not-repairable', 'breaths-air', 'building-direction-8-way'},
minable = {mining_time = 0.1, result = 'nukavan'},
max_health = 6125,
map_color = {1, 1, 1},
order = 'b-b-a',
subgroup='enemies',
collision_mask = {caravan_collision_mask},
collision_mask = {caravan_collision_mask, 'not-colliding-with-itself'},
resistances =
{
{
Expand Down

0 comments on commit 7d6e7c7

Please sign in to comment.