diff --git a/mods/_master_files/code/modules/mob/skills/skill.dm b/mods/_master_files/code/modules/mob/skills/skill.dm new file mode 100644 index 0000000000000..1888660af2e8b --- /dev/null +++ b/mods/_master_files/code/modules/mob/skills/skill.dm @@ -0,0 +1,19 @@ +/singleton/hierarchy/skill/general/EVA/mech + ID = "exosuit" + name = "Exosuit Operation" + desc = "Allows you to operate exosuits well." + levels = list("Untrained" = "You are unfamiliar with exosuit controls, and if you attempt to use them you are liable to make mistakes.", + "Trained" = "You are proficient in exosuit operation and safety, and can use them without penalties.") + default_max = SKILL_BASIC + difficulty = SKILL_AVERAGE + +/singleton/hierarchy/skill/general/EVA/mech/Initialize() + . = ..() + prerequisites = null + +/singleton/hierarchy/skill/general/EVA/mech/get_cost(level) + switch(level) + if(SKILL_BASIC) + return 3*difficulty + else + return 0 diff --git a/mods/_master_files/maps/sierra/job/jobs_research.dm b/mods/_master_files/maps/sierra/job/jobs_research.dm new file mode 100644 index 0000000000000..891b7bed32ef3 --- /dev/null +++ b/mods/_master_files/maps/sierra/job/jobs_research.dm @@ -0,0 +1,8 @@ +/datum/job/roboticist + min_skill = list( + SKILL_COMPUTER = SKILL_TRAINED, + SKILL_DEVICES = SKILL_TRAINED, + SKILL_ANATOMY = SKILL_TRAINED, + SKILL_MEDICAL = SKILL_BASIC, + SKILL_ELECTRICAL = SKILL_TRAINED + ) diff --git a/mods/global_modpacks.dm b/mods/global_modpacks.dm index 0b39a0f825780..19ce1b2692f41 100644 --- a/mods/global_modpacks.dm +++ b/mods/global_modpacks.dm @@ -41,5 +41,6 @@ #include "ooc_notes/_ooc_notes.dme" #include "character_traits/_character_traits.dme" #include "failu_skrell_clothes/_failu_skrell_clothes.dme" +#include "skilltweak/_skilltweak.dme" #include "../packs/sierra-tweaks/_pack.dm" diff --git a/mods/resomi/code/clothing/glasses.dm b/mods/resomi/code/clothing/glasses.dm index ee53db0044a1d..99ba972a7ee5d 100644 --- a/mods/resomi/code/clothing/glasses.dm +++ b/mods/resomi/code/clothing/glasses.dm @@ -9,7 +9,7 @@ flash_protection = FLASH_PROTECTION_MODERATE body_parts_covered = 0 -/obj/item/clothing/glasses/sunglasses/sechud/lenses +/obj/item/clothing/glasses/hud/security/lenses name = "small sechud lenses" desc = "Lenses with a HUD. This one has a sechud." item_icons = list(slot_glasses_str = 'mods/resomi/icons/clothing/onmob_eyes_resomi.dmi') diff --git a/mods/resomi/code/datum/gear.dm b/mods/resomi/code/datum/gear.dm index c4b1542af62a5..10c725039e56f 100644 --- a/mods/resomi/code/datum/gear.dm +++ b/mods/resomi/code/datum/gear.dm @@ -88,7 +88,7 @@ /datum/gear/eyes/security/resomi display_name = "(Resomi) sun sechud lenses" - path = /obj/item/clothing/glasses/sunglasses/sechud/lenses + path = /obj/item/clothing/glasses/hud/security/lenses sort_category = "Xenowear" whitelisted = list(SPECIES_RESOMI) diff --git a/mods/skilltweak/README.md b/mods/skilltweak/README.md new file mode 100644 index 0000000000000..1ac2ac6514e02 --- /dev/null +++ b/mods/skilltweak/README.md @@ -0,0 +1,78 @@ + +#### Список PRов: + +- https://github.com/SierraBay/SierraBay12/pull/##### + + + +## Мод-пример + +ID мода: SKILLTWEAK + + +### Описание мода + +Этот мод необходим для введения корректировок в навыки без вмешательства в коркод. + + +### Изменения *кор кода* + +Отсутствуют + + +### Оверрайды + +- `code/modules/mob/skills/skill.dm` +- `maps\sierra\job\jobs_research.dm` + + +### Дефайны + +Отсутствуют + + +### Используемые файлы, не содержащиеся в модпаке + +Отсутствуют + + +### Авторы: + +Baneuus + diff --git a/mods/skilltweak/_skilltweak.dm b/mods/skilltweak/_skilltweak.dm new file mode 100644 index 0000000000000..1db71f15c195b --- /dev/null +++ b/mods/skilltweak/_skilltweak.dm @@ -0,0 +1,4 @@ +/singleton/modpack/skilltweak + name = "Навыки" + desc = "Мод, который отвечает за распределение навыков и их стоимость." + author = "Baneuus" diff --git a/mods/skilltweak/_skilltweak.dme b/mods/skilltweak/_skilltweak.dme new file mode 100644 index 0000000000000..8cdd19483bfb0 --- /dev/null +++ b/mods/skilltweak/_skilltweak.dme @@ -0,0 +1,9 @@ +#ifndef MODPACK_SKILLTWEAK +#define MODPACK_SKILLTWEAK + +#include "_skilltweak.dm" + +#include "code/skill.dm" +#include "code/jobs_research.dm" + +#endif diff --git a/mods/skilltweak/code/jobs_research.dm b/mods/skilltweak/code/jobs_research.dm new file mode 100644 index 0000000000000..891b7bed32ef3 --- /dev/null +++ b/mods/skilltweak/code/jobs_research.dm @@ -0,0 +1,8 @@ +/datum/job/roboticist + min_skill = list( + SKILL_COMPUTER = SKILL_TRAINED, + SKILL_DEVICES = SKILL_TRAINED, + SKILL_ANATOMY = SKILL_TRAINED, + SKILL_MEDICAL = SKILL_BASIC, + SKILL_ELECTRICAL = SKILL_TRAINED + ) diff --git a/mods/skilltweak/code/skill.dm b/mods/skilltweak/code/skill.dm new file mode 100644 index 0000000000000..1888660af2e8b --- /dev/null +++ b/mods/skilltweak/code/skill.dm @@ -0,0 +1,19 @@ +/singleton/hierarchy/skill/general/EVA/mech + ID = "exosuit" + name = "Exosuit Operation" + desc = "Allows you to operate exosuits well." + levels = list("Untrained" = "You are unfamiliar with exosuit controls, and if you attempt to use them you are liable to make mistakes.", + "Trained" = "You are proficient in exosuit operation and safety, and can use them without penalties.") + default_max = SKILL_BASIC + difficulty = SKILL_AVERAGE + +/singleton/hierarchy/skill/general/EVA/mech/Initialize() + . = ..() + prerequisites = null + +/singleton/hierarchy/skill/general/EVA/mech/get_cost(level) + switch(level) + if(SKILL_BASIC) + return 3*difficulty + else + return 0