Skip to content

Commit

Permalink
All caravans can now use all caravan outposts (#283)
Browse files Browse the repository at this point in the history
* Fix for bug #687

Included caravan-control ghost detection for the caravan open-dialog event.

* Update caravan-gui.lua

All caravans can use all types of caravan outposts.

* Update changelog.txt
  • Loading branch information
AFranticTypist authored Dec 5, 2024
1 parent 47ce788 commit adf2f7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Date: ?
Changes:
- Composter TURD path 2 no longer generates methanol. Now it instead generates coalbed gas. Resolves https://github.com/pyanodon/pybugreports/issues/757
- Greatly increased the science pack requirement for the wood processing unit turd from 500 -> 7000. Resolves https://github.com/pyanodon/pybugreports/issues/758
- All caravans can use all caravan outpost types
---------------------------------------------------------------------------------------------------
Version: 3.0.31
Date: 2024-11-29
Expand Down
2 changes: 1 addition & 1 deletion scripts/caravan/caravan-gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function Caravan.build_schedule_gui(gui, caravan_data)
local entity = schedule.entity
local actions
if entity and entity.valid then
if entity.name == prototype.outpost then
if (entity.name == "outpost") or (entity.name == "outpost-aerial") then
actions = prototype.actions.outpost
elseif prototype.actions[entity.type] then
actions = prototype.actions[entity.type]
Expand Down

0 comments on commit adf2f7f

Please sign in to comment.