Skip to content

Commit

Permalink
Merge pull request #145 from fenndragon/Xenospawners
Browse files Browse the repository at this point in the history
Xenofriends
  • Loading branch information
Memeji authored Sep 9, 2024
2 parents fbb4b71 + af9752d commit d18543a
Show file tree
Hide file tree
Showing 14 changed files with 335 additions and 8 deletions.
1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
Dead:
Base: dead
- type: Puller
needsHands: false
- type: Butcherable
butcheringType: Spike
spawned:
Expand Down
8 changes: 0 additions & 8 deletions Resources/Prototypes/Floof/Entities/Mobs/NPCs/Xeno.yml

This file was deleted.

282 changes: 282 additions & 0 deletions Resources/Prototypes/Floof/Entities/Mobs/NPCs/xenopet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
- type: entity
name: Neutral Rouny
id: MobXenoNeutralRouny
parent: MobXenoRounyNPC
description: They mostly come at night. Mostly.
components:
- type: NpcFactionMember
factions:
- Passive
- type: PointLight
radius: 2
energy: .5
color: "#B85E5E"
- type: MovementAlwaysTouching
- type: GhostTakeoverAvailable
- type: LanguageKnowledge
speaks:
- Xeno
understands:
- Xeno
- GalacticCommon

- type: entity
name: Neutral Praetorian
id: MobXenoNeutralPraetorian
parent: MobXenoPraetorianNPC
description: They mostly come at night. Mostly.
components:
- type: NpcFactionMember
factions:
- Passive
- type: PointLight
radius: 2
energy: .5
color: "#62B85E"
- type: LanguageKnowledge
speaks:
- Xeno
understands:
- Xeno
- GalacticCommon

- type: entity
name: Neutral Drone
id: MobXenoNeutralDrone
parent: MobXenoDroneNPC
description: They mostly come at night. Mostly.
components:
- type: NpcFactionMember
factions:
- Passive
- type: PointLight
radius: 2
energy: .5
color: "#8B5EB8"
- type: LanguageKnowledge
speaks:
- Xeno
understands:
- Xeno
- GalacticCommon

- type: entity
name: Neutral Ravager
id: MobXenoNeutralRavager
parent: MobXenoRavagerNPC
description: They mostly come at night. Mostly.
components:
- type: NpcFactionMember
factions:
- Passive
- type: PointLight
radius: 2
energy: .5
color: "#E3954D"
- type: LanguageKnowledge
speaks:
- Xeno
understands:
- Xeno
- GalacticCommon

- type: inventoryTemplate
id: friendxeno
slots:
- name: id
slotTexture: id
slotFlags: IDCARD
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 2,1
strippingWindowPos: 2,4
displayName: ID

- type: entity
name: Friend-Shaped
parent: MobXenoNeutralRouny
id: MobXenoFriendShaped
description: A very clearly friend-shaped Xeno.
components:
- type: NpcFactionMember
factions:
- PetsNT
- type: Sprite
drawdepth: Mobs
sprite: Mobs/Aliens/Xenos/rouny.rsi
scale: 0.7, 0.7
- type: Inventory
templateId: friendxeno
- type: IdExaminable
- type: InventorySlots
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: Grammar
attributes:
proper: true
gender: male
- type: InteractionPopup
successChance: 0.5
interactSuccessString: petting-success-reptile
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/lizard_happy.ogg

- type: entity
name: Patriach
parent: MobXenoNeutralPraetorian
id: MobXenoPatriarch
description: A not entirely clearly friend-shaped Xeno.
components:
- type: NpcFactionMember
factions:
- PetsNT
- type: Sprite
drawdepth: Mobs
sprite: Floof/Mobs/Animals/patriarch.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: patriarch
- type: DamageStateVisuals
states:
Alive:
Base: patriarch
Critical:
Base: patriarch_crit
Dead:
Base: patriarch_dead
- type: Inventory
templateId: friendxeno
- type: IdExaminable
- type: InventorySlots
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: Grammar
attributes:
proper: true
gender: male
- type: InteractionPopup
successChance: 0.5
interactSuccessString: petting-success-reptile
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/lizard_happy.ogg

- type: entity
name: FXES
parent: MobXenoNeutralDrone
id: MobXenoFXES
description: A very clearly friend-shaped Xeno.
components:
- type: NpcFactionMember
factions:
- PetsNT
- type: Inventory
templateId: friendxeno
- type: IdExaminable
- type: InventorySlots
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: Grammar
attributes:
proper: true
gender: male
- type: InteractionPopup
successChance: 0.5
interactSuccessString: petting-success-reptile
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/lizard_happy.ogg

- type: entity
name: Hell-Shaped
parent: MobXenoNeutralRavager
id: MobXenoHellShaped
description: A very clearly friend-shaped Xeno.
components:
- type: NpcFactionMember
factions:
- PetsNT
- type: Inventory
templateId: friendxeno
- type: IdExaminable
- type: InventorySlots
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: Grammar
attributes:
proper: true
gender: male
- type: InteractionPopup
successChance: 0.5
interactSuccessString: petting-success-reptile
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/lizard_happy.ogg

- type: entity
name: FXE Subject 7355
parent: MobXenoNeutralRavager
id: MobXenoSubjectTess
description: An extremely oddly coloured xeno, with glowing stripes. An odd mutation.
components:
- type: NpcFactionMember
factions:
- PetsNT
- type: Sprite
drawdepth: Mobs
sprite: Floof/Mobs/Animals/subject7355.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: subject7355
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: glow
shader: unshaded
- type: PointLight
radius: 2
energy: .5
color: "#639fff"
- type: DamageStateVisuals
states:
Alive:
Base: subject7355
Critical:
Base: subject7355_crit
Dead:
Base: subject7355_dead
- type: Inventory
templateId: friendxeno
- type: IdExaminable
- type: InventorySlots
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: Grammar
attributes:
proper: true
gender: male
- type: InteractionPopup
successChance: 0.5
interactSuccessString: petting-success-reptile
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/lizard_happy.ogg
24 changes: 24 additions & 0 deletions Resources/Textures/Floof/Mobs/Animals/patriarch.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://gitlab.com/cmdevs/colonial-warfare/-/blob/dev/icons/mob/xenonids/praetorian.dmi edited by Fenndragon",
"size": {
"x": 64,
"y": 64
},
"states": [
{
"name": "patriarch",
"directions": 4
},
{
"name": "patriarch_sleeping"
},
{
"name": "patriarch_crit"
},
{
"name": "patriarch_dead"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions Resources/Textures/Floof/Mobs/Animals/subject7355.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://gitlab.com/cmdevs/colonial-warfare/-/tree/dev/icons/mob/xenonids",
"size": {
"x": 64,
"y": 64
},
"states": [
{
"name": "subject7355",
"directions": 4
},
{
"name": "glow",
"directions": 4
},
{
"name": "subject7355_sleeping"
},
{
"name": "subject7355_crit"
},
{
"name": "subject7355_dead"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d18543a

Please sign in to comment.