Refactor AME to use ItemSlot for Fuel (#25558)

* Using wrench on AME doesn't first try to put it in.

* Refactor AME to use ItemSlot for fuel.

* Apparently these names want to match.
This commit is contained in:
LordCarve
2024-02-29 22:44:28 +01:00
committed by GitHub
parent 7aa0bade6c
commit c47391011d
14 changed files with 109 additions and 109 deletions

View File

@@ -1,8 +1,4 @@
ame-controller-component-interact-no-hands-text = You have no hands.
ame-controller-component-interact-using-no-hands-text = You have no hands.
ame-controller-component-interact-using-already-has-jar = The controller already has a jar loaded.
ame-controller-component-interact-using-success = You insert the jar into the fuel slot.
ame-controller-component-interact-using-fail = You can't put that in the controller...
ame-controller-component-interact-using-whitelist-fail = You can't put that in the controller...
## UI

View File

@@ -50,6 +50,12 @@
- type: Anchorable
- type: Pullable
- type: AmeController
fuelSlot:
whitelist:
components:
- AmeFuelContainer
whitelistFailPopup: ame-controller-component-interact-using-whitelist-fail
swap: false
- type: Explosive
explosionType: Default
intensitySlope: 5
@@ -86,9 +92,10 @@
state: static
- type: PowerSupplier
supplyRate: 0
- type: ItemSlots
- type: ContainerContainer
containers:
AmeFuel: !type:ContainerSlot {}
fuelSlot: !type:ContainerSlot
- type: GuideHelp
guides: [ AME, Power ]
- type: Electrified