Skip to content

Commit

Permalink
Captain's sabre - Resprite and rebrand (#26592)
Browse files Browse the repository at this point in the history
* rapier-rebrand

* extdesc change

* indentation

* Update code/game/objects/items/weapons/melee/melee_misc.dm

Co-authored-by: Burzah <[email protected]>
Signed-off-by: Christasmurf <[email protected]>

---------

Signed-off-by: Christasmurf <[email protected]>
Co-authored-by: Burzah <[email protected]>
  • Loading branch information
Christasmurf and Burzah authored Sep 12, 2024
1 parent 809769b commit 1f9945e
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions code/game/gamemodes/steal_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
protected_jobs = list("Captain")
location_override = "the Captain's Office"

/datum/theft_objective/captains_rapier
name = "the captain's rapier"
typepath = /obj/item/melee/rapier
/datum/theft_objective/captains_sabre
name = "the captain's sabre"
typepath = /obj/item/melee/sabre
protected_jobs = list("Captain")
location_override = "the Captain's Office"

Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/cryopod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@
/obj/item/mod/control,
/obj/item/stamp,
/obj/item/melee/knuckleduster/nanotrasen,
/obj/item/melee/rapier,
/obj/item/storage/belt/sheath/rapier,
/obj/item/melee/sabre,
/obj/item/storage/belt/sheath/sabre,
/obj/item/nuke_core,
/obj/item/nuke_core_container,
/obj/item/documents,
Expand Down
18 changes: 9 additions & 9 deletions code/game/objects/items/weapons/melee/melee_misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
to_chat(viewers(user), "<span class='suicide'>[user] is strangling [user.p_themselves()] with [src]! It looks like [user.p_theyre()] trying to commit suicide!</span>")
return OXYLOSS

/obj/item/melee/rapier
name = "captain's rapier"
/obj/item/melee/sabre
name = "captain's sabre"
desc = "An elegant weapon, for a more civilized age."
icon_state = "rapier"
item_state = "rapier"
icon_state = "sabre"
item_state = "sabre"
flags = CONDUCT
force = 15
throwforce = 10
Expand All @@ -40,20 +40,20 @@
materials = list(MAT_METAL = 1000)
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF // Theft targets should be hard to destroy

/obj/item/melee/rapier/examine(mob/user)
/obj/item/melee/sabre/examine(mob/user)
. = ..()
. += "<span class='notice'>The blade looks very well-suited for piercing armour.</span>"

/obj/item/melee/rapier/examine_more(mob/user)
/obj/item/melee/sabre/examine_more(mob/user)
. = ..()
. += "Swords are a traditional ceremonial weapon carried by commanding officers of many armies and navies, even long after firearms and laserarms rendered them obsolete. \
Despite having no roots in such traditions, Nanotrasen participates in them, as these trappings of old tradition help to promote the air of authority the company wishes for its captains to possess."
. += ""
. += "Whilst not intended to actually be used in combat, these ceremonial rapiers are in-fact quite functional, \
. += "Whilst not intended to actually be used in combat, the ceremonial blades issued by Nanotrasen are in-fact quite functional, \
able to both inflict grievous wounds on aggressors that get too close, whilst also elegantly parrying their blows (assuming the wielder is skilled with the blade). \
The thin, sharp point is also quite effective at at defeating even modern body armour, which tends to be designed to deal with ballistic and laser weapons rather than swords..."
The sharp edge is adept at hacking unarmored targets, whilst the rigid tip is also quite effective at at defeating even modern body armor with thrusting attacks, as modern armor is generally designed to defeat ballistic and laser weapons rather than swords..."

/obj/item/melee/rapier/Initialize(mapload)
/obj/item/melee/sabre/Initialize(mapload)
. = ..()
AddComponent(/datum/component/parry, _stamina_constant = 2, _stamina_coefficient = 0.5, _parryable_attack_types = NON_PROJECTILE_ATTACKS)
RegisterSignal(src, COMSIG_PARENT_QDELETING, PROC_REF(alert_admins_on_destroy))
Expand Down
14 changes: 7 additions & 7 deletions code/game/objects/items/weapons/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@
storage_slots = 1
w_class = WEIGHT_CLASS_BULKY
max_w_class = WEIGHT_CLASS_BULKY
can_hold = list(/obj/item/melee/rapier)
can_hold = list(/obj/item/melee/sabre)
layer_over_suit = TRUE
large = TRUE

Expand Down Expand Up @@ -776,15 +776,15 @@
var/mob/living/L = loc
L.update_inv_belt()

/obj/item/storage/belt/sheath/rapier
name = "rapier sheath"
desc = "Can hold rapiers."
/obj/item/storage/belt/sheath/sabre
name = "sabre sheath"
desc = "Can hold sabres."
icon_state = "sheath"
item_state = "sheath"
can_hold = list(/obj/item/melee/rapier)
can_hold = list(/obj/item/melee/sabre)

/obj/item/storage/belt/sheath/rapier/populate_contents()
new /obj/item/melee/rapier(src)
/obj/item/storage/belt/sheath/sabre/populate_contents()
new /obj/item/melee/sabre(src)
update_appearance(UPDATE_ICON_STATE)

/obj/item/storage/belt/sheath/snakesfang
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
new /obj/item/storage/bag/garment/captain(src)
new /obj/item/cartridge/captain(src)
new /obj/item/radio/headset/heads/captain/alt(src)
new /obj/item/storage/belt/sheath/rapier(src)
new /obj/item/storage/belt/sheath/sabre(src)
new /obj/item/gun/energy/gun(src)
new /obj/item/flash(src)
new /obj/item/door_remote/captain(src)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
- /obj/item/judobelt
- /obj/item/storage/belt/chef
- /obj/item/storage/belt/mining/..
- /obj/item/storage/belt/rapier
- /obj/item/storage/belt/sabre
- /obj/item/defibrillator/compact/..
- /obj/item/nullrod/..
- /obj/item/claymore/..
Expand Down
Binary file modified icons/mob/clothing/belt.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/weapons_lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/weapons_righthand.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/belts.dmi
Binary file not shown.
Binary file modified icons/obj/weapons/melee.dmi
Binary file not shown.

0 comments on commit 1f9945e

Please sign in to comment.