Skip to content

Commit

Permalink
Merge pull request #114 from Artemchik542/fix-remove-pin
Browse files Browse the repository at this point in the history
Оффы ТГ добавили Loadout меню, они смогли вернуть свое непотребсвто. Возвращаем как было!
  • Loading branch information
Huz2e authored Jun 23, 2024
2 parents e6c37aa + 1128216 commit 292da88
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 73 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/structures/mirror.dm
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/mirror/broken, 28)
race_flags = MIRROR_BADMIN

/obj/structure/mirror/magic/pride
name = "pride's mirror"
desc = "Pride cometh before the..."
name = "strange mirror" //MASSMETA EDIT - ORIGINAL - "pride's mirror"
desc = "You look a little different in this mirror" //MASSMETA EDIT - ORIGINAL - "Pride cometh before the..."
race_flags = MIRROR_PRIDE
mirror_options = PRIDE_MIRROR_OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion code/modules/clothing/shoes/sneakers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

/obj/item/clothing/shoes/sneakers/rainbow
name = "rainbow shoes"
desc = "Very gay shoes."
desc = "Very rainbow shoes." //MASSMETA EDIT - ORIGINAL - "Very gay shoes."
icon_state = "rain_bow"
inhand_icon_state = "rainbow_sneakers"

Expand Down
8 changes: 7 additions & 1 deletion code/modules/holiday/holidays.dm
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,13 @@
switch(pattern)
if(PATTERN_RANDOM)
return "#[random_short_color()]"
/* MASSMETA EDIT REMOVAL
//MASSMETA EDIT REMOVAL BEGIN - gay removal
/*
if(PATTERN_RAINBOW)
var/datum/holiday/pride_week/rainbow_datum = new()
return rainbow_datum.get_holiday_colors(thing_to_color, PATTERN_DEFAULT)
*/
//MASSMETA EDIT REMOVAL END
if(!length(GLOB.holidays))
return
for(var/holiday_key in GLOB.holidays)
Expand Down Expand Up @@ -382,6 +384,8 @@
begin_month = JUNE
holiday_hat = /obj/item/clothing/head/costume/garland

//MASSMETA EDIT REMOVAL BEGIN - gay removal
/*
/datum/holiday/pride_week
name = PRIDE_WEEK
begin_month = JUNE
Expand All @@ -396,6 +400,8 @@
COLOR_PRIDE_ORANGE,
COLOR_PRIDE_RED,
)
*/
//MASSMETA EDIT REMOVAL END

// JULY

Expand Down
2 changes: 1 addition & 1 deletion code/modules/loadout/categories/accessories.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@
additional_displayed_text = list("Contains pens")

/datum/loadout_item/accessory/pride
name = "Pride Pin"
name = "Patriotic Pin" //MASSMETA EDIT - ORIGINAL - "Pride Pin"
item_path = /obj/item/clothing/accessory/pride
can_be_reskinned = TRUE
19 changes: 0 additions & 19 deletions massmeta/code/datums/quirks/neutral_quirks/pride_pin.dm

This file was deleted.

16 changes: 0 additions & 16 deletions massmeta/code/modules/client/preferences/pride_pin.dm

This file was deleted.

12 changes: 0 additions & 12 deletions massmeta/code/modules/clothing/shoes/sneakers.dm

This file was deleted.

27 changes: 12 additions & 15 deletions massmeta/code/modules/clothing/under/accessories/badges.dm
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
/// Reskins for the patriotic flag accessory, mapped by display name to icon state
GLOBAL_LIST_INIT(patriotic_flag_reskins, list(
"Russian flag" = "flag_russ",
"Imperial flag" = "flag_imper",
"China flag" = "flag_china",
"German flag" = "flag_germ",
"Serbian flag" = "flag_serb",
"Kazakh flag" = "flag_kaz",
"Iranian flag" = "flag_iran",
"Cuban Pete" = "flag_cuba",
))

/obj/item/clothing/accessory/patriotic
/obj/item/clothing/accessory/pride // actually patriotic (override)
name = "patriotic pin"
desc = "A Nanotrasen holographic pin to show off your patriotic."
icon = 'massmeta/icons/obj/clothing/accessories.dmi'
worn_icon = 'massmeta/icons/mob/clothing/accessories.dmi'
icon_state = "flag_russ"
obj_flags = UNIQUE_RENAME | INFINITE_RESKIN
unique_reskin = list(
"Russian flag" = "flag_russ",
"Imperial flag" = "flag_imper",
"China flag" = "flag_china",
"German flag" = "flag_germ",
"Serbian flag" = "flag_serb",
"Kazakh flag" = "flag_kaz",
"Iranian flag" = "flag_iran",
"Cuban Pete" = "flag_cuba",
)

/obj/item/clothing/accessory/patriotic/setup_reskinning()
unique_reskin = GLOB.patriotic_flag_reskins
/obj/item/clothing/accessory/pride/setup_reskinning()
if(!check_setup_reskinning())
return

Expand Down
3 changes: 0 additions & 3 deletions massmeta/game/objects/structures/mirror.dm

This file was deleted.

3 changes: 0 additions & 3 deletions massmeta/modular_meta.dm
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@

//gay removal (6.21 КоАП РФ)
#include "code\modules\clothing\under\accessories\badges.dm"
#include "code\modules\clothing\shoes\sneakers.dm"
#include "code\modules\client\preferences\pride_pin.dm"
#include "code\datums\quirks\neutral_quirks\pride_pin.dm"

//oguzok in kitchen, huh?
#include "code\modules\clothing\under\undersuit.dm"
Expand Down

0 comments on commit 292da88

Please sign in to comment.