Skip to content

Commit

Permalink
Bahama Mama's: (New) Alternative POI to Tinnia's Rest (new-frontiers-…
Browse files Browse the repository at this point in the history
…14#1932)

* Adds new POI

* Adds Yip Yip to Bahama Mama's (thanks, PolterTzi)

* Yip Yip palettes for consistent appearance

* bar firelocks, yipyip, temp fax fix, other tweaks

* adjusts yip yip descriptions somewhat

* Update warp_point.yml

* Hide the Yip Yip palettes, touch up yip/pun

* noSpawn cleanup

* hide yip yip's palettes

* give yip yip non-antag rules

* kitchen signs

* Contraband dead drop posters, freezer dir fans

* Bahama Mama's: remove invalid configurators

* rework hydro and anchor stuff

* anchor the smokes for consistency

---------

Co-authored-by: Whatstone <[email protected]>
Co-authored-by: Dvir <[email protected]>
  • Loading branch information
3 people authored Sep 25, 2024
1 parent acd2abd commit dc33578
Show file tree
Hide file tree
Showing 15 changed files with 20,518 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Content.Client/Decals/UI/PaletteColorPicker.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public PaletteColorPicker()
var i = 0;
foreach (var palette in _prototypeManager.EnumeratePrototypes<ColorPalettePrototype>())
{
if (palette.Hidden) // Frontier: selectively hide palettes
continue; // Frontier: selectively hide palettes
Palettes.AddItem(palette.Name);
Palettes.SetItemMetadata(i, palette); // ew
i += 1;
Expand Down
1 change: 1 addition & 0 deletions Content.Shared/Decals/ColorPalettePrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ public sealed partial class ColorPalettePrototype : IPrototype
[IdDataField] public string ID { get; } = null!;
[DataField("name")] public string Name { get; private set; } = null!;
[DataField("colors")] public Dictionary<string, Color> Colors { get; private set; } = null!;
[DataField("hidden")] public bool Hidden { get; private set; } = false; // Frontier
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ 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!
# Adopted from space-wizards #26265 (Thank you, PolterTzi)
ghost-role-information-yipyip-name = Yip Yip
ghost-role-information-yipyip-description = Notorious lounge lizard and bartender at Bahama Mama's. This drink-slinging kobold lives to serve his patrons.
20,363 changes: 20,363 additions & 0 deletions Resources/Maps/_NF/POI/bahama.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Mobs/NPCs/pets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@
spawned:
- id: FoodMeat
amount: 3
- id: DrinkTequilaBottleFull
- id: DrinkPremiumTequilaBottleFull # Frontier: Tequila<PremiumTequila
amount: 1
- type: Tag
tags:
Expand Down
10 changes: 9 additions & 1 deletion Resources/Prototypes/_NF/Entities/Markers/warp_point.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@
- type: WarpPoint
location: Derelict McCargo

- type: entity
id: WarpPointNFBahama
parent: WarpPoint
suffix: POI, Bahama
categories: [ HideSpawnMenu ]
components:
- type: WarpPoint
location: Bahama Mama's

- type: entity
id: WarpPointNFEdison
parent: WarpPoint
Expand All @@ -162,4 +171,3 @@
location: Edison Power Plant

# Events

42 changes: 42 additions & 0 deletions Resources/Prototypes/_NF/Entities/Mobs/NPCs/pets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,45 @@
- type: NpcFactionMember
factions:
- Cat

# Adopted from space-wizards #26265 (Thank you, PolterTzi)
- type: entity
name: Yip Yip
parent: MobKobold
id: MobKoboldYipyip
description: He lives in a pineapple on the Frontier!
components:
- type: GhostRole
prob: 1
makeSentient: true
allowSpeech: true
allowMovement: true
prototype: KoboldYipyip
name: ghost-role-information-yipyip-name
description: ghost-role-information-yipyip-description
rules: ghost-role-information-nonantagonist-rules
- type: GhostTakeoverAvailable
- type: Butcherable
butcheringType: Spike
spawned:
- id: FoodMeat
amount: 3
- id: DrinkPremiumRumBottleFull
amount: 1
- type: Tag
tags:
- CannotSuicide
- DoorBumpOpener
- VimPilot
- type: Loadout
prototypes: [ MobKoboldGear ]
- type: Grammar
attributes:
proper: true
gender: male
- type: RandomSprite # Random with one choice.
available:
- enum.DamageStateVisualLayers.Base:
kobold: YipYipColors
- horns:
horns_curled: YipYipHornColors
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,15 @@
- state: pirate
- state: idpiratefirstmate

# Pets
- type: entity
parent: PunPunIDCard
id: YipYipIDCard
name: yip yip ID card
components:
- type: PresetIdCard
name: Yip Yip

# Cats
- type: entity
parent: CourierIDCard
id: ClippyIDCard
Expand All @@ -276,4 +284,4 @@
name: cappy ID card
components:
- type: PresetIdCard
name: Cappy
name: Cappy
14 changes: 14 additions & 0 deletions Resources/Prototypes/_NF/Entities/Spawners/mobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,17 @@
- type: ConditionalSpawner
prototypes:
- MobCatCappy

# Adopted from space-wizards #26265 (Thank you, PolterTzi)
- type: entity
name: Yip Yip Spawner
id: SpawnMobKoboldYipyip
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: ai
- type: ConditionalSpawner
prototypes:
- MobKoboldYipyip
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,15 @@
- type: FaxMachine
name: "NFSD Outpost Lawyer"

- type: entity
parent: FaxMachineBase
id: FaxMachineNFBahama
suffix: POI, Bahama
categories: [ HideSpawnMenu ]
components:
- type: FaxMachine
name: "Bahama Mama's"

- type: entity
parent: [BaseStructureDisableToolUse, FaxMachineBase]
id: FaxMachineNFEdison
Expand Down
14 changes: 14 additions & 0 deletions Resources/Prototypes/_NF/Palettes/yipyip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# An entire palette of one colour for Yip Yip.
- type: palette
id: YipYipColors
name: YipYipColors
hidden: true
colors:
TechniCyan: "#1ddfbe"

- type: palette
id: YipYipHornColors
name: YipYipHornColors
hidden: true
colors:
hornB: "#eec7ab"
31 changes: 31 additions & 0 deletions Resources/Prototypes/_NF/PointsOfInterest/bahamamamas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Author Info
# GitHub: Tych0theSynth (https://github.com/tych0thesynth)
# Discord: Tych0

# Maintainer Info
# GitHub: Tych0theSynth (https://github.com/tych0thesynth)
# Discord: Tych0

# Notes:
# I want to lie, shipwrecked and comatose, drinking fresh mango juice.
- type: pointOfInterest
id: Bahama
name: "Bahama Mama's"
rangeMin: 1200
rangeMax: 2900
iffColor: "#ffa600" #yellorange for faction style
spawnChance: 1
spawnGroup: RestStop
gridPath: /Maps/_NF/POI/bahama.yml

- type: gameMap
id: Bahama
mapName: "Bahama Mama's"
mapPath: /Maps/_NF/POI/bahama.yml
minPlayers: 0
stations:
Bahama:
stationProto: DeadDropFrontierOutpost
components:
- type: StationNameSetup
mapNameTemplate: "Bahama Mama's"
1 change: 1 addition & 0 deletions Resources/Prototypes/_NF/PointsOfInterest/tinniasrest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
rangeMin: 1200
rangeMax: 2900
iffColor: "#ffa600" #yellorange for faction style
spawnGroup: RestStop
gridPath: /Maps/_NF/POI/tinnia.yml

- type: gameMap
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/_NF/Roles/Ghostroles/whitelisted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,11 @@
rules: ghost-role-information-freeagent-rules
entityPrototype: VariedXenoArtifactItem # Don't spawn this. FIXME: entity has no ghost role component.
whitelisted: true

- type: ghostRole
id: KoboldYipyip
name: ghost-role-information-yipyip-name
description: ghost-role-information-yipyip-description
rules: ghost-role-information-nonantagonist-rules
entityPrototype: MobKoboldYipyip
whitelisted: true
9 changes: 9 additions & 0 deletions Resources/Prototypes/_NF/Roles/Jobs/Fun/misc_startinggear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@
head: ClothingHeadHatNfsdSmallCampaign
id: CappyIDCard
belt: ClothingBeltNfsdWebbing

# Adopted from space-wizards #26265 (Thank you, PolterTzi)
- type: startingGear
id: MobKoboldGear
equipment:
head: ClothingHeadHatStrawHat
ears: ClothingHeadsetService
jumpsuit: ClothingUniformJumpsuitHawaiRed
id: YipYipIDCard

0 comments on commit dc33578

Please sign in to comment.