]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
New sprites for Coal and Gold ore crabs, new Bananium ore crab and Bananium rock...
authorbrainfood1183 <113240905+brainfood1183@users.noreply.github.com>
Fri, 30 May 2025 01:16:20 +0000 (02:16 +0100)
committerGitHub <noreply@github.com>
Fri, 30 May 2025 01:16:20 +0000 (18:16 -0700)
* new sprites for coal and gold ore crabs, new bananioum ore crab and rock anomaly.

* add whitespace to end of line in ore.yml

* fix white space end of file.

* fix for linter fail.

17 files changed:
Resources/Prototypes/Entities/Effects/mobspawn.yml
Resources/Prototypes/Entities/Effects/wallspawn.yml
Resources/Prototypes/Entities/Markers/Spawners/Mobs/hostile.yml
Resources/Prototypes/Entities/Markers/Spawners/Random/anomaly.yml
Resources/Prototypes/Entities/Mobs/NPCs/elemental.yml
Resources/Prototypes/Entities/Objects/Materials/ore.yml
Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml
Resources/Prototypes/Entities/Structures/Walls/asteroid.yml
Resources/Prototypes/ore.yml
Resources/Textures/Effects/mobspawn.rsi/crab_bananium.png [new file with mode: 0644]
Resources/Textures/Effects/mobspawn.rsi/crab_coal.png
Resources/Textures/Effects/mobspawn.rsi/crab_gold.png
Resources/Textures/Effects/mobspawn.rsi/meta.json
Resources/Textures/Mobs/Elemental/orecrab.rsi/bananium_crab.png [new file with mode: 0644]
Resources/Textures/Mobs/Elemental/orecrab.rsi/coal_crab.png
Resources/Textures/Mobs/Elemental/orecrab.rsi/gold_crab.png
Resources/Textures/Mobs/Elemental/orecrab.rsi/meta.json

index a043fe97d6561c751ac00c6fc06c88d77ed092fc..a76f86af62e9b0a9cc72421cb8175c707174b86e 100644 (file)
   - type: SpawnOnDespawn
     prototype: MobUraniumCrab
 
+- type: entity
+  id: MobSpawnCrabBananium
+  parent: MobSpawnCrabQuartz
+  name: mobspawner bananiumcrab
+  categories: [ HideSpawnMenu, Spawner ]
+  components:
+  - type: Sprite
+    sprite: /Textures/Effects/mobspawn.rsi
+    state: crab_bananium
+  - type: SpawnOnDespawn
+    prototype: MobBananiumCrab
+
 - type: entity
   id: EffectAnomalyFloraBulb
   categories: [ HideSpawnMenu ]
index 155ef10bb5e501ea5312ca96401967fa6814f95e..231fbc1b09d27d57bfd5aba9384686002dc2de1f 100644 (file)
   - type: SpawnOnDespawn
     prototype: AsteroidRockUraniumCrab
 
+- type: entity
+  id: WallSpawnAsteroidBananium
+  parent: WallSpawnAsteroid
+  categories: [ HideSpawnMenu ]
+  components:
+  - type: SpawnOnDespawn
+    prototype: AsteroidRockBananium
+
+- type: entity
+  id: WallSpawnAsteroidBananiumCrab
+  parent: WallSpawnAsteroid
+  categories: [ HideSpawnMenu ]
+  components:
+  - type: SpawnOnDespawn
+    prototype: AsteroidRockBananiumCrab
+
 - type: entity
   id: WallSpawnAsteroidUranium
   parent: WallSpawnAsteroid
index 959d0449f002fc494431c00c0aaf17997d55d21f..2294efbebdf2719bb1fb5454a4bd394c2cd3d54d 100644 (file)
     - MobSpawnCrabIron
     - MobSpawnCrabQuartz
     - MobSpawnCrabSilver
+    - MobSpawnCrabCoal
+    - MobSpawnCrabGold
+    - MobSpawnCrabBananium
 
 - type: entity
   parent: MarkerBase
index e7471138a0d2879413bc3e51245f4eb4d0c886d9..dc43052736788d42fe21b901fd46741585c43a02 100644 (file)
@@ -46,6 +46,7 @@
     - AnomalyRockGold
     - AnomalyRockQuartz
     - AnomalyRockUranium
+    - AnomalyRockBananium
     chance: 1
     offset: 0.15
 
index 4b3b4dea6d786a4fac3de44cb5539536503e5832..7b435a2625d1840498f6a07b4a8f9639102eba3f 100644 (file)
     energy: 3
     color: "#06DF24"
 
+- type: entity
+  parent: MobOreCrab
+  id: MobBananiumCrab
+  description: An ore crab made from bananium.
+  suffix: Bananium
+  components:
+  - type: Sprite
+    state: bananium_crab
+  - type: FactionException
+  - type: NPCRetaliation
+    attackMemoryLength: 10
+  - type: NpcFactionMember
+    factions:
+      - SimpleNeutral
+  - type: Destructible
+    thresholds:
+    - trigger:
+        !type:DamageTrigger
+        damage: 30
+      behaviors:
+      - !type:PlaySoundBehavior
+        sound:
+          collection: GlassBreak
+      - !type:SpawnEntitiesBehavior
+        spawn:
+          BananiumOre1:
+            min: 1
+            max: 3
+      - !type:DoActsBehavior
+        acts: [ "Destruction" ]
+  - type: Slippery
+    slipData:
+      launchForwardsMultiplier: 2
+  - type: StepTrigger
+    intersectRatio: 0.2
+  - type: Fixtures
+    fixtures:
+      slips:
+        shape:
+          !type:PhysShapeCircle
+          radius: 0.35
+        hard: false
+        layer:
+          - SlipLayer
+      fix1:
+        shape:
+          !type:PhysShapeCircle
+          radius: 0.35
+        density: 20
+        mask:
+        - MobMask
+  - type: MeleeWeapon
+    damage:
+      types:
+        Blunt: 3
+
 - type: entity
   parent: MobOreCrab
   id: MobSilverCrab
index 9535eb3dbd37524d59dadd4bd709d3341d8acbeb..708d175a51e45a3376760a883fc7c80318219f6f 100644 (file)
   components:
   - type: Stack
     count: 1
+
index 09bf879ca85af7a523add68cd98c575fc4bf72a2..2b046b0182d66c1474d301c9d552d2f3638520d0 100644 (file)
       spawns:
       - MobSpawnCrabUranium
 
+- type: entity
+  id: AnomalyRockBananium
+  parent: AnomalyRockBase
+  suffix: Rock, Bananium
+  components:
+  - type: Sprite
+    color: "#ddde40"
+  - type: PointLight
+    radius: 2.0
+    energy: 7.5
+    color: "#ddde40"
+  - type: EntitySpawnAnomaly
+    entries:
+    - settings:
+        spawnOnPulse: true
+        minAmount: 8
+        maxAmount: 15
+        minRange: 4.5
+        maxRange: 7.5
+      spawns:
+      - WallSpawnAsteroid
+      - WallSpawnAsteroid
+      - WallSpawnAsteroidBananium
+      - WallSpawnAsteroidBananiumCrab
+    - settings:
+        spawnOnPulse: true
+        maxAmount: 3
+        minRange: 2.5
+        maxRange: 4.5
+      spawns:
+      - CrystalYellow
+    - settings:
+        spawnOnSuperCritical: true
+        minAmount: 30
+        maxAmount: 40
+        minRange: 5
+        maxRange: 15
+      spawns:
+      - CrystalYellow
+      - WallSpawnAsteroid
+      - WallSpawnAsteroid
+      - WallSpawnAsteroidBananiumCrab
+    - settings:
+        spawnOnSuperCritical: true
+        minAmount: 3
+        maxAmount: 6
+        maxRange: 5
+      spawns:
+      - MobSpawnCrabBananium
+
 - type: entity
   id: AnomalyRockQuartz
   parent: AnomalyRockBase
index ec9ae49ffc1925da76b6ccf93bea9311a071fe37..1b04ea885c5ea01093af8f664ff4bea931d6f685 100644 (file)
     - state: rock_bananium
       map: [ "enum.MiningScannerVisualLayers.Overlay" ]
 
+- type: entity
+  id: AsteroidRockBananiumCrab
+  parent: AsteroidRockBananium
+  suffix: Bananium Crab
+  components:
+  - type: OreVein
+    currentOre: OreBananiumCrab
+
 - type: entity
   id: AsteroidRockSalt
   parent: AsteroidRock
index a7f4ef11e5526a8dd06eaf6f87dfd2ca887a53a6..7a1a046aafcc3b47792356ca0bef2d4ee2aff963 100644 (file)
   id: OreGoldCrab
   oreEntity: MobSpawnCrabGold
 
+- type: ore
+  id: OreBananiumCrab
+  oreEntity: MobSpawnCrabBananium
+
 - type: ore
   id: OreUraniumCrab
   oreEntity: MobSpawnCrabUranium
     OreIronCrab: 5
     OreUraniumCrab: 2
     OreSilverCrab: 3
+    OreBananiumCrab: 1
+    OreCoalCrab: 5
+    OreGoldCrab: 2
diff --git a/Resources/Textures/Effects/mobspawn.rsi/crab_bananium.png b/Resources/Textures/Effects/mobspawn.rsi/crab_bananium.png
new file mode 100644 (file)
index 0000000..ea090bc
Binary files /dev/null and b/Resources/Textures/Effects/mobspawn.rsi/crab_bananium.png differ
index 660de649085590f23b622cd9a9f8dd093cc88ac6..20ad842fce789d7aa46ea29f791beaa48b218969 100644 (file)
Binary files a/Resources/Textures/Effects/mobspawn.rsi/crab_coal.png and b/Resources/Textures/Effects/mobspawn.rsi/crab_coal.png differ
index aeb8bd1aef3edf56b4b338dba831bbd87117aaea..77c5207cdd79103084856026eb9dbada1a315cc6 100644 (file)
Binary files a/Resources/Textures/Effects/mobspawn.rsi/crab_gold.png and b/Resources/Textures/Effects/mobspawn.rsi/crab_gold.png differ
index ca0d1fe0fc089196b3792afbdf103a19a30155c9..e1a30d2284119193f0b13e00db0e482904fbc144 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Made by brainfood1183 (github), Gold and Coal Crab pallet swapped by Firewars763 (github)",
+  "copyright": "Made by brainfood1183 (github)",
   "size": {
     "x": 32,
     "y": 32
                 ]
             ]
         },
+        {
+            "name": "crab_bananium",
+            "directions": 1,
+            "delays": [
+                [
+                    0.6,
+                    0.3,
+                    0.3,
+                    0.3,
+                    0.3,
+                    0.3
+                ]
+            ]
+        },
         {
             "name": "crab_iron",
             "directions": 1,
diff --git a/Resources/Textures/Mobs/Elemental/orecrab.rsi/bananium_crab.png b/Resources/Textures/Mobs/Elemental/orecrab.rsi/bananium_crab.png
new file mode 100644 (file)
index 0000000..0475151
Binary files /dev/null and b/Resources/Textures/Mobs/Elemental/orecrab.rsi/bananium_crab.png differ
index a1e877ee1ea0dae772823f05c506af06302532b9..db873180d39465d41fe369626000dfe740fdafc9 100644 (file)
Binary files a/Resources/Textures/Mobs/Elemental/orecrab.rsi/coal_crab.png and b/Resources/Textures/Mobs/Elemental/orecrab.rsi/coal_crab.png differ
index 420d96b6c55a33ee0ec6f37649b26354d064af71..8476dea12fa507dbd63cd817f000b0885ee9824a 100644 (file)
Binary files a/Resources/Textures/Mobs/Elemental/orecrab.rsi/gold_crab.png and b/Resources/Textures/Mobs/Elemental/orecrab.rsi/gold_crab.png differ
index c3a0bb3080d3b896176fc198c2cc2eefb02bf2f2..19e74082999b5a96cac810fdfb435ca137068680 100644 (file)
@@ -5,7 +5,7 @@
     "y": 32
   },
   "license": "CC-BY-SA-3.0",
-  "copyright": "Made by brainfood1183 (github), Gold and Coal Crab pallet swapped by Firewars763 (github),",
+  "copyright": "Made by brainfood1183 (github)",
   "states": [
     {
       "name": "iron_crab",
         "name": "gold_crab",
         "directions": 4
     },
+    {
+        "name": "bananium_crab",
+        "directions": 4
+    },
     {
       "name": "quartz_crab",
       "directions": 4