Skip to content

Commit

Permalink
adds weapon icons to the game
Browse files Browse the repository at this point in the history
  • Loading branch information
AMyriad committed May 2, 2024
1 parent 028d1ba commit 02a232b
Show file tree
Hide file tree
Showing 73 changed files with 94 additions and 95 deletions.
4 changes: 2 additions & 2 deletions code/datums/actions/mobs/ninja.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
name = "Create Throwing Stars (3E)"
desc = "Creates some throwing stars"
button_icon_state = "throwingstar"
button_icon = 'icons/obj/weapons/misc.dmi'
button_icon = 'icons/obj/weapons/thrown.dmi'

/datum/action/item_action/ninjanet
name = "Energy Net (25E)"
Expand All @@ -36,7 +36,7 @@
name = "Recall Energy Katana (Variable Cost)"
desc = "Teleports the Energy Katana linked to this suit to its wearer, cost based on distance."
button_icon_state = "energy_katana"
button_icon = 'icons/obj/weapons/swords.dmi'
button_icon = 'icons/obj/weapons/longsword.dmi'

/datum/action/item_action/ninja_stealth
name = "Toggle Stealth"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/martial/sleeping_carp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
throwforce = 20
throw_speed = 2
attack_verb = list("smashed", "slammed", "whacked", "thwacked")
icon = 'icons/obj/weapons/misc.dmi'
icon = 'icons/obj/weapons/staff.dmi'
icon_state = "bostaff0"
base_icon_state = "bostaff"
lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/busterarm/_buster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/obj/item/buster
item_flags = DROPDEL
w_class = 5
icon = 'icons/obj/wizard.dmi'
icon = 'icons/obj/weapons/hand.dmi'
icon_state = "disintegrate"
item_state = "disintegrate"
lefthand_file = 'icons/mob/inhands/misc/touchspell_lefthand.dmi'
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/busterarm/megabuster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
/obj/item/buster/megabuster
name = "supercharged fist"
desc = "The result of all the prosthetic's power building up. It's fading fast."
icon = 'icons/obj/wizard.dmi'
icon = 'icons/obj/weapons/hand.dmi'
icon_state = "fist"
item_state = "disintegrate"
lefthand_file = 'icons/mob/inhands/misc/touchspell_lefthand.dmi'
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/handcuffs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@
/obj/item/restraints/legcuffs/bola
name = "bola"
desc = "A restraining device designed to be thrown at the target. Upon connecting with said target, it will wrap around their legs, making it difficult for them to move quickly."
icon = 'icons/obj/weapons/thrown.dmi'
icon_state = "bola"
icon_state_preview = "bola_preview"
item_state = "bola"
Expand Down
42 changes: 21 additions & 21 deletions code/game/objects/items/holy_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/obj/item/nullrod
name = "null rod"
desc = "A rod of pure obsidian; its very presence disrupts and dampens the powers of Nar'sie and Ratvar's followers."
icon = 'icons/obj/weapons/staff.dmi'
icon_state = "nullrod"
item_state = "nullrod"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
Expand Down Expand Up @@ -131,7 +132,7 @@
----------------------------------------------------------------------------*/

/obj/item/nullrod/claymore
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "holyblade"
item_state = "holyblade"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand Down Expand Up @@ -201,7 +202,7 @@
/obj/item/nullrod/vibro
name = "high frequency blade"
desc = "Bad references are the DNA of the soul."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "vibroblade"//ignore that the sec vibro sword uses the high frequency sprite
item_state = "vibroblade"//and this this uses vibroblade sprites
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand All @@ -222,7 +223,6 @@
/obj/item/nullrod/vibro/spellblade
name = "dormant spellblade"
desc = "The blade grants the wielder nearly limitless power...if they can figure out how to turn it on, that is."
icon = 'icons/obj/weapons/swords.dmi'
icon_state = "spellblade"
item_state = "spellblade"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand Down Expand Up @@ -252,7 +252,7 @@
/obj/item/nullrod/corvo
name = "folding blade"
desc = "A relic of a fallen empire. Touch of the outsider not included."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/shortsword.dmi'
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
icon_state = "corvo_0"
Expand Down Expand Up @@ -320,7 +320,7 @@
/obj/item/nullrod/Hypertool
name = "hypertool"
desc = "A tool so powerful even you cannot perfectly use it."
icon = 'icons/obj/device.dmi'
icon = 'icons/obj/weapons/hammer.dmi'
icon_state = "hypertool"
item_state = "hypertool"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
Expand All @@ -336,7 +336,7 @@
/obj/item/nullrod/whip
name = "holy whip"
desc = "What a terrible night to be on Space Station 13."
icon = 'icons/obj/weapons/misc.dmi'
icon = 'icons/obj/weapons/whip.dmi'
icon_state = "chain"
item_state = "chain"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
Expand All @@ -356,7 +356,7 @@
/obj/item/nullrod/bostaff
name = "monk's staff"
desc = "A long, tall staff made of polished wood. Traditionally used in ancient old-Earth martial arts, it is now used to harass the clown."
icon = 'icons/obj/weapons/misc.dmi'
icon = 'icons/obj/weapons/staff.dmi'
icon_state = "bostaff0"
item_state = "bostaff0"
lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
Expand Down Expand Up @@ -384,7 +384,7 @@
/obj/item/nullrod/tribal_knife
name = "arrhythmic knife"
desc = "They say fear is the true mind killer, but stabbing them in the head works too. Honour compels you to not sheathe it once drawn."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/shortsword.dmi'
icon_state = "crysknife"
item_state = "crysknife"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand Down Expand Up @@ -413,10 +413,10 @@
/obj/item/nullrod/hammer
name = "relic war hammer"
desc = "This war hammer cost the chaplain forty thousand space dollars."
icon = 'icons/obj/weapons/misc.dmi'
icon_state = "hammer"
item_state = "hammer"
base_icon_state = "hammer"
icon = 'icons/obj/weapons/hammer.dmi'
icon_state = "relic_hammer"
item_state = "relic_hammer"
base_icon_state = "relic_hammer"
lefthand_file = 'icons/mob/inhands/weapons/hammers_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/hammers_righthand.dmi'
slot_flags = ITEM_SLOT_BACK
Expand Down Expand Up @@ -530,7 +530,7 @@
/obj/item/nullrod/handedsword
name = "Justice"
desc = "Ashes to ashes... Rust to rust..."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "dualright"
item_state = "dualright"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand All @@ -545,7 +545,7 @@
/obj/item/nullrod/handedsword/other
name = "Splendor"
desc = "\"I'm going to ultrakill you!\" -Righteous Judge"
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "dualleft"
item_state = "dualleft"

Expand Down Expand Up @@ -585,7 +585,7 @@
/obj/item/nullrod/godhand
name = "god hand"
desc = "This hand of yours glows with an awesome power!"
icon = 'icons/obj/wizard.dmi'
icon = 'icons/obj/weapons/hand.dmi'
icon_state = "disintegrate"
item_state = "disintegrate"
lefthand_file = 'icons/mob/inhands/misc/touchspell_lefthand.dmi'
Expand Down Expand Up @@ -819,13 +819,13 @@
|
----------------------------------------------------------------------------*/
/obj/item/nullrod/staff
icon = 'icons/obj/wizard.dmi'
name = "holy staff"
desc = "It has a mysterious, protective aura."
icon = 'icons/obj/weapons/staff.dmi'
icon_state = "staff-blue"
item_state = "godstaff-blue"
lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/staves_righthand.dmi'
desc = "It has a mysterious, protective aura."
w_class = WEIGHT_CLASS_HUGE
force = 5
slot_flags = ITEM_SLOT_BACK
Expand Down Expand Up @@ -978,7 +978,7 @@
/obj/item/nullrod/clown
name = "clown dagger"
desc = "Used for absolutely hilarious sacrifices."
icon = 'icons/obj/wizard.dmi'
icon = 'icons/obj/weapons/khopesh.dmi'
icon_state = "clownrender"
item_state = "render"
hitsound = 'sound/items/bikehorn.ogg'
Expand Down Expand Up @@ -1040,7 +1040,7 @@ it also swaps back if it gets thrown into the chaplain, but the chaplain catches
/obj/item/nullrod/talking
name = "possessed blade"
desc = "When the station falls into chaos, it's nice to have a friend by your side."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "talking_sword"
item_state = "talking_sword"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand Down Expand Up @@ -1351,7 +1351,7 @@ it also swaps back if it gets thrown into the chaplain, but the chaplain catches
/obj/item/nullrod/sord
name = "\improper UNREAL SORD"
desc = "This thing is so unspeakably HOLY you are having a hard time even holding it."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "sord"
item_state = "sord"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand All @@ -1372,7 +1372,7 @@ it also swaps back if it gets thrown into the chaplain, but the chaplain catches
/obj/item/nullrod/talking/chainsword
name = "possessed chainsaw sword"
desc = "Suffer not a heretic to live."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "chainswordon"
item_state = "chainswordon"
chaplain_spawnable = FALSE
Expand Down
12 changes: 5 additions & 7 deletions code/game/objects/items/kitchen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@

/obj/item/kitchen/knife
name = "kitchen knife"
desc = "A general purpose Chef's Knife made by SpaceCook Incorporated. Guaranteed to stay sharp for years to come."
icon = 'icons/obj/weapons/shortsword.dmi'
icon_state = "knife"
item_state = "knife"
desc = "A general purpose Chef's Knife made by SpaceCook Incorporated. Guaranteed to stay sharp for years to come."
flags_1 = CONDUCT_1
force = 10
w_class = WEIGHT_CLASS_SMALL
Expand Down Expand Up @@ -125,7 +126,7 @@
/obj/item/kitchen/knife/ritual
name = "ritual knife"
desc = "The unearthly energies that once powered this blade are now dormant."
icon = 'icons/obj/wizard.dmi'
icon = 'icons/obj/weapons/khopesh.dmi'
icon_state = "render"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
Expand Down Expand Up @@ -215,8 +216,7 @@

/obj/item/kitchen/knife/combat/cyborg
name = "cyborg knife"
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "knife"
icon_state = "cyborg_knife"
desc = "A cyborg-mounted plasteel knife. Extremely sharp and durable."

/obj/item/kitchen/knife/carrotshiv
Expand All @@ -243,7 +243,6 @@
/obj/item/kitchen/knife/shank
name = "shank"
desc = "A crude knife fashioned by securing a glass shard and a rod together with cables, and welding them together."
icon = 'icons/obj/weapons/swords.dmi'
icon_state = "shank"
item_state = "shank"
slot_flags = ITEM_SLOT_BELT | ITEM_SLOT_EARS
Expand Down Expand Up @@ -277,9 +276,8 @@

/obj/item/kitchen/knife/makeshift
name = "makeshift knife"
icon_state = "knife_makeshift"
icon = 'icons/obj/improvised.dmi'
desc = "A flimsy, poorly made replica of a classic cooking utensil."
icon_state = "knife_makeshift"
force = 8
throwforce = 8

Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/latexballoon.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/obj/item/latexballon
name = "latex glove"
desc = "Sterile and airtight."
icon = 'icons/obj/toy.dmi'
icon = 'icons/obj/weapons/hand.dmi'
icon_state = "latexballon"
item_state = "lgloves"
force = 0
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/melee/energy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
/obj/item/melee/transforming/energy/axe
name = "energy axe"
desc = "An energized battle axe."
icon = 'icons/obj/weapons/axe.dmi'
icon_state = "axe0"
lefthand_file = 'icons/mob/inhands/weapons/axes_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/axes_righthand.dmi'
Expand Down
14 changes: 7 additions & 7 deletions code/game/objects/items/melee/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/obj/item/melee/chainofcommand
name = "chain of command"
desc = "A tool used by great men to placate the frothing masses."
icon = 'icons/obj/weapons/misc.dmi'
icon = 'icons/obj/weapons/whip.dmi'
icon_state = "chain"
item_state = "chain"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
Expand Down Expand Up @@ -44,7 +44,7 @@
/obj/item/melee/sabre
name = "officer's sabre"
desc = "An elegant weapon, its monomolecular edge is capable of cutting through flesh and bone with ease."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "sabre"
item_state = "sabre"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand All @@ -65,7 +65,7 @@
/obj/item/melee/cutlass
name = "cutlass"
desc = "YAAAAAR! A fine weapon for a pirate, fit for slicing land-lubbers." //All pirate weapons must have pirate quips from now on it is non-negotiable
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "metalcutlass"
item_state = "metalcutlass"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand Down Expand Up @@ -150,7 +150,7 @@
/obj/item/melee/beesword
name = "The Stinger"
desc = "Taken from a giant bee and folded over one thousand times in pure honey. Can sting through anything."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "beesword"
item_state = "stinger"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
Expand Down Expand Up @@ -542,7 +542,7 @@
/obj/item/melee/supermatter_sword
name = "supermatter sword"
desc = "In a station full of bad ideas, this might just be the worst."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "supermatter_sword"
item_state = "supermatter_sword"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand Down Expand Up @@ -639,7 +639,7 @@
/obj/item/melee/singularity_sword
name = "singularity sword"
desc = "Spins so hard that it turns any struck foe into mincemeat instantaneously. Make sure not to stick around when you swing it at someone."
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longword.dmi'
icon_state = "singularity_sword"
item_state = "singularity_sword"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand Down Expand Up @@ -669,7 +669,7 @@
/obj/item/melee/curator_whip
name = "curator's whip"
desc = "Somewhat eccentric and outdated, it still stings like hell to be hit by."
icon = 'icons/obj/weapons/misc.dmi'
icon = 'icons/obj/weapons/whip.dmi'
icon_state = "whip"
item_state = "chain"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/melee/transforming.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
name = "vibration blade"
desc = "A blade with an edge that vibrates rapidly, enabling it to easily cut through armor and flesh alike."
hitsound = "swing_hit"
icon = 'icons/obj/weapons/swords.dmi'
icon = 'icons/obj/weapons/longsword.dmi'
icon_state = "hfrequency0"
icon_state_on = "hfrequency1"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/raised_hand.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/obj/item/raisedhands
name = "raised hands"
desc = "What are you, French?"
icon = 'icons/obj/toy.dmi'
icon = 'icons/obj/weapons/hand.dmi'
icon_state = "latexballon"
item_state = "nothing"
force = 0
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/shields.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/shield
name = "shield"
icon = 'icons/obj/shields.dmi'
icon = 'icons/obj/shield.dmi'
slowdown = 0.2
item_flags = SLOWS_WHILE_IN_HAND
block_chance = 50
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/singularityhammer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
desc = "The pinnacle of close combat technology, the hammer harnesses the power of a miniaturized singularity to deal crushing blows."
icon_state = "singhammer0"
base_icon_state = "singhammer"
icon = 'icons/obj/wizard.dmi'
icon = 'icons/obj/weapons/hammer.dmi'
lefthand_file = 'icons/mob/inhands/weapons/hammers_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/hammers_righthand.dmi'
flags_1 = CONDUCT_1
Expand Down Expand Up @@ -83,7 +83,7 @@
desc = "A weapon worthy of a god, able to strike with the force of a lightning bolt. It crackles with barely contained energy."
icon_state = "mjollnir0"
base_icon_state = "mjollnir"
icon = 'icons/obj/wizard.dmi'
icon = 'icons/obj/weapons/hammer.dmi'
lefthand_file = 'icons/mob/inhands/weapons/hammers_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/hammers_righthand.dmi'
flags_1 = CONDUCT_1
Expand Down
Loading

0 comments on commit 02a232b

Please sign in to comment.