-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f21a912
commit 154358a
Showing
100 changed files
with
774 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
Resources/Locale/en-US/_prototypes/_sunrise/entities/markers/spawners/mobs.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ent-SpawnMobSnowMan = snowman spawner | ||
.suffix = NewYear | Passive | ||
ent-SpawnMobSnowManEvil = evil snowman spawner | ||
.suffix = NewYear | Hostile |
6 changes: 6 additions & 0 deletions
6
Resources/Locale/en-US/_prototypes/_sunrise/entities/mobs/npcs/snowman.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ent-MobSnowMan = snowman | ||
.desc = A snowman who came to life thanks to the New Year's magic of bluespace! | ||
.suffix = NewYear | Passive | ||
ent-MobSnowManEvil = snowman | ||
.desc = { ent-MobSnowMan.desc } | ||
.suffix = NewYear | Hostile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Resources/Locale/en-US/_prototypes/_sunrise/entities/structures/wallmounts/newyear.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ent-Garland = garland | ||
.desc = A familiar Christmas decoration! +100 to a New Year's mood. | ||
.suffix = NewYear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Resources/Locale/ru-RU/_prototypes/_sunrise/entities/markers/spawners/mobs.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
ent-SpawnMobGorillaLargo = спавнер гориллы Ларго | ||
.desc = { ent-MarkerBase.desc } | ||
ent-SpawnMobSnowMan = спавнер снеговика | ||
.suffix = Новый Год | Пассивный | ||
ent-SpawnMobSnowManEvil = спавнер враждебного снеговика | ||
.suffix = Новый Год | Враждебный |
6 changes: 6 additions & 0 deletions
6
Resources/Locale/ru-RU/_prototypes/_sunrise/entities/mobs/npcs/snowman.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ent-MobSnowMan = снеговик | ||
.desc = Снежный человек что ожил благодаря новогодней магии блюспейса! | ||
.suffix = Новый Год | Пассивный | ||
ent-MobSnowManEvil = снеговик | ||
.desc = { ent-MobSnowMan.desc } | ||
.suffix = Новый Год | Враждебный |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Resources/Locale/ru-RU/_prototypes/_sunrise/entities/structures/wallmounts/newyear.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ent-Garland = гирлянда | ||
.desc = Всем знакомое новогоднее украшение! +100 к новогоднему настроению. | ||
.suffix = Новый Год |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
Resources/Prototypes/_Sunrise/Entities/Markers/Spawners/mobs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
- type: entity | ||
name: snowman spawner | ||
id: SpawnMobSnowMan | ||
parent: MarkerBase | ||
suffix: NewYear | Passive | ||
components: | ||
- type: Sprite | ||
layers: | ||
- state: green | ||
- sprite: _Sunrise/Mobs/Elemental/snowman.rsi | ||
state: state | ||
- state: ai | ||
- type: ConditionalSpawner | ||
prototypes: | ||
- MobSnowMan | ||
|
||
- type: entity | ||
name: evil snowman spawner | ||
id: SpawnMobSnowManEvil | ||
parent: MarkerBase | ||
suffix: NewYear | Hostile | ||
components: | ||
- type: Sprite | ||
layers: | ||
- state: red | ||
- sprite: _Sunrise/Mobs/Elemental/snowman.rsi | ||
state: state | ||
- state: ai | ||
- type: ConditionalSpawner | ||
prototypes: | ||
- MobSnowManEvil |
112 changes: 112 additions & 0 deletions
112
Resources/Prototypes/_Sunrise/Entities/Mobs/NPCs/snowman.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
- type: entity | ||
id: MobSnowMan | ||
parent: | ||
- SimpleSpaceMobBase | ||
- MobCombat | ||
name: snowman | ||
description: A snowman who came to life thanks to the New Year's magic of bluespace! | ||
suffix: NewYear | Passive | ||
components: | ||
- type: Sprite | ||
drawdepth: Mobs | ||
layers: | ||
- map: ["enum.DamageStateVisualLayers.Base"] | ||
state: state | ||
sprite: _Sunrise/Mobs/Elemental/snowman.rsi | ||
- type: Bloodstream | ||
bloodMaxVolume: 100 | ||
bloodReagent: SnowWhite | ||
- type: PressureImmunity | ||
- type: NoSlip | ||
- type: MovementSpeedModifier | ||
baseWalkSpeed: 3 | ||
baseSprintSpeed: 3 | ||
- type: Physics | ||
- type: Butcherable | ||
spawned: | ||
- id: FoodFrozenSnowcone | ||
- type: RotationVisuals | ||
defaultRotation: 90 | ||
horizontalRotation: 90 | ||
- type: Tag | ||
tags: | ||
- DoorBumpOpener | ||
- FootstepSound | ||
- type: InteractionPopup | ||
successChance: 0.8 | ||
interactSuccessString: Вы гладите снеговика по его холодной тыкве. | ||
interactFailureString: Слишком холодно чтоб трогать. | ||
interactSuccessSound: | ||
path: /Audio/Effects/Footsteps/snowstep4.ogg | ||
- type: GhostRole | ||
prob: 0.1 | ||
name: снеговик | ||
description: Холодный снежный мужик. Бегайте и кидайтесь во всех снежками! | ||
rules: ghost-role-information-nonantagonist-rules | ||
- type: GhostTakeoverAvailable | ||
- type: FootstepModifier | ||
footstepSoundCollection: | ||
collection: FootstepSnow | ||
- type: Puller | ||
needsHands: false | ||
- type: NPCRetaliation | ||
attackMemoryLength: 10 | ||
- type: FactionException | ||
- type: NpcFactionMember | ||
factions: | ||
- Passive | ||
- type: HTN | ||
rootTask: | ||
task: SimpleRangedHostileCompound | ||
- type: MobThresholds | ||
thresholds: | ||
0: Alive | ||
90: Dead | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 90 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
FoodFrozenSnowcone: | ||
min: 1 | ||
max: 2 | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
Coal1: | ||
min: 1 | ||
max: 1 | ||
- type: ContainerContainer | ||
containers: | ||
ballistic-ammo: !type:Container | ||
- type: ProjectileBatteryAmmoProvider | ||
proto: BulletSnowBall | ||
fireCost: 49 | ||
- type: Battery | ||
maxCharge: 100 | ||
startingCharge: 100 | ||
- type: BatterySelfRecharger | ||
autoRecharge: true | ||
autoRechargeRate: 100 | ||
- type: AmmoCounter | ||
- type: Gun | ||
fireRate: 1 | ||
selectedMode: FullAuto | ||
availableModes: | ||
- FullAuto | ||
soundGunshot: /Audio/_Sunrise/Weapons/Guns/snowball.ogg | ||
|
||
- type: entity | ||
id: MobSnowManEvil | ||
parent: MobSnowMan | ||
name: snowman | ||
description: A snowman who came to life thanks to the New Year's magic of bluespace! | ||
suffix: NewYear | Hostile | ||
components: | ||
- type: NpcFactionMember | ||
factions: | ||
- SimpleHostile |
16 changes: 16 additions & 0 deletions
16
...ces/Prototypes/_Sunrise/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/snowball.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- type: entity | ||
id: BulletSnowBall | ||
name: snowball | ||
parent: BaseBullet | ||
categories: [ HideSpawnMenu ] | ||
components: | ||
- type: Projectile | ||
damage: | ||
types: | ||
Cold: 1 | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Projectiles/water_shot.rsi | ||
layers: | ||
- state: icon | ||
- type: Ammo | ||
muzzleFlash: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.