Skip to content

Commit

Permalink
Sprite updates and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AmoryBlaine committed Sep 18, 2024
1 parent 0da52f3 commit 4b74392
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 28 deletions.
11 changes: 2 additions & 9 deletions code/modules/clothing/suits/marine_armor/ert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@
blood_overlay_type = "coat"
flags_armor_protection = BODY_FLAG_CHEST|BODY_FLAG_ARMS
min_cold_protection_temperature = ICE_PLANET_MIN_COLD_PROT
slowdown = SLOWDOWN_ARMOR_LIGHT
armor_melee = CLOTHING_ARMOR_VERYLOW
armor_bullet = CLOTHING_ARMOR_VERYLOW
armor_laser = CLOTHING_ARMOR_NONE
Expand All @@ -329,20 +330,12 @@
desc = "A UPP Military Police jacket featuring small dispersed para-aramid inserts providing the barest of defensive functionality, and a Personal Light Unit rig."
icon_state = "upp_coat_mp"

/obj/item/clothing/suit/storage/marine/faction/UPP/jacket/service
name = "\improper UL2 coldweather service jacket"
desc = "A standard issue coldweather UPP military service jacket featuring small dispersed para-aramid inserts providing the barest of defensive functionality, and a Personal Light Unit rig."
icon_state = "upp_coat_officer"

/obj/item/clothing/suit/storage/marine/faction/UPP/jacket/pap
name = "\improper PaP uniform jacket"
desc = "A People's Armed Police service jacket featuring small dispersed para-aramid inserts providing the barest of defensive functionality, and a Personal Light Unit rig."
icon_state = "upp_coat_pap"

/obj/item/clothing/suit/storage/marine/faction/UPP/jacket/mss
name = "\improper MSS uniform jacket"
desc = "A Ministry of Space Security service jacket featuring small dispersed para-aramid inserts providing the barest of defensive functionality, and a Personal Light Unit rig."
icon_state = "upp_coat_mss"

//===========================//FREELANCER\\================================\\
//=====================================================================\\
Expand Down
17 changes: 17 additions & 0 deletions code/modules/clothing/suits/marine_coat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,20 @@
icon_state = "jacket_grey"
item_state = "jacket_grey"
has_buttons = FALSE

//==================UPP==================\\
/obj/item/clothing/suit/storage/jacket/marine/upp
name = "\improper UPP service uniform jacket"
desc = "A UPP service uniform jacket featuring small dispersed para-aramid inserts providing the barest of defensive functionality."
icon_state = "upp_coat_service"

/obj/item/clothing/suit/storage/jacket/marine/upp/mss
name = "\improper MSS uniform jacket"
desc = "A Ministry of Space Security service jacket featuring small dispersed para-aramid inserts providing the barest of defensive functionality."
icon_state = "upp_coat_mss"

/obj/item/clothing/suit/storage/jacket/marine/upp/coldweather
name = "\improper UL2 coldweather service jacket"
desc = "A standard issue coldweather UPP military service jacket featuring small dispersed para-aramid inserts providing the barest of defensive functionality, and a Personal Light Unit rig."
icon_state = "upp_coat_officer"
10 changes: 5 additions & 5 deletions code/modules/clothing/under/marine_uniform.dm
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@
has_sensor = UNIFORM_HAS_SENSORS
sensor_faction = FACTION_UPP
armor_internaldamage = CLOTHING_ARMOR_MEDIUMLOW
flags_jumpsuit = UNIFORM_SLEEVE_ROLLABLE

/obj/item/clothing/under/marine/veteran/UPP/boiler
name = "\improper UPP operations boilersuit"
Expand All @@ -537,11 +536,12 @@
worn_state = "upp_uniform_pap"
flags_jumpsuit = UNIFORM_SLEEVE_ROLLABLE|UNIFORM_JACKET_REMOVABLE

/obj/item/clothing/under/marine/veteran/UPP/pap/mss
name = "\improper MSS service uniform"
/obj/item/clothing/under/marine/veteran/UPP/service
name = "\improper UPP service uniform"
desc = "A pair of brown-green slacks coupled with a green shirt, featuring venlar armor inserts at critical areas to protect from blades and low caliber ballistics."
icon_state = "upp_uniform_mss"
worn_state = "upp_uniform_mss"
icon_state = "upp_uniform_service"
worn_state = "upp_uniform_service"
flags_jumpsuit = UNIFORM_SLEEVE_ROLLABLE|UNIFORM_JACKET_REMOVABLE

/obj/item/clothing/under/marine/veteran/UPP/civi1
name = "\improper UPP Civilian-style Orange overalls"
Expand Down
37 changes: 23 additions & 14 deletions code/modules/gear_presets/upp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,23 @@

var/random_gear = rand(1,5)
switch(random_gear)
if(1 to 4)
if(1 to 2)
new_human.equip_to_slot_or_del(new /obj/item/weapon/gun/rifle/type71/carbine, WEAR_J_STORE)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/type71, WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/type71, WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/type71, WEAR_IN_ACCESSORY)
if(5)
if(3 to 4)
new_human.equip_to_slot_or_del(new /obj/item/weapon/gun/rifle/type71, WEAR_J_STORE)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/type71, WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/type71, WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/type71, WEAR_IN_ACCESSORY)
if(5)
new_human.equip_to_slot_or_del(new /obj/item/weapon/gun/shotgun/pump/type23, WEAR_J_STORE)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/handful/shotgun/heavy/buckshot, WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/handful/shotgun/heavy/buckshot, WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/handful/shotgun/heavy/buckshot, WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/handful/shotgun/heavy/buckshot, WEAR_IN_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/handful/shotgun/heavy/buckshot, WEAR_IN_JACKET)

//*****************************************************************************************************/

Expand Down Expand Up @@ -409,26 +416,28 @@
rank = JOB_UPP_LT_OFFICER
paygrades = list(PAY_SHORT_UO1 = JOB_PLAYTIME_TIER_0)
access = list(ACCESS_UPP_GENERAL, ACCESS_UPP_SECURITY, ACCESS_UPP_ARMORY, ACCESS_UPP_FLIGHT, ACCESS_UPP_SQUAD_ONE, ACCESS_UPP_SQUAD_TWO, ACCESS_UPP_LEADERSHIP, ACCESS_UPP_SENIOR_LEAD, ACCESS_UPP_MEDPREP, ACCESS_UPP_TLPREP)
idtype = /obj/item/card/id/silver

/datum/equipment_preset/upp/officer/load_gear(mob/living/carbon/human/new_human)
new_human.undershirt = "undershirt"
//back
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel, WEAR_BACK)
new_human.equip_to_slot_or_del(new /obj/item/device/megaphone, WEAR_IN_BACK)
//face
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress/UPP/command, WEAR_L_EAR)
//head
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/uppcap/beret, WEAR_HEAD)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/uppcap/peaked, WEAR_HEAD)
//uniform
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP, WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP/service, WEAR_BODY)
//jacket
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/marine/faction/UPP/jacket/service, WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/stack/medical/bruise_pack, WEAR_IN_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/jacket/marine/upp, WEAR_JACKET)
//waist
new_human.equip_to_slot_or_del(new /obj/item/storage/belt/gun/type47/t73, WEAR_WAIST)
//limbs
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/marine/upp, WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/laceup, WEAR_FEET)
//pockets
new_human.equip_to_slot_or_del(new /obj/item/storage/pouch/general/large, WEAR_L_STORE)
new_human.equip_to_slot_or_del(new /obj/item/storage/pouch/general/medium, WEAR_L_STORE)
new_human.equip_to_slot_or_del(new /obj/item/notepad, WEAR_IN_L_STORE)
new_human.equip_to_slot_or_del(new /obj/item/tool/pen/clicky, WEAR_IN_L_STORE)
new_human.equip_to_slot_or_del(new /obj/item/storage/pouch/firstaid/full/alternate, WEAR_R_STORE)

/datum/equipment_preset/upp/officer/senior
Expand Down Expand Up @@ -1081,11 +1090,11 @@

/datum/equipment_preset/upp/police/mss
name = "UPP MSS Agent"
assignment = "Ministry of Space Security Agent"
role_comm_title = "MSS-AGNT"
assignment = "Ministry of Space Security Operative"
role_comm_title = "MSS-OP"
paygrades = list(PAY_SHORT_UO2 = JOB_PLAYTIME_TIER_0)
skills = /datum/skills/cmb
access = list(ACCESS_LIST_COLONIAL_ALL, ACCESS_LIST_UPP_ALL, ACCESS_LIST_UPP_PLATOON)
access = list(ACCESS_UPP_GENERAL, ACCESS_UPP_SECURITY, ACCESS_UPP_ARMORY, ACCESS_UPP_FLIGHT, ACCESS_UPP_SQUAD_ONE, ACCESS_UPP_SQUAD_TWO, ACCESS_UPP_LEADERSHIP, ACCESS_UPP_SENIOR_LEAD, ACCESS_UPP_MEDPREP, ACCESS_UPP_TLPREP, ACCESS_CIVILIAN_PUBLIC, ACCESS_CIVILIAN_BRIG, ACCESS_CIVILIAN_COMMAND)
idtype = /obj/item/card/id/silver

/datum/equipment_preset/upp/police/mss/load_gear(mob/living/carbon/human/new_human)
Expand All @@ -1096,13 +1105,13 @@
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel/black, WEAR_BACK)
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress/UPP, WEAR_L_EAR)
//uniform
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP/pap/mss, WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP/service, WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/accessory/storage/holster(new_human), WEAR_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/weapon/gun/pistol/np92(new_human), WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/pistol/np92(new_human), WEAR_IN_ACCESSORY)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/pistol/np92(new_human), WEAR_IN_ACCESSORY)
//jacket
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/marine/faction/UPP/jacket/mss, WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/jacket/marine/upp/mss, WEAR_JACKET)
//limbs
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/laceup, WEAR_FEET)
//pockets
Expand Down
Binary file modified icons/mob/humans/onmob/head_1.dmi
Binary file not shown.
Binary file modified icons/mob/humans/onmob/suit_1.dmi
Binary file not shown.
Binary file modified icons/mob/humans/onmob/uniform_0.dmi
Binary file not shown.
Binary file modified icons/obj/items/clothing/cm_hats.dmi
Binary file not shown.
Binary file modified icons/obj/items/clothing/cm_suits.dmi
Binary file not shown.
Binary file modified icons/obj/items/clothing/uniforms.dmi
Binary file not shown.

0 comments on commit 4b74392

Please sign in to comment.