People can carry chairs and wheelchairs on their back
+
+
+
03 October 2023
+
cark updated:
+
+
adds another light and a light switch to dets office on box
+
+
Moltijoe updated:
+
+
Fixes a bug with bloodsuckers only healing robotic limbs on non robotic species
+
+
SomeguyManperson updated:
+
+
cryo is no longer slow
+
+
ToasterBiome updated:
+
+
various box fixes to bring it up to standard
+
+
cowbot92 updated:
+
+
mask of madness does not make you mad forever now
+
mask of madness now lets you use internals w/ it
+
+
+
02 October 2023
+
cowbot92 updated:
+
+
adjusts all heretic spells to let mute people use them
+
+
+
01 October 2023
+
@neeshacark updated:
+
+
buffed detective's armor to be the values it rightfully should be
+
+
Kell-E updated:
+
+
It's no longer possible to remove embedded objects from yourself while unconcious or paralyzed.
+
Adds a new negative trait: Drunkard
+
+
Moltijoe updated:
+
+
Adds a 2 second delay to leaving ventcrawling
+
No longer need to click adjacent tiles to attack using worldbreaker's pummel
+
Can no longer use worldbreaker abilities on items in inventory
+
regular fire extinguishers now make the person being sprayed more wet
+
Cautery tools have 3 force and do burn damage
+
Advanced Catuery tools in drill mode are sharp and have 4 force
+
Preternis water damage is stronger but starts out weaker
+
Preternis water damage now properly makes them spark
+
Preternis burn mod increased to 1.2
+
Preterni are worse at punching
+
Preterni heat up and cool down slightly faster
+
Powerhungry species no longer look fat when fully charged
+
Phytosians no longer passively regen robotic limbs
+
Worldbreaker is even hungrier
+
Worldbreaker gives a bottomless "stomach"
+
+
cowbot92 updated:
+
+
Added new heretic transmutation
+
tweaked heretic UI a tiny bit to have more clarity
+
tweaked void armor effect + armor values
+
adjusts void ascension
+
added new sprites for mask of madness transmutation
+
+
warface1234455 updated:
+
+
Add an option to toggle between using departmental budget or cargo budget when requesting a package
+
Using department budget to order now actually show the departmental name to avoid confusion
+
Fixes issue when departmental budget amount not appearing on the app
+
Fixes NT IRN app not printing requisition paper
+
Fixes modular computer's NT IRN app showing buyer as unknown because it doesnt recognize the pda
+
Refactored code a bit
+
private crate can now be sent back to CC if unlocked
+
change stabilized plasma decal sprite to something that doesnt block you from clicking the tile
+
+
+
29 September 2023
+
warface1234455(code and seed sprite), baiomu (3d lime sprite) updated:
+
+
new plant 3d lime
+
lime can now be mutated to 3d lime
+
new 3d lime seed
+
+
Aquizit updated:
+
+
Added Janitor Closet back to destination tagger menu
+
Changed a couple of the group names to be more accurate
+
+
Kell-E updated:
+
+
Hallucinations from RDS will now last significantly longer.
+
+
LoliconSlayer updated:
+
+
Pet collars are for actual pets
+
+
Moltijoe updated:
+
+
Added 7 new round start lawsets
+
Modified some existing lawsets to reference things other than specifically humans
+
+
Mqiib updated:
+
+
Brig physician labcoats should be not invisible now
+
+
SapphicOverload updated:
+
+
fixed firefighting foam creating stabilized plasma whether or not it actually scrubbed any plasma from the air
+
+
SomeguyManperson updated:
+
+
apostate blade attack cooldown increased by 40%, putting its damage in line with other nullrods
+
+
cowbot92 updated:
+
+
Adjusts void path spells
+
Adjusts ominous armor values
+
Adjusts amount of targets you can choose
+
+
warface1234455 updated:
+
+
You can now see the amount flesh damage and healing in a burn wound using health scanner
+
health scanner now accurately indicates amount of infection in burn wound as well as the percentage of sanitzation/infestation
+
Fix unnable to give rnd console access to ID
+
Changed the "R&D Access" desc on id mod to "Toxins Access" desc so it wont confuse people
+
+
+
28 September 2023
+
cark updated:
+
+
v1 can no longer be bought if there are under 25 players in the round
+
+
xPokee updated:
+
+
Adds a frog holoform for pAIs.
+
+
ToasterBiome updated:
+
+
you can no longer use hilbert's hotel while incapacitated
+
+
cowbot92 updated:
+
+
Adds new heretic path - Void
+
Adds new sounds to go with heretic abilities
+
Adds new sprites for Void Blade and abilities
+
+
+
27 September 2023
+
@Moltijoe @Scrambledeggs00 updated:
+
+
Adds new nullrod, aspergillum and aspersorium
+
Sprites for aspergillum and aspersorium
+
+
@Mqiib @Ebin-Halcyon updated:
+
+
TONS of updated sprites for lizards, jumpsuits, and some external wear
+
Some new digitigrade versions of biosuits/armors
+
(Temporary) removed light tiger stripe tails
+
Removes soul
+
I can't believe it's finally done
+
+
ChesterTheCheesy updated:
+
+
cannot activate luminescent slime core effects while incapacitated
+
+
cowbot92 updated:
+
+
Adjusts Heretic Book Desc
+
Allows IPC & Pretenis (and robotic limbs) to heal on rust tiles
+
Allows heretics to gain points w/o needing book in bag
+
non-heretics can no longer wear heretic stuff
+
+
ynot01 updated:
+
+
Toolboxes now universally do 3 more damage
+
Welding tool flames now do 3 less damage
+
+
+
26 September 2023
+
cark updated:
+
+
fixes missing wall in asteroid medbay
+
+
Moltijoe updated:
+
+
fixes a "bug" with borg hypospray recharge time being 10x what it was supposed to be
+
Cogging an APC removes access requirement to locking
+
Random chance for APCs to be unlocked round start
+
Battle Royale 😴 💤
+
+
Therandomhoboo updated:
+
+
Fixed the typo for when you make syndicate screwdriver (flavour text)
+
Horror's got that very needed eye surgery to give them vision in the dark
+
+
Yarinoi updated:
+
+
CANNOT STOP HULK!!!!
+
HULK TWEAKED TO SERVE PURPOSE OF TRAITOR ITEM BETTER!!!
+
+
cowbot92 updated:
+
+
Added new UI for heretics
+
Removed old heretic UI
+
Adjusted how heretic codex works slightly
+
+
warface1234455 updated:
+
+
bluespace harvester can now output ores based on weight for 30K points, you will get 70 ores total, with the quantity of each ore type determined by its weight.
+
adjust debug material box diamond counts to 50 like others
+
bluespace harvester no longer output things on top of the machine
+
removed some unnecessary metal/glass sheets in cultural tab
+
Give cyborg tablet access to the cyborg monitor program.
+
Fix the issue of the log file not being downloaded in the cyborg monitor program.
+
+
+
25 September 2023
+
ToasterBiome, Someguymanperson updated:
+
+
Research circuit boards in R&D can be "hacked" with a screwdriver to unlock access.
+
+
cark updated:
+
+
new ghost role: icemoon hermit
+
+
JohnFulpWillard updated:
+
+
Super Chameleon (Changeling chameleon) can no longer be downloaded from a DNA console.
+
Tanks with devices attached to it now properly remove their appearance when the devices are removed.
+
+
Kell-E updated:
+
+
It's no longer possible to draw infinite sanguirite from an epipen.
+
+
MajManatee updated:
+
+
staff no longer are deafened by prayer
+
+
Moltijoe updated:
+
+
Fixes a "bug" with holoparasite body dusting (!)
+
+
SapphicOverload updated:
+
+
fixed undocumented change that nerfed lizards, they no longer have slower tool speed
+
+
SomeguyManperson updated:
+
+
stuff nobody will read has been written
+
+
wonderinghost updated:
+
+
adds admin fax sound
+
fixes centcom dissapearing from fax list if switching off
+
+
+
24 September 2023
+
cark updated:
+
+
new icemoon ghostrole - Icemoon Walkers
+
icemoon seed vault is now added
+
adds a new shuttle - the cozy shuttle
+
+
Moltijoe updated:
+
+
Holoparasites no longer dust liches upon death
+
Holoparasites lose 4 random stats upon revival by a lich
+
+
Therandomhoboo updated:
+
+
Added nutriments to Polypore, Porcini, inocybe & ember so grind results will work
+
Ash flora, mushroom shavings, stem, cap & leaves now give mushroom powder when you grind them
+
Hallucinogen Mushroom & Hippie's delight no longer perma dizzy you
+
Hippie's delight numbers for how long their effects last (dizzy, druggy, jitter etc) have been sorted out (Thanks to @Moltijoe)
+
+
+
23 September 2023
+
Kell-E updated:
+
+
Added a chemical heater board to secure storage
+
The flesh heretic "Lover's Exsanguination" research no longer breaks their mansus grasp.
+
Paramedics, Geneticists and Network Admins no longer ignore the existance of jumpskirts.
+
+
Moltijoe updated:
+
+
Tweaks accessibility flags for mouth and eyes
+
+
SapphicOverload updated:
+
+
the turbine now generates power from a difference in pressure instead of just moving the gas anyway and making power for free (respect conservation of energy!!!)
+
turbine computer tgui shows the turbine's internal pressure
+
fixed the turbine making free energy from nowhere at low RPM
+
fixed the turbine forcing air into the outlet turf when it's blocked
+
fixed inlet and outlet turfs not updating air properly
+
+
SomeguyManperson updated:
+
+
blurred vision from alcohol shouldn't last 2 trillion years
+
Redspace dust now only teleports if injected in a 5 unit dose
+
+
Therandomhoboo updated:
+
+
Removed the potential to spawn the clown effect for the anomalous crystal after you beat the colossus megafauna
+
+
Yarinoi updated:
+
+
HULK IS NOW BUYABLE BY HUMAN TRAITOR FOR 15 TC!!!
+
MINOR CHANGES TO HULK!!!
+
Hulk isn't buyable anymore until the allow_transfer bug gets fixed, sorry.
+
+
cowbot92 updated:
+
+
Adjusts Famished Roar and All Knowing Mansus Grasp
+
+
iloveloopers updated:
+
+
Clockwork cult teleport sound is quieter
+
+
+
22 September 2023
+
@Scrambledeggs00 @Moltijoe updated:
+
+
Syndicate medipens have a unique inhand sprite
+
Gives some medipens new sprites
+
Medipen item sprites + syndie medipen inhand
+
+
cark updated:
+
+
fixes interrogation chairs on box and makes the window bigger
+
lavaland hermit has proper walls
+
icemeta station river has been replaced with a chasm which drops into the mining river
+
+
Altoids updated:
+
+
Fixed IPCs with no uniform having IDs that cannot be stolen or removed via the inventory menu
+
In the inventory menu, people who do not need their uniform to hold their belt/ID/etc. now display their inventory slightly differently, hopefully enough to remind you to strip IPCs completely when you need to.
+
+
Moltijoe updated:
+
+
Lets nukies and clownops buy species restricted items if species swapped by an admin
+
Medhud examine of implants now splits them into individual lines
+
Preterni can recharge using other electricity using species
+
All megafauna leave items when dusting a miner
+
gibbing always leaves the victim's items
+
Android species is no longer invisible
+
Pacifism touch
+
+
Therandomhoboo updated:
+
+
Increased Req to unlock Warden job role from 5hrs to 10hrs
+
+
ToasterBiome updated:
+
+
Pride week is now Pride month
+
+
Yarinoi updated:
+
+
Dials back Atheist's Fedora users red pill prescription, allowing them to throw their fedora without it embedding into people.
+
+
cowbot92 updated:
+
+
Adjusts some heretic spells for the Mind Path
+
+
solwashere updated:
+
+
shock touch now logs attacks
+
+
+
20 September 2023
+
Altoids updated:
+
+
Fixed being able to use Last Stand as Changeling to get a null loc. No rubies for you!
+
+
Aquizit updated:
+
+
Out with boxy trim, in with sleek trim.
+
+
Moltijoe updated:
+
+
Battleroyale 🤡
+
+
SapphicOverload updated:
+
+
digitigrade robot legs have less awful code now
+
+
adamsong updated:
+
+
fixed convert to traitor button not properly grabbing objectives
+
+
cowbot92 updated:
+
+
Adjusted spell Amygdala Assault to be point click target vs straight forward fire & Mental Obfuscation nerf
+
fixed a few typos in mind epilogue as well as fixed ascension title
+
+
warface1234455 updated:
+
+
Fix unnable to put screwdriver into deconstructive analyzer or autolathe, you will now have to use disarm intent to open/close panel and help intent to put the screw in.
+
+
+
19 September 2023
+
Moltijoe updated:
+
+
Preterni only get 1/2 the heat from charging
+
+
SapphicOverload updated:
+
+
fixed IPCs taking 3x more damage in crit than intended
+
+
cowbot92 updated:
+
+
Adds a new heretic path to the game! Adjusts ascension on other paths as well to look cooler.
+
Adds a new heretic blade to go along with the new path.
+
+
+
18 September 2023
+
cark updated:
+
+
miners will sometimes shout a secret phrase when mining
+
+
Moltijoe updated:
+
+
Powerhungry species hunger icons now use the correct icons
+
+
wonderinghost updated:
+
+
adds pencil holders to station maps
+
+
+
17 September 2023
+
Marmio64 updated:
+
+
Sinful demon form now has 200 health rather than 160, and heals 10 hp per hit rather than 8 as a result.
+
+
Moltijoe updated:
+
+
Adds some mutations into the battle royale loot drop pool
+
Use ctrl or alt click to go down or up a ladder
+
Preterni heat up as they recharge
+
+
SapphicOverload updated:
+
+
explosions cause turf fires instead of hotspots
+
+
+
16 September 2023
+
Moltijoe updated:
+
+
preternis can now not starve again
+
Halloween starts 4 days earlier
+
+
+
15 September 2023
+
Moltijoe updated:
+
+
Preterni consume more power and take slightly longer to fully charge
+
+
+
14 September 2023
+
Moltijoe updated:
+
+
URINAL CAKES HAVE MORE AMMONIA AND CHLORINE
+
+
tattax updated:
+
+
fixed some bugs
+
+
warface1234455 updated:
+
+
Wooden barrel build cost lowered from 30-10 woods
+
Wooden barrel now properly drops materials upon deconstruction
+
Wooden barrel wont be damaged by containers anymore
+
+
+
13 September 2023
+
cark updated:
+
+
fixes mapping errors at ai sat on box
+
fixes gravity in pubby space ruin
+
+
Moltijoe updated:
+
+
Autotomy no longer violently dismembers the user
+
Autotomy genetic instability reduced to 10 from 30
+
more battle royale tweaks
+
tweaked some battle royale loot drop weight
+
loot drop crates delete themselves after a delay
+
Medical doctor and paramedic spawn with medical belts
+
+
Runian updated:
+
+
The Cyborg Remote Monitoring program now displays the area name and coordinates of any listed cyborgs.
+
Having buckled a mob once as a cyborg no longer prevents you from getting petted ever again.
+
+
SapphicOverload updated:
+
+
icemoon surface is less bright
+
fixed icemoon movement speed in some areas
+
+
SomeguyManperson updated:
+
+
bitflag stuff, no player-facing changes
+
holodeck animals no longer provide a mood buff
+
+
ToasterBiome updated:
+
+
you won't clutch your chest while having a heart attack if you have no arms.
+
some webhook actions won't wait a tick to finish anymore
+
increases alien tool's bluespace tap cost from 60,000 to 250,000
+
+
azzzertyy updated:
+
+
pride jackets are not contraband
+
+
solwashere updated:
+
+
Deletes the lemoline recipe
+
+
warface1234455 updated:
+
+
Geranium seed can now be mutated into Bee balm
+
Bee balm can no longer be mutated into Geranium
+
+
+
12 September 2023
+
Ehj236 updated:
+
+
You can no longer move up and down Z levels with a mech (to glitch through the floor)
+
+
Moltijoe updated:
+
+
holy light properly applies the heal boost buff
+
+
Runian updated:
+
+
Janiborgs start with a "floor autocleaner" item that mimics their automatic cleaning, except it is toggleable and requires it to be equipped to work.
+
Janiborgs no longer automatically clean things when moving things.
+
+
azzzertyy updated:
+
+
you can no longer duplicate resurrection serum
+
+
+
11 September 2023
+
tattax updated:
+
+
readds pacify (spell) to the game
+
+
+
09 September 2023
+
MidoriWroth, Ghommie, ktlwjec updated:
+
+
Peanuts. Seeds start in the botany vendor. They can be grinded to make peanut butter.
+
Breadsticks. Raw breadsticks crafted with 1 dough slice, 3u salt, 2 butter slices. Baked in the oven.
+
Granola bar. Crafted with 1 oat stalk, 1 peanut, 1 chocolate, 1 raisins, 2u sugar.
+
Onigiri. Crafted with 1 seaweed sheet and 1 boiled rice. Can be customised with other ingredients.
Brownie batter. Raw brownie batter crafted with 5u flour, 5u sugar, 2 eggs, 5u coco powder, 4 butter slices. Baked in the oven and then sliced into 4 pieces.
+
Peanut butter and banana sandwich. Crafted with 2 bread slices, 5u peanut butter, 1 banana.
+
Peanut butter and jelly sandwich. Crafted with 2 bread slices, 5u peanut butter, 5u cherry jelly.
Cultist mirror shield no longer spawns infinite illusions if blocking a shotgun
+
Cultist mirror shield can only spawn 4 illusions before breaking instead of 5
+
Cultist mirror shield illusions have 1 health and 0 damage
+
Blood cult spear is huge instead of normal size
+
Northern Coat is no longer ckey locked
+
Holy Light water no longer applies a heal boost
+
Holy Light bible now applies a 30 second duration heal boost
+
Holy Light bible now heals for 10 instead of 40 with a 10 second cooldown instead of 12 and has no favor cost
+
Holy Light heal boost now increases by 100% (200% in chapel) instead of 20% (40% in chapel)
+
Holy Light medbot applies the heal boost status effect instead of injecting holy water
+
Borg reagent dispensers regen in seconds rather than deciseconds
+
Borg reagent dispensers regen less affected by lag
+
Spawns 3 clockcult + 1 for every 8 players over 30 instead of 4 + 1 for every 10
+
CPR only requires lungs, not needing to breathe
+
His Grace can be bought by assistants
+
Drag and drop iv drip filling
+
Cultist shield robe has 1 shield charge, but regens after 45 seconds of not getting hit
+
+
Runian updated:
+
+
Syndicate Surgery Duffel Bag's description in the Uplink now accurately tells you that the surgery tools have double toolspeed (0.5) and includes a surgical mat.
+
Failed cyborg shoves no longer push them back two tiles.
+
Hulk punches on cyborgs now properly pushes them back two tiles.
+
PKA upgrades properly eject when crowbarred.
+
A new upgrade for engineering and mining cyborgs that replaces their normal meson vision with night vision meson vision.
+
Cyborg meson/material dark vision is now consistent with the human version of 2 tiles.
+
Cyborg meson/material lighting alpha is now consistent with the human version.
+
+
SomeguyManperson updated:
+
+
Syndicate icemoon base has been downgraded to keep the syndicate on the base
+
+
azzzertyy updated:
+
+
Chaplain no longer throws people into snow on Icemeta
+
No more superspeed on icemeta
+
+
solwashere updated:
+
+
Adds "testing" to the GitHub PR template.
+
+
warface1234455 updated:
+
+
Bluespace harvester can now output alien tool for 60000 points
+
+
+
08 September 2023
+
MajManatee updated:
+
+
generator fuel can be dragged into the generator now.
+
+
Moltijoe updated:
+
+
Preterni are slightly more likely to catch viruses than before
+
Viruses in preterni progress faster
+
Preternis water damage does ~50% more stamina damage
+
+
adamsong updated:
+
+
fixed photos being bugged as hell
+
+
+
07 September 2023
+
cark updated:
+
+
removes the two hospital ruins on lavaland
+
+
Runian updated:
+
+
Clown Cyborg's pie cannon now properly recharges every 4 seconds (2 ticks) instead of every 2 seconds (1 tick).
+
All self-recharging pneumatic cannon now recharge based on delta_time instead of ticks. This means that you won't lose out when lag happens.
+
+
SapphicOverload updated:
+
+
hecata clan necromancy reverts you back to your original species after it ends instead of staying a zombie
+
+
adamsong updated:
+
+
bluespace harvester now has a 10 minute cooldown after spawning a portal when not emagged
+
+
+
06 September 2023
+
Runian updated:
+
+
You must now be adjacent to unlock or lock a robot's cover instead of infinite range.
+
+
+
05 September 2023
+
Addust updated:
+
+
syndicate icemoon is slightly less shit. _**I CANNOT FIX THE RANDOM FAUNA SPAWNS. THAT'S THE ICEMOON DEV'S PROBLEM.**_
+
i fucked up
+
+
Runian updated:
+
+
Pulsing Mech Fabricator's WIRE_ZAP no longer breaks your limbs unless you are adjacent to it as intended.
+
+
SomeguyManperson updated:
+
+
holy light now gains more favor when gaining favor
+
+
wonderinghost updated:
+
+
Added pencil holder to bureaucracy crate and game.
+
adds pencil holder files
+
+
+
04 September 2023
+
cark updated:
+
+
donors can take pride hoodies as a donor item now
+
+
ktlwjec updated:
+
+
Roboticist and geneticist get rnd console access on skeleton crew.
+
Engineers and shaft miners can use the rnd console on skeleton crew.
+
+
Addust updated:
+
+
The Syndicate has stopped throwing their supposedly important listening stations into gibtonite-filled shithole rocks, and has also supplied a few extra supplies.
+
i forgor an air alarm in syndie lavaland
+
+
Marmio64 updated:
+
+
Hecata Bloodsuckers need to revive 4-5 people rather than 7-8
+
+
Moltijoe updated:
+
+
vials reskin using the proper sprite again
+
+
Runian updated:
+
+
Certain words in the German accent such as "research" and "scientist" are now properly accented.
+
+
SapphicOverload updated:
+
+
fixed bloodsucker vassalization not removing mindshield implants
+
+
SomeguyManperson updated:
+
+
coders are no longer required to explain why "the game functions correctly" is good for the game
+
+
adamsong updated:
+
+
fixed AI shell lawsync not working
+
fixed photos forgetting about people who are cremated
+
fixed photos not recognizing targets who were cloned
+
fixed photos thinking dead people are alive after copying
+
+
warface1234455 updated:
+
+
Replaces old pda with modern pda in pda box
+
GoonStation 13 Development Team
diff --git a/icons/effects/alphacolors.dmi b/icons/effects/alphacolors.dmi
index c3dbcaee39be..f3241ba010d9 100644
Binary files a/icons/effects/alphacolors.dmi and b/icons/effects/alphacolors.dmi differ
diff --git a/icons/effects/lighting_object.dmi b/icons/effects/lighting_object.dmi
index 077043809d64..49d16c58acf8 100644
Binary files a/icons/effects/lighting_object.dmi and b/icons/effects/lighting_object.dmi differ
diff --git a/icons/obj/barsigns.dmi b/icons/obj/barsigns.dmi
index 46b9cfb8a746..584395f14644 100644
Binary files a/icons/obj/barsigns.dmi and b/icons/obj/barsigns.dmi differ
diff --git a/icons/obj/monitors.dmi b/icons/obj/monitors.dmi
index 06e2f8782ab0..860a11a75ed5 100644
Binary files a/icons/obj/monitors.dmi and b/icons/obj/monitors.dmi differ
diff --git a/icons/obj/power.dmi b/icons/obj/power.dmi
index 36a6ee743e76..9074aa86d43b 100644
Binary files a/icons/obj/power.dmi and b/icons/obj/power.dmi differ
diff --git a/icons/obj/vending.dmi b/icons/obj/vending.dmi
index e915bb259c74..f9cd68d8ddae 100644
Binary files a/icons/obj/vending.dmi and b/icons/obj/vending.dmi differ
diff --git a/icons/obj/wallmounts.dmi b/icons/obj/wallmounts.dmi
index fcbc0830b76b..2e392b221d95 100644
Binary files a/icons/obj/wallmounts.dmi and b/icons/obj/wallmounts.dmi differ
diff --git a/tgui/packages/tgui/interfaces/CameraConsole.js b/tgui/packages/tgui/interfaces/CameraConsole.js
deleted file mode 100644
index 8ece49eff205..000000000000
--- a/tgui/packages/tgui/interfaces/CameraConsole.js
+++ /dev/null
@@ -1,143 +0,0 @@
-import { filter, sortBy } from 'common/collections';
-import { flow } from 'common/fp';
-import { classes } from 'common/react';
-import { createSearch } from 'common/string';
-import { useBackend, useLocalState } from '../backend';
-import { Button, ByondUi, Flex, Input, Section } from '../components';
-import { Window } from '../layouts';
-
-/**
- * Returns previous and next camera names relative to the currently
- * active camera.
- */
-export const prevNextCamera = (cameras, activeCamera) => {
- if (!activeCamera) {
- return [];
- }
- const index = cameras.findIndex(camera => (
- camera.name === activeCamera.name
- ));
- return [
- cameras[index - 1]?.name,
- cameras[index + 1]?.name,
- ];
-};
-
-/**
- * Camera selector.
- *
- * Filters cameras, applies search terms and sorts the alphabetically.
- */
-export const selectCameras = (cameras, searchText = '') => {
- const testSearch = createSearch(searchText, camera => camera.name);
- return flow([
- // Null camera filter
- filter(camera => camera?.name),
- // Optional search term
- searchText && filter(testSearch),
- // Slightly expensive, but way better than sorting in BYOND
- sortBy(camera => camera.name),
- ])(cameras);
-};
-
-export const CameraConsole = (props, context) => {
- const { act, data } = useBackend(context);
- const { mapRef, activeCamera } = data;
- const cameras = selectCameras(data.cameras);
- const [
- prevCameraName,
- nextCameraName,
- ] = prevNextCamera(cameras, activeCamera);
- return (
-
-