forked from Baystation12/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: SuhEugene <[email protected]>
- Loading branch information
1 parent
6483564
commit 6822992
Showing
13 changed files
with
185 additions
and
0 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
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,79 @@ | ||
|
||
#### Список PRов: | ||
|
||
- https://github.com/SierraBay/SierraBay12/pull/1856 | ||
<!-- | ||
Ссылки на PRы, связанные с модом: | ||
- Создание | ||
- Большие изменения | ||
--> | ||
|
||
<!-- Название мода. Не важно на русском или на английском. --> | ||
## Unathi | ||
|
||
ID мода: UNATHI | ||
<!-- | ||
Название модпака прописными буквами, СОЕДИНЁННЫМИ_ПОДЧЁРКИВАНИЕМ, | ||
которое ты будешь использовать для обозначения файлов. | ||
--> | ||
|
||
### Описание мода | ||
|
||
Мод включает особые механики рас унати и йоза'унати, доступные на билде Infinity. | ||
- Изменена механика ядовитого укуса йоза'унати - теперь вводит реагент яда вместо нанесения токсичного урона; | ||
- Возвращена механика переключения регенерации унати. | ||
<!-- | ||
Что он делает, что добавляет: что, куда, зачем и почему - всё здесь. | ||
А также любая полезная информация. | ||
--> | ||
|
||
### Изменения *кор кода* | ||
|
||
Отсутствуют | ||
<!-- | ||
Если вы редактировали какие-либо процедуры или переменные в кор коде, | ||
они должны быть указаны здесь. | ||
Нужно указать и файл, и процедуры/переменные. | ||
Изменений нет - напиши "Отсутствуют" | ||
--> | ||
|
||
### Оверрайды | ||
|
||
Отсутствуют | ||
<!-- | ||
Если ты добавлял новый модульный оверрайд, его нужно указать здесь. | ||
Здесь указываются оверрайды в твоём моде и папке `_master_files` | ||
Изменений нет - напиши "Отсутствуют" | ||
--> | ||
|
||
### Дефайны | ||
|
||
Отсутствуют | ||
<!-- | ||
Если требовалось добавить какие-либо дефайны, укажи файлы, | ||
в которые ты их добавил, а также перечисли имена. | ||
И то же самое, если ты используешь дефайны, определённые другим модом. | ||
Не используешь - напиши "Отсутствуют" | ||
--> | ||
|
||
### Используемые файлы, не содержащиеся в модпаке | ||
|
||
Отсутствуют | ||
<!-- | ||
Будь то немодульный файл или модульный файл, который не содержится в папке, | ||
принадлежащей этому конкретному моду, он должен быть упомянут здесь. | ||
Хорошими примерами являются иконки или звуки, которые используются одновременно | ||
несколькими модулями, или что-либо подобное. | ||
--> | ||
|
||
### Авторы: | ||
|
||
UEDHighCommand | ||
<!-- | ||
Здесь находится твой никнейм | ||
Если работал совместно - никнеймы тех, кто помогал. | ||
В случае порта чего-либо должна быть ссылка на источник. | ||
--> |
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 @@ | ||
/singleton/modpack/unathi | ||
name = "Унати" | ||
desc = "Мод включает особые механики рас унати и йоза'унати, доступные на билде Infinity" | ||
author = "UEDHighCommand" |
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,11 @@ | ||
#ifndef MODPACK_UNATHI | ||
#define MODPACK_UNATHI | ||
|
||
|
||
#include "_unathi.dm" | ||
|
||
#include "code/reagents.dm" | ||
#include "code/species.dm" | ||
#include "code/species_attack.dm" | ||
|
||
#endif |
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,3 @@ | ||
/obj/aura/regenerating/human/unathi/toggle() | ||
..() | ||
toggle_blocked_until = max(world.time + 2 MINUTES, toggle_blocked_until) |
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,12 @@ | ||
/datum/reagent/toxin/yeosvenom | ||
name = "Esh Hashaar Haashane" | ||
description = "A non-lethal toxin produced by Yeosa'Unathi" | ||
taste_description = "absolutely vile" | ||
color = "#91d895" | ||
target_organ = BP_LIVER | ||
strength = 1 | ||
|
||
/datum/reagent/toxin/yeosvenom/affect_blood(mob/living/carbon/M, alien, removed) | ||
if(prob(volume*10)) | ||
M.set_confused(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,5 @@ | ||
/datum/species/unathi/yeosa/New() | ||
if (/datum/unarmed_attack/bite/venom in unarmed_types) | ||
unarmed_types -= /datum/unarmed_attack/bite/venom | ||
unarmed_types += /datum/unarmed_attack/bite/venom/yeosa | ||
. = ..() |
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,27 @@ | ||
#define VENOM_ON_ATTACK_LOWER_TRESHOLD 0.875 | ||
|
||
/datum/unarmed_attack/bite/venom/yeosa | ||
var/poison_per_bite = 8 | ||
var/poison_type = /datum/reagent/toxin/yeosvenom | ||
attack_verb = list("bit", "sank their fangs into") | ||
attack_sound = 'sound/weapons/bite.ogg' | ||
attack_name = "venomous bite" | ||
damage = 1 | ||
delay = 3 SECONDS | ||
|
||
/datum/unarmed_attack/bite/venom/yeosa/apply_effects(mob/living/carbon/human/user, mob/living/carbon/human/target, armour, attack_damage, zone) | ||
..() | ||
if(istype(src) && target && ishuman(target)) | ||
var/mob/living/carbon/human/H = target | ||
var/obj/item/clothing/suit/space/S = H.get_covering_equipped_item_by_zone(zone) | ||
if(istype(S) && !length(S.breaches)) | ||
return | ||
if(target.reagents) | ||
target.reagents.add_reagent(src.poison_type, rand(VENOM_ON_ATTACK_LOWER_TRESHOLD * src.poison_per_bite, src.poison_per_bite)) | ||
if(prob(src.poison_per_bite)) | ||
to_chat(H, SPAN_WARNING("You feel a tiny prick.")) | ||
|
||
/datum/unarmed_attack/bite/venom/yeosa/get_damage_type() | ||
return DAMAGE_BRUTE | ||
|
||
#undef VENOM_ON_ATTACK_LOWER_TRESHOLD |