forked from shiptest-ss13/Shiptest
-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MysticalFaceLesS:beta-dev' into new-slime-heads
- Loading branch information
Showing
19 changed files
with
198 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
author: Yata9arasu | ||
changes: | ||
- {bugfix: 'Починен путь ПРа Быдла, наш .дме файл в шиптест.дме раскомменчен'} | ||
delete-after: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/datum/modpack/QoL | ||
name = "QoL" | ||
desc = "Quality of Life" | ||
author = "RalseiDreemuurr" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include "_QoL.dm" | ||
#include "code/wallets.dm" | ||
#include "code/binoculars.dm" | ||
#include "code/update_icons.dm" | ||
#include "code/hotkeyfix.dm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/obj/item/binoculars | ||
slot_flags = ITEM_SLOT_NECK | ||
var/mob/listeningTo | ||
var/zoom_out_amt = 5.5 | ||
var/zoom_amt = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/client/proc/set_macros() | ||
set waitfor = FALSE | ||
|
||
//Reset the buffer | ||
reset_held_keys() | ||
|
||
erase_all_macros() | ||
|
||
var/list/macro_sets = SSinput.macro_sets | ||
for(var/setname in macro_sets) | ||
if(setname != "default") | ||
winclone(src, "default", setname) | ||
var/list/macro_set = macro_sets[setname] | ||
for(var/key in macro_set) | ||
var/command = macro_set[key] | ||
winset(src, "[setname]-[REF(key)]", "parent=[setname];name=[key];command=[command]") | ||
|
||
//Reactivate any active tgui windows mouse passthroughs macros | ||
for(var/datum/tgui_window/window in tgui_windows) | ||
if(window.mouse_event_macro_set) | ||
window.mouse_event_macro_set = FALSE | ||
window.set_mouse_macro() | ||
|
||
if(prefs?.hotkeys)//tg put hotkeys at the client level, idk why, we still have it on prefs so I'm just gonna nullcheck this. | ||
winset(src, null, "map.focus=true mainwindow.macro=default") | ||
else | ||
winset(src, null, "input.focus=true mainwindow.macro=old_default") | ||
|
||
update_special_keybinds() | ||
|
||
/client/verb/fix_layout() | ||
set name = "Исправить раскладку" | ||
set category = "OOC" | ||
|
||
set_macros() | ||
to_chat(src, span_warning("Перерегистрация макросов выполнена. Если не сработало, убедитесь что раскладка переключена на английский язык.")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/mob/living/carbon/human/update_inv_neck() | ||
remove_overlay(NECK_LAYER) | ||
|
||
if(client && hud_used && hud_used.inv_slots[TOBITSHIFT(ITEM_SLOT_NECK) + 1]) | ||
var/atom/movable/screen/inventory/inv = hud_used.inv_slots[TOBITSHIFT(ITEM_SLOT_NECK) + 1] | ||
inv.update_appearance() | ||
|
||
if(wear_neck) | ||
var/obj/item/I = wear_neck | ||
update_hud_neck(I) | ||
if(!(ITEM_SLOT_NECK in check_obscured_slots())) | ||
var/icon_file | ||
var/handled_by_bodytype = TRUE | ||
|
||
if(!(icon_exists(icon_file, RESOLVE_ICON_STATE(I)))) | ||
handled_by_bodytype = FALSE | ||
icon_file = DEFAULT_NECK_PATH | ||
|
||
overlays_standing[NECK_LAYER] = wear_neck.build_worn_icon(default_layer = NECK_LAYER, default_icon_file = icon_file, mob_species = CHECK_USE_AUTOGEN) | ||
|
||
|
||
apply_overlay(NECK_LAYER) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/obj/item/storage/wallet/ComponentInitialize() | ||
. = ..() | ||
var/datum/component/storage/STR = GetComponent(/datum/component/storage/concrete/wallet) | ||
STR.max_items = 4 | ||
STR.set_holdable(list( | ||
/obj/item/spacecash/bundle, | ||
/obj/item/holochip, | ||
/obj/item/card, | ||
/obj/item/clothing/mask/cigarette, | ||
/obj/item/flashlight/pen, | ||
/obj/item/seeds, | ||
/obj/item/stack/medical, | ||
/obj/item/toy/crayon, | ||
/obj/item/coin, | ||
/obj/item/dice, | ||
/obj/item/disk, | ||
/obj/item/implanter, | ||
/obj/item/lighter, | ||
/obj/item/lipstick, | ||
/obj/item/match, | ||
/obj/item/paper, | ||
/obj/item/pen, | ||
/obj/item/photo, | ||
/obj/item/reagent_containers/dropper, | ||
/obj/item/reagent_containers/syringe, | ||
/obj/item/screwdriver, | ||
/obj/item/stamp, | ||
/obj/item/kitchen/knife/letter_opener, | ||
/obj/item/key), | ||
list(/obj/item/screwdriver/power)) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/datum/modpack/__DEFINES | ||
name = "DEFINES" | ||
desc = "Добавляет дефайны для наших нужд" | ||
author = "MrCat" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include "___DEFINES.dm" | ||
|
||
#include "code/__DEFINES/species_clothing_defines.dm" | ||
#include "code/__DEFINES/fullscreen.dm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#define COMSIG_KB_CLIENT_FULLSCREEN_DOWN "keybinding_client_fullscreen_down" |
1 change: 1 addition & 0 deletions
1
mod_celadon/__DEFINES/code/__DEFINES/species_clothing_defines.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#define DEFAULT_NECK_PATH 'mod_celadon/QoL/icons/neck.dmi' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters