Skip to content

Commit

Permalink
Merge pull request #724 from Mirag1993/ivent
Browse files Browse the repository at this point in the history
event staff
  • Loading branch information
MysticalFaceLesS authored Jun 14, 2024
2 parents cc20452 + 87ec8d6 commit f6c0151
Show file tree
Hide file tree
Showing 15 changed files with 222 additions and 15 deletions.
18 changes: 9 additions & 9 deletions _maps/_mod_celadon/configs/event_bucket.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@
"limit":1,
"starting_funds": 0,
"job_slots": {
"NT Captain": {
"outfit": "/datum/outfit/job/nanotrasen/captain",
"NT Colony Director": {
"outfit": "/datum/outfit/job/nanotrasen/captain/colony",
"officer": true,
"slots": 1
},
"NT Head of Personel": {
"outfit": "/datum/outfit/job/nanotrasen/hop",
"NT Colony General Manager": {
"outfit": "/datum/outfit/job/nanotrasen/hop/colony",
"officer": true,
"slots": 1
},
"SF Colonial Marine": {
"outfit": "/datum/outfit/job/solgov/sonnensoldner",
"SF Marine Officer": {
"outfit": "/datum/outfit/job/solgov/sonnensoldner/colony",
"officer": true,
"slots": 1
},
"InteQ Mercenary": {
"outfit": "/datum/outfit/job/inteq/security/celadon",
"outfit": "/datum/outfit/job/inteq/security/celadon/colony",
"slots": 5
},
"NT Junior Scientist": {
"outfit": "/datum/outfit/job/nanotrasen/scientist",
"slots": 2
},
"Elysium Worker": {
"outfit": "/datum/outfit/job/assistant",
"Elysium worker": {
"outfit": "/datum/outfit/job/assistant/elysium",
"slots": 50
}
},
Expand Down
24 changes: 19 additions & 5 deletions _maps/_mod_celadon/shuttles/Event/subbucket.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@
dir = 4
},
/obj/item/megaphone/command,
/obj/item/gun/energy/e_gun/mini,
/turf/open/floor/carpet/nanoweave/blue,
/area/ship/bridge)
"dO" = (
Expand Down Expand Up @@ -376,13 +377,11 @@
/obj/machinery/door/firedoor/border_only{
dir = 4
},
/obj/machinery/computer/cargo/express{
dir = 8
},
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer4{
dir = 8
},
/obj/effect/decal/cleanable/cobweb/cobweb2,
/obj/machinery/suit_storage_unit/captain,
/turf/open/floor/carpet/nanoweave/blue,
/area/ship/bridge)
"hi" = (
Expand Down Expand Up @@ -584,6 +583,11 @@
/obj/structure/cable,
/obj/item/toy/crayon/red,
/obj/machinery/power/apc/auto_name/directional/west,
/obj/machinery/light_switch{
dir = 4;
pixel_x = -20;
pixel_y = 12
},
/turf/open/floor/plasteel,
/area/ship/hallway/fore)
"kM" = (
Expand Down Expand Up @@ -988,6 +992,11 @@
/obj/effect/decal/cleanable/dirt,
/obj/machinery/firealarm/directional/south,
/obj/machinery/power/apc/auto_name/directional/west,
/obj/machinery/light_switch{
dir = 4;
pixel_x = -20;
pixel_y = 12
},
/turf/open/floor/carpet/nanoweave/red,
/area/ship/crew/crewtwo)
"qF" = (
Expand Down Expand Up @@ -1207,8 +1216,9 @@
/obj/effect/turf_decal/industrial/outline/yellow,
/obj/effect/decal/cleanable/dirt/dust,
/obj/machinery/suit_storage_unit/inherit,
/obj/item/clothing/suit/space/hardsuit/carp/old,
/obj/item/tank/internals/oxygen,
/obj/item/clothing/head/helmet/space/eva,
/obj/item/clothing/suit/space/eva,
/turf/open/floor/plasteel/tech/grid,
/area/ship/cargo)
"uC" = (
Expand Down Expand Up @@ -1706,8 +1716,9 @@
/obj/effect/decal/cleanable/dirt/dust,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/suit_storage_unit/inherit,
/obj/item/clothing/suit/space/hardsuit/carp/old,
/obj/item/tank/internals/oxygen,
/obj/item/clothing/head/helmet/space/eva,
/obj/item/clothing/suit/space/eva,
/turf/open/floor/plasteel/tech/grid,
/area/ship/cargo)
"CO" = (
Expand Down Expand Up @@ -3119,6 +3130,9 @@
/obj/item/reagent_containers/spray/pepper{
pixel_y = -7
},
/obj/item/areaeditor/blueprints{
name = "coloni blueprints"
},
/turf/open/floor/carpet/nanoweave/blue,
/area/ship/bridge)
"ZO" = (
Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/cinematics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@
#define CINEMATIC_NUKE_CLOWNOP 12
#define CINEMATIC_CULT_NUKE 13
#define CINEMATIC_CULT_FAIL 14
// [CELADON-ADD] - EVENT_CLY
#define CINEMATIC_COLONYDESTRUCT 15
// [/CELADON-ADD]
17 changes: 16 additions & 1 deletion code/datums/cinematic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
qdel(playing)

/atom/movable/screen/cinematic
icon = 'icons/effects/station_explosion.dmi'
// [CELADON-EDIT] - EVENT_CLY
// icon = 'icons/effects/station_explosion.dmi' - // CELADON-EDIT - ORIGINAL
icon = 'mod_celadon/event_cly/icons/station_explosion.dmi'
// [/CELADON-EDIT]
icon_state = "station_intact"
plane = SPLASHSCREEN_PLANE
layer = SPLASHSCREEN_LAYER
Expand Down Expand Up @@ -286,3 +289,15 @@ Nuke.Explosion()
Narsie()
-> Cinematic(CULT,world)
*/
// [CELADON-ADD] - EVENT_CLY
/datum/cinematic/colony_nuke
id = CINEMATIC_COLONYDESTRUCT

/datum/cinematic/colony_nuke/content()
cinematic_sound(sound('mod_celadon/event_cly/sound/colony_explode.ogg'))
flick("intro_colony",screen)
sleep(35)
flick("colony_explode",screen)
special()
screen.icon_state = "summary_colony"
// [/CELADON-ADD]
86 changes: 86 additions & 0 deletions mod_celadon/event_cly/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@

#### Список PRов

- https://github.com/CeladonSS13/Shiptest/pulls/#####
<!--
Ссылки на PRы, связанные с модом:
- Создание
- Большие изменения
-->

<!-- Название мода. Не важно на русском или на английском. -->
## НАЗВАНИЕ_МОДА

ID мода: EVENT_CLY
<!--
Название модпака прописными буквами, СОЕДИНЁННЫМИ_ПОДЧЁРКИВАНИЕМ,
которое ты будешь использовать для обозначения файлов.
При запуске скрипта выставляется автоматически.
-->

### Описание мода

Этот мод служит примером для разработчиков и существует лишь для того,
чтобы его можно было легко скопировать и вставить в другое место.
<!--
Что он делает, что добавляет: что, куда, зачем и почему - всё здесь.
А также любая полезная информация.
-->

### Изменения *кор кода*

- EDIT, ADD: `code/__DEFINES/cinematics.dm` - замена синематика в атоме
- EDIT, ADD: `code/datums/cinematic.dm`
<!--
Если вы редактировали какие-либо процедуры или переменные в кор коде,
они должны быть указаны здесь.
Нужно указать и файл, и процедуры/переменные.
Изменений нет - напиши "Отсутствуют"
Примеры: `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/datums/cinematic.dm`: `CINEMATIC_COLONYDESTRUCT`
<!--
Если требовалось добавить какие-либо дефайны, укажи файлы,
в которые ты их добавил, а также перечисли имена.
И то же самое, если ты используешь дефайны, определённые другим модом.
Не используешь - напиши "Отсутствуют"
Примеры: `code/__defines/~mods/event_cly.dm`: `EVENT_CLY_SPEED_MULTIPLIER`, `EVENT_CLY_SPEED_BASE`
-->

### Используемые файлы, не содержащиеся в модпаке

- Отсутствуют
<!--
Будь то немодульный файл или модульный файл, который не содержится в папке,
принадлежащей этому конкретному моду, он должен быть упомянут здесь.
Хорошими примерами являются иконки или звуки, которые используются одновременно
несколькими модулями, или что-либо подобное.
Примеры: `mods/_master_files/icons/obj/alien.dmi`
-->

### Авторы

Твой никнейм
<!--
Здесь находится твой никнейм
Если работал совместно - никнеймы тех, кто помогал.
В случае порта чего-либо должна быть ссылка на источник.
-->
18 changes: 18 additions & 0 deletions mod_celadon/event_cly/_event_cly.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/datum/modpack/event_cly
/// Строковое имя модпака. Используется для поиска других модпаков в init.
name = "НАЗВАНИЕ"
/// Строковое описание для модпака. Может использоваться для списка глаголов модпака в качестве описания.
desc = "ОПИСАНИЕ"
/// Строка с авторами этого модпака.
author = "АВТОР(Ы)"

///**********************************************************************///

/datum/modpack/event_cly/pre_initialize() /// Эти конструкции нужны, для того чтобы в вашем модпаке что-то происходило.
. = ..()

/datum/modpack/event_cly/initialize() /// Если эти три конструкции не нужны, просто удалите их!
. = ..()

/datum/modpack/event_cly/post_initialize()
. = ..()
9 changes: 9 additions & 0 deletions mod_celadon/event_cly/_event_cly.dme
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef MODPACK_CELADON_EVENT_CLY
#define MODPACK_CELADON_EVENT_CLY

#include "_event_cly.dm"

#include "code/outfits.dm"
//#include "code/cinematic.dm"

#endif
12 changes: 12 additions & 0 deletions mod_celadon/event_cly/code/cinematic.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//#define CINEMATIC_COLONYDESTRUCT 15

//datum/cinematic/colony_nuke
// id = CINEMATIC_COLONYDESTRUCT

///datum/cinematic/colony_nuke/content()
// flick("intro_colony"('mod_celadon/event_cly/icons/station_explosion.dmi'),screen)
// sleep(35)
// flick("colony_explode",screen)
// cinematic_sound(sound('mod_celadon/event_cly/sound/colony_explode.ogg'))
// special()
// screen.icon_state = "summary_colony"
31 changes: 31 additions & 0 deletions mod_celadon/event_cly/code/outfits.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/datum/outfit/job/nanotrasen/captain/colony
name = "NT Colony Director"
uniform = /obj/item/clothing/under/nanotrasen/officer
shoes = /obj/item/clothing/shoes/laceup
head = /obj/item/clothing/head/caphat/nt
suit = /obj/item/clothing/suit/armor/nanotrasen/captain/parade
belt = /obj/item/storage/belt/sabre


/datum/outfit/job/nanotrasen/hop/colony
name = "NT Colony General Manager"
belt = /obj/item/melee/chainofcommand


/datum/outfit/job/solgov/sonnensoldner/colony
name = "SF Marine Officer"
uniform = /obj/item/clothing/under/solfed/solfed_officer_formal
head = /obj/item/clothing/head/solfed/solfed_officer_beret
belt = /obj/item/gun/ballistic/automatic/pistol/solgov/old

/datum/outfit/job/inteq/security/celadon/colony
name = "InteQ Mercenary"
backpack_contents = list(/obj/item/ammo_box/magazine/glock_standart =1,/obj/item/gun/ballistic/automatic/pistol/glock =1)

/datum/outfit/job/assistant/elysium
name = "Elysium worker"
suit = /obj/item/clothing/suit/apparel/white/long
uniform = /obj/item/clothing/under/nanotrasen
shoes = /obj/item/clothing/shoes/sandal
head = /obj/item/clothing/head/turban/white
backpack_contents = list(/obj/item/storage/book/bible/koran=1,/obj/item/reagent_containers/food/snacks/cookie=2)
Binary file added mod_celadon/event_cly/icons/station_explosion.dmi
Binary file not shown.
Binary file added mod_celadon/event_cly/sound/colony_explode.ogg
Binary file not shown.
3 changes: 3 additions & 0 deletions mod_celadon/mod_celadon.dme
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@
его выше.*/

// #include "event_td/_event_td.dme" // Ивент на атаку и защита

// --- EVENTS --- //
#include "event_cly/_event_cly.dme"
16 changes: 16 additions & 0 deletions mod_celadon/solfed_stuff/code/solfed_other_stuff.dm
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,22 @@
item_state = "elysium_brigade_webbing"
resistance_flags = FIRE_PROOF

/obj/item/clothing/under/solfed/solfed_officer_formal
name = "Solar Federation officer form"
desc = "This is the standard uniform of the Solar Federation Officer. It's colored dark blue."
icon = 'mod_celadon/solfed_stuff/icons/Solfed_officer.dmi'
mob_overlay_icon = 'mod_celadon/solfed_stuff/icons/mob/Solfed_officer.dmi'
icon_state = "solfed_officer_formal"
item_state = "solfed_officer_formal"

/obj/item/clothing/head/solfed/solfed_officer_beret
name = "Solar Federation Brigade beret"
desc = "This is a beret of the Solar Federation's Officer. It's colored dark blue. It has the Solar Federation flag on the front."
icon = 'mod_celadon/solfed_stuff/icons/Solfed_officer.dmi'
mob_overlay_icon = 'mod_celadon/solfed_stuff/icons/mob/Solfed_officer.dmi'
icon_state = "solfed_officer_beret"
item_state = "solfed_officer_beret"

/obj/item/clothing/head/solfed/elysium/beret
name = "Elysium Brigade beret"
desc = "This is a beret of the Solar Federation's Elysium Brigade. It's made in a dark green color. It has the Solar Federation flag on the front."
Expand Down
Binary file added mod_celadon/solfed_stuff/icons/Solfed_officer.dmi
Binary file not shown.
Binary file added mod_celadon/solfed_stuff/icons/mob/Solfed_officer.dmi
Binary file not shown.

0 comments on commit f6c0151

Please sign in to comment.