ВНИМАНИЕ!!! ОБНАРУЖЕНЫ УЛИТКИ!!! (#774)
@@ -14,9 +14,26 @@ public sealed class MobStateActionsSystem : EntitySystem
|
|||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
SubscribeLocalEvent<MobStateActionsComponent, MobStateChangedEvent>(OnMobStateChanged);
|
SubscribeLocalEvent<MobStateActionsComponent, MobStateChangedEvent>(OnMobStateChanged);
|
||||||
|
SubscribeLocalEvent<MobStateComponent, ComponentInit>(OnMobStateComponentInit); // WD ahead of wizden
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnMobStateChanged(EntityUid uid, MobStateActionsComponent component, MobStateChangedEvent args)
|
private void OnMobStateChanged(EntityUid uid, MobStateActionsComponent component, MobStateChangedEvent args)
|
||||||
|
{
|
||||||
|
ComposeActions(uid, component, args.NewMobState); // WD ahead of wizden
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnMobStateComponentInit(EntityUid uid, MobStateComponent component, ComponentInit args) // WD ahead of wizden
|
||||||
|
{
|
||||||
|
if (!TryComp<MobStateActionsComponent>(uid, out var mobStateActionsComp))
|
||||||
|
return;
|
||||||
|
|
||||||
|
ComposeActions(uid, mobStateActionsComp, component.CurrentState);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Adds or removes actions from a mob based on mobstate.
|
||||||
|
/// </summary>
|
||||||
|
private void ComposeActions(EntityUid uid, MobStateActionsComponent component, MobState newMobState) // WD ahead of wizden
|
||||||
{
|
{
|
||||||
if (!TryComp<ActionsComponent>(uid, out var action))
|
if (!TryComp<ActionsComponent>(uid, out var action))
|
||||||
return;
|
return;
|
||||||
@@ -27,7 +44,7 @@ public sealed class MobStateActionsSystem : EntitySystem
|
|||||||
}
|
}
|
||||||
component.GrantedActions.Clear();
|
component.GrantedActions.Clear();
|
||||||
|
|
||||||
if (!component.Actions.TryGetValue(args.NewMobState, out var toGrant))
|
if (!component.Actions.TryGetValue(newMobState, out var toGrant))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
foreach (var id in toGrant)
|
foreach (var id in toGrant)
|
||||||
|
|||||||
@@ -10,6 +10,13 @@ ghost-role-information-mouse-description = A hungry and mischievous mouse.
|
|||||||
ghost-role-information-mothroach-name = Mothroach
|
ghost-role-information-mothroach-name = Mothroach
|
||||||
ghost-role-information-mothroach-description = A cute but mischievous mothroach.
|
ghost-role-information-mothroach-description = A cute but mischievous mothroach.
|
||||||
|
|
||||||
|
ghost-role-information-snail-name = Snail
|
||||||
|
ghost-role-information-snail-description = A little snail who doesn't mind a bit of space. Just stay on grid!
|
||||||
|
ghost-role-information-snailspeed-name = Snail
|
||||||
|
ghost-role-information-snailspeed-description = A little snail with snailborn thrusters.
|
||||||
|
ghost-role-information-snoth-name = Snoth
|
||||||
|
ghost-role-information-snoth-description = A little snoth who doesn't mind a bit of space. Just stay on grid!
|
||||||
|
|
||||||
ghost-role-information-giant-spider-name = Giant spider
|
ghost-role-information-giant-spider-name = Giant spider
|
||||||
ghost-role-information-giant-spider-description = This station's inhabitants look mighty tasty, and your sticky web is perfect to catch them!
|
ghost-role-information-giant-spider-description = This station's inhabitants look mighty tasty, and your sticky web is perfect to catch them!
|
||||||
|
|
||||||
|
|||||||
@@ -9,3 +9,7 @@ species-name-arachnid = Arachnid
|
|||||||
species-name-moth = Moth Person
|
species-name-moth = Moth Person
|
||||||
species-name-skeleton = Skeleton
|
species-name-skeleton = Skeleton
|
||||||
species-name-vox = Vox
|
species-name-vox = Vox
|
||||||
|
|
||||||
|
## Misc species things
|
||||||
|
|
||||||
|
snail-hurt-by-salt-popup = The salty solution burns like acid!
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ spellbook-mime-desc = { ent-ActionMimeTouchSpell.desc }
|
|||||||
spellbook-recall-name = { ent-ActionInstantRecallSpell }
|
spellbook-recall-name = { ent-ActionInstantRecallSpell }
|
||||||
spellbook-recall-desc = { ent-ActionInstantRecallSpell.desc }
|
spellbook-recall-desc = { ent-ActionInstantRecallSpell.desc }
|
||||||
|
|
||||||
spellbook-smite-name = { ent-ActionSmite }
|
spellbook-smite-name = { ent-ActionSmiteWizard }
|
||||||
spellbook-smite-desc = { ent-ActionSmite.desc }
|
spellbook-smite-desc = { ent-ActionSmiteWizard.desc }
|
||||||
|
|
||||||
spellbook-mindswap-name = { ent-ActionMindswapSpell }
|
spellbook-mindswap-name = { ent-ActionMindswapSpell }
|
||||||
spellbook-mindswap-desc = { ent-ActionMindswapSpell.desc }
|
spellbook-mindswap-desc = { ent-ActionMindswapSpell.desc }
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ ent-ActionTeleportSpell = Телепортация
|
|||||||
ent-ActionKnock = Стук
|
ent-ActionKnock = Стук
|
||||||
.desc = Открывает все двери, шлюзы и шкафы в радиусе 5 тайлов.
|
.desc = Открывает все двери, шлюзы и шкафы в радиусе 5 тайлов.
|
||||||
|
|
||||||
ent-ActionSmite = Кара
|
ent-ActionSmiteWizard = Кара
|
||||||
.desc = Заряжает вашу руку мерзкой энергией, которую можно использовать для взрыва жертв. Заклинание требует, чтобы вы коснулись своей цели, поэтому вы не сможете использовать его в наручниках или будучи оглушённым. Не работает без волшебной мантии и шляпы.
|
.desc = Заряжает вашу руку мерзкой энергией, которую можно использовать для взрыва жертв. Заклинание требует, чтобы вы коснулись своей цели, поэтому вы не сможете использовать его в наручниках или будучи оглушённым. Не работает без волшебной мантии и шляпы.
|
||||||
|
|
||||||
ent-ActionMindswapSpell = Подмена сознания
|
ent-ActionMindswapSpell = Подмена сознания
|
||||||
|
|||||||
@@ -10,6 +10,15 @@ ghost-role-information-mouse-description = Голодная и озорная м
|
|||||||
ghost-role-information-mothroach-name = Таракамоль
|
ghost-role-information-mothroach-name = Таракамоль
|
||||||
ghost-role-information-mothroach-description = Милая озорная таракамоль.
|
ghost-role-information-mothroach-description = Милая озорная таракамоль.
|
||||||
|
|
||||||
|
ghost-role-information-snail-name = Улитка
|
||||||
|
ghost-role-information-snail-description = Маленькая улитка, которая не против немного побыть на свободе. Только не убегай за пределы клетки!
|
||||||
|
ghost-role-information-snailspeed-name = Улитка
|
||||||
|
ghost-role-information-snailspeed-description = Маленькая улитка с турбоулиточными ускорителями.
|
||||||
|
ghost-role-information-snoth-name = Молитка
|
||||||
|
ghost-role-information-snoth-description = Маленькая молитка, которая не против немного побыть на свободе. Только не убегай за пределы клетки!
|
||||||
|
ghost-role-information-deathsnail-name = Улитка забвения
|
||||||
|
ghost-role-information-deathsnail-description = Маленькая улитка, предвестник Конца, последний адепт Элегиста. Вся жизнь будет окончена, все звёзды - потухнут, но она останется.
|
||||||
|
|
||||||
ghost-role-information-giant-spider-name = Гигантский паук
|
ghost-role-information-giant-spider-name = Гигантский паук
|
||||||
ghost-role-information-giant-spider-description = Устройте хаос обитателям станции!
|
ghost-role-information-giant-spider-description = Устройте хаос обитателям станции!
|
||||||
|
|
||||||
|
|||||||
@@ -51,3 +51,13 @@ ent-MobKangarooSpace = космо-кенгуру
|
|||||||
.desc = Это выглядит дружелюбно. Почему бы тебе не обнять его?
|
.desc = Это выглядит дружелюбно. Почему бы тебе не обнять его?
|
||||||
ent-MobSpiderSpace = космо-паук
|
ent-MobSpiderSpace = космо-паук
|
||||||
.desc = Он так светится, что выглядит опасным.
|
.desc = Он так светится, что выглядит опасным.
|
||||||
|
ent-MobSnail = улитка
|
||||||
|
.desc = Отвратительна, только если вы не француз.
|
||||||
|
ent-MobSnailInstantDeath = { ent-MobSnail }
|
||||||
|
.suffix = Кара
|
||||||
|
.desc = Древнее существо, пришедшее из ниоткуда и которое останется, пока последний атом не будет расчеплён.
|
||||||
|
ent-MobSnailSpeed = { ent-MobSnail }
|
||||||
|
.suffix = Скорость
|
||||||
|
.desc = { ent-MobSnail.desc }
|
||||||
|
ent-MobSnailMoth = молитка
|
||||||
|
.desc = Отвратительна, только если вы не моль-француз.
|
||||||
|
|||||||
@@ -10,3 +10,7 @@ species-name-skrell = Скрелл
|
|||||||
species-name-moth = Моль
|
species-name-moth = Моль
|
||||||
species-name-skeleton = Скелет
|
species-name-skeleton = Скелет
|
||||||
species-name-felinid = Фелинид
|
species-name-felinid = Фелинид
|
||||||
|
|
||||||
|
## Misc species things
|
||||||
|
|
||||||
|
snail-hurt-by-salt-popup = Соленый раствор жжет, как кислота!
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ ent-FoodMeatMeatball = фрикаделька
|
|||||||
.desc = Шарик сырого мяса. Ноу хомо.
|
.desc = Шарик сырого мяса. Ноу хомо.
|
||||||
ent-FoodMeatSlime = шар слизи
|
ent-FoodMeatSlime = шар слизи
|
||||||
.desc = Студенистая масса из слаймового желе.
|
.desc = Студенистая масса из слаймового желе.
|
||||||
|
ent-FoodMeatSnail = сырое мясо улитки
|
||||||
|
.desc = Лучше с солью.
|
||||||
ent-FoodMeatCooked = стейк
|
ent-FoodMeatCooked = стейк
|
||||||
.desc = Зажаренный кусок мяса. Аромат первобытности.
|
.desc = Зажаренный кусок мяса. Аромат первобытности.
|
||||||
ent-FoodMeatBaconCooked = бекон
|
ent-FoodMeatBaconCooked = бекон
|
||||||
@@ -72,6 +74,8 @@ ent-FoodMeatSpiderlegCooked = приготовленная паучья нога
|
|||||||
.desc = Нога гигантского паука, которая все еще дергается после приготовления. Отвратительно!
|
.desc = Нога гигантского паука, которая все еще дергается после приготовления. Отвратительно!
|
||||||
ent-FoodMeatMeatballCooked = фрикаделька
|
ent-FoodMeatMeatballCooked = фрикаделька
|
||||||
.desc = Приготовленная фрикаделька. Идеально подходит для добавления в другие блюда... кроме фруктовых.
|
.desc = Приготовленная фрикаделька. Идеально подходит для добавления в другие блюда... кроме фруктовых.
|
||||||
|
ent-FoodMeatSnailCooked = варёная улитка
|
||||||
|
.desc = Лучше с солью.
|
||||||
ent-FoodMeatCutlet = сырая котлета
|
ent-FoodMeatCutlet = сырая котлета
|
||||||
.desc = Котлета из сырого мяса.
|
.desc = Котлета из сырого мяса.
|
||||||
ent-FoodMeatBearCutlet = сырая котлета из медведя
|
ent-FoodMeatBearCutlet = сырая котлета из медведя
|
||||||
|
|||||||
@@ -84,3 +84,5 @@ ent-FoodSaladColeslaw = салат коул слоу
|
|||||||
.desc = Нашинкованную капусту и красный лук заправить винегретом.
|
.desc = Нашинкованную капусту и красный лук заправить винегретом.
|
||||||
ent-FoodSaladKimchi = салат кимчи
|
ent-FoodSaladKimchi = салат кимчи
|
||||||
.desc = На самом деле это просто острый салат.
|
.desc = На самом деле это просто острый салат.
|
||||||
|
ent-FoodSoupEscargot = эскарго
|
||||||
|
.desc = Сытное сливочное блюдо с улитками, бон апетит!
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
ent-ActionSmite = Кара
|
||||||
|
.desc = Мгновенно поражает цель.
|
||||||
@@ -375,3 +375,239 @@
|
|||||||
suffix: "Salvage Ruleset"
|
suffix: "Salvage Ruleset"
|
||||||
components:
|
components:
|
||||||
- type: SalvageMobRestrictions
|
- type: SalvageMobRestrictions
|
||||||
|
|
||||||
|
- type: entity # WD Ahead of wizden
|
||||||
|
parent: SimpleSpaceMobBase
|
||||||
|
id: MobSnail
|
||||||
|
name: snail
|
||||||
|
description: Revolting unless you're french.
|
||||||
|
components:
|
||||||
|
- type: Body
|
||||||
|
prototype: Mouse
|
||||||
|
- type: GhostRole
|
||||||
|
makeSentient: true
|
||||||
|
allowSpeech: false
|
||||||
|
allowMovement: true
|
||||||
|
name: ghost-role-information-snail-name
|
||||||
|
description: ghost-role-information-snail-description
|
||||||
|
# rules: ghost-role-information-freeagent-rules # WD TODO later
|
||||||
|
- type: GhostTakeoverAvailable
|
||||||
|
- type: Emoting
|
||||||
|
- type: Sprite
|
||||||
|
drawdepth: SmallMobs
|
||||||
|
sprite: Mobs/Animals/snail.rsi
|
||||||
|
layers:
|
||||||
|
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||||
|
state: snail
|
||||||
|
- type: Item
|
||||||
|
size: Tiny
|
||||||
|
- type: NpcFactionMember
|
||||||
|
factions:
|
||||||
|
- Mouse
|
||||||
|
- type: HTN
|
||||||
|
rootTask:
|
||||||
|
task: MouseCompound
|
||||||
|
- type: Physics
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
fix1:
|
||||||
|
shape:
|
||||||
|
!type:PhysShapeCircle
|
||||||
|
radius: 0.2
|
||||||
|
density: 100
|
||||||
|
mask:
|
||||||
|
- SmallMobMask
|
||||||
|
layer:
|
||||||
|
- SmallMobLayer
|
||||||
|
- type: MobState
|
||||||
|
- type: Deathgasp
|
||||||
|
- type: MobStateActions
|
||||||
|
actions:
|
||||||
|
Critical:
|
||||||
|
- ActionCritSuccumb
|
||||||
|
- ActionCritFakeDeath
|
||||||
|
- ActionCritLastWords
|
||||||
|
- type: MobThresholds
|
||||||
|
thresholds:
|
||||||
|
0: Alive
|
||||||
|
10: Critical
|
||||||
|
20: Dead
|
||||||
|
- type: MovementSpeedModifier
|
||||||
|
baseWalkSpeed : 2
|
||||||
|
baseSprintSpeed : 3
|
||||||
|
- type: DamageStateVisuals
|
||||||
|
states:
|
||||||
|
Alive:
|
||||||
|
Base: snail
|
||||||
|
Critical:
|
||||||
|
Base: dead
|
||||||
|
Dead:
|
||||||
|
Base: dead
|
||||||
|
- type: Food
|
||||||
|
- type: Thirst
|
||||||
|
startingThirst: 25 # spawn with Okay thirst state
|
||||||
|
thresholds:
|
||||||
|
OverHydrated: 35
|
||||||
|
Okay: 25
|
||||||
|
Thirsty: 15
|
||||||
|
Parched: 10
|
||||||
|
Dead: 0
|
||||||
|
baseDecayRate: 0.04
|
||||||
|
- type: Hunger
|
||||||
|
currentHunger: 25 # spawn with Okay hunger state
|
||||||
|
thresholds:
|
||||||
|
Overfed: 35
|
||||||
|
Okay: 25
|
||||||
|
Peckish: 15
|
||||||
|
Starving: 10
|
||||||
|
Dead: 0
|
||||||
|
baseDecayRate: 0.1
|
||||||
|
- type: Extractable
|
||||||
|
grindableSolutionName: food
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
food:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: UncookedAnimalProteins
|
||||||
|
Quantity: 3
|
||||||
|
- type: Butcherable
|
||||||
|
spawned:
|
||||||
|
- id: FoodMeatSnail
|
||||||
|
amount: 1
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Trash
|
||||||
|
- VimPilot
|
||||||
|
- ChefPilot
|
||||||
|
- Meat
|
||||||
|
- type: CombatMode
|
||||||
|
combatToggleAction: ActionCombatModeToggleOff
|
||||||
|
- type: Bloodstream
|
||||||
|
bloodMaxVolume: 30
|
||||||
|
bloodReagent: Cryoxadone
|
||||||
|
- type: CanEscapeInventory
|
||||||
|
- type: MobPrice
|
||||||
|
price: 50
|
||||||
|
- type: BadFood
|
||||||
|
- type: NonSpreaderZombie
|
||||||
|
- type: PreventSpiller
|
||||||
|
- type: FireVisuals
|
||||||
|
sprite: Mobs/Effects/onfire.rsi
|
||||||
|
normalState: Mouse_burning
|
||||||
|
- type: Temperature
|
||||||
|
heatDamageThreshold: 500
|
||||||
|
coldDamageThreshold: 0
|
||||||
|
- type: Reactive
|
||||||
|
reactions:
|
||||||
|
- reagents: [TableSalt, Saline]
|
||||||
|
methods: [Touch, Ingestion, Injection]
|
||||||
|
effects:
|
||||||
|
- !type:HealthChange
|
||||||
|
scaleByQuantity: true
|
||||||
|
damage:
|
||||||
|
types:
|
||||||
|
Caustic: 1
|
||||||
|
- !type:PopupMessage
|
||||||
|
type: Local
|
||||||
|
visualType: Large
|
||||||
|
messages: [ "snail-hurt-by-salt-popup" ]
|
||||||
|
probability: 0.66
|
||||||
|
|
||||||
|
- type: entity # WD Ahead of wizden
|
||||||
|
parent: MobSnail
|
||||||
|
id: MobSnailInstantDeath
|
||||||
|
suffix: Smite
|
||||||
|
components:
|
||||||
|
- type: MobStateActions
|
||||||
|
actions:
|
||||||
|
Alive:
|
||||||
|
- ActionSmite
|
||||||
|
Critical:
|
||||||
|
- ActionCritSuccumb
|
||||||
|
- ActionCritFakeDeath
|
||||||
|
- ActionCritLastWords
|
||||||
|
# - type: Godmode # WD Removed - not funny
|
||||||
|
- type: MovementAlwaysTouching
|
||||||
|
# WD EDIT START
|
||||||
|
- type: MobThresholds
|
||||||
|
thresholds:
|
||||||
|
0: Alive
|
||||||
|
1900: Critical
|
||||||
|
2000: Dead
|
||||||
|
- type: Bloodstream
|
||||||
|
maxBleedAmount: 1
|
||||||
|
bloodMaxVolume: 100
|
||||||
|
bloodReagent: Necrosol
|
||||||
|
- type: GhostRole
|
||||||
|
name: ghost-role-information-deathsnail-name
|
||||||
|
description: ghost-role-information-deathsnail-description
|
||||||
|
raffle:
|
||||||
|
settings: default
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||||
|
state: deathsnail
|
||||||
|
- type: PointLight
|
||||||
|
color: red
|
||||||
|
energy: 2
|
||||||
|
range: 3
|
||||||
|
- type: AmbientSound
|
||||||
|
range: 5
|
||||||
|
volume: 30
|
||||||
|
sound:
|
||||||
|
path: /Audio/White/Supermatter/calm.ogg
|
||||||
|
- type: MovementSpeedModifier
|
||||||
|
baseWalkSpeed : 0.5
|
||||||
|
baseSprintSpeed : 1
|
||||||
|
# WD EDIT END
|
||||||
|
|
||||||
|
- type: entity # WD Ahead of wizden
|
||||||
|
parent: MobSnail
|
||||||
|
id: MobSnailSpeed
|
||||||
|
suffix: Speed
|
||||||
|
components:
|
||||||
|
- type: GhostRole
|
||||||
|
name: ghost-role-information-snailspeed-name
|
||||||
|
description: ghost-role-information-snailspeed-description
|
||||||
|
# rules: ghost-role-information-freeagent-rules # WD TODO later
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||||
|
state: spacesnail
|
||||||
|
- type: DamageStateVisuals
|
||||||
|
states:
|
||||||
|
Alive:
|
||||||
|
Base: spacesnail
|
||||||
|
Critical:
|
||||||
|
Base: spacedead
|
||||||
|
Dead:
|
||||||
|
Base: spacedead
|
||||||
|
- type: MovementSpeedModifier
|
||||||
|
baseWalkSpeed : 5 #he go fast, also they cant slip so its probably fine.
|
||||||
|
baseSprintSpeed : 7
|
||||||
|
# - type: ActiveJetpack # I think this will need a custom component to not make tests angry.
|
||||||
|
- type: MovementAlwaysTouching
|
||||||
|
|
||||||
|
- type: entity # WD Ahead of wizden
|
||||||
|
parent: MobSnail
|
||||||
|
id: MobSnailMoth
|
||||||
|
name: Snoth
|
||||||
|
components:
|
||||||
|
- type: Body
|
||||||
|
prototype: Mothroach
|
||||||
|
- type: GhostRole
|
||||||
|
name: ghost-role-information-snoth-name
|
||||||
|
description: ghost-role-information-snoth-description
|
||||||
|
# rules: ghost-role-information-freeagent-rules # WD TODO later
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||||
|
state: snoth
|
||||||
|
- type: DamageStateVisuals
|
||||||
|
states:
|
||||||
|
Alive:
|
||||||
|
Base: snoth
|
||||||
|
Critical:
|
||||||
|
Base: snothdead
|
||||||
|
Dead:
|
||||||
|
Base: snothdead
|
||||||
|
|||||||
@@ -679,6 +679,35 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: slime
|
state: slime
|
||||||
|
|
||||||
|
- type: entity # WD Ahead of wizden
|
||||||
|
name: raw snail meat
|
||||||
|
parent: FoodMeatRawBase
|
||||||
|
id: FoodMeatSnail
|
||||||
|
description: Improved with salt.
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
state: snail
|
||||||
|
# - type: FoodSequenceElement # WD TODO later
|
||||||
|
# sprite:
|
||||||
|
# sprite: Objects/Consumable/Food/meat.rsi
|
||||||
|
# state: snail
|
||||||
|
# entries:
|
||||||
|
# burger:
|
||||||
|
# name: food-sequence-content-snail
|
||||||
|
# taco:
|
||||||
|
# name: food-sequence-content-snail
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
food:
|
||||||
|
maxVol: 15
|
||||||
|
reagents:
|
||||||
|
- ReagentId: UncookedAnimalProteins
|
||||||
|
Quantity: 3
|
||||||
|
- ReagentId: Fat
|
||||||
|
Quantity: 3
|
||||||
|
- ReagentId: Water
|
||||||
|
Quantity: 4 #It makes saline if you add salt!
|
||||||
|
|
||||||
# Cooked
|
# Cooked
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
@@ -1070,6 +1099,40 @@
|
|||||||
- ReagentId: Protein
|
- ReagentId: Protein
|
||||||
Quantity: 5
|
Quantity: 5
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: boiled snail
|
||||||
|
parent: FoodMeatBase
|
||||||
|
id: FoodMeatSnailCooked
|
||||||
|
description: Improved with salt.
|
||||||
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Cooked
|
||||||
|
- Meat
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: snail-cooked
|
||||||
|
# - type: FoodSequenceElement
|
||||||
|
# sprite:
|
||||||
|
# sprite: Objects/Consumable/Food/meat.rsi
|
||||||
|
# state: snail-cooked
|
||||||
|
# entries:
|
||||||
|
# burger:
|
||||||
|
# name: food-sequence-content-snail
|
||||||
|
# taco:
|
||||||
|
# name: food-sequence-content-snail
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
food:
|
||||||
|
maxVol: 15
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Nutriment
|
||||||
|
Quantity: 3
|
||||||
|
- ReagentId: Protein
|
||||||
|
Quantity: 3
|
||||||
|
- ReagentId: Water
|
||||||
|
Quantity: 4 # makes saline if you add salt!
|
||||||
|
|
||||||
# Cutlets
|
# Cutlets
|
||||||
|
|
||||||
# Raw
|
# Raw
|
||||||
|
|||||||
@@ -1226,3 +1226,33 @@
|
|||||||
- Fruit
|
- Fruit
|
||||||
- Soup
|
- Soup
|
||||||
# Tastes like bungo, hot curry.
|
# Tastes like bungo, hot curry.
|
||||||
|
|
||||||
|
- type: entity # WD Ahead of wizden
|
||||||
|
name: escargot
|
||||||
|
parent: FoodBowlBase
|
||||||
|
id: FoodSoupEscargot
|
||||||
|
description: A creamy and rich bowl of snails, bon appetit!
|
||||||
|
components:
|
||||||
|
- type: FlavorProfile
|
||||||
|
flavors:
|
||||||
|
- creamy
|
||||||
|
- slimy
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: bowl
|
||||||
|
- state: escargot
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
food:
|
||||||
|
maxVol: 20
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Nutriment
|
||||||
|
Quantity: 6
|
||||||
|
- ReagentId: Vitamin
|
||||||
|
Quantity: 6
|
||||||
|
- ReagentId: Allicin
|
||||||
|
Quantity: 3
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Meat
|
||||||
|
- Soup
|
||||||
|
|||||||
@@ -207,6 +207,52 @@
|
|||||||
- id: MobMothroach
|
- id: MobMothroach
|
||||||
prob: 0.008
|
prob: 0.008
|
||||||
|
|
||||||
|
- type: entity # WD Ahead of wizden
|
||||||
|
id: SnailMigrationLowPop
|
||||||
|
# parent: BaseStationEventShortDelay # WD TODO later
|
||||||
|
parent: BaseGameRule
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: StationEvent
|
||||||
|
startAnnouncement: station-event-vent-creatures-start-announcement
|
||||||
|
startAudio:
|
||||||
|
path: /Audio/Announcements/attention.ogg
|
||||||
|
weight: 6
|
||||||
|
duration: 50
|
||||||
|
- type: VentCrittersRule
|
||||||
|
entries:
|
||||||
|
- id: MobSnail
|
||||||
|
prob: 0.02
|
||||||
|
- id: MobSnailSpeed
|
||||||
|
prob: 0.002
|
||||||
|
- id: MobSnailMoth
|
||||||
|
prob: 0.005 # WD edit from 0.002 to 0.005
|
||||||
|
|
||||||
|
- type: entity # WD Ahead of wizden
|
||||||
|
id: SnailMigration
|
||||||
|
# parent: BaseStationEventShortDelay # WD TODO later
|
||||||
|
parent: BaseGameRule
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: StationEvent
|
||||||
|
startAnnouncement: station-event-vent-creatures-start-announcement
|
||||||
|
startAudio:
|
||||||
|
path: /Audio/Announcements/attention.ogg
|
||||||
|
earliestStart: 15
|
||||||
|
weight: 6
|
||||||
|
duration: 50
|
||||||
|
minimumPlayers: 30
|
||||||
|
- type: VentCrittersRule
|
||||||
|
entries:
|
||||||
|
- id: MobSnail
|
||||||
|
prob: 0.02
|
||||||
|
- id: MobSnailSpeed
|
||||||
|
prob: 0.002
|
||||||
|
- id: MobSnailMoth
|
||||||
|
prob: 0.005 # WD edit from 0.002 to 0.005
|
||||||
|
- id: MobSnailInstantDeath
|
||||||
|
prob: 0.00001 # ~ 1:2000 snails
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: PowerGridCheck
|
id: PowerGridCheck
|
||||||
parent: BaseGameRule
|
parent: BaseGameRule
|
||||||
|
|||||||
@@ -4,8 +4,6 @@
|
|||||||
description: Instantly gibs a target.
|
description: Instantly gibs a target.
|
||||||
noSpawn: true
|
noSpawn: true
|
||||||
components:
|
components:
|
||||||
- type: Magic
|
|
||||||
requiresClothes: true
|
|
||||||
- type: EntityTargetAction
|
- type: EntityTargetAction
|
||||||
useDelay: 60
|
useDelay: 60
|
||||||
itemIconStyle: BigAction
|
itemIconStyle: BigAction
|
||||||
@@ -22,3 +20,13 @@
|
|||||||
state: gib
|
state: gib
|
||||||
event: !type:SmiteSpellEvent
|
event: !type:SmiteSpellEvent
|
||||||
speech: action-speech-spell-smite
|
speech: action-speech-spell-smite
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: ActionSmiteWizard
|
||||||
|
parent: ActionSmite
|
||||||
|
name: Smite
|
||||||
|
description: Instantly gibs a target.
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Magic
|
||||||
|
requiresClothes: true
|
||||||
|
|||||||
@@ -896,6 +896,29 @@
|
|||||||
FoodBungo: 2
|
FoodBungo: 2
|
||||||
FoodChiliPepper: 1
|
FoodChiliPepper: 1
|
||||||
|
|
||||||
|
- type: microwaveMealRecipe # WD Ahead of wizden
|
||||||
|
id: RecipeBoiledSnail
|
||||||
|
name: boiled snail recipe
|
||||||
|
result: FoodMeatSnailCooked
|
||||||
|
time: 5
|
||||||
|
reagents:
|
||||||
|
Water: 10
|
||||||
|
solids:
|
||||||
|
FoodMeatSnail: 1
|
||||||
|
|
||||||
|
- type: microwaveMealRecipe # WD Ahead of wizden
|
||||||
|
id: RecipeEscargotSoup
|
||||||
|
name: escargot recipe
|
||||||
|
result: FoodSoupEscargot
|
||||||
|
time: 10
|
||||||
|
reagents:
|
||||||
|
Water: 5
|
||||||
|
solids:
|
||||||
|
FoodBowlBig: 1
|
||||||
|
FoodOnionSlice: 1
|
||||||
|
FoodButter: 1
|
||||||
|
FoodMeatSnailCooked: 1
|
||||||
|
|
||||||
#Pies
|
#Pies
|
||||||
|
|
||||||
- type: microwaveMealRecipe
|
- type: microwaveMealRecipe
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
name: "Smite scroll"
|
name: "Smite scroll"
|
||||||
components:
|
components:
|
||||||
- type: Scroll
|
- type: Scroll
|
||||||
actionId: ActionSmite
|
actionId: ActionSmiteWizard
|
||||||
learnPopup: scroll-component-smite
|
learnPopup: scroll-component-smite
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
|||||||
BIN
Resources/Textures/Mobs/Animals/snail.rsi/dead.png
Normal file
|
After Width: | Height: | Size: 441 B |
BIN
Resources/Textures/Mobs/Animals/snail.rsi/deathsnail.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
36
Resources/Textures/Mobs/Animals/snail.rsi/meta.json
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Created by Kezu (discord) & IProduceWidgets (github)",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "snail",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "dead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "spacesnail",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "deathsnail",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "spacedead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "snoth",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "snothdead"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
Resources/Textures/Mobs/Animals/snail.rsi/snail.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Resources/Textures/Mobs/Animals/snail.rsi/snoth.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Resources/Textures/Mobs/Animals/snail.rsi/snothdead.png
Normal file
|
After Width: | Height: | Size: 503 B |
BIN
Resources/Textures/Mobs/Animals/snail.rsi/spacedead.png
Normal file
|
After Width: | Height: | Size: 478 B |
BIN
Resources/Textures/Mobs/Animals/snail.rsi/spacesnail.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
Resources/Textures/Objects/Consumable/Food/bowl.rsi/escargot.png
Normal file
|
After Width: | Height: | Size: 392 B |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "Taken from tgstation and modified by Swept at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa. Fills created by potato1234_x",
|
"copyright": "Taken from tgstation and modified by Swept at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa. escargot from tgstation at https://github.com/tgstation/tgstation/commit/7ffd61b6fa6a6183daa8900f9a490f46f7a81955. Fills created by potato1234_x",
|
||||||
"size": {
|
"size": {
|
||||||
"x": 32,
|
"x": 32,
|
||||||
"y": 32
|
"y": 32
|
||||||
@@ -66,6 +66,9 @@
|
|||||||
0.1
|
0.1
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "escargot"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "eyeball"
|
"name": "eyeball"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "Taken from tgstation and modified by Swept, potato1234x and deltanedas at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa",
|
"copyright": "Taken from tgstation and modified by Swept, potato1234x and deltanedas at https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa, snail by IproduceWidgets (github) and Kezu (discord)",
|
||||||
"size": {
|
"size": {
|
||||||
"x": 32,
|
"x": 32,
|
||||||
"y": 32
|
"y": 32
|
||||||
@@ -152,6 +152,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "slime"
|
"name": "slime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "snail"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "snail-cooked"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "snake"
|
"name": "snake"
|
||||||
|
|||||||
|
After Width: | Height: | Size: 290 B |
BIN
Resources/Textures/Objects/Consumable/Food/meat.rsi/snail.png
Normal file
|
After Width: | Height: | Size: 307 B |