Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Погребок #12282

Closed
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
49fe23e
ГОТОВО, НЕВЕРОЯТНО
DarthSidiousPalpatine Oct 18, 2023
1bdb7cb
Merge remote-tracking branch 'upstream/master' into preparation_rack
DarthSidiousPalpatine Oct 18, 2023
8820428
Update preservation.dm
DarthSidiousPalpatine Oct 18, 2023
6ab37bb
Update preservation.dm
DarthSidiousPalpatine Oct 18, 2023
a52ec35
небольшая переделка карт
DarthSidiousPalpatine Oct 18, 2023
ea0d265
Revert "небольшая переделка карт"
DarthSidiousPalpatine Oct 18, 2023
39972b8
Update preservation.dm
DarthSidiousPalpatine Oct 18, 2023
b9f375a
Update preservation.dm
DarthSidiousPalpatine Oct 18, 2023
483932f
Update preservation.dm
DarthSidiousPalpatine Oct 18, 2023
1b9813b
Update preservation.dm
DarthSidiousPalpatine Oct 18, 2023
ad9954f
Update preservation.dm
DarthSidiousPalpatine Oct 18, 2023
de3f45e
g
DarthSidiousPalpatine Oct 18, 2023
9e054c3
Готово
DarthSidiousPalpatine Oct 21, 2023
99f8ab8
Delete roundstart_roundend.dm
DarthSidiousPalpatine Oct 21, 2023
8302870
Update taucetistation.dme
DarthSidiousPalpatine Oct 21, 2023
04434e2
Update continuity.dm
DarthSidiousPalpatine Oct 21, 2023
7af6da1
a
DarthSidiousPalpatine Oct 22, 2023
bb697d1
Update packs.dm
DarthSidiousPalpatine Oct 22, 2023
9ea22c1
Update preservation.dm
DarthSidiousPalpatine Oct 22, 2023
3cf7ef7
Merge branch 'master' into preparation_rack
DarthSidiousPalpatine Oct 22, 2023
a7dcf6e
Merge branch 'master' into preparation_rack
DarthSidiousPalpatine Oct 24, 2023
02c3643
Merge branch 'master' into preparation_rack
DarthSidiousPalpatine Oct 25, 2023
1388b15
Update continuity.dm
DarthSidiousPalpatine Oct 26, 2023
574e5df
Update continuity.dm
DarthSidiousPalpatine Oct 26, 2023
97c185d
Update Chemistry-Recipes.dm
DarthSidiousPalpatine Oct 26, 2023
7dacce8
s
DarthSidiousPalpatine Oct 29, 2023
f9bcc67
Merge remote-tracking branch 'upstream/master' into preparation_rack
DarthSidiousPalpatine Oct 29, 2023
72200e8
Update boxstation.dmm
DarthSidiousPalpatine Oct 29, 2023
bfc72c1
Update boxstation.dmm
DarthSidiousPalpatine Oct 29, 2023
4a01240
Update boxstation.dmm
DarthSidiousPalpatine Oct 29, 2023
982d6d2
Update boxstation.dmm
DarthSidiousPalpatine Oct 29, 2023
e88b7bc
ф
DarthSidiousPalpatine Jan 17, 2024
2fd7d53
Вишенка на торте
DarthSidiousPalpatine Jan 17, 2024
ac9beeb
Merge remote-tracking branch 'upstream/master' into preparation_rack
DarthSidiousPalpatine Jan 17, 2024
65c3060
Update preservation.dm
DarthSidiousPalpatine Jan 18, 2024
a1cf9e4
Готово. Исправил всякое, добавил компост и компостер.
DarthSidiousPalpatine Jan 18, 2024
d7361f0
Добавил компостеры на карты.
DarthSidiousPalpatine Jan 18, 2024
371b12d
Update preservation.dm
DarthSidiousPalpatine Jan 18, 2024
fac76df
Update preservation.dm
DarthSidiousPalpatine Jan 18, 2024
b95b348
Update preservation.dm
DarthSidiousPalpatine Jan 18, 2024
599c662
Update preservation.dm
DarthSidiousPalpatine Jan 18, 2024
6ce8dfe
Update preservation.dm
DarthSidiousPalpatine Jan 18, 2024
ea1a276
Пофиксил багулю. Теперь всё работает отлично.
DarthSidiousPalpatine Jan 18, 2024
bedef29
Убрал логи что были нужны для тестирования.
DarthSidiousPalpatine Jan 18, 2024
2e9df0f
Если честно, работает даже лучше.
DarthSidiousPalpatine Jan 21, 2024
116fe2b
я не пью
DarthSidiousPalpatine Jan 30, 2024
ff706de
Update can_be_saved.dm
DarthSidiousPalpatine Jan 30, 2024
671b692
Убрал датумы в отдельный файл
DarthSidiousPalpatine Jan 31, 2024
778646b
переименовал под имя системы - континуити
DarthSidiousPalpatine Jan 31, 2024
a991f80
Update taucetistation.dme
DarthSidiousPalpatine Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions code/__DEFINES/dcs/signals_subsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
/// Called when the round has started, but before GAME_STATE_PLAYING.
#define COMSIG_TICKER_ROUND_STARTING "comsig_ticker_round_starting"

/// Called when the round has started, but before GAME_STATE_PLAYING.
#define COMSIG_TICKER_ROUND_ENDING "comsig_ticker_round_ending"

/// SSexplosions from base of /datum/controller/subsystem/explosions/proc/propagate_blastwave: (turf/epicenter, devastation_range, heavy_impact_range, light_impact_range)
#define COMSIG_EXPLOSIONS_EXPLODE "comsig_explosions_explode"

Expand Down
1 change: 1 addition & 0 deletions code/controllers/subsystem/ticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ SUBSYSTEM_DEF(ticker)

current_state = GAME_STATE_FINISHED
Master.SetRunLevel(RUNLEVEL_POSTGAME)
SEND_SIGNAL(src, COMSIG_TICKER_ROUND_ENDING)
DarthSidiousPalpatine marked this conversation as resolved.
Show resolved Hide resolved
declare_completion()
spawn(50)
for(var/client/C in clients)
Expand Down
39 changes: 39 additions & 0 deletions code/datums/components/roundstart_roundend.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// A component you put on things you want to have roundstart/roundend procs calls.
/datum/component/roundstart_roundend
DarthSidiousPalpatine marked this conversation as resolved.
Show resolved Hide resolved
var/datum/callback/roundstart_callback
var/datum/callback/roundend_callback
var/datum/callback/destroyed_callback

/datum/component/roundstart_roundend/Initialize(datum/callback/roundstart_callback, datum/callback/roundend_callback, datum/callback/destroyed_callback)
DarthSidiousPalpatine marked this conversation as resolved.
Show resolved Hide resolved
src.roundstart_callback = roundstart_callback
src.roundend_callback = roundend_callback
src.destroyed_callback = destroyed_callback

RegisterSignal(parent, COMSIG_PARENT_QDELETING, PROC_REF(on_destroyed))

RegisterSignal(SSticker, COMSIG_TICKER_ROUND_STARTING, PROC_REF(on_roundstart))
RegisterSignal(SSticker, COMSIG_TICKER_ROUND_ENDING, PROC_REF(on_roundend))

/datum/component/roundstart_roundend/proc/on_roundstart()
if(roundstart_callback)
roundstart_callback.Invoke(parent)
DarthSidiousPalpatine marked this conversation as resolved.
Show resolved Hide resolved
UnregisterSignal(parent, COMSIG_TICKER_ROUND_STARTING)

/datum/component/roundstart_roundend/proc/on_roundend()
if(roundend_callback)
roundend_callback.Invoke(parent)
UnregisterSignal(parent, COMSIG_TICKER_ROUND_ENDING)

/datum/component/roundstart_roundend/proc/on_destroyed()
if(destroyed_callback)
destroyed_callback.Invoke(parent)
qdel(src)

/datum/component/roundstart_roundend/Destroy()
UnregisterSignal(parent, list(COMSIG_TICKER_ROUND_ENDING, COMSIG_TICKER_ROUND_STARTING, COMSIG_PARENT_QDELETING))

QDEL_NULL(roundstart_callback)
QDEL_NULL(roundend_callback)
QDEL_NULL(destroyed_callback)

return ..()
2 changes: 1 addition & 1 deletion code/game/atoms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
if(reagents && is_open_container()) //is_open_container() isn't really the right proc for this, but w/e
msg += "<br>It contains:"
if(reagents.reagent_list.len)
if(istype(src, /obj/structure/reagent_dispensers)) //watertanks, fueltanks
if(istype(src, /obj/structure/reagent_dispensers) || istype(src, /obj/structure/preservation_barrel)) //watertanks, fueltanks, fermenting barrel
DarthSidiousPalpatine marked this conversation as resolved.
Show resolved Hide resolved
for(var/datum/reagent/R in reagents.reagent_list)
msg += "<br><span class='info'>[R.volume] units of [R.name]</span>"
else if (is_skill_competent(user, list(/datum/skill/chemistry = SKILL_LEVEL_MASTER)))
Expand Down
Loading
Loading