Skip to content

Commit c57f093

Browse files
authored
Add support for StructureLab.reverseReaction (#82)
https://docs.screeps.com/api/#StructureLab.reverseReaction
1 parent e39a73d commit c57f093

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jsMain/kotlin/screeps/api/structures/StructureLab.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import screeps.api.*
44

55
abstract external class StructureLab : Structure, Owned, StoreOwner, WithCooldown {
66
fun boostCreep(creep: Creep, bodyPartsCount: Int = definedExternally): ScreepsReturnCode
7+
fun reverseReaction(lab1: StructureLab, lab2: StructureLab): ScreepsReturnCode
78
fun runReaction(lab1: StructureLab, lab2: StructureLab): ScreepsReturnCode
89
fun unboostCreep(creep: Creep): ScreepsReturnCode
910
}

0 commit comments

Comments
 (0)