Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Fluffy-Frontier/FluffySTG
Browse files Browse the repository at this point in the history
…into upstream-mirror-25467
  • Loading branch information
Iajret committed Dec 7, 2023
2 parents a5aa198 + 00a9fbf commit 605b379
Show file tree
Hide file tree
Showing 18 changed files with 116 additions and 36 deletions.
2 changes: 1 addition & 1 deletion _maps/map_files/NSVBlueshift/Blueshift.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -79265,7 +79265,7 @@
/area/station/maintenance/department/crew_quarters/dorms)
"pfO" = (
/obj/structure/rack,
/obj/item/vending_refill/security_peacekeeper,
/obj/item/vending_refill/security,
/obj/item/storage/box/handcuffs,
/obj/item/storage/box/flashbangs{
pixel_x = -2;
Expand Down
2 changes: 1 addition & 1 deletion code/datums/brain_damage/imaginary_friend.dm
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,13 @@
add_image_to_clients(active_typing_indicator, group_clients())

/mob/camera/imaginary_friend/remove_typing_indicator()
REMOVE_TRAIT(src, TRAIT_THINKING_IN_CHARACTER, CURRENTLY_TYPING_TRAIT)
if(!active_typing_indicator)
return FALSE
remove_image_from_clients(active_typing_indicator, group_clients())
active_typing_indicator = null

/mob/camera/imaginary_friend/remove_all_indicators()
REMOVE_TRAIT(src, TRAIT_THINKING_IN_CHARACTER, CURRENTLY_TYPING_TRAIT)
remove_thinking_indicator()
remove_typing_indicator()

Expand Down
13 changes: 13 additions & 0 deletions code/modules/mining/lavaland/ash_flora.dm
Original file line number Diff line number Diff line change
Expand Up @@ -405,3 +405,16 @@
if(!reagents.total_volume)
icon_state = "mushroom_bowl"
return ..()

/obj/item/reagent_containers/cup/bowl/wood_bowl
name = "wooden bowl"
desc = "A bowl made out of wood. Primitive, but effective."
icon = 'icons/obj/mining_zones/ash_flora.dmi'
icon_state = "wood_bowl"
fill_icon_state = "fullbowl"
fill_icon = 'icons/obj/mining_zones/ash_flora.dmi'

/obj/item/reagent_containers/cup/bowl/mushroom_bowl/update_icon_state()
if(!reagents.total_volume)
icon_state = "wood_bowl"
return ..()
2 changes: 1 addition & 1 deletion code/modules/tgui_input/say_modal/typing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
play_fov_effect(src, 6, "talk", ignore_self = TRUE)

/mob/living/remove_thinking_indicator()
REMOVE_TRAIT(src, TRAIT_THINKING_IN_CHARACTER, CURRENTLY_TYPING_TRAIT)
if(!active_thinking_indicator)
return FALSE
cut_overlay(active_thinking_indicator)
Expand All @@ -104,6 +103,7 @@
active_typing_indicator = null

/mob/living/remove_all_indicators()
REMOVE_TRAIT(src, TRAIT_THINKING_IN_CHARACTER, CURRENTLY_TYPING_TRAIT)
remove_thinking_indicator()
remove_typing_indicator()

4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-1011.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "GoldenAlpharex"
delete-after: True
changes:
- bugfix: "The typing indicator has overcome its shyness and is now back to its usual form."
5 changes: 5 additions & 0 deletions html/changelogs/AutoChangeLog-pr-995.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
author: "Hatterhat"
delete-after: True
changes:
- bugfix: "The Peacekeeper Equipment Vendor has been restored to upstream standard contents with adjustments where needed, meaning that energy holsters are available as a premium option."
- bugfix: "Code-side thing: the reskinned SecTech and reskinned SecDrobe are just renamed, now, and not using entirely redundant resupply packages."
5 changes: 5 additions & 0 deletions html/changelogs/AutoChangeLog-pr-997.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
author: "xXPawnStarrXx"
delete-after: True
changes:
- rscadd: "Added new storages for tribals/greytiders."
- rscadd: "Added wooden bowls."
5 changes: 0 additions & 5 deletions html/changelogs/AutoChangeLog-pr-998.yml

This file was deleted.

4 changes: 4 additions & 0 deletions html/changelogs/archive/2023-12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,7 @@
- code_imp: power_cord.dm, whooping 4 lines of code.
xXPawnStarrXx:
- qol: made soups clean, for chefs.
2023-12-07:
rarytech:
- rscadd: Added digi variations for tactical Hawaiian outfits
- bugfix: fixed digi blood-red pajamas
Binary file modified icons/obj/mining_zones/ash_flora.dmi
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,16 @@ GLOBAL_LIST_INIT(skyrat_wood_recipes, list(
new/datum/stack_recipe("wooden shelf", /obj/structure/rack/wooden, 2, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = FALSE, category = CAT_STRUCTURE),
new/datum/stack_recipe("seed shelf", /obj/machinery/smartfridge/seedshelf, 10, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_STRUCTURE),
new/datum/stack_recipe("produce bin", /obj/machinery/smartfridge/producebin, 10, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_STRUCTURE),
new/datum/stack_recipe("produce display", /obj/machinery/smartfridge/producedisplay, 10, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_STRUCTURE),
new/datum/stack_recipe("ration shelf", /obj/machinery/smartfridge/rationshelf, 10, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_STRUCTURE),
new/datum/stack_recipe("storage barrel", /obj/structure/closet/crate/wooden/storage_barrel, 4, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = FALSE, category = CAT_STRUCTURE),
new/datum/stack_recipe("worm barrel", /obj/structure/wormfarm, 5, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_TOOLS),
new/datum/stack_recipe("gutlunch trough", /obj/structure/ore_container/gutlunch_trough, 5, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_STRUCTURE),
new/datum/stack_recipe("sturdy wooden fence", /obj/structure/railing/wooden_fencing, 5, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_TOOLS),
new/datum/stack_recipe("sturdy wooden fence gate", /obj/structure/railing/wooden_fencing/gate, 5, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_TOOLS),
new/datum/stack_recipe("wooden bowl", /obj/item/reagent_containers/cup/bowl/wood_bowl, 3, time = 2 SECONDS, check_density = FALSE, category = CAT_TOOLS),
))


/obj/item/stack/sheet/mineral/wood/get_main_recipes()
. = ..()
. += GLOB.skyrat_wood_recipes
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,63 @@
new /obj/item/stack/sheet/mineral/wood(drop_location(), 10)
deconstruct(TRUE)
return TOOL_ACT_TOOLTYPE_SUCCESS

/obj/machinery/smartfridge/rationshelf
name = "Ration shelf"
desc = "A wooden shelf, used to store food... preferably preserved."
icon_state = "rationshelf"
icon = 'modular_skyrat/modules/primitive_structures/icons/storage.dmi'
resistance_flags = FLAMMABLE
base_build_path = /obj/machinery/smartfridge/rationshelf
contents_icon_state = "ration"
use_power = NO_POWER_USE
light_power = 0
idle_power_usage = 0
circuit = null
has_emissive = FALSE
can_atmos_pass = ATMOS_PASS_YES
visible_contents = TRUE

/obj/machinery/smartfridge/rationshelf/accept_check(obj/item/weapon)
return (IS_EDIBLE(weapon) || (istype(weapon,/obj/item/reagent_containers/cup/bowl) && length(weapon.reagents?.reagent_list)))

/obj/machinery/smartfridge/rationshelf/structure_examine()
. = span_info("The whole rack can be [EXAMINE_HINT("pried")] apart.")

/obj/machinery/smartfridge/rationshelf/crowbar_act(mob/living/user, obj/item/tool)
user.balloon_alert_to_viewers("disassembling...")
if(!tool.use_tool(src, user, 2 SECONDS, volume = 100))
return
new /obj/item/stack/sheet/mineral/wood(drop_location(), 10)
deconstruct(TRUE)
return TOOL_ACT_TOOLTYPE_SUCCESS

/obj/machinery/smartfridge/producedisplay
name = "Produce display"
desc = "A wooden table with awning, used to display produce items."
icon_state = "producedisplay"
icon = 'modular_skyrat/modules/primitive_structures/icons/storage.dmi'
resistance_flags = FLAMMABLE
base_build_path = /obj/machinery/smartfridge/producedisplay
contents_icon_state = "nonfood"
use_power = NO_POWER_USE
light_power = 0
idle_power_usage = 0
circuit = null
has_emissive = FALSE
can_atmos_pass = ATMOS_PASS_YES
visible_contents = TRUE

/obj/machinery/smartfridge/producedisplay/accept_check(obj/item/weapon)
return (istype(weapon, /obj/item/grown) || istype(weapon, /obj/item/bouquet) || istype(weapon, /obj/item/clothing/head/costume/garland))

/obj/machinery/smartfridge/producedisplay/structure_examine()
. = span_info("The whole rack can be [EXAMINE_HINT("pried")] apart.")

/obj/machinery/smartfridge/producedisplay/crowbar_act(mob/living/user, obj/item/tool)
user.balloon_alert_to_viewers("disassembling...")
if(!tool.use_tool(src, user, 2 SECONDS, volume = 100))
return
new /obj/item/stack/sheet/mineral/wood(drop_location(), 10)
deconstruct(TRUE)
return TOOL_ACT_TOOLTYPE_SUCCESS
Binary file modified modular_skyrat/modules/primitive_structures/icons/storage.dmi
Binary file not shown.
14 changes: 3 additions & 11 deletions modular_skyrat/modules/sec_haul/code/misc/packs.dm
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
/datum/supply_pack/vending/sectech_skyrat
/datum/supply_pack/vending/sectech
name = "Peacekeeper Equipment Supply Crate"
desc = "Armadyne branded Peacekeeper supply crate, filled with things you need to restock the equipment vendor."
cost = CARGO_CRATE_VALUE * 3
access = ACCESS_SECURITY
contains = list(/obj/item/vending_refill/security_peacekeeper)
crate_name = "Peacekeeper equipment supply crate"
crate_type = /obj/structure/closet/crate/secure/gear

/datum/supply_pack/vending/wardrobes/security_skyrat
/datum/supply_pack/vending/wardrobes/security
name = "Peacekeeper Wardrobe Supply Crate"
desc = "This crate contains refills for the Peacekeeper Outfitting Station and LawDrobe."
cost = CARGO_CRATE_VALUE * 3
contains = list(/obj/item/vending_refill/wardrobe/peacekeeper_wardrobe,
/obj/item/vending_refill/wardrobe/law_wardrobe)
crate_name = "security department supply crate"
desc = "This crate contains refills for the Peacekeeper Outfitting Station, DetDrobe, and LawDrobe."

/datum/supply_pack/vending/wardrobes/command
name = "Command Wardrobe Supply Crate"
Expand Down
23 changes: 13 additions & 10 deletions modular_skyrat/modules/sec_haul/code/misc/vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,25 @@
/obj/item/storage/box/evidence = 6,
/obj/item/flashlight/seclite = 6,
/obj/item/restraints/legcuffs/bola/energy = 10,
/obj/item/clothing/gloves/tackler/security = 5,
)
contraband = list(
/obj/item/clothing/glasses/sunglasses = 2,
/obj/item/storage/fancy/donut_box = 2,
)
premium = list(
/obj/item/storage/belt/security/webbing = 4,
/obj/item/storage/belt/security/webbing/peacekeeper = 4,
/obj/item/storage/belt/security/webbing = 5,
/obj/item/storage/belt/security/webbing/peacekeeper = 5,
/obj/item/coin/antagtoken = 1,
/obj/item/clothing/head/helmet/blueshirt = 3,
/obj/item/clothing/suit/armor/vest/blueshirt = 3,
/obj/item/clothing/gloves/tackler/security = 5,
/obj/item/grenade/stingbang = 5,
/obj/item/watertank/pepperspray = 2
/obj/item/watertank/pepperspray = 2,
/obj/item/storage/belt/holster/energy = 4,
)
refill_canister = /obj/item/vending_refill/security_peacekeeper

/obj/item/vending_refill/security_peacekeeper
icon_state = "refill_sec"
/obj/item/vending_refill/security
machine_name = "Armadyne Peacekeeper Equipment Vendor"

/obj/machinery/vending/wardrobe/sec_wardrobe
name = "\improper Peacekeeper Outfitting Station"
Expand Down Expand Up @@ -61,12 +65,11 @@
premium = list( /obj/item/clothing/under/rank/security/officer/formal = 3,
/obj/item/clothing/suit/jacket/officer/blue = 3,
/obj/item/clothing/head/beret/sec/navyofficer = 3)
refill_canister = /obj/item/vending_refill/wardrobe/peacekeeper_wardrobe
payment_department = ACCOUNT_SEC
light_color = COLOR_MODERATE_BLUE

/obj/item/vending_refill/wardrobe/peacekeeper_wardrobe
machine_name = "Peacekeeper outfitting station"
/obj/item/vending_refill/wardrobe/sec_wardrobe
machine_name = "Peacekeeper Outfitting Station"

//List for the old one, for when its mapped in; curates it nicely, adds /redsec to the items, and also prevents some conflicts with the above vendor
/obj/machinery/vending/wardrobe/sec_wardrobe/red
Expand Down
1 change: 0 additions & 1 deletion tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -6230,7 +6230,6 @@
#include "modular_skyrat\master_files\code\modules\cargo\packs\general.dm"
#include "modular_skyrat\master_files\code\modules\cargo\packs\security.dm"
#include "modular_skyrat\master_files\code\modules\cargo\packs\service.dm"
#include "modular_skyrat\master_files\code\modules\cargo\packs\vending_restock.dm"
#include "modular_skyrat\master_files\code\modules\client\playtime.dm"
#include "modular_skyrat\master_files\code\modules\client\preferences.dm"
#include "modular_skyrat\master_files\code\modules\client\preferences_savefile.dm"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/obj/item/vending_refill/security_peacekeeper : /obj/item/vending_refill/security
/obj/item/vending_refill/wardrobe/peacekeeper_wardrobe : /obj/item/vending_refill/wardrobe/sec_wardrobe

0 comments on commit 605b379

Please sign in to comment.