diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Tools/screwdriver.yml b/Resources/Prototypes/_CP14/Entities/Objects/Tools/screwdriver.yml index f55fca4d36..4e2bc00db0 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/Tools/screwdriver.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/Tools/screwdriver.yml @@ -1,13 +1,35 @@ - type: entity - parent: Screwdriver - id: CP14Screwdriver categories: [ ForkFiltered ] + name: screwdriver + parent: BaseItem + id: CP14Screwdriver + description: Industrial grade torque in a small screwdriving package. components: - type: CP14LockEditer - type: UseDelay delay: 1.0 + - type: EmitSoundOnLand + sound: + path: /Audio/Items/screwdriver_drop.ogg + - type: Tag + tags: + - Screwdriver + - type: Sprite + sprite: _CP14/Objects/Tools/screwdriver.rsi + state: screwdriver + - type: Item + sprite: _CP14/Objects/Tools/screwdriver.rsi + storedRotation: -90 - type: MeleeWeapon + wideAnimationRotation: -90 attackRate: 1 damage: types: - Piercing: 4 \ No newline at end of file + Piercing: 4 + soundHit: + path: "/Audio/Weapons/bladeslice.ogg" + - type: Tool + qualities: + - Screwing + useSound: + collection: Screwdriver diff --git a/Resources/Prototypes/_CP14/Recipes/Workbench/Anvil/misc.yml b/Resources/Prototypes/_CP14/Recipes/Workbench/Anvil/misc.yml index e13188f5a7..b08cb0b022 100644 --- a/Resources/Prototypes/_CP14/Recipes/Workbench/Anvil/misc.yml +++ b/Resources/Prototypes/_CP14/Recipes/Workbench/Anvil/misc.yml @@ -23,17 +23,6 @@ count: 2 result: CP14BaseWrench -- type: CP14Recipe - id: CP14Screwdriver - tag: CP14RecipeAnvil - category: Tools - craftTime: 4 - requirements: - - !type:StackResource - stack: CP14IronBar - count: 1 - result: CP14Screwdriver - - type: CP14Recipe id: CP14PlatePie tag: CP14RecipeAnvil @@ -300,4 +289,4 @@ - !type:StackResource stack: CP14CopperBar count: 1 - result: CP14EnergyCrystalMediumEmpty \ No newline at end of file + result: CP14EnergyCrystalMediumEmpty diff --git a/Resources/Prototypes/_CP14/Recipes/Workbench/Workbench/misc.yml b/Resources/Prototypes/_CP14/Recipes/Workbench/Workbench/misc.yml index a7e42aa549..825032d44c 100644 --- a/Resources/Prototypes/_CP14/Recipes/Workbench/Workbench/misc.yml +++ b/Resources/Prototypes/_CP14/Recipes/Workbench/Workbench/misc.yml @@ -216,3 +216,15 @@ - !type:ProtoIdResource protoId: CP14DyePurple result: CP14CrayonPurple + +- type: CP14Recipe + id: CP14Screwdriver + tag: CP14RecipeWorkbench + category: Tools + craftTime: 1 + requirements: + - !type:ProtoIdResource + protoId: CP14ModularGripWooden + - !type:ProtoIdResource + protoId: CP14CrossboltIron + result: CP14Screwdriver diff --git a/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/inhand-left.png b/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/inhand-left.png new file mode 100644 index 0000000000..2db1f7572d Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/inhand-left.png differ diff --git a/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/inhand-right.png b/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/inhand-right.png new file mode 100644 index 0000000000..1091c04bfc Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/inhand-right.png differ diff --git a/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/meta.json b/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/meta.json new file mode 100644 index 0000000000..788dcdab99 --- /dev/null +++ b/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/meta.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "license": "CC-BY-SA-4.0", + "copyright": "Created by 4g10w", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "screwdriver" + }, + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + } + ] +} diff --git a/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/screwdriver.png b/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/screwdriver.png new file mode 100644 index 0000000000..da028faa84 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Tools/screwdriver.rsi/screwdriver.png differ