Skip to content

Commit

Permalink
structures
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraHell committed Feb 12, 2025
1 parent 38f34fc commit ad32e34
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/mob/living/carbon/xenomorph/Powers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@

var/max_constructions = hive.hive_structures_limit[structure_template.name]
var/remaining_constructions = max_constructions - hive.get_structure_count(structure_template.name)
visible_message(SPAN_XENONOTICE("Из земли появляется густая субстанция и принимает форму [new_structure.declent_ru(GENITIVE)]."),
SPAN_XENONOTICE("Мы обозначаем новую [structure_template.declent_ru(ACCUSATIVE)] конструкцию. ([remaining_constructions]/[max_constructions] осталось)"), null, 5)
visible_message(SPAN_XENONOTICE("Из земли появляется густая субстанция и принимает форму [declent_ru_initial(structure_template.name, GENITIVE, structure_template.name)]."),
SPAN_XENONOTICE("Мы обозначаем [declent_ru_initial(structure_template.name, ACCUSATIVE, structure_template.name)]. ([remaining_constructions]/[max_constructions] осталось)"), null, 5)
playsound(new_structure, "alien_resin_build", 25)

if(hive.living_xeno_queen)
xeno_message("Улей: Новая <b>[structure_template.declent_ru(NOMINATIVE)]<b> начинает строиться в [sanitize_area(current_area_name)]!", 3, hivenumber)
xeno_message("Улей: <b>[declent_ru_initial(structure_template.name, NOMINATIVE, structure_template.name)]<b> начинает строиться в [sanitize_area(current_area_name)]!", 3, hivenumber)

/mob/living/carbon/xenomorph/proc/make_marker(turf/target_turf)
if(!target_turf)
Expand Down
56 changes: 56 additions & 0 deletions modular/translations/code/translation_data/ru_names.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22570,3 +22570,59 @@ dative = "смоляным шипу"
accusative = "смоляной шип"
instrumental = "смоляным шипом"
prepositional = "смоляном шипе"

["hive core"]
nominative = "ядро улья"
genitive = "ядра улья"
dative = "ядеру улья"
accusative = "ядро улья"
instrumental = "ядром улья"
prepositional = "ядре улья"

["hive cluster"]
nominative = "кластер улья"
genitive = "кластера улья"
dative = "кластеру улья"
accusative = "кластер улья"
instrumental = "кластером улья"
prepositional = "кластере улья"

["hive pylon"]
nominative = "пилон улья"
genitive = "пилона улья"
dative = "пилону улья"
accusative = "пилон улья"
instrumental = "пилоном улья"
prepositional = "пилоне улья"

["egg morpher"]
nominative = "морфер яиц"
genitive = "морфера яиц"
dative = "морферу яиц"
accusative = "морфер яиц"
instrumental = "морфером яиц"
prepositional = "морфере яиц"

["recovery node"]
nominative = "узел восстановления"
genitive = "узла восстановления"
dative = "узлу восстановления"
accusative = "узел восстановления"
instrumental = "узлом восстановления"
prepositional = "узле восстановления"

["thick resin nest"]
nominative = "плотное смоляное гнездо"
genitive = "плотного смоляного гнезда"
dative = "плотному смоляное гнезду"
accusative = "плотное смоляное гнездо"
instrumental = "плотным смоляным гнездом"
prepositional = "плотном смоляном гнезде"

["construction node"]
nominative = "конструкционный узел"
genitive = "конструкционного узла"
dative = "конструкционному узлу"
accusative = "конструкционный узел"
instrumental = "конструкционным узлом"
prepositional = "конструкционном узле"

0 comments on commit ad32e34

Please sign in to comment.