/
githubmirror
/
vgstation13
Обзор
Документация
Войти
/
githubmirror
/
vgstation13
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
Bleeding-Edge
code/modules/bayinstruments/docs/Structure.txt
17 строк
933 B
mentgah
A port of an early version of Baystation's new instruments (#37447)
04 мар 2025, 17:52
Не верифицирован
04 мар 2025, 17:52
12d884d
Код
Авторство
О чём код?
This module uses 4 components: Real instruments -- the physical manifestation of the instrument, the one that is placed in the world Virtual instruments -- the definition of an instrument, that is, what samples it uses, name and category Sound player -- used to apply modification to all sounds emitted. Represents the actual source of sound Synthesized Song - just like /datum/song it's what parses and plays a melody --- Real instruments inherit from either /obj/structure/synthesized_instrument (static musical instrument) or /obj/item/device/synthesized_instrument (handheld musical instrument) --- Virtual instruments all inherit from /datum/instrument. Virtual instruments should follow this structure: /datum/instrument/category_name/instrument_name. Refer to any file in ./instrument_data to see how it's done. --- Sound player inherits from /datum/sound_player --- For synthesized song only use /datum/synthesized_song ---