Skip to content

Commit

Permalink
TGS Test Merge (#7782)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm13-github committed Dec 11, 2024
2 parents 224b32b + 38a7484 commit c172987
Show file tree
Hide file tree
Showing 28 changed files with 102 additions and 66 deletions.
2 changes: 1 addition & 1 deletion code/__HELPERS/icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ world
A.overlays.Remove(src)

/mob/proc/flick_heal_overlay(time, color = "#00FF00") //used for warden and queen healing
var/image/I = image('icons/mob/mob.dmi', src, "heal_overlay")
var/image/I = image('icons/mob/do_afters.dmi', src, "heal_overlay")
switch(icon_size)
if(48)
I.pixel_x = 8
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/items/devices/portable_vendor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
name = "\improper Automated Storage Briefcase"
desc = "A suitcase-sized automated storage and retrieval system. Designed to efficiently store and selectively dispense small items."
icon = 'icons/obj/items/storage/briefcases.dmi'
item_icons = list(
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/equipment/briefcases_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/equipment/briefcases_righthand.dmi'
)
icon_state = "secure"
flags_atom = FPRINT|CONDUCT
force = 8
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/props/helmetgarb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@
name = "compass"
desc = "It always faces north. Are you sure it is not broken?"
icon = 'icons/obj/items/tools.dmi'
icon_state = "compass"
item_icons = list(
WEAR_AS_GARB = 'icons/mob/humans/onmob/clothing/helmet_garb/misc.dmi',
)
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,7 @@
w_class = SIZE_LARGE
storage_slots = 12
storage_flags = STORAGE_FLAGS_DEFAULT|STORAGE_USING_DRAWING_METHOD|STORAGE_ALLOW_QUICKDRAW
flags_atom = FPRINT // has gamemode skin
max_w_class = SIZE_SMALL
max_storage_space = 48
can_hold = list(
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/items/storage/briefcase.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
name = "briefcase"
desc = "It's made of AUTHENTIC faux-leather and has a price-tag still attached. Its owner must be a real professional."
icon = 'icons/obj/items/storage/briefcases.dmi'
item_icons = list(
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/equipment/briefcases_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/equipment/briefcases_righthand.dmi'
)
icon_state = "briefcase"
item_state = "briefcase"
flags_atom = FPRINT|CONDUCT|NO_GAMEMODE_SKIN
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/items/storage/secure.dm
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@
/obj/item/storage/secure/briefcase
name = "secure briefcase"
icon = 'icons/obj/items/storage/briefcases.dmi'
item_icons = list(
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/equipment/briefcases_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/equipment/briefcases_righthand.dmi'
)
icon_state = "secure"
item_state = "sec-case"
desc = "A large briefcase with a digital locking system."
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/storage/smartpack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
icon_state = "smartpack"
icon = 'icons/obj/items/clothing/backpack/smartpack.dmi'
item_icons = list(
WEAR_BACK = 'icons/mob/humans/onmob/clothing/back/backpacks_by_faction/UA.dmi'
WEAR_BACK = 'icons/mob/humans/onmob/clothing/back/smartpack.dmi'
)
flags_atom = FPRINT|NO_GAMEMODE_SKIN // same sprite for all gamemodes
max_storage_space = 14
Expand Down
5 changes: 5 additions & 0 deletions code/game/objects/items/tools/maintenance_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
name = "screwdriver"
desc = "You can be totally screwy with this."
icon = 'icons/obj/items/tools.dmi'
item_icons = list(
WEAR_FACE = 'icons/mob/humans/onmob/clothing/masks/objects.dmi',
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/equipment/tools_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/equipment/tools_righthand.dmi',
)
icon_state = "screwdriver"
pickup_sound = 'sound/handling/multitool_pickup.ogg'
drop_sound = 'sound/handling/screwdriver_drop.ogg'
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/items/weapons/swords_axes_etc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
name = "telescopic baton"
desc = "A compact yet rebalanced personal defense weapon. Can be concealed when folded. It will knock down humans when not on harm intent."
icon = 'icons/obj/items/weapons/melee/non_lethal.dmi'
item_icons = list(
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/weapons/melee/non_lethal_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/weapons/melee/non_lethal_righthand.dmi'
)
icon_state = "telebaton_0"
item_state = "telebaton_0"
flags_equip_slot = SLOT_WAIST
Expand Down
15 changes: 8 additions & 7 deletions code/modules/clothing/head/head.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
icon_state = "band2"
icon = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
item_icons = list(
WEAR_HEAD = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/hats_by_map/jungle.dmi'
)
flags_atom = null

Expand Down Expand Up @@ -123,7 +123,7 @@
icon_state = "berettan"
icon = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
item_icons = list(
WEAR_HEAD = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/hats_by_map/jungle.dmi'
)

/obj/item/clothing/head/beret/cm/tan/Initialize(mapload, ...)
Expand Down Expand Up @@ -152,6 +152,7 @@
/obj/item/clothing/head/beret/cm/squadberet
name = "USCM Squad Beret"
desc = "For those who want to show pride and have nothing to lose (in their head, at least)."
flags_atom = NO_GAMEMODE_SKIN

/obj/item/clothing/head/beret/cm/white/civilian
name = "White Beret"
Expand Down Expand Up @@ -209,7 +210,7 @@
icon = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
flags_obj = OBJ_NO_HELMET_BAND|OBJ_IS_HELMET_GARB
item_icons = list(
WEAR_HEAD = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi',
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/hats_by_map/jungle.dmi',
WEAR_AS_GARB = 'icons/mob/humans/onmob/clothing/helmet_garb/headbands.dmi',
)
item_state_slots = list(WEAR_AS_GARB = "headbandgreen")
Expand Down Expand Up @@ -284,7 +285,7 @@
icon = 'icons/obj/items/clothing/hats/headbands.dmi'
icon_state = null
item_icons = list(
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/hats_by_map/snow.dmi',
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/headbands.dmi',
WEAR_AS_GARB = 'icons/mob/humans/onmob/clothing/helmet_garb/headbands.dmi',
)
item_state_slots = null
Expand Down Expand Up @@ -393,7 +394,7 @@ GLOBAL_LIST_INIT(allowed_hat_items, list(
icon_state = "cap"
icon = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
item_icons = list(
WEAR_HEAD = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi',
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/hats_by_map/jungle.dmi',
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/items_by_map/jungle_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/items_by_map/jungle_righthand.dmi'
)
Expand Down Expand Up @@ -664,7 +665,7 @@ GLOBAL_LIST_INIT(allowed_hat_items, list(
icon_state = "coberet"
icon = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
item_icons = list(
WEAR_HEAD = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/hats_by_map/jungle.dmi'
)
black_market_value = 30

Expand Down Expand Up @@ -966,7 +967,7 @@ GLOBAL_LIST_INIT(allowed_hat_items, list(
icon = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi'
flags_inv_hide = HIDETOPHAIR
item_icons = list(
WEAR_HEAD = 'icons/obj/items/clothing/hats/hats_by_map/jungle.dmi',
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/hats_by_map/jungle.dmi',
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/items_by_map/jungle_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/items_by_map/jungle_righthand.dmi'
)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/clothing/suits/armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
. = ..()
select_gamemode_skin(/obj/item/clothing/suit/armor/vest/pilot)

/obj/item/clothing/suit/armor/vest/pilot/marine/select_gamemode_skin(expected_type, list/override_icon_state, list/override_protection)
/obj/item/clothing/suit/armor/vest/pilot/select_gamemode_skin(expected_type, list/override_icon_state, list/override_protection)
. = ..()
switch(SSmapping.configs[GROUND_MAP].camouflage_type)
if("jungle")
Expand Down
9 changes: 7 additions & 2 deletions code/modules/clothing/suits/labcoat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@
name = "snow suit"
desc = "A standard snow suit. It can protect the wearer from extreme cold."
icon = 'icons/obj/items/clothing/suits/coats_robes.dmi'
item_icons = list(
WEAR_JACKET = 'icons/mob/humans/onmob/clothing/suits/coats_robes.dmi',
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/clothing/suits_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/clothing/suits_righthand.dmi',
)
icon_state = "snowsuit"
flags_armor_protection = BODY_FLAG_CHEST|BODY_FLAG_GROIN|BODY_FLAG_ARMS
flags_cold_protection = BODY_FLAG_CHEST|BODY_FLAG_GROIN|BODY_FLAG_ARMS|BODY_FLAG_LEGS
Expand Down Expand Up @@ -299,7 +304,7 @@
/obj/item/device/walkman,
)
item_icons = list(
WEAR_BODY = 'icons/mob/humans/onmob/clothing/suits/suits_by_faction/UPP.dmi'
WEAR_JACKET = 'icons/mob/humans/onmob/clothing/suits/suits_by_faction/UPP.dmi'
)


Expand All @@ -309,7 +314,7 @@
icon_state = "snowsuit_liaison"
icon = 'icons/obj/items/clothing/suits/suits_by_faction/WY.dmi'
item_icons = list(
WEAR_BODY = 'icons/mob/humans/onmob/clothing/suits/suits_by_faction/WY.dmi'
WEAR_JACKET = 'icons/mob/humans/onmob/clothing/suits/suits_by_faction/WY.dmi'
)

/obj/item/clothing/suit/storage/snow_suit/liaison/modified
Expand Down
6 changes: 5 additions & 1 deletion code/modules/clothing/under/marine_uniform.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
siemens_coefficient = 0.9
///Makes it so that we can see the right name in the vendor.
var/specialty = "USCM"
var/snow_name = " snow uniform"
layer = UPPER_ITEM_LAYER
item_icons = list(
WEAR_BODY = 'icons/mob/humans/onmob/clothing/uniforms/uniforms_by_map/jungle.dmi',
Expand All @@ -34,7 +35,7 @@
if(!(flags_atom & NO_NAME_OVERRIDE))
name = "[specialty]"
if(SSmapping.configs[GROUND_MAP].environment_traits[MAP_COLD])
name += " snow uniform"
name += snow_name
else
name += " uniform"
if(!(flags_atom & NO_GAMEMODE_SKIN))
Expand Down Expand Up @@ -190,7 +191,10 @@
worn_state = "pilot_flightsuit"
flags_jumpsuit = UNIFORM_SLEEVE_ROLLABLE
flags_cold_protection = ICE_PLANET_MIN_COLD_PROT
specialty = "pilot officer"
snow_name = " snow bodysuit"
suit_restricted = list(/obj/item/clothing/suit/armor/vest/pilot, /obj/item/clothing/suit/storage/marine/light/vest/dcc, /obj/item/clothing/suit/storage/jacket/marine/pilot, /obj/item/clothing/suit/storage/marine/light/vest)
flags_atom = FPRINT

/obj/item/clothing/under/marine/officer/pilot/flight
name = "tactical pilot officer flightsuit"
Expand Down
5 changes: 5 additions & 0 deletions code/modules/clothing/under/ties.dm
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,11 @@
/obj/item/clothing/accessory/holobadge/cord
icon_state = "holobadge-cord"
flags_equip_slot = SLOT_FACE
accessory_icons = list(
WEAR_FACE = 'icons/mob/humans/onmob/clothing/accessory/misc.dmi',
WEAR_BODY = 'icons/mob/humans/onmob/clothing/accessory/misc.dmi',
WEAR_JACKET = 'icons/mob/humans/onmob/clothing/accessory/misc.dmi'
)

/obj/item/clothing/accessory/holobadge/attack_self(mob/user)
..()
Expand Down
2 changes: 1 addition & 1 deletion code/modules/cm_aliens/XenoStructures.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/obj/effect/alien/resin
name = "resin"
desc = "Looks like some kind of slimy growth."
icon_state = "Resin1"
icon_state = "weeds"
anchored = TRUE
health = 200
unacidable = TRUE
Expand Down
3 changes: 3 additions & 0 deletions code/modules/cm_marines/Donator_Items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
item_state = null
//DON'T GRAB STUFF BETWEEN THIS LINE
icon = 'icons/obj/items/clothing/hats/donator.dmi'
item_icons = list(
WEAR_HEAD = 'icons/mob/humans/onmob/clothing/head/donator.dmi'
)
flags_inventory = BLOCKSHARPOBJ
flags_inv_hide = HIDEEARS
flags_atom = FPRINT|CONDUCT|NO_NAME_OVERRIDE|NO_GAMEMODE_SKIN
Expand Down
5 changes: 5 additions & 0 deletions code/modules/cm_marines/m2c.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
w_class = SIZE_HUGE
flags_equip_slot = SLOT_BACK
icon = 'icons/obj/items/weapons/guns/guns_by_faction/USCM/machineguns.dmi'
item_icons = list(
WEAR_BACK = 'icons/mob/humans/onmob/clothing/back/guns_by_type/machineguns.dmi',
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/weapons/guns/machineguns_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/weapons/guns/machineguns_righthand.dmi'
)
icon_state = "M2C_gun_mount"
item_state = "M2C_gun_mount"
var/rounds = 0
Expand Down
5 changes: 5 additions & 0 deletions code/modules/cm_marines/smartgun_mount.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
w_class = SIZE_HUGE
flags_equip_slot = SLOT_BACK
icon = 'icons/obj/items/weapons/guns/guns_by_faction/USCM/machineguns.dmi'
item_icons = list(
WEAR_BACK = 'icons/mob/humans/onmob/clothing/back/guns_by_type/machineguns.dmi',
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/weapons/guns/machineguns_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/weapons/guns/machineguns_righthand.dmi'
)
icon_state = "M56D_gun_e"
///How many rounds are in the weapon. This is useful if we break down our guns.
var/rounds = 0
Expand Down
1 change: 1 addition & 0 deletions code/modules/projectiles/gun_attachables.dm
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ Defined in conflicts.dm of the #defines folder.
icon_state = "bayonet"
item_state = "combat_knife"
item_icons = list(
WEAR_FACE = 'icons/mob/humans/onmob/clothing/masks/objects.dmi',
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/weapons/melee/knives_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/weapons/melee/knives_righthand.dmi'
)
Expand Down
Binary file modified icons/mob/humans/onmob/clothing/back/guns_by_type/machineguns.dmi
Binary file not shown.
Binary file modified icons/mob/humans/onmob/clothing/masks/objects.dmi
Binary file not shown.
Binary file modified icons/mob/humans/onmob/inhands/equipment/briefcases_lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/humans/onmob/inhands/equipment/briefcases_righthand.dmi
Binary file not shown.
Binary file modified icons/mob/xenonids/Effects.dmi
Binary file not shown.
Binary file modified icons/mob/xenos/effects.dmi
Binary file not shown.
Loading

0 comments on commit c172987

Please sign in to comment.