Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quanana #2024

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ ghost-role-information-taxibot-description = Drive passengers to where they need

ghost-role-information-hovertaxibot-name = Hovertaxibot
ghost-role-information-hovertaxibot-description = Fly passengers to where they need to go, remember to check they can breathe!

ghost-role-information-BananaDuck-name = Quanana
ghost-role-information-BananaDuck-description = You are the chef's favorite child. You're a living banana duck.
88 changes: 88 additions & 0 deletions Resources/Prototypes/_NF/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,91 @@
size: Normal
- type: Clothing
sprite: _NF/Mobs/Animals/rosy_mothroach.rsi

- type: entity
name: Quanana
parent: MobDuckMallard
id: MobBananaDuck
description: It's a banana. It's a duck. It's a quanana.
components:
- type: Sprite
noRot: true
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: quack
sprite: _NF/Mobs/Animals/Banana_duck.rsi
scale: 0.7,0.7
- type: GhostRole
prob: 1
name: ghost-role-information-BananaDuck-name
allowMovement: true
description: ghost-role-information-BananaDuck-description
rules: ghost-role-information-nonantagonist-rules
- type: GhostTakeoverAvailable
- type: ReproductivePartner
- type: Reproductive
breedChance: 0.10
birthPopup: reproductive-laid-egg-popup
makeOffspringInfant: false
partnerWhitelist:
tags:
- Duck
offspring:
- id: FoodEggQuananaFertilized
maxAmount: 3
- type: EggLayer
eggSpawn:
- id: FoodEggQuananaFertilized
- type: ReplacementAccent
accent: duck
- type: DamageStateVisuals
states:
Alive:
Base: quack
Dead:
Base: dead
- type: Slippery
paralyzeTime: 0.5
launchForwardsMultiplier: 1.0
- type: StepTrigger
intersectRatio: 0.2
- type: NoSlip
- type: Butcherable
spawned:
- id: FoodBanana
- type: Bloodstream
bloodReagent: Potassium
bloodMaxVolume: 100
- type: MeleeWeapon
soundHit:
path: /Audio/Effects/bite.ogg
angle: 0
animation: WeaponArcBite
damage:
types:
Slash: 5
- type: NPCRetaliation
- type: CombatMode
- type: HTN
rootTask:
task: SimpleHostileCompound
- type: NPCImprintingOnSpawnBehaviour #your a momma now
whitelist:
components:
- HumanoidAppearance

- type: entity
id: FoodEggQuananaFertilized
parent: FoodEgg
suffix: Fertilized, Quanana
components:
- type: Timer
- type: TimedSpawner
prototypes:
- MobBananaDuck
intervalSeconds: 20
minimumEntitiesSpawned: 1
maximumEntitiesSpawned: 1
- type: TimedDespawn #delete the egg after the Quanana spawns
lifetime: 21
13 changes: 13 additions & 0 deletions Resources/Prototypes/_NF/Recipes/Cooking/meal_recipes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,16 @@
FoodSpaceshroom: 1
FoodMushroom: 1
FoodFlyAmanita: 1

- type: microwaveMealRecipe
id: RecipeBananaDuck
name: Banana duck recipe
result: MobBananaDuck
time: 15
reagents:
BananaHonk: 10
Cognizine: 5
UnstableMutagen: 5
solids:
TrashBakedBananaPeel: 1
OrganAnimalHeart: 1
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.
21 changes: 21 additions & 0 deletions Resources/Textures/_NF/Mobs/Animals/Banana_duck.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by Bing guss",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "dead"
},
{
"name": "icon"
},
{
"name": "quack",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading