forked from shiptest-ss13/Shiptest
-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #705 from MrCat15352/new_turrets
Добавлены турельки. В том числе и 40мм гранатометная.
- Loading branch information
Showing
7 changed files
with
216 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
|
||
#### Список PRов | ||
|
||
- https://github.com/CeladonSS13/Shiptest/pulls/##### | ||
<!-- | ||
Ссылки на PRы, связанные с модом: | ||
- Создание | ||
- Большие изменения | ||
--> | ||
|
||
<!-- Название мода. Не важно на русском или на английском. --> | ||
## Новые туррели | ||
|
||
ID мода: CELADON_TURRETS | ||
<!-- | ||
Название модпака прописными буквами, СОЕДИНЁННЫМИ_ПОДЧЁРКИВАНИЕМ, | ||
которое ты будешь использовать для обозначения файлов. | ||
При запуске скрипта выставляется автоматически. | ||
--> | ||
|
||
### Описание мода | ||
|
||
Этот мод добавляет новые 4 турели синдикату и добавляет целый список турелей без фракционные. | ||
<!-- | ||
Что он делает, что добавляет: что, куда, зачем и почему - всё здесь. | ||
А также любая полезная информация. | ||
--> | ||
|
||
### Изменения *кор кода* | ||
|
||
- Отсутствуют | ||
<!-- | ||
Если вы редактировали какие-либо процедуры или переменные в кор коде, | ||
они должны быть указаны здесь. | ||
Нужно указать и файл, и процедуры/переменные. | ||
Изменений нет - напиши "Отсутствуют" | ||
Примеры: `code/modules/mob/living.dm`: `proc/overriden_proc`, `var/overriden_var` | ||
--> | ||
|
||
### Оверрайды | ||
|
||
- Отсутствуют | ||
<!-- | ||
Если ты добавлял новый модульный оверрайд, его нужно указать здесь. | ||
Здесь указываются оверрайды в твоём моде и папке `_master_files` | ||
Изменений нет - напиши "Отсутствуют" | ||
Примеры: | ||
- `mods/_master_files/sound/my_cool_sound.ogg` | ||
- `mods/_master_files/code/my_modular_override.dm`: `proc/overriden_proc`, `var/overriden_var` | ||
--> | ||
|
||
### Дефайны | ||
|
||
- Отсутствуют | ||
<!-- | ||
Если требовалось добавить какие-либо дефайны, укажи файлы, | ||
в которые ты их добавил, а также перечисли имена. | ||
И то же самое, если ты используешь дефайны, определённые другим модом. | ||
Не используешь - напиши "Отсутствуют" | ||
Примеры: `code/__defines/~mods/turrets.dm`: `TURRETS_SPEED_MULTIPLIER`, `TURRETS_SPEED_BASE` | ||
--> | ||
|
||
### Используемые файлы, не содержащиеся в модпаке | ||
|
||
- Отсутствуют | ||
<!-- | ||
Будь то немодульный файл или модульный файл, который не содержится в папке, | ||
принадлежащей этому конкретному моду, он должен быть упомянут здесь. | ||
Хорошими примерами являются иконки или звуки, которые используются одновременно | ||
несколькими модулями, или что-либо подобное. | ||
Примеры: `mods/_master_files/icons/obj/alien.dmi` | ||
--> | ||
|
||
### Авторы | ||
|
||
MrCat15352 | ||
<!-- | ||
Здесь находится твой никнейм | ||
Если работал совместно - никнеймы тех, кто помогал. | ||
В случае порта чего-либо должна быть ссылка на источник. | ||
--> |
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,9 @@ | ||
/datum/modpack/turrets | ||
/// Строковое имя модпака. Используется для поиска других модпаков в init. | ||
name = "Turrets" | ||
/// Строковое описание для модпака. Может использоваться для списка глаголов модпака в качестве описания. | ||
desc = "Добавляет новые турели в билд." | ||
/// Строка с авторами этого модпака. | ||
author = "MrCat15352" | ||
|
||
///**********************************************************************/// |
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,9 @@ | ||
#ifndef MODPACK_CELADON_TURRETS | ||
#define MODPACK_CELADON_TURRETS | ||
|
||
#include "_turrets.dm" | ||
|
||
#include "code/turrets.dm" | ||
#include "code/bullets.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,6 @@ | ||
/obj/projectile/bullet/weakbullet3 | ||
damage = 20 | ||
|
||
/obj/projectile/bullet/midbullet | ||
damage = 20 | ||
stamina = 33 //four rounds from the c20r knocks people down |
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,107 @@ | ||
// Syndicate | ||
/obj/machinery/porta_turret/syndicate/interior_45 | ||
name = "machine gun turret (.45)" | ||
desc = "Syndicate interior defense turret chambered for .45 rounds. Designed to down intruders without damaging the hull." | ||
stun_projectile = /obj/projectile/bullet/midbullet | ||
lethal_projectile = /obj/projectile/bullet/midbullet | ||
lethal_projectile_sound = 'sound/weapons/gun/revolver/cattleman.ogg' | ||
stun_projectile_sound = 'sound/weapons/gun/revolver/cattleman.ogg' | ||
|
||
/obj/machinery/porta_turret/syndicate/exterior_7_62mm | ||
name = "machine gun turret (7.62)" | ||
desc = "Syndicate exterior defense turret chambered for 7.62 rounds. Designed to down intruders with heavy calliber bullets." | ||
stun_projectile = /obj/projectile/bullet | ||
lethal_projectile = /obj/projectile/bullet | ||
lethal_projectile_sound = 'sound/weapons/gun/rifle/skm.ogg' | ||
stun_projectile_sound = 'sound/weapons/gun/rifle/skm.ogg' | ||
|
||
/obj/machinery/porta_turret/syndicate/grenade_40mm | ||
name = "mounted grenade launcher (40mm)" | ||
desc = "Syndicate 40mm grenade launcher defense turret. If you've had this much time to look at it, you're probably already dead." | ||
icon = 'mod_celadon/turrets/icons/turrets.dmi' | ||
icon_state = "syndie_grenade" | ||
base_icon_state = "syndie_grenade" | ||
stun_projectile = /obj/projectile/bullet/a40mm | ||
lethal_projectile = /obj/projectile/bullet/a40mm | ||
lethal_projectile_sound = 'sound/weapons/gun/general/rocket_launch.ogg' | ||
stun_projectile_sound = 'sound/weapons/gun/general/rocket_launch.ogg' | ||
|
||
/obj/machinery/porta_turret/syndicate/assault_pod_4_36x30mm | ||
name = "machine gun turret (4.6x30mm)" | ||
desc = "Syndicate exterior defense turret chambered for 4.6x30mm rounds. Designed to be fitted to assault pods, it uses low calliber bullets to save space." | ||
max_integrity = 100 | ||
stun_projectile = /obj/projectile/bullet/weakbullet3 | ||
lethal_projectile = /obj/projectile/bullet/weakbullet3 | ||
lethal_projectile_sound = 'sound/weapons/gun/smg/smg_heavy.ogg' | ||
stun_projectile_sound = 'sound/weapons/gun/smg/smg_heavy.ogg' | ||
|
||
// No Access | ||
/obj/machinery/porta_turret/syndicate/no_access | ||
installation = null | ||
always_up = 1 | ||
use_power = NO_POWER_USE | ||
has_cover = 0 | ||
scan_range = 9 | ||
req_access = list(ACCESS_CENT_GENERAL) | ||
mode = TURRET_LETHAL | ||
faction = list(ROLE_DEVIL) | ||
desc = "A ballistic machine gun/grenade auto-turret." | ||
|
||
/obj/machinery/porta_turret/syndicate/no_access/interior_45 | ||
name = "machine gun turret (.45)" | ||
desc = "Syndicate interior defense turret chambered for .45 rounds. Designed to down intruders without damaging the hull." | ||
stun_projectile = /obj/projectile/bullet/midbullet | ||
lethal_projectile = /obj/projectile/bullet/midbullet | ||
lethal_projectile_sound = 'sound/weapons/gun/revolver/cattleman.ogg' | ||
stun_projectile_sound = 'sound/weapons/gun/revolver/cattleman.ogg' | ||
|
||
/obj/machinery/porta_turret/syndicate/no_access/exterior_7_62mm | ||
name = "machine gun turret (7.62)" | ||
desc = "Syndicate exterior defense turret chambered for 7.62 rounds. Designed to down intruders with heavy calliber bullets." | ||
stun_projectile = /obj/projectile/bullet | ||
lethal_projectile = /obj/projectile/bullet | ||
lethal_projectile_sound = 'sound/weapons/gun/rifle/skm.ogg' | ||
stun_projectile_sound = 'sound/weapons/gun/rifle/skm.ogg' | ||
|
||
/obj/machinery/porta_turret/syndicate/no_access/grenade_40mm | ||
name = "mounted grenade launcher (40mm)" | ||
desc = "Syndicate 40mm grenade launcher defense turret. If you've had this much time to look at it, you're probably already dead." | ||
icon = 'mod_celadon/turrets/icons/turrets.dmi' | ||
icon_state = "syndie_grenade" | ||
base_icon_state = "syndie_grenade" | ||
stun_projectile = /obj/projectile/bullet/a40mm | ||
lethal_projectile = /obj/projectile/bullet/a40mm | ||
lethal_projectile_sound = 'sound/weapons/gun/general/rocket_launch.ogg' | ||
stun_projectile_sound = 'sound/weapons/gun/general/rocket_launch.ogg' | ||
|
||
/obj/machinery/porta_turret/syndicate/no_access/assault_pod_4_36x30mm | ||
name = "machine gun turret (4.6x30mm)" | ||
desc = "Syndicate exterior defense turret chambered for 4.6x30mm rounds. Designed to be fitted to assault pods, it uses low calliber bullets to save space." | ||
max_integrity = 100 | ||
stun_projectile = /obj/projectile/bullet/weakbullet3 | ||
lethal_projectile = /obj/projectile/bullet/weakbullet3 | ||
lethal_projectile_sound = 'sound/weapons/gun/smg/smg_heavy.ogg' | ||
stun_projectile_sound = 'sound/weapons/gun/smg/smg_heavy.ogg' | ||
|
||
/obj/machinery/porta_turret/syndicate/no_access/energy | ||
icon_state = "standard_lethal" | ||
base_icon_state = "standard" | ||
stun_projectile = /obj/projectile/energy/electrode | ||
stun_projectile_sound = 'sound/weapons/taser.ogg' | ||
lethal_projectile = /obj/projectile/beam/laser | ||
lethal_projectile_sound = 'sound/weapons/laser.ogg' | ||
desc = "An energy blaster auto-turret." | ||
|
||
/obj/machinery/porta_turret/syndicate/no_access/energy/heavy | ||
icon_state = "standard_lethal" | ||
base_icon_state = "standard" | ||
stun_projectile = /obj/projectile/energy/electrode | ||
stun_projectile_sound = 'sound/weapons/taser.ogg' | ||
lethal_projectile = /obj/projectile/beam/laser/heavylaser | ||
lethal_projectile_sound = 'sound/weapons/lasercannonfire.ogg' | ||
desc = "An energy blaster auto-turret." | ||
|
||
/obj/machinery/porta_turret/syndicate/no_access/energy/raven | ||
stun_projectile = /obj/projectile/beam/laser | ||
stun_projectile_sound = 'sound/weapons/laser.ogg' | ||
faction = list("neutral","silicon","turret") |
Binary file not shown.