]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Kobold Monkeys (#22108)
authorUbaser <134914314+UbaserB@users.noreply.github.com>
Thu, 28 Dec 2023 05:32:55 +0000 (16:32 +1100)
committerGitHub <noreply@github.com>
Thu, 28 Dec 2023 05:32:55 +0000 (22:32 -0700)
* add

* fix maybe

* clean up yaml

* clean up more yaml maybe

* dash

* second dash

* aahhh handcuffss

* balancing(?)

* sprite and desc change

Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl
Resources/Locale/en-US/prototypes/catalog/fills/crates/livestock-crates.ftl
Resources/Prototypes/Catalog/Cargo/cargo_livestock.yml
Resources/Prototypes/Catalog/Fills/Crates/npc.yml
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Resources/Prototypes/Entities/Objects/Misc/monkeycube.yml
Resources/Prototypes/Entities/Objects/Specific/rehydrateable.yml
Resources/Textures/Mobs/Animals/kobold.rsi/kobold.png [new file with mode: 0644]
Resources/Textures/Mobs/Animals/kobold.rsi/meta.json [new file with mode: 0644]

index dae14a300d2a5cc32ceebdc883987416b4d0ed18..dbc2257b51cd0e614e34f54888238d5ecc973fa4 100644 (file)
@@ -44,6 +44,9 @@ ghost-role-information-kangaroo-description = You're a kangaroo! Do whatever kan
 ghost-role-information-monkey-name = Monkey
 ghost-role-information-monkey-description = Ook ook!
 
+ghost-role-information-kobold-name = Kobold
+ghost-role-information-kobold-description = Be the little gremlin you are, yell at people and beg for meat!
+
 ghost-role-information-rat-king-name = Rat King
 ghost-role-information-rat-king-description = You are the Rat King, scavenge food in order to produce rat minions to do your bidding.
 ghost-role-information-rat-king-rules = You are an antagonist, scavenge, attack, and grow your hoard!
index ab974cbc79d470ddac96f7faaeb2e160d6baeb95..f2ccc1c3acc4b9bc3626f48ed67719e63d24f611 100644 (file)
@@ -37,6 +37,9 @@ ent-CrateNPCGorilla = Gorilla crate
 ent-CrateNPCMonkeyCube = Monkey cube crate
     .desc = A crate containing three boxes of monkey cubes.
 
+ent-CrateNPCKoboldCube = Kobold cube crate
+    .desc = A crate containing three boxes of kobold cubes.
+
 ent-CrateNPCMouse = Mice crate
     .desc = A crate containing five mice.
 
index 3133c0206ecc09c0820ef0c3d48c779820fb8788..eb5d5cd76e37650dfa44c67b94297314dedc26cb 100644 (file)
   category: Livestock
   group: market
 
+- type: cargoProduct
+  id: LivestockKoboldCube
+  icon:
+    sprite: Mobs/Animals/kobold.rsi
+    state: kobold
+  product: CrateNPCKoboldCube
+  cost: 2000
+  category: Livestock
+  group: market
+
 - type: cargoProduct
   id: LivestockMouse
   icon:
index b88b82d7d4a6e48239fca8787be62280b29b6bbd..7960fe5598547bce5aaa6cae3bcbdde832338fe7 100644 (file)
     contents:
       - id: MonkeyCubeBox
 
+- type: entity
+  id: CrateNPCKoboldCube
+  parent: CrateGenericSteel
+  components:
+  - type: StorageFill
+    contents:
+      - id: KoboldCubeBox
+
 - type: entity
   id: CrateNPCMouse
   parent: CrateLivestock
index 092677d550f9d06d5806df1971876ec672a0237f..6ed65d685675f63fdfeb0d56076843b4d3c40089 100644 (file)
   - type: IdExaminable
   - type: AlwaysRevolutionaryConvertible
 
+- type: entity
+  name: kobold
+  id: MobKobold
+  parent: MobMonkey
+  description: Cousins to the sentient race of lizard people, kobolds blend in with industrial tiling and are as nasty as monkeys; ready to pull out your hair and stab you to death.
+  components:
+  - type: LizardAccent
+  - type: Speech # I don't know how to get it to work and i want someone to make them speak like a lizard with normal accents (or optionally another language altogether)
+    speechSounds: Lizard
+    speechVerb: Reptilian
+  - type: Vocal
+    sounds:
+      Male: UnisexReptilian
+      Female: UnisexReptilian
+      Unsexed: UnisexReptilian
+  - type: MobThresholds
+    thresholds:
+      0: Alive
+      40: Dead
+  - type: MovementSpeedModifier
+    baseWalkSpeed: 3.5
+    baseSprintSpeed: 5
+  - type: MeleeWeapon
+    soundHit:
+      path: /Audio/Weapons/pierce.ogg
+    angle: 30
+    animation: WeaponArcPunch
+    damage:
+      types:
+        Piercing: 9
+  - type: Temperature
+    heatDamageThreshold: 400
+    coldDamageThreshold: 285
+    currentTemperature: 310.15
+    specificHeat: 42
+    coldDamage:
+      types:
+        Cold : 0.1 #per second, scales with temperature & other constants
+    heatDamage:
+      types:
+        Heat : 0.1 #per second, scales with temperature & other constants
+  - type: Sprite
+    drawdepth: Mobs
+    layers:
+    - map: ["enum.DamageStateVisualLayers.Base"]
+      state: kobold
+      sprite: Mobs/Animals/kobold.rsi
+    - map: [ "enum.HumanoidVisualLayers.Handcuffs" ]
+      color: "#ffffff"
+      sprite: Objects/Misc/handcuffs.rsi
+      state: body-overlay-2
+      visible: false
+    - map: [ "ears" ]
+    - map: [ "id" ]
+    - map: [ "mask" ]
+    - map: [ "head" ]
+    - map: [ "clownedon" ]
+      sprite: "Effects/creampie.rsi"
+      state: "creampie_human"
+      visible: false
+  - type: Butcherable
+    butcheringType: Spike
+    spawned:
+    - id: FoodMeat
+      amount: 2
+  - type: GhostRole
+    prob: 0.1
+    makeSentient: true
+    name: ghost-role-information-kobold-name
+    description: ghost-role-information-kobold-description
+
 - type: entity
   name: guidebook monkey
   parent: MobMonkey
index 3814ec29236442391b01aef3809bd1961267c8aa..acb04c2234b7996c06feebda07fc9025c4893d62 100644 (file)
     tags:
     - MonkeyCube
 
+- type: entity
+  parent: BoxCardboard
+  name: kobold cube box
+  id: KoboldCubeBox
+  description: Condensed kobolds in a cube. Just add water!
+  components:
+  - type: StorageFill
+    contents:
+      - id: KoboldCubeWrapped
+        amount: 6
+  - type: Sprite
+    sprite: Objects/Misc/monkeycube.rsi
+    state: box
+
+- type: entity
+  parent: BaseItem
+  name: kobold cube
+  suffix: Wrapped
+  id: KoboldCubeWrapped
+  description: Unwrap this to get a kobold cube.
+  components:
+  - type: Item
+    size: Tiny
+  - type: SpawnItemsOnUse
+    items:
+      - id: KoboldCube
+    sound:
+      path: /Audio/Effects/unwrap.ogg
+  - type: Sprite
+    sprite: Objects/Misc/monkeycube.rsi
+    state: wrapper
+  - type: Tag
+    tags:
+    - MonkeyCube
+
 - type: entity
   parent: BoxCardboard
   name: monkey cube box
index 1888c4c4a968d5b9f49b6108bb235bdea707fbbe..c92fed2e00a8c55cf7bb11328d5ab8070c932423 100644 (file)
         layer:
         - LowImpassable
 
+- type: entity
+  parent: MonkeyCube
+  id: KoboldCube
+  name: kobold cube
+  description: Just add water!
+  components:
+  - type: Rehydratable
+    possibleSpawns:
+    - MobKobold
+
 - type: entity
   parent: PlushieCarp
   id: DehydratedSpaceCarp
diff --git a/Resources/Textures/Mobs/Animals/kobold.rsi/kobold.png b/Resources/Textures/Mobs/Animals/kobold.rsi/kobold.png
new file mode 100644 (file)
index 0000000..1abd0e2
Binary files /dev/null and b/Resources/Textures/Mobs/Animals/kobold.rsi/kobold.png differ
diff --git a/Resources/Textures/Mobs/Animals/kobold.rsi/meta.json b/Resources/Textures/Mobs/Animals/kobold.rsi/meta.json
new file mode 100644 (file)
index 0000000..33b5878
--- /dev/null
@@ -0,0 +1,15 @@
+{
+  "version": 1,
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Drawn by Ubaser",
+  "states": [
+    {
+      "name": "kobold",
+      "directions": 4
+    }
+  ]
+}