Компоненты ContentServer: различия между версиями

Нет описания правки
Нет описания правки
 
(не показано 6 промежуточных версий 5 участников)
Строка 1: Строка 1:
{{In development
{{infobox|indev|sign= [[Участник:CatBG|CatBG]] ([[Обсуждение участника:CatBG|обсуждение]])}}
|Этап=Начальный
}}
 
<!--
<!--


Строка 39: Строка 33:


Данная информация поможет юным и не очень разработчикам для создания [[Поваренная_книга_админа#Прототипы|прототипов]].
Данная информация поможет юным и не очень разработчикам для создания [[Поваренная_книга_админа#Прототипы|прототипов]].
{{Table-comp-h |size=20px|nobig=
|name=Название раздела
}}
{{Table-comp-h |size=14px
|name=Название компонента
|desc= - описание компонента.
}}
{| class="wikitable"
|-
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение
|-
{{Table-comp
|name=Название переменной
|type=Тип переменной
|value=Базовое значение переменной
|desc=Значение
}}
{{Table-comp |clr=#9650E4
|name=Название переменной 1
|type=Тип переменной 1
|value=Базовое значение переменной 1
|desc=Значение 1
}}
|}
|}
{{Table-comp-h |size=14px
|name=Название компонента 1
|desc= - описание компонента 1.
}}
|}
|}
<!--








-->
{{Table-comp-h |size=20px|nobig=
{{Table-comp-h |size=20px|nobig=
|name= }}
|name= }}
Строка 112: Строка 68:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=Cigar
|name=Cigar
|desc= - Одноразовый предмет для курения одноразового использования.}}
|desc= - Одноразовый предмет для курения.}}
|}
|}


{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=Drink
|name=Drink
|desc= - }}
|desc= - Компонент напитка.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
Строка 164: Строка 120:
|desc=Сколько времени нужно, чтобы выпить это самому.
|desc=Сколько времени нужно, чтобы выпить это самому.
}}  
}}  
{{Table-comp|clr=#9650E4
{{Table-comp
|name=forceFeedDelay
|name=forceFeedDelay
|type=float  
|type=float  
|value=3
|value=3
|desc=Вот сколько секунд требуется, чтобы насильно напоить кого-то этим напитком.  
|desc=Сколько секунд требуется, чтобы насильно напоить кого-то этим напитком.  
}}  
}}  
|}
|}
Строка 175: Строка 131:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=FlavorProfile
|name=FlavorProfile
|desc= - }}
|desc= - Компонент всплывающего сообщения о вкусе еды.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
Строка 197: Строка 153:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=Food
|name=Food
|desc= - }}
|desc= - Компонент еды.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
Строка 261: Строка 217:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=Hunger
|name=Hunger
|desc= - }}
|desc= - Компонент голода.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
Строка 281: Строка 237:
|name=thresholds
|name=thresholds
|type=Dictionary<HungerThreshold, float>
|type=Dictionary<HungerThreshold, float>
|value=
|value= { HungerThreshold.Overfed, 200.0f }, { HungerThreshold.Okay, 150.0f }, { HungerThreshold.Peckish, 100.0f }, { HungerThreshold.Starving, 50.0f }, { HungerThreshold.Dead, 0.0f }
|desc=
|desc=
}}  
}}  
Строка 305: Строка 261:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=SliceableFood
|name=SliceableFood
|desc= - }}
|desc= - Компонент разрезаемой еды.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
Строка 311: Строка 267:
|-
|-
{{Table-comp
{{Table-comp
|name=
|name=slice
|type=
|type=string
|value=
|value=string.Empty
|desc=
|desc=Ломтик, который получится в результате разрезки еды.
}}
{{Table-comp|clr=#9650E4
|name=sound
|type=SoundSpecifier
|value="/Audio/Items/Culinary/chop.ogg"
|desc=Звук разрезки.
}}  
}}  
|}
|}
{{Table-comp-h |size=14px
|name=Smokable
|desc= - }}
{| class="wikitable"
|-
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение
|-
{{Table-comp
{{Table-comp
|name=
|name=count
|type=
|type=ushort
|value=
|value=5
|desc=
|desc=Количество кусочков, на которые можно разрезать еду.
}}  
}}  
|}
|}
Строка 337: Строка 289:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=SmokingPipe
|name=SmokingPipe
|desc= - }}
|desc= - Многоразовая трубка для курения.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение  
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение  
|-
|-
{{Table-comp
{{Table-comp|clr=#9650E4
|name=
|name=bowl_slot
|type=
|type=ItemSlot
|value=
|value=
|desc=
|desc=Слот трубки.
}}  
}}  
|}
|}
Строка 353: Строка 305:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=Thirst
|name=Thirst
|desc= - }}
|desc= - Компонент жажды.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
Строка 359: Строка 311:
|-
|-
{{Table-comp
{{Table-comp
|name=
|name=baseDecayRate
|type=
|type=float
|value=
|value=0.1f
|desc=
|desc=Базовое голодание за промежуток времени.
}}
{{Table-comp
|name=startingThirst
|type=float
|value=-1f
|desc=Начальный уровень голода.
}}
{{Table-comp|clr=#9650E4
|name=thresholds
|type=Dictionary<ThirstThreshold, float>
|value={ThirstThreshold.OverHydrated, 600.0f}, {ThirstThreshold.Okay, 450.0f}, {ThirstThreshold.Thirsty, 300.0f}, {ThirstThreshold.Parched, 150.0f}, {ThirstThreshold.Dead, 0.0f}
|desc=Пороговы значения жажды.
}}  
}}  
|}
|}
Строка 369: Строка 333:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=TrashOnEmpty
|name=TrashOnEmpty
|desc= - }}
|desc= - Компонент, который помечает контейнеры с растворами как мусор, когда они опустошены.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
Строка 375: Строка 339:
|-
|-
{{Table-comp
{{Table-comp
|name=
|name=solution
|type=
|type=string
|value=
|value=string.Empty
|desc=
|desc=Название решения, в котором нужно проверить пустоту.
}}  
}}  
|}
|}
Строка 385: Строка 349:
{{Table-comp-h |size=14px
{{Table-comp-h |size=14px
|name=Utensil
|name=Utensil
|desc= - }}
|desc= - Компонент предметов, ломающихся при броске.}}
{| class="wikitable"
{| class="wikitable"
|-
|-
Строка 391: Строка 355:
|-
|-
{{Table-comp
{{Table-comp
|name=
|name=breakChance
|type=
|type=float
|value=
|value=
|desc=
|desc=Вероятность того, что предмет будет ломаться при каждом броске.
}}
{{Table-comp|clr=#9650E4
|name=breakSound
|type=SoundSpecifier
|value="/Audio/Items/snap.ogg"
|desc=Звук, который будет воспроизводиться, если предмет разобьется.
}}  
}}  
|}
|}
Строка 4865: Строка 4835:
|-
|-
|
|
<!--
-->
{| class="wikitable mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 14px; background:#303037;" border=3 cellspacing=0
!<big>BalloonPopper</big> - Компонент лопателя воздушных шаров.
|-
|
{| class="wikitable"
|-
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение
|-
| style="background-color:#383842; | <center>''' balloonTag '''</center> 
| style="background-color:#383842; color:#D14137| <center>''' string '''</center> 
| style="background-color:#383842; | <center>''' Balloon '''</center> 
| style="background-color:#383842; | <center>''' Тэг, обозначающий что-либо как воздушный шар. '''</center>
|-
| style="background-color:#383842; | <center>''' popSound '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier '''</center> 
| style="background-color:#383842; | <center>''' /Audio/Effects/balloon-pop.ogg '''</center> 
| style="background-color:#383842; | <center>''' Звук, который раздается, когда лопается воздушный шарик. '''</center>
|}
|}
<!--
<!--


Строка 4915: Строка 4907:
|-
|-
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение  
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение  
|-
| style="background-color:#383842; | <center>''' rechargeCooldown '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' float  '''</center> 
| style="background-color:#383842; | <center>''' 1,5f '''</center> 
| style="background-color:#383842; | <center>''' Кулдаун перезарядки. '''</center>
|-
|-
| style="background-color:#383842; | <center>''' rechargeSound '''</center>   
| style="background-color:#383842; | <center>''' rechargeSound '''</center>   
Строка 4921: Строка 4918:
| style="background-color:#383842; | <center>''' Звук перезарядки. '''</center>
| style="background-color:#383842; | <center>''' Звук перезарядки. '''</center>
|-
|-
| style="background-color:#383842; | <center>''' accumulatedFrametime '''</center>   
| style="background-color:#383842; | <center>''' nextCharge '''</center>   
| style="background-color:#383842; color:#D14137| <center>''' float '''</center>   
| style="background-color:#383842; color:#D14137| <center>''' TimeSpan '''</center>   
| style="background-color:#383842; | <center>'''  '''</center>   
| style="background-color:#383842; | <center>'''  '''</center>   
| style="background-color:#383842; | <center>'''  '''</center>
| style="background-color:#383842; | <center>'''  '''</center>
Строка 4938: Строка 4935:
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение  
! style="background-color:#4E5058; width: 20%" | Название переменной !! style="background-color:#4E5058; width: 5%" | Тип переменной !! style="background-color:#4E5058; width: 20%" | Базовое значение переменной !! style="background-color:#4E5058; width: 50%" | Значение  
|-
|-
| style="background-color:#383842; | <center>''' isSharp '''</center>   
| style="background-color:#383842; | <center>''' activatedColor '''</center>   
| style="background-color:#383842; color:#D14137| <center>''' bool '''</center>   
| style="background-color:#383842; color:#9650E4| <center>''' Color '''</center>   
| style="background-color:#383842; | <center>''' true '''</center>   
| style="background-color:#383842; | <center>''' Color.DodgerBlue'''</center>   
| style="background-color:#383842; | <center>'''  '''</center>
| style="background-color:#383842; | <center>''' Цвет лезвия активированного меча. '''</center>
|-
| rowspan="2" style="background-color:#383842; | <center>''' colorOptions  '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' List<Color> '''</center>  
| style="background-color:#383842; | <center>''' Color.Tomato, Color.DodgerBlue, Color.Aqua, Color.MediumSpringGreen, Color.MediumOrchid '''</center> 
| style="background-color:#383842; | <center>''' Список вариантов цветов для случайного выбора цвета. Определяется в EnergySwordSystem.'''</center>
|-
|-
| style="background-color:#383842; | <center>''' secret  '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' bool '''</center>
| style="background-color:#383842; color:#D14137| <center>''' bool '''</center>
| style="background-color:#383842; | <center>''' false '''</center>
| style="background-color:#383842; | <center>''' False '''</center>
| style="background-color:#383842; | <center>''' Взломан ли меч мультитулом? '''</center>
| style="background-color:#383842; | <center>''' Становится ли скрытым при деактивации. '''</center>
|-
|-
| style="background-color:#383842; | <center>''' cycleRate  '''</center>   
| style="background-color:#383842; | <center>''' cycleRate  '''</center>   
| style="background-color:#383842; color:#D14137| <center>''' float  '''</center>   
| style="background-color:#383842; color:#D14137| <center>''' float  '''</center>   
| style="background-color:#383842; | <center>''' 1f '''</center>   
| style="background-color:#383842; | <center>''' 1f '''</center>   
| style="background-color:#383842; | <center>''' частота циклов RGB для взломанных электронных мечей. '''</center>
| style="background-color:#383842; | <center>''' Частота циклов RGB для взломанных энергомечей. ''' </center>
|-
| style="background-color:#383842; | <center>''' activateSound '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier '''</center> 
| style="background-color:#383842; | <center>''' /Audio/Weapons/ebladeon.ogg '''</center> 
| style="background-color:#383842; | <center>''' Звук активации меча. '''</center>
|-
| style="background-color:#383842; | <center>''' deActivateSound  '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier  '''</center> 
| style="background-color:#383842; | <center>''' /Audio/Weapons/ebladeoff.ogg '''</center> 
| style="background-color:#383842; | <center>''' Звук деактивации меча. '''</center>
|-
| style="background-color:#383842; | <center>''' onHitOn '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier  '''</center> 
| style="background-color:#383842; | <center>''' /Audio/Weapons/eblade1.ogg '''</center> 
| style="background-color:#383842; | <center>''' звук удара включенного меча. '''</center>
|-
| style="background-color:#383842; | <center>''' onHitOff  '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier  '''</center> 
| style="background-color:#383842; | <center>''' /Audio/Weapons/genhit1.ogg '''</center> 
| style="background-color:#383842; | <center>''' Звук удара выключенного меча. '''</center>
|-
| style="background-color:#383842; | <center>''' colorOptions  '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' List<Color> '''</center> 
| style="background-color:#383842; | <center>''' Color.Tomato, Color.DodgerBlue, Color.Aqua, Color.MediumSpringGreen, Color.MediumOrchid '''</center> 
| style="background-color:#383842; | <center>''' Цвет лезвия меча. '''</center>
|-
| style="background-color:#383842; | <center>''' litDamageBonus '''</center> 
| style="background-color:#383842; color:#9650E4| <center>''' DamageSpecifier '''</center> 
| style="background-color:#383842; | <center>'''  '''</center> 
| style="background-color:#383842; | <center>'''  '''</center>
|-
| style="background-color:#383842; | <center>''' litDisarmMalus  '''</center> 
| style="background-color:#383842; color:#D14137| <center>''' float '''</center> 
| style="background-color:#383842; | <center>''' 0.6f '''</center> 
| style="background-color:#383842; | <center>'''  '''</center>
|}
|}
|}
|}
|}
|}
<!--
<!--
Строка 5032: Строка 4997:
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier? '''</center>   
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier? '''</center>   
| style="background-color:#383842; | <center>''' "/Audio/Effects/thudswoosh.ogg" '''</center>   
| style="background-color:#383842; | <center>''' "/Audio/Effects/thudswoosh.ogg" '''</center>   
| style="background-color:#383842; | <center>''' Звук заваривания объекта. '''</center>
| style="background-color:#383842; | <center>''' Звук взятия объекта а две руки. '''</center>
|-
|-
| style="background-color:#383842; | <center>''' unwieldSound'''</center>   
| style="background-color:#383842; | <center>''' unwieldSound'''</center>   
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier? '''</center>   
| style="background-color:#383842; color:#9650E4| <center>''' SoundSpecifier? '''</center>   
| style="background-color:#383842; | <center>'''  '''</center>   
| style="background-color:#383842; | <center>'''  '''</center>   
| style="background-color:#383842; | <center>''' Звук разваривания объекта. '''</center>
| style="background-color:#383842; | <center>''' Звук взятия объекта в одну руку. '''</center>
|-
|-
| style="background-color:#383842; | <center>''' freeHandsRequired '''</center>   
| style="background-color:#383842; | <center>''' freeHandsRequired '''</center>