Pārlūkot izejas kodu

Updated Opushka (again) (#212)

* Update base_clothing.yml again

* Lowered base_item.yml to 100g

* updatea yay

* Update opushka.yml

* Added soviet and german gracewall to prevent spawncamping

* Update grace_wall.yml

* Update grace_wall.yml

* Update opushka.yml

* Update opushka.yml

* Update grace_wall.yml

---------

Co-authored-by: 123 <123>
Papiditel 6 mēneši atpakaļ
vecāks
revīzija
81080edefe

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 3 - 3
Resources/Maps/civ/tdm/opushka.yml


+ 66 - 0
Resources/Prototypes/Civ14/Entities/Markers/grace_wall.yml

@@ -27,3 +27,69 @@
             - LowImpassable
             - MidImpassable
             - HighImpassable
+
+- type: entity
+  name: grace wall germanyww2
+  id: MarkerGracewallGermanyWW2
+  parent: MarkerBase
+  components:
+    - type: Sprite
+      sprite: Civ14/Markers/areas.rsi
+      state: gracewall
+    - type: GracewallArea # Use the new component
+      gracewallActive: true
+      gracewallRadius: 1.5
+      blockingFactions: [Germany]
+    - type: GracewallRule
+      gracewallDuration: 1000
+    - type: Physics
+      bodyType: Static
+    - type: Fixtures
+      fixtures:
+        gracewall: # Define a fixture for the area
+          shape: !type:PhysShapeAabb
+            bounds: "-1.5, -1.5, 1.5, 1.5"
+          # Collision layer/mask will be managed by the GracewallRuleSystem
+          density: 100
+          hard: true
+          mask:
+            - LowImpassable
+            - MidImpassable
+            - HighImpassable
+          layer:
+            - LowImpassable
+            - MidImpassable
+            - HighImpassable
+
+- type: entity
+  name: grace wall sovietww2
+  id: MarkerGracewallSovietWW2
+  parent: MarkerBase
+  components:
+    - type: Sprite
+      sprite: Civ14/Markers/areas.rsi
+      state: gracewall
+    - type: GracewallArea # Use the new component
+      gracewallActive: true
+      gracewallRadius: 1.5
+      blockingFactions: [Soviet]
+    - type: GracewallRule
+      gracewallDuration: 1000
+    - type: Physics
+      bodyType: Static
+    - type: Fixtures
+      fixtures:
+        gracewall: # Define a fixture for the area
+          shape: !type:PhysShapeAabb
+            bounds: "-1.5, -1.5, 1.5, 1.5"
+          # Collision layer/mask will be managed by the GracewallRuleSystem
+          density: 100
+          hard: true
+          mask:
+            - LowImpassable
+            - MidImpassable
+            - HighImpassable
+          layer:
+            - LowImpassable
+            - MidImpassable
+            - HighImpassable            

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels