Skip to content

Commit

Permalink
Replika Armor in Loadout (no defense stats) (#6139)
Browse files Browse the repository at this point in the history
## About The Pull Request

Adds replika armor to the loadout area as statless accessories.

## Why It's Good For The Game

They can be worn on their own in the suit slot, as an accessory to
undersuits OR normal suits (armor, voidsuits, ect) as well as carry
accessories themselves, when worn alone.
  • Loading branch information
MonaraMir authored Nov 13, 2023
1 parent 7a22dc7 commit 9db5601
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/clothing/suits/armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@
armor_type = /datum/armor/general/baroque_military
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL

// Replika armor
/* Replika armor
/obj/item/clothing/suit/armor/replika/klbr
name = "controller replikant armored chestplate"
desc = "A sloped titanium-composite chest plate fitted for use by 2nd generation biosynthetics. The right shoulder has been painted an imposing shade of red."
Expand Down Expand Up @@ -972,4 +972,4 @@
icon_state = "star"
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL
body_cover_flags = UPPER_TORSO
armor_type = /datum/armor/station/medium
armor_type = /datum/armor/station/medium */
34 changes: 34 additions & 0 deletions code/modules/clothing/under/accessories/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,40 @@
icon_state = "rough_torn_cloak_brown"
item_state = "rough_torn_cloak_brown"

/obj/item/clothing/accessory/replika
name = "generic"
desc = "generic"
icon = 'icons/obj/clothing/suits.dmi'
icon_state = "klbr"
icon_override = 'icons/mob/clothing/suits.dmi'
item_state_slots = list(SLOT_ID_RIGHT_HAND = "armor", SLOT_ID_LEFT_HAND = "armor")
allowed = list(/obj/item/gun/ballistic/sec/flash, /obj/item/gun/energy,/obj/item/reagent_containers/spray/pepper,/obj/item/gun/ballistic,/obj/item/ammo_magazine,/obj/item/ammo_casing,/obj/item/melee/baton,/obj/item/handcuffs,/obj/item/flashlight/maglight,/obj/item/clothing/head/helmet)
slot_flags = SLOT_OCLOTHING | SLOT_TIE
body_cover_flags = UPPER_TORSO|ARMS
siemens_coefficient = 0.9
w_class = ITEMSIZE_NORMAL
slot = ACCESSORY_SLOT_OVER

/obj/item/clothing/accessory/replika/klbr
name = "controller replikant chestplate"
desc = "A sloped titanium-composite chest plate fitted for use by 2nd generation biosynthetics. The right shoulder has been painted an imposing shade of red."
icon_state = "klbr"

/obj/item/clothing/accessory/replika/lstr
name = "combat-engineer replikant chestplate"
desc = "A sloped titanium-composite chest plate fitted for use by 2nd generation biosynthetics. This plain-white version is a staple of SbRD's combat-engineer replikants."
icon_state = "lstr"

/obj/item/clothing/accessory/replika/stcr
name = "security-controller replikant chestplate"
desc = "A sloped titanium-composite chest plate fitted for use by 2nd generation biosynthetics. This version sports multiple red adjustable straps and a lack of shoulder pads."
icon_state = "stcr"

/obj/item/clothing/accessory/replika/star
name = "security-technician replikant chestplate"
desc = "A sloped titanium-composite chest plate with a matte black finish, fitted for use by 2nd generation biosynthetics. Comes with red adjustable straps."
icon_state = "star"

//Just a little extra aesthetic for Goliath armor.
/obj/item/clothing/accessory/poncho/rough_cloak/ashlander
name = "goliath hide half cloak"
Expand Down
19 changes: 19 additions & 0 deletions code/modules/loadout/loadout_suit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,22 @@
name = "Rough Torn Half Cloak (Colorable)"
path = /obj/item/clothing/accessory/poncho/rough_cloak_torn

/datum/loadout_entry/suit/replika/klbr
name = "Replikant Controller chestplate"
path = /obj/item/clothing/accessory/replika/klbr

/datum/loadout_entry/suit/replika/lstr
name = "Replikant Combat-Engineer Chestplate"
path = /obj/item/clothing/accessory/replika/lstr

/datum/loadout_entry/suit/replika/stcr
name = "Replikant Security-Controller Chestplate"
path = /obj/item/clothing/accessory/replika/stcr

/datum/loadout_entry/suit/replika/star
name = "Replikant Security-Technician Chestplate"
path = /obj/item/clothing/accessory/replika/star

/datum/loadout_entry/suit/black_lawyer_jacket
name = "Suit Jacket - Black"
path = /obj/item/clothing/suit/storage/toggle/internalaffairs
Expand Down Expand Up @@ -652,3 +668,6 @@
var/obj/item/clothing/suit/storage/tajaran/jacket/tajara_jacket_type = tajara_jacket
tajara_jackets[initial(tajara_jacket_type.name)] = tajara_jacket_type
tweaks += new/datum/loadout_tweak/path(tim_sort(tajara_jackets, GLOBAL_PROC_REF(cmp_text_asc)))

//Signalis Armor Accessories (no armor stats)//

Binary file modified icons/mob/clothing/suits.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/suits.dmi
Binary file not shown.

0 comments on commit 9db5601

Please sign in to comment.