Commit Graph

104 Commits

Author SHA1 Message Date
Novacat
3f99fb32f1 Merge pull request #10047 from Novacat/nova-ert
Properly garbage collects carp
2021-03-30 20:04:32 +00:00
Chompstation Bot
ad57e1ad13 [MIRROR] Sideports a couple of init unit tests from Neb. 2021-02-27 18:45:36 +00:00
Chompstation Bot
37031c2c9b Shuttle control panel (rebundled) 2021-02-14 08:29:32 -05:00
Novacat
3d5c11d6df Merge pull request #9629 from Novacat/nova-basicfixes
Shuttle Console ID Stuff
2021-02-01 03:25:27 +00:00
Chompstation Bot
ae92942bde Abductor Ship 2020-12-08 18:56:09 +00:00
Novacat
46a3ef1d35 Merge pull request #9424 from VOREStation/upstream-merge-7773
[MIRROR] Fixes unreachable landmarks breaking spacetravel
2020-12-08 03:35:06 +00:00
Verkister
9848c0e719 Merge pull request #9225 from VOREStation/upstream-merge-7708
[MIRROR] Makes wall-mounted machines layer above windows
2020-10-27 08:16:29 +00:00
Cadyn
07775449d7 Fixing conflicts 2020-10-05 18:10:53 -07:00
Atermonera
c421782aa2 Mobs don't get lost in space (#7713) 2020-10-02 21:24:00 -04:00
Razgriz
54e632ebf2 September 2020 Upstream Merge 2020-09-25 23:07:08 -07:00
Novacat
d49640431d Merge pull request #9062 from ShadowLarkens/tgui_finale
NanoUI Goes To Brazil
2020-09-21 14:13:16 -04:00
ShadowLarkens
3f191e4204 NanoUI Goes To Brazil 2020-09-20 02:36:46 -07:00
Atermonera
aad674c2a7 Merge pull request #7628 from KillianKirilenko/kk-misc3
[MAPPING] Fuel Port Subtypes
2020-09-19 21:55:34 -04:00
Novacat
77f39209a1 Merge pull request #8947 from VOREStation/upstream-merge-7593
[MIRROR] Increases number of things that survive overmap ztransit
2020-09-01 00:52:36 -04:00
Novacat
68f64d3d84 Update ship.dm 2020-08-31 23:53:59 -04:00
Atermonera
aa1575c27f Merge pull request #7593 from Cyantime/patch-3
Increases number of things that survive overmap ztransit
2020-08-31 23:41:07 -04:00
Cyantime
6d5c14c448 Stops meson/etc use with overmap consoles 2020-08-31 23:39:49 -04:00
Rykka
d2fb9a7691 Rebase onto Master for Volume Control Panel, Squash Commits 2020-08-27 19:47:38 -04:00
Erik
61eca990df Prep for overmap
A couple variable changes to allow overmap shuttles to function properly and for the overmap to be more than just empty space.
2020-08-20 15:47:31 -07:00
ShadowLarkens
48b630891e TGUI Overmap Shuttle Controls 2020-08-18 20:42:12 -07:00
ShadowLarkens
1ff5627f47 TGUI Shuttle Consoles 2020-08-16 22:27:09 -07:00
Razgriz
7923c7112c Fix runtime for escape pods
Fixes Runtime in escape_pods.dm,19
2020-08-09 20:35:55 -07:00
Leshana
0a461a507b Fix sector initialization stack overflow crash.
- Replace changes from 8c7371c5d4b900308cecdba5335989e8c9f191fe
    - Removed debugging prints in skybox generation
    - Reverted change to GetConnnectedZLevels to avoid the chicken-or-egg initialization issue of find_z_levels() requiring knowledge of a sector's z-levels during the attempt to determine a sector's z-levels.
    - Make find_z_levels() always called again so that lazy open space initialization works on landable ships again.
- Instead, allow static configuration of sector map_z to override the default behavior of calling GetConnectedZLevels()
2020-06-25 11:10:02 -04:00
Atermonera
ebe7bd1975 Enables overmap on SC, adds Sif to SC skybox (#6954)
* Enables overmap on SC, adds wip Sif to SC skybox

* codersprites
2020-06-25 11:10:02 -04:00
Aronai Sieyes
09074eaabb Alter playsound paradigm 2020-05-18 23:42:15 -04:00
ShadowLarkens
9cf164d66c Fix AI multicam exploits & a few other bugs 2020-05-10 21:15:52 -07:00
Aronai Sieyes
1acfafd62f When looking at machines, don't allow mesons/material/etc 2020-05-08 11:13:20 -04:00
Aronai Sieyes
fabbdd8c8d Update ships, add ATTRIBUTIONS.md 2020-05-04 14:27:46 -04:00
Leshana
fd1ed9bd85 Overmap Ship Pixel Movement
- Moved ships to be in in SSprocessing so they get 1 second resolution.
- Add/remove ships from processing only when they are moving.
- Simulate pixel movement in code using pixel_x and pixel_y
2020-05-02 22:24:03 -04:00
Leshana
32a8f8a455 Fixed build_overmap() to actually work. 2020-05-02 22:24:03 -04:00
Leshana
4adfc00800 Transform overmap ship icons to exact angle of heading. 2020-05-02 22:23:51 -04:00
Aronai Sieyes
6ebd249748 Rewrite examine() to pass a list around 2020-04-29 16:42:50 -04:00
Aronai Sieyes
d3da6ae4a5 Refactor move code 2020-04-26 16:42:50 -04:00
Aronai Sieyes
bed4f26f95 Fix what's considered station levels 2020-04-26 12:10:29 -04:00
Unknown
dfedf60c0f Requested Changes 2020-04-26 10:58:56 -04:00
Leshana
742a9b16c9 Fix gas thrusters turning off when trying to burn.
They expected use_power_oneoff to return the amount of power that *couldn't* be used, but they return the amount of power that *could*
2020-04-25 12:45:13 -04:00
Leshana
763753648b Implements "static" area machinery power usage
- Instead of using auto_use_power to re-tally up machinery's power usage every cycle, track the steady "static" load separately from the transient "oneoff" usage.  Machines then only need to inform the area when they use oneoff power or *change* their steady usage.
- Remove auto_use_power and stop SSmachines from calling it.
- Add vars to track "static" usage for each of the three power channels to /area
- Rename the existing three vars to "oneoff" so its clear what they mean (and to catch people accidentally updating them directly)
- Update area power procs and APCs to use the new variables.
- Rename /area/proc/use_power() to use_power_oneoff() to make it clear what it is doing.
- Deprecate /obj/machinery/use_power() in favor of use_power_oneoff() but don't delete yet.  Can transition gradually.
- Add logic to the update_power procs on machines to calculate the deltas and update static area power whenever their usage changes.
- Add logic to machines to update area power when they are created, destroyed, or move.
- Moved /obj/machinery procs related to area power usage into machinery_power.dm to make them easier to find.
- Added or updated comments in several places to explain what is going on and how to use it.
2020-04-23 19:04:34 -04:00
Leshana
f80c320c0f VS machinery power update procs. 2020-04-22 20:47:16 -04:00
Leshana
93fb3f7865 Call update procs instead of directly setting idle_power_usage or active_power_usage.
- Adds the update_idle_power_usage() and update_active_power_usage() procs for the respective vars.
- Switches all places modifying those vars directly to call the procs instead.
- This will let us react to the change appropriately, paving the way towards static area power.
- Adds update_power_channel proc for the sake of completeness, but no machines actually modify it so far.
2020-04-22 20:47:15 -04:00
Aronai Sieyes
d91be67bef Make Talon engines BEEFIER 2020-04-18 21:12:37 -04:00
Aronai Sieyes
01f57d4245 Merge pull request #7310 from VOREStation/vplk-lazy-landables
Lazy ship/landable Overmap Levels
2020-04-17 14:13:04 -04:00
Aronai Sieyes
3551edd8cc Improve ship scanners 2020-04-17 13:11:03 -04:00
Leshana
796c406965 Lazily create landable ship's overmap z-level on first use.
- Create the landmark as normal, but instead of allocating a z-level and placing it, register a pre_move listener on the shuttle and setup the z-level only when the shuttle is about to move to its overmap landmark.
- Change when shuttles fire the shuttle_pre_move_event to before calculating translation list to give us a chance to allocate the z-level.
2020-04-17 10:22:22 -04:00
Leshana
0c3126ffad Fix overmap spacemove not actually re-using deepspace sectors. 2020-04-17 10:22:22 -04:00
Leshana
64eb2cf552 Ports the disperser beam from Baystation. 2020-04-16 21:31:49 -04:00
Aronai Sieyes
92ae9dca42 Move skybox representation into procs and vars 2020-04-16 18:08:41 -04:00
Aronai Sieyes
d9b3739669 Merge branch 'master' into vplk-shuttle-construction 2020-04-13 09:30:05 -04:00
Aronai Sieyes
4e0a62996b Add nav console modular program and fix crew mon bug 2020-04-12 22:52:57 -04:00
Leshana
ea4e928519 Adds a "champagne bottle" to dynamically create landable overmap ship shuttles in-game. 2020-04-11 19:54:07 -04:00
Leshana
4d9cc39664 Make shuttle control consoles constructable.
- Adds circuit boards for shuttle consoles. (Ferry, Multi, and Overmap).
- Deconstructing a console saves the linked shuttle tag in the board for when it is re-constructed.  New boards start blank but will auto-link if you build the console on a shuttle.
- Boards know what type of shuttle they can control and will only auto-link with a shuttle if it is the appropriate type.

Note: By default the only mapped-in shuttle consoles that are deconstrutable are overmap and multi shuttle consoles.   For any others, consoles built mid-game will be deconstrutable but the mapped-in ones will not.  That way the arrival, escape, supply ferry shuttles etc won't be messed with unless the mapper specifically chooses to override and make them that way.
2020-04-11 19:54:03 -04:00