Skip to content

Commit

Permalink
Moves a few sprites out of items.dmi (ParadiseSS13#23301)
Browse files Browse the repository at this point in the history
* fuck you items.dmi

* banhammer
  • Loading branch information
Henri215 committed Nov 24, 2023
1 parent bc43bda commit 6a109ad
Show file tree
Hide file tree
Showing 30 changed files with 24 additions and 16 deletions.
1 change: 0 additions & 1 deletion code/game/gamemodes/cult/cult_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
/obj/item/restraints/legcuffs/bola/cult
name = "runed bola"
desc = "A strong bola, bound with dark magic. Throw it to trip and slow your victim. Will not hit fellow cultists."
icon = 'icons/obj/items.dmi'
icon_state = "bola_cult"
item_state = "bola_cult"
breakouttime = 45
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/computer/HolodeckControl.dm
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@
/obj/item/holo/esword
name = "holographic energy sword"
desc = "This looks like a real energy sword!"
icon = 'icons/obj/energy_melee.dmi'
lefthand_file = 'icons/mob/inhands/weapons_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons_righthand.dmi'
icon_state = "sword0"
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/toys.dm
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
/obj/item/toy/sword
name = "toy sword"
desc = "A cheap, plastic replica of an energy sword. Realistic sounds! Ages 8 and up."
icon = 'icons/obj/energy_melee.dmi'
lefthand_file = 'icons/mob/inhands/weapons_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons_righthand.dmi'
icon_state = "sword0"
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/weapons/batons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/obj/item/melee/classic_baton
name = "police baton"
desc = "A wooden truncheon for beating criminal scum."
icon = 'icons/obj/baton.dmi'
icon_state = "baton"
item_state = "classic_baton"
slot_flags = SLOT_FLAG_BELT
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/handcuffs.dm
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/obj/item/restraints
name = "bugged restraints" //This item existed before this pr, but had no name or such. Better warn people if it exists
desc = "Should not exist. Report me to a(n) coder/admin!"
icon = 'icons/obj/restraints.dmi'
var/cuffed_state = "handcuff"

/obj/item/restraints/handcuffs
name = "handcuffs"
desc = "Use this to keep prisoners in line."
gender = PLURAL
icon = 'icons/obj/items.dmi'
icon_state = "handcuff"
belt_icon = "handcuffs"
flags = CONDUCT
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/weapons/holy_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@
/obj/item/nullrod/claymore/saber
name = "light energy blade"
hitsound = 'sound/weapons/blade1.ogg'
icon = 'icons/obj/energy_melee.dmi'
icon_state = "swordblue"
item_state = "swordblue"
desc = "If you strike me down, I shall become more robust than you can possibly imagine."
Expand Down
3 changes: 1 addition & 2 deletions code/game/objects/items/weapons/legcuffs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name = "leg cuffs"
desc = "Use this to keep prisoners in line."
gender = PLURAL
icon = 'icons/obj/items.dmi'
icon_state = "handcuff"
cuffed_state = "legcuff"
flags = CONDUCT
Expand Down Expand Up @@ -154,7 +153,7 @@
/obj/item/restraints/legcuffs/beartrap/energy
name = "energy snare"
armed = TRUE
icon_state = "e_snare"
icon_state = "e_snare1"
trap_damage = 0
flags = DROPDEL
breakouttime = 6 SECONDS
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/lighters.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/obj/item/lighter
name = "cheap lighter"
desc = "A cheap-as-free lighter."
icon = 'icons/obj/items.dmi'
icon = 'icons/obj/lighter.dmi'
lefthand_file = 'icons/mob/inhands/lighter_lefthand.dmi'
righthand_file = 'icons/mob/inhands/lighter_righthand.dmi'
icon_state = "lighter-g"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/obj/item/melee/energy
icon = 'icons/obj/energy_melee.dmi'
var/active = FALSE
var/force_on = 30 //force when active
var/throwforce_on = 20
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/paint_bucket.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/obj/item/reagent_containers/glass/paint
desc = "It's a paint bucket."
name = "paint bucket"
icon = 'icons/obj/items.dmi'
icon = 'icons/obj/paint.dmi'
icon_state = "paint_neutral"
item_state = "paintcan"
materials = list(MAT_METAL = 400)
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/weapons/shields.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/obj/item/shield
name = "shield"
icon = 'icons/obj/shield.dmi'
lefthand_file = 'icons/mob/inhands/weapons_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons_righthand.dmi'
armor = list(MELEE = 50, BULLET = 50, LASER = 50, ENERGY = 0, BOMB = 30, RAD = 0, FIRE = 80, ACID = 70)
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/weapons/stunbaton.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/obj/item/melee/baton
name = "stunbaton"
desc = "A stun baton for incapacitating people with."
icon = 'icons/obj/baton.dmi'
icon_state = "stunbaton"
var/base_icon = "stunbaton"
item_state = null
Expand Down
10 changes: 6 additions & 4 deletions code/game/objects/items/weapons/twohanded.dm
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
/obj/item/dualsaber
name = "double-bladed energy sword"
desc = "Handle with care."
icon = 'icons/obj/energy_melee.dmi'
lefthand_file = 'icons/mob/inhands/weapons_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons_righthand.dmi'
icon_state = "dualsaber0"
Expand Down Expand Up @@ -229,9 +230,13 @@

//spears
/obj/item/spear
icon_state = "spearglass0"
name = "spear"
desc = "A haphazardly-constructed yet still deadly weapon of ancient design."
icon = 'icons/obj/spear.dmi'
base_icon_state = "spearglass"
icon_state = "spearglass0"
lefthand_file = 'icons/mob/inhands/weapons_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons_righthand.dmi'
force = 10
w_class = WEIGHT_CLASS_BULKY
slot_flags = SLOT_FLAG_BACK
Expand All @@ -249,9 +254,6 @@
max_integrity = 200
armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, RAD = 0, FIRE = 50, ACID = 30)
needs_permit = TRUE
lefthand_file = 'icons/mob/inhands/weapons_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons_righthand.dmi'
base_icon_state = "spearglass"

/obj/item/spear/Initialize(mapload)
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/weaponry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/obj/item/banhammer
desc = "A banhammer"
name = "banhammer"
icon = 'icons/obj/items.dmi'
icon = 'icons/obj/toy.dmi'
icon_state = "toyhammer"
slot_flags = SLOT_FLAG_BELT
throwforce = 0
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/structures/bedsheet_bin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LINEN BINS
/obj/item/bedsheet
name = "bedsheet"
desc = "A surprisingly soft linen bedsheet."
icon = 'icons/obj/items.dmi'
icon = 'icons/obj/bedsheet.dmi'
icon_state = "sheet"
item_state = "bedsheet"
lefthand_file = 'icons/mob/inhands/bedsheet_lefthand.dmi'
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mining/equipment/mining_tools.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************Pickaxes & Drills & Shovels****************/
/obj/item/pickaxe
name = "pickaxe"
icon = 'icons/obj/items.dmi'
icon = 'icons/obj/mining_tool.dmi'
icon_state = "pickaxe"
flags = CONDUCT
slot_flags = SLOT_FLAG_BELT
Expand Down Expand Up @@ -124,7 +124,7 @@
/obj/item/shovel
name = "shovel"
desc = "A large tool for digging and moving dirt."
icon = 'icons/obj/items.dmi'
icon = 'icons/obj/mining_tool.dmi'
icon_state = "shovel"
flags = CONDUCT
slot_flags = SLOT_FLAG_BELT
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mining/equipment/resonator.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**********************Resonator**********************/
/obj/item/resonator
name = "resonator"
icon = 'icons/obj/items.dmi'
icon = 'icons/obj/mining_tool.dmi'
icon_state = "resonator"
item_state = "resonator"
origin_tech = "magnets=3;engineering=3"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mining/machine_vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
/obj/item/mining_voucher
name = "mining voucher"
desc = "A token to redeem a piece of equipment. Use it on a mining equipment vendor."
icon = 'icons/obj/items.dmi'
icon = 'icons/obj/mining_tool.dmi'
icon_state = "mining_voucher"
w_class = WEIGHT_CLASS_TINY

Expand Down
1 change: 1 addition & 0 deletions code/modules/ninja/energy_katana.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/obj/item/katana/energy
name = "energy katana"
desc = "A katana infused with a strong energy"
icon = 'icons/obj/energy_melee.dmi'
icon_state = "energy_katana"
item_state = "energy_katana"
force = 40
Expand Down
Binary file added icons/obj/baton.dmi
Binary file not shown.
Binary file added icons/obj/bedsheet.dmi
Binary file not shown.
Binary file added icons/obj/energy_melee.dmi
Binary file not shown.
Binary file modified icons/obj/items.dmi
Binary file not shown.
Binary file added icons/obj/lighter.dmi
Binary file not shown.
Binary file added icons/obj/mining_tool.dmi
Binary file not shown.
Binary file added icons/obj/paint.dmi
Binary file not shown.
Binary file added icons/obj/restraints.dmi
Binary file not shown.
Binary file added icons/obj/shield.dmi
Binary file not shown.
Binary file added icons/obj/spear.dmi
Binary file not shown.
Binary file modified icons/obj/toy.dmi
Binary file not shown.

0 comments on commit 6a109ad

Please sign in to comment.