]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make mapping actions slightly more useable (#28394)
authorKevin Zheng <kevinz5000@gmail.com>
Thu, 30 May 2024 16:09:07 +0000 (08:09 -0800)
committerGitHub <noreply@github.com>
Thu, 30 May 2024 16:09:07 +0000 (12:09 -0400)
Resources/mapping_actions.yml

index 9498c3062a30dc7208dda610c53b435bd891e3f5..e7ab1b4bf3d2c04c27286d6bc51cba8ec9a5b93a 100644 (file)
@@ -1,6 +1,5 @@
 - action: !type:InstantActionComponent
-    icon:
-      entity: ReinforcedWindow
+    icon: /Textures/Tiles/cropped_parallax.png
     keywords: []
     checkCanInteract: False
     checkConsciousness: False
@@ -8,14 +7,41 @@
     autoPopulate: False
     temporary: True
     event: !type:StartPlacementActionEvent
-      placementOption: SnapgridCenter
-      entityType: ReinforcedWindow
+      placementOption: AlignTileAny
+      tileId: Space
   assignments:
-  - 0: 3
-  name: ReinforcedWindow
+  - 0: 8
+  name: space
+- action: !type:InstantActionComponent
+    icon: Interface/VerbIcons/delete.svg.192dpi.png
+    keywords: []
+    checkCanInteract: False
+    checkConsciousness: False
+    clientExclusive: True
+    autoPopulate: False
+    temporary: True
+    event: !type:StartPlacementActionEvent
+      eraser: True
+  assignments:
+  - 0: 9
+  name: action-name-mapping-erase
+- action: !type:InstantActionComponent
+    icon: /Textures/Tiles/plating.png
+    keywords: []
+    checkCanInteract: False
+    checkConsciousness: False
+    clientExclusive: True
+    autoPopulate: False
+    temporary: True
+    event: !type:StartPlacementActionEvent
+      placementOption: AlignTileAny
+      tileId: Plating
+  assignments:
+  - 0: 7
+  name: plating
 - action: !type:InstantActionComponent
     icon:
-      entity: WallSolid
+      entity: Grille
     keywords: []
     checkCanInteract: False
     checkConsciousness: False
     temporary: True
     event: !type:StartPlacementActionEvent
       placementOption: SnapgridCenter
-      entityType: WallSolid
+      entityType: Grille
   assignments:
-  - 0: 0
-  name: WallSolid
+  - 0: 4
+  name: Grille
 - action: !type:InstantActionComponent
     icon:
-      entity: WallReinforced
+      entity: WallSolid
     keywords: []
     checkCanInteract: False
     checkConsciousness: False
     temporary: True
     event: !type:StartPlacementActionEvent
       placementOption: SnapgridCenter
-      entityType: WallReinforced
+      entityType: WallSolid
   assignments:
-  - 0: 1
-  name: WallReinforced
+  - 0: 0
+  name: WallSolid
 - action: !type:InstantActionComponent
     icon:
       entity: Window
@@ -60,7 +86,7 @@
   name: Window
 - action: !type:InstantActionComponent
     icon:
-      entity: Firelock
+      entity: WallReinforced
     keywords: []
     checkCanInteract: False
     checkConsciousness: False
     temporary: True
     event: !type:StartPlacementActionEvent
       placementOption: SnapgridCenter
-      entityType: Firelock
+      entityType: WallReinforced
   assignments:
-  - 0: 5
-  name: Firelock
+  - 0: 1
+  name: WallReinforced
 - action: !type:InstantActionComponent
     icon:
-      entity: Grille
+      entity: ReinforcedWindow
     keywords: []
     checkCanInteract: False
     checkConsciousness: False
     temporary: True
     event: !type:StartPlacementActionEvent
       placementOption: SnapgridCenter
-      entityType: Grille
+      entityType: ReinforcedWindow
   assignments:
-  - 0: 4
-  name: Grille
+  - 0: 3
+  name: ReinforcedWindow
 - action: !type:InstantActionComponent
-    icon: Interface/VerbIcons/delete.svg.192dpi.png
+    icon:
+      entity: Firelock
     keywords: []
     checkCanInteract: False
     checkConsciousness: False
     autoPopulate: False
     temporary: True
     event: !type:StartPlacementActionEvent
-      eraser: True
+      placementOption: SnapgridCenter
+      entityType: Firelock
   assignments:
-  - 0: 9
-  - 1: 9
-  - 2: 9
-  - 4: 9
-  - 5: 9
-  - 6: 9
-  name: action-name-mapping-erase
+  - 0: 5
+  name: Firelock
 - action: !type:InstantActionComponent
     icon:
       entity: GasPipeStraight
   assignments:
   - 0: 6
   name: steel floor
-- action: !type:InstantActionComponent
-    icon: /Textures/Tiles/plating.png
-    keywords: []
-    checkCanInteract: False
-    checkConsciousness: False
-    clientExclusive: True
-    autoPopulate: False
-    temporary: True
-    event: !type:StartPlacementActionEvent
-      placementOption: AlignTileAny
-      tileId: Plating
-  assignments:
-  - 0: 7
-  - 1: 8
-  - 2: 8
-  name: plating
-- action: !type:InstantActionComponent
-    icon: /Textures/Tiles/cropped_parallax.png
-    keywords: []
-    checkCanInteract: False
-    checkConsciousness: False
-    clientExclusive: True
-    autoPopulate: False
-    temporary: True
-    event: !type:StartPlacementActionEvent
-      placementOption: AlignTileAny
-      tileId: Space
-  assignments:
-  - 0: 8
-  name: space
 ...