Skip to content

Commit

Permalink
Radar dependent auto carryall service
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Aug 13, 2023
1 parent 3a57568 commit 4cce8d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mods/d2k/rules/aircraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ carryall:
BeforeLoadDelay: 10
BeforeUnloadDelay: 15
LocalOffset: 0, 0, -128
RequiresCondition: enabled
GrantConditionOnPrerequisite:
Condition: enabled
Prerequisites: radar
Encyclopedia:
Description: Carryalls will automatically transport Harvesters back and forth from the Spice Fields to the Refineries. They will also pick up units and deliver them to the Repair Pad, when ordered to.\n\nThe Carryall is a lightly armored transport aircraft. They are vulnerable to missiles and can only be hit by anti-aircraft weapons.
Order: 230
Expand Down
3 changes: 3 additions & 0 deletions mods/d2k/rules/structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,9 @@ outpost:
Power:
Amount: -125
ProvidesPrerequisite@buildingname:
ProvidesPrerequisite@radar:
Prerequisite: radar
RequiresCondition: !disabled

starport:
Inherits: ^Building
Expand Down

0 comments on commit 4cce8d5

Please sign in to comment.