Commit Graph

1527 Commits

Author SHA1 Message Date
Fluffy
3185c10cf1 516 internal links (#20428)
Convert all (appropriate) links to use the required `byond://` for 516

Added a grep to detect incompatible ones
2025-02-20 22:54:10 +00:00
Fluffy
7265630dde Turn more unmanaged global vars into GLOB (#20446)
Turned a ton of unmanaged globals into managed globals.
Refactored some UT output.
Removed some unused things, including vars.
Added a test to ensure people don't keep adding new unmanaged vars.
2025-02-17 23:34:02 +00:00
Fluffy
f3dab68568 Area tweaks (#20391)
Reworked area changes and power define channels

No player visible changes (hopefully)
2025-02-16 18:53:46 +00:00
Wowzewow (Wezzy)
e7232d04fc The Great Device Resprite and Contained Sprite-ening (#20344)
Don't let the large file size scare you, it's just mostly splitting
stuff into contained sprites and putting them in the correct place.

Anyway, resprites most non-resprited devices in devices.dmi, and puts
them in contained sprites.
Also puts any related /obj/item/device into contained sprites too.
That's basically the long and short of it.
2025-01-24 12:16:30 +00:00
Matt Atlas
eb3bc19014 A lot of bugfixes. (#20358)
- bugfix: "Fixed PDAs not being automatically updated by the Force
Change Name admin action."
- bugfix: "Announcements from non-Horizon ships drifting into hazards no
longer spawn observer chat. You will only get the announcements if you
are on the same z-level. The Horizon will still send its announcements
globally."
  - bugfix: "Offships no longer send newscaster announcements."
  - bugfix: "Fixed ling stings not working. Again."
- bugfix: "The robotics core console no longer reverts into a normal R&D
console when disassembled and reassembled."
- bugfix: "The robotics core console now has its own circuit that can be
made through R&D."
- bugfix: "Fixed the message that simple mobs print when they step on a
trap."
  - bugfix: "Fixed the foam sword sprite."
  - bugfix: "Fixed damaged wall overlays."
  - bugfix: "Fixed the INDRA field getting messed up by pointing at it."
  - bugfix: "Apple pies now count for the pie bounty."
- bugfix: "Changeling chameleon claws no longer spawn in the warehouse."
  - bugfix: "Admin click-drag to possess has been fixed."
- bugfix: "Added a minimum damage threshold to delimb, in order to stops
ridiculously small damage from taking off limbs. The threshold is the
organ's max damage divided by 3."
  - bugfix: "The Pull psionic ability no longer pulls anchored objects."

Fixes #17739
Fixes #17369
Fixes #19535
Fixes #19166
Fixes #20184
Fixes #20165
Fixes #20164
Fixes #20117
Fixes #19961
Fixes #20231
Fixes #20277
Fixes #20346

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2025-01-13 22:13:44 +00:00
Fluffy
1ba0b35838 New opendream pragmas (#20260)
Enabled new opendream pragmas
Fixed some runtime access check operators (`:`) around the codebase (not
all, some are unfixable as they're used in macros)

No player facing changes (hopefully)
2024-12-29 11:12:09 +00:00
Cody Brittain
5db905615d Re-added the Turbine (#19828)
![image](https://github.com/user-attachments/assets/8cf5c42a-0f36-49ae-b34e-19567c747a28)

This is intended for future use.

This is a direct port from Paradise, modified to work with our code.

### Asset Licenses
The following assets that **have not** been created by myself are
included in this PR:

| Path | Original Author | License |
| --- | --- | --- |
| sound/effects/electheart.ogg | tigercat2000 (Paradise) | CC-BY-SA |
| icons/obj/pipeturbine.dmi |
[PestoVerde322](https://github.com/PestoVerde322) (Beestation) |
CC-BY-SA |

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
2024-12-28 18:30:31 +00:00
Fluffy
df014f9bc0 Mouse drop refactor (#20256)
Refactored mousedrag procs, added signals, some safeguards, did some
cleanups around, renamed them to make a little more sense. Mostly put in
line with TG's code.
Fast clicking and releasing with a drag, depending on the grace period
and how fast it is done, can be counted as clicks, to aid in combat
scenarios where you spamclick.
2024-12-26 14:26:32 +00:00
Stev-the-third
46b044d302 Nuclear Missile Silo (#20222)
The Nuclear Missile Silo Bunker Thingamjig is a 2-z odyssey map. Should
be nice and generic so storytellers can tell a variety of stories,
including just blocking off the entire bunker and having a nice snowy
town if they want to.

![StrongDMM-2024-12-13 09 59
43](https://github.com/user-attachments/assets/30d36670-72a9-41d1-b48b-84d20d166600)

![image](https://github.com/user-attachments/assets/ced645a8-4896-4739-b17c-255da643c534)

And the sub-maps:

![image](https://github.com/user-attachments/assets/3add3533-7f41-4e3e-960e-cf61b36a7172)


Future plans for a later PR include a day/night cycle and maybe weather

---------

Co-authored-by: Stev-the-third <rose@flurf.net>
2024-12-15 13:52:34 +00:00
Fluffy
389466360e Areas and station areas work (#20195)
Refactored sorting.
Added test to verify all horizon areas (outside exceptions) are marked
as station areas.
Added test to verify shuttle areas are not marked as station areas.
Refactored how the area sorting var is made and used.
Added a global list of all areas.
2024-11-27 13:13:44 +00:00
Matt Atlas
1da20ad33f Adds the Odyssey gamemode. (#18972)
https://forums.aurorastation.org/topic/20198-mission-briefing-auroras-gamemode-revolution

To-do:

- [x] Finish storyteller verbs.
- [x] Storyteller landmarks.
- [x] Proper storyteller spawning. Right now the gamemode system is
happy with just picking one storyteller and no actors.
- [x] Antagonist whitelists code.
- [x] Adding the Storyteller whitelist.
- [x] Mission map loading code.
- [x] Map in a bunch of missions.
- [ ] Storyteller adminhelps.

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
Co-authored-by: DreamySkrell <>
2024-11-26 20:18:43 +00:00
DreamySkrell
5c344e36a3 SCCV Quark - new xenoarch/science shuttle (#20127)
feedback thread:
-
https://forums.aurorastation.org/topic/21275-sccv-quark-new-xenoarch-shuttle-feedback-thread/#comment-178259

changes:
- rscadd: "Adds SCCV Quark, new shuttle for xenoarch/science, on
Horizon."
- rscadd: "Small remap of the aux hangar on Horizon, adding some
expedition supplies there."
 
reasoning and explanation:
- The idea is that xenoarchs/science use this if they want to go on a
solo adventure for whatever reason (and die to random simplemobs),
without stealing the intrepid (that could be used to go to the odyssey
scenario site).
- Xenoarchs would still be allowed to use the intrepid, if it's not used
for odyssey or whatever and they want to organize a bigger expedition
with more crew (or at least I hope so, I don't make the rules).
- It's a small shuttle, but it has more than enough seating and some
cargo space. I think, at least, it is fine for a xenoarch or two and a
few passengers.
- We need a xenoarch/science shuttle like yesterday, and no one's really
shown any interest in mapping it in the past few months, so I made this.
- If anyone has a different idea and wants to map their own shuttle,
it's fine ofc. This is just my PR, anyone is free to open their own, and
the best shuttle will be merged



![image](https://github.com/user-attachments/assets/269f6369-c95a-4e78-8305-0525df30058b)

![image](https://github.com/user-attachments/assets/507fca8c-ea38-4a7b-b268-8b62acc7f543)

![image](https://github.com/user-attachments/assets/fc7857a6-2a4a-414a-a49b-3610a123c812)

![image](https://github.com/user-attachments/assets/984cfcc1-756b-4963-b6fe-b01912326eb6)

![image](https://github.com/user-attachments/assets/ca803886-925a-4449-a343-4c4f3acdbeba)

(explanation on top of description)

---------

Co-authored-by: DreamySkrell <>
2024-11-08 15:35:04 +00:00
Fluffy
0b4bb4ead1 Bluespace drive (#20053)
![immagine](https://github.com/user-attachments/assets/1e75f35b-b795-44ac-af96-0fecb0fedf9a)

Added the bluespace drive.
Fixed overmap projectiles not transferring correctly.
Code improvements. A lot of.

---------

Co-authored-by: courierbravo <73250577+courierbravo@users.noreply.github.com>
2024-11-06 17:10:10 +00:00
Fluffy
d40d459d42 Refactored movement observable away (#20083)
Refactored movement observable away, use only the signal.
Some tweaks to the signal.
2024-10-26 15:53:07 +00:00
Fluffy
3de4911dc8 Chemmaster and chemdispenser UI disables if the machine is not operable (#20101)
Chemmaster and chemdispenser UI disables if the machine is not operable.
Turned a comment into a DMDoc.

Fixes #19825
2024-10-26 10:15:36 +00:00
Fluffy
d9c44532fc Refactored directionals (#20082)
Refactored directionals, ported lists of directions from TG, got rid of
useless proc to get the reverse direction.
2024-10-25 17:56:02 +00:00
Fluffy
404c90f688 Replaced the outside turfs with exoplanet ones for the digsite (#20066)
Replaced the outside turfs with exoplanet ones for the digsite.
Fixed some exoplanet areas not having an exoplanet base turf.
Wrote a unit test for exoplanet areas to ensure they have an exoplanet
base turf.
2024-10-20 18:49:39 +00:00
Fluffy
b8902e2e16 Runtime map now loads in ~11 seconds instead of ~40, sped up various other things (#19957)
Runtime map now has a bunch of new areas / items with often-tested
stuffs, and some hard-to-put-at-runtime stuffs.
Runtime map jobs now are positioned to make it faster to reach the
aforementioned often-tested stuffs.
Runtime map doesn't generate an overmap anymore by default, which speeds
up the process.
Runtime map now loads in ~11 seconds instead of ~40 seconds as it was
before.
Updated the maploader to be faster in parsing maps.
Bapi is not engaged anymore if we're only measuring the map size, which
speeds up the process.
In fastboot we do not generate the codexes anymore, which speeds up the
process.
In fastboot and if exoplanets and away sites are not enabled, we do not
parse the map templates anymore, which speeds up the process.
Updated the icon smoothing to be faster.
Optimized cargo area code.
Other optimizations.
2024-10-06 21:31:01 +00:00
Fluffy
9636363e60 Refactored the attack proc (#19908)
Refactored the attack proc signature.
Added signals and components for the attack proc.
Added signals and components for the attackby proc.
Adjusted some leftover attackby procs signatures.
Added grep test to ensure people don't keep adding attack/attackby procs
with the wrong signature.
2024-10-06 21:30:00 +00:00
Snowy1237
ff8ff7389a Makes power outlets not dense (#20002)
see title or something
2024-10-06 21:21:20 +00:00
Geeves
af4da2bb06 Power Outlets (#19943)
* Added power outlets to the service area. More can be printed at RnD.
The capacitor can be upgraded to improve charging speed for connected
devices.
2024-10-04 14:53:51 +00:00
Joshie
fd7873647a Uranium Portable Generator Fix (#19978)
Fixes the uranium-powered portable generator exploding when it's used at
level 4. The safe heat threshold was supposed to be 300c, but a small
variance of 16c was causing it to just surpass that and go into overheat
when it's not supposed to.
2024-10-03 14:57:59 +00:00
Fluffy
c24b4c7097 Projectile refactoring madness (#19878)
Refactored the projectile code, mostly in line with TG's now.
Refactored various procs that are used or depends on it.
Projectiles can now ricochet if enabled to.
Damage falloffs with distance.
Homing projectiles can now have accuracy falloff with distance.
Projectiles have a maximum range.
Muzzle flash is configurable per projectile.
Impact effect of the projectile is configurable per projectile.
Accuracy decreases with distance.
Projectiles work with signals and emits them, for easy hooking up from
other parts of the code.
Meatshielding is now less effective .
Impact sound is now configurable per projectile.

High risk.
2024-09-23 10:12:57 +00:00
Fluffy
0ae0b10764 Refactored all the backslash ref and ref() calls to use REF() instead (#19847)
Refactored all the backslash ref and ref() calls to use REF() instead.
Added a linting for raw ref proc calls.
2024-09-13 10:17:32 +00:00
Fluffy
41a05bc196 Refactored the abstract meta propriety (#19797)
Refactored the abstract meta propriety into defines.
It's now more easy to spot/see abstract types thanks to the macro that
defines them.
Added a check on initialization of atoms to avoid spawning abstract
types.
Made the spawn_atom proc check for abstractness.
Made the spawn_atom proc use tgui_list for types list shorter than 1000
elements, which enables to search in them. It's too laggy on larger
lists so above 1000 it uses the builtin input.
Made the spawn_atom use a list subtraction instead of a double list,
it's lighter on memory and processing.
2024-08-23 10:49:28 +00:00
Fluffy
a3a4d46fa7 Hitby refactor (#19624)
Refactored hitby to be in line with TG's version.
Refactored item weight defines to a more clear naming scheme, also in
line with TG's version.
Refactored how the movement bumps are handled, ported signals to handle
them, in preparation for the movement update.
Fixed disposal hit bouncing the hitting atom on the wall.
Items do not push other items anymore if they are tiny.
2024-07-28 20:52:08 +00:00
Fluffy
f26e4a0380 Collapse dmms (#19698)
Collapsed all the multi-z dmm maps into single-file dmms
Moved some of the map geometry into traits
2024-07-27 19:00:57 +00:00
Fluffy
3e1b9d4170 Repathed /obj/item/projectile to /obj/projectile (#19693)
Repathed /obj/item/projectile to /obj/projectile, same as TG and Bay,
that's pretty much it.
2024-07-27 10:09:46 +00:00
Fluffy
363650f185 Borgs can now access the APCs channel configuration again (#19674)
Borgs can now access the APCs channel configuration again, like the AI
already can
2024-07-23 06:14:57 +00:00
Fluffy
1345beac4b Added the z-level manager system from TG (#19532)
Added the z-level manager system from TG, mostly
2024-07-22 13:00:38 +00:00
Fluffy
78348238a3 Removed the GELF logging infrastructure (#19577)
Removed the gelf logging infrastructure.
Refactored the various logging procs to be a direct call in light of the
above.
Removed ancilliary UDP related things.
2024-07-08 12:48:16 +00:00
FlamingLily
6a9101e763 Fixes SMES hacking (#19549)
~~In preparation for my grand political strategy to get SMES hacking
wires added to the aurora wiki, I made sure they were working.~~

It's on the wiki now so you have to merge this it's canon 🫡 

Changes:
* The RCON wire in a SMES now actually disconnects a SMES from RCON
(before it only prevented AI control).
* When the input wire is cut in a SMES, it will now correctly report
that the SMES is not charging on the UI.
* The Failsafe and Grounding wires of a SMES now correctly trigger the
red light when only one is cut, instead of both needing to be triggered.

---------

Signed-off-by: FlamingLily <80451102+FlamingLily@users.noreply.github.com>
2024-07-03 04:01:44 +00:00
Fluffy
d8d67ebd3a Refactored CollidedWith (#19541)
Refactored CollidedWith()
2024-06-29 10:01:18 +00:00
FlamingLily
4b413026af Fixes the icons of the INDRA fuel assemblies. (#19533)
They are no longer invisible.


![image](https://github.com/Aurorastation/Aurora.3/assets/80451102/18562982-cf97-4afc-b830-3361b89ec740)

Fixes #19032
2024-06-24 09:17:49 +00:00
Fluffy
1e43a1267c Turned various spawns into timers / removed (#19402)
Turned various spawns into timers / removed.
Removed the magnet machinery and sd alerts, ancient code that was not
used anywhere anyways.
2024-06-16 15:24:27 +00:00
Geeves
2bf39c7ee9 Exosuit Nuclear Power Cores (#18268)
* Added power cores, a type of large battery cell that get used by
exosuits. The nuclear and phoron variants are self-charging.
* Combat mechs now start with nuclear power cores, allowing them to
sustain themselves indefinitely, so long as they stay out of the action
for a bit.
* Removed basic power cells from the mechfab, replaced with the mech
powercores.
* Mech cell statuses now instantly update as soon as the cell charges or
discharges.
* Added a stack of 10 uranium to the machinist's workshop, which can
print two nuclear power cores.
2024-06-09 21:14:59 +00:00
Fluffy
c1a47cf20b Matrix (in)sanity (#19366)
Ported the various matrix procs and defines from TG.
Updated our snowflake procs with the Bay's current version.
Refactor of our orbit proc to align with the updated procs, tesla energy
ball too.
2024-06-09 17:07:58 +00:00
Fluffy
9acce89e2a Weapons Racks (#19338)
Added weapons racks, can be locked/unlocked with an ID card.
Added weapons racks sprites, from Wezzy.
Refactored some circuitboard code, moved the defines, applied the
defines, DMDocs.
Moved mutable appearance appearance flag set to the mutable appearance
file.
Reorganized the Horizon armory with the weapons racks, moved things
around, put down markers on lockers depending on the danger level of
their content, reorganized content of the remaining lockers.
Made weapons racks constructable with circuitboards.


![image](https://github.com/Aurorastation/Aurora.3/assets/65877598/8b4ec7ae-40c4-4cd7-b338-76120d468b90)

![image](https://github.com/Aurorastation/Aurora.3/assets/65877598/a69d1f85-c4b2-4643-af2b-6832e3ea2c43)

![image](https://github.com/Aurorastation/Aurora.3/assets/65877598/11c1afe4-0fa1-4708-8eb4-64e1f5594913)

sound/items/metal_shutter.ogg -
https://freesound.org/people/bruno.auzet/sounds/524695/ (CC0, sound was
edited)
2024-06-09 17:07:52 +00:00
Fluffy
37ba219cd0 Rig maintenance panel pryable (#19216)
Made hardsuits maintenance panel pryable open, large chance it will
shock you if you don't have insulating gloves, takes a while to do.
Minor refactoring of the attackby code for the hardsuits, DMDoc'd and
minor refactor of the electrocute_mob proc.

Fixes #19173
2024-05-31 21:25:45 +00:00
Fluffy
7fb282adf0 Refactored the machinery operable procs (#19274)
Refactored the machinery operable procs into a single one, DMDoc'd, SDMM
marked, made more readable.
Fixed suspension field generator not being able to be used as it was not
checking the power cell for operability.

Fixes #19249
2024-05-31 21:23:30 +00:00
Fluffy
cca5b43987 APC improvements, powersinks empowering, APC maplint (#19209)
Minor refactor of the APC file, turned biteshifts into the BITFLAG
macro, reordering.
Added APCs maplints.
Fixed maps to pass the maplints.
APCs now draw time-constant power.
Removed power objects handling code, only the powersink existed that
used it.
Refactored powersink to use the processing subsystem, made it
time-constant, DMDoc'd.
Made powersinks drain power from an APC faster.
2024-05-31 20:23:36 +00:00
Fluffy
db5b1ee6b2 Refactored fire_act (#19158)
Refactored fire_act() to be in line with TG version, removed useless
parameter, added signal, made non sleepable and forced to call parent.
Added atom_act.dm file for the various *_act procs.
2024-05-26 20:55:36 +00:00
Fluffy
3dc4cce9c2 Minor span refactoring (#19177)
Minor span refactoring
2024-05-19 16:37:29 +00:00
Cody Brittain
d95734c606 Emissives (#18895)
A significant amount of influence was taken from
https://github.com/Baystation12/Baystation12/pull/33255, however adapted
to Aurora. Key things to note is the port of the newer alpha settings
from /tg/, among other improvements.

The ancient holographic and screen overlay code has been purged. This is
now handled with emissives, while holograms are handled with filters as
well.

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
2024-05-12 20:51:45 +00:00
Geeves
3e43bea584 Cable/Pipe Color Examining (#19041)
* Examining a pipe or cable will now display its color as text.


![image](https://github.com/Aurorastation/Aurora.3/assets/22774890/4c7ffcc9-85f7-437b-aaaf-4290e080b0d4)

![image](https://github.com/Aurorastation/Aurora.3/assets/22774890/c1505ae5-e594-4b95-b982-3016fb947d32)

![image](https://github.com/Aurorastation/Aurora.3/assets/22774890/df9b1d01-974e-42fa-85fb-83e283b10405)
2024-05-01 22:34:15 +00:00
Cody Brittain
9983fca311 Update SSOverlays (ported from Baystation) (#19051)
Our SSOverlays system is outdated, and is likely the cause of many of
the issues seen in #18895. It has also been linked to a massive server
performance decrease.

This brings an updated system from Baystation, hopefully with speed
increases.

Should be testmerged, ideally with #18895.

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
2024-05-01 07:46:27 +00:00
DreamySkrell
d0c272b435 Cult Base Away Site (#18578)
![image](https://github.com/Aurorastation/Aurora.3/assets/107256943/afe938e9-b3c9-4819-b74b-f403bdb57efd)

changes:
  - rscadd: "Cult Base away site."
  - rscadd: "Adds some mapped in cult runes."
- rscadd: "Adds ooc welcome message, separate from normal welcome
message."
  - rscadd: "Allows corpses to use outfits."
  - rscadd: "Allows corpses use different species."
  - rscadd: "Adds some generic outfits."
  - rscadd: "Ghostspawner spawn points are actually randomly picked."
  - bugfix: "Fixes marker layers."

---------

Co-authored-by: DreamySkrell <>
2024-04-20 21:14:47 +00:00
Cody Brittain
c1d241594b Planes & Layers part 2: Plane Masters (#18749)
Part 2 of the PR series to bring /tg/'s and bay's plane masters to
Aurora, the lack of which is blocking several features we want.

This ports over the easier to understand Bay version of plane masters,
which is detailed in the relevant readme file in the code. Example
effect code for a warp effect is also in, which has been implemented for
gravity catapults.

Relies on #18741

---------

Signed-off-by: Matt Atlas <mattiathebest2000@hotmail.it>
Co-authored-by: Cody Brittain <cbrittain10@live.com>
Co-authored-by: Matt Atlas <mattiathebest2000@hotmail.it>
2024-04-13 18:07:51 +00:00
QuestioningMark
6297045787 New INDRA Reaction: Iron+Phoron Nucleosynthesis (#18910)
Adds a new INDRA fusion reaction, allowing the production of lead,
uranium and borosilicate glass.

This requires cooperation across departments to receive iron and phoron
from either science or pharmacy.

This is to enable a slow, low yeild manner to obtain uranium, lead and
borosilicate glass in absence of miners, or to recieve a trickle of
uranium, lead, and borosilicate glass that doesn't outpace the payloads
miners can produce.

---------

Signed-off-by: QuestioningMark <49098034+QuestioningMark@users.noreply.github.com>
2024-04-13 16:13:52 +00:00
Cody Brittain
03c61e542c Fixes various issues with layers (#18846)
Fixes #18842, among other misc issues

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
2024-04-03 20:17:21 +00:00