Commit Graph

1059 Commits

Author SHA1 Message Date
Rykka
227af131a1 Add the Aurora Caelus to the .dme 2020-06-07 13:36:35 -04:00
Atermonera
0c78a71226 Fixes runtimes related to mmi_holder and defib_timer (#7237)
Fixes runtime in life.dm,1831: undefined proc or verb /obj/item/organ/internal/mmi_holder/robot/tick defib timer().
Fixes runtime in defib.dm,511: undefined variable /obj/item/organ/internal/mmi_holder/robot/var/defib_timer
2020-06-04 19:37:29 -07:00
Rykka Stormheart
8235afb3ae Merge branch 'master' into shep-dev-multicam 2020-06-01 14:23:03 -04:00
Aronai Sieyes
5cc996d82d Port Bay's lockers, crates, largecrates, wall lockers 2020-06-01 12:38:07 -04:00
Atermonera
e53dc1539b Merge pull request #7247 from VOREStation/Arokha/erisfloors
Port various auto-decorating floors from Eris
2020-05-31 15:37:51 -07:00
Atermonera
55e12aad7b Merge pull request #7210 from VOREStation/vplk-static-power
[PORT] Static Machinery Power
2020-05-30 21:18:27 -07:00
Rykka Stormheart
9917f31031 Merge branch 'master' into shep-dev-upstream-screenport 2020-05-30 06:54:08 -04:00
Atermonera
551fc88ce1 Merge pull request #7204 from VOREStation/Arokha/performance
Performance improvements
2020-05-28 12:47:08 -07:00
Aronai Sieyes
7e0e2cbabf Port various auto-decorating floors from Eris 2020-05-27 14:52:58 -04:00
Rykka
c22411b2a4 Forgot the onclick alert.dm check for the .dme 2020-05-23 04:48:47 -04:00
Killian
5505a61adf [Project] Vintage Voidsuits (#7152)
* event set wip

* Update polaris.dme

* event suits ui set complete

* all onmob states imported

* comments on suit perks/balance

* minor suit pixel fixes

tails are fiddly yo

* minor taj suit polish

* set up suit-slot permitted item lists

* resolve dmi conflicts
2020-05-22 17:35:58 -07:00
Aronai Sieyes
30613fff5c Optimize what starts in SSobj (#7155)
* Make intercom power change stateful

* Clean up air tank processing and initialize

* Optimize flashlight processing

* Optimize suit cooler processing

* Optimize geiger counter processing

* Optimize lighting processing

* Only process rigs on a person

* One more rig cleanup
2020-05-21 11:28:27 -07:00
Novacat
8a2baa1e65 Updates Solgov/Sifguard uniforms (#7138)
* Adds Rank and Dept Slots

Since BYOND increased the maximum of bitwise operations, it is possible to add a few new slots. I decided to port Bay's Rank and Dept slots, as well as remove the now defunct Torso slot.

* Adds some Terran uniforms

* Ah screw it I am overhauling this

* Renames marine icon

* adds crude clothing sprite for jumpers

* Fixes previous commit

* Renames all army stuff to marines

* Fixes an oversight

* Purges extraneous icons

* Removes duplicate sprites
2020-05-21 11:19:46 -07:00
Atermonera
46b6bd155e Edit Appearance and Change Appearance update icon sex (#7193) 2020-05-19 18:53:30 -07:00
Leshana
ccef6cc908 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-05-19 20:17:48 -04:00
Aronai Sieyes
07acd05537 Obsolete the PROXMOVE flag and uses 2020-05-19 10:39:44 -04:00
Atermonera
3b3e5b3962 Merge pull request #7080 from VOREStation/pol-uavs
Add UAVs
2020-05-13 21:33:15 -07:00
Aronai Sieyes
a45da3f0bb Add UAV and UAV control software 2020-05-11 21:35:06 -04:00
Atermonera
d3b7d8e743 Merge pull request #7087 from VOREStation/pol-nightshift
Port SSnightshift from Paradise
2020-05-10 15:16:14 -07:00
Rykka
cc038370f9 Add AI Picture-in-Picture Mode!
This adds a system for picture-in-picture UI windows using
vis_contents. Essentially, it allows you to make UI windows that show an area of turfs. It also refactors how cameranet visibility works.

Currently, this is implemented on AIs. They gain two new UI buttons - "Enter Multicam Mode", and "Create Multicam". When they go into Multicam Mode, they see a background of animated binary numbers, and they are allowed to create an infinite amount of these picture in picture windows, which subsequently creates an AI Eye for each one. They are able to control each AI eye individually, by first clicking on the PIP window to select it as "active" and then using the normal arrow key controls. The PIP windows can be freely resized and moved around the area.

You can control everything inside these PIP windows EXACTLY the same as you can using a traditional AI Eye, as demonstrated below.

For admins, there is a config option to disable PIP entirely - simply set `var/multicam_allowed = TRUE` to FALSE if you wish to disable it from being used. (Please be reasonable.) <3

You can see an example of how this works here:
![https://i.imgur.com/TCND8W9.mp4](https://i.imgur.com/TCND8W9.mp4)

AI Multicam functionality.

Do note that if the lightbulb in the AI core is busted, the multicam room is dark(er) than it would be, but you can still see your camera windows just fine. (I'll probably fix this later.) It only affects the "matrix" backdrop, the PIP windows are still fine.

This has been runtime-tested with the latest `master` revision and produces 0 runtimes, and has no noticeable impact on server CPU usage.

Polarisport is here! Port of https://github.com/VOREStation/VOREStation/pull/7752
2020-05-10 14:00:45 -04:00
Atermonera
1cb60a41fa Merge pull request #7060 from Mechoid/LingFixes+OtherFixes
Ling Fixes + Various other fixes
2020-05-05 14:00:34 -07:00
Aronai Sieyes
df12cd888a Port SSnightshift from Paradise
Makes the station have a night mode.
2020-05-03 21:17:55 -04:00
Atlantiscze
c32112c69c Merge branch 'master' of https://github.com/PolarisSS13/Polaris into 2020_04_17_LoadBalancing 2020-05-03 23:17:27 +02:00
Atermonera
653cb2f2c3 Merge pull request #7053 from VOREStation/pol-airefactor
Refactor AI into two subsystems
2020-05-01 12:09:08 -07:00
Mechoid
aafd4b4fa6 Explorer Expansion: New Horizons (#6960)
* Large amount of work; Animal taming, shearing. Random animal spawns on sif grass/forest turfs. New PoIs, thermal poncho.

* Combat drone DMI moved to drones folder. Mining Drone subtype added. "Tameable" with ores, will collect and store ores when not in active combat.
2020-05-01 11:19:21 -07:00
Atermonera
51f61886a9 Merge pull request #7024 from atlantiscze/2020_04_21_ValveProgram
Converts Shutoff valve monitoring into a MC program
2020-04-28 14:57:24 -07:00
Mechoid
a5d0978773 Ling Fixes + Various other fixes, including non-suit suit icons, rollerbed inhands, ling thermals existing and working, ling locker/morgue revive. 2020-04-27 20:27:39 -07:00
Aronai Sieyes
65cfc5bd39 Refactor telecomms to send messages to logically adjacent zlevels 2020-04-27 10:45:25 -04:00
Aronai Sieyes
dcf88640ee Adds an overmap helper to find what sector you're in 2020-04-27 10:34:28 -04:00
Aronai Sieyes
c170436256 Refactor AI into two subsystems 2020-04-27 10:11:49 -04:00
Atermonera
abb66e24ed Merge pull request #7035 from VOREStation/vplk-shuttle-construction
[PORT] Ship/Shuttle Console Construction
2020-04-25 13:22:12 -07:00
Leshana
ec86a98e16 [PORT] Refactor the gameticker controller into SSticker (#6994)
* Move gameticker to subsystem folder before editing to track history thru rename.

* Refactor the gameticker into SSticker

  - Instead of independently spawn'd while/sleep loops, it stores its state and lets the MC fire it.
  - Convert relative path indentation procs to absolute path as per modern style standards.
  - Break apart the inner loops into separate procs so you can see what is actually going on.
  - It now shows up in MC tab, along with stats about what phase it is in.

* Revamp Start Now admin verb to actually wait until init is done before starting.

* Update Lobby stat panel to show voting and server init status.

* Fix: Only call autogamemode vote once.

* Spawn statistic_cycle off to not sleep SSticker.

* Add SStickere changelog

* Change to use to_world and add wrapping spans.

* Added filtering spans by specific request of Polaris.
2020-04-25 12:26:54 -07:00
Leshana
a279c698e3 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-23 19:10:52 -04:00
Atlantiscze
b3d866c4d5 Adds updated version of power debugging items
- Infinite powersource, Infinite grid load (powersink without boom) and APC dummy load.
- Not buildable, intended primarily for debugging or admin shenanigans. For mapped-in variants setting show_extended_information = FALSE is recommended.
2020-04-23 07:48:53 +02:00
Atlantiscze
131270c6f8 Converts Shutoff valve monitoring into a MC program
- Existing consoles remain for now, only refactored to use a shared nano_module. Included by default on engineering consoles, downloadable by anyone with basic engineering access.
- Tidies up the UI a bit, prevents manual toggling of valves when they are in Auto mode (as it would immediately toggle back)
2020-04-21 15:15:57 +02:00
ShadowLarkens
54a8a5823d Saycode Overhaul -- Multilingualism (#6956)
* Port ParadiseSS13/Paradise#2100 - Saycode refactor

* Removed unused old carbon slimes code

* Port ParadiseSS13/Paradise#5099 - Saycode part 2

* Ported ParadiseSS13/Paradise#7170's /datum/browser Check Known Languages

* Port ParadiseSS13/Paradise#9240 - Get rid of alt_name in favor of GetAltName()

* Port ParadiseSS13/Paradise#10330 - You can now use multiple languages in one message

* Addressed Atermonera's review.

Translators now print the full message if they find any languages within the
message that the user doesn't understand, minus languages it cannot translate.

Additionally, the combine_message proc has been significantly simplified
by eliminating an ugly tree structure with the help of a little helper
proc.

The removal of the extra span inside each piece doesn't seem to have
visually changed the messages in any other way than changing where the
wordwrap happens, strangely enough. Must be something in IE's code being
picky about invisible elements. On the bright side, it splits *later*
than it did before, thus reducing the lines a message will take up by a
tiny amount.

Also, a bunch of things now have the 'filter_say' class from
PolarisSS13/Polaris#6998. Since span classes with no definition are
totally valid and just don't do anything, this PR does **not** depend on
that PR being merged first.

* Always gotta be one
2020-04-20 01:11:53 -07:00
Atermonera
1ed5556b8f Adds empty filter classes to send messages to particular vchat filters. (#6998)
* Adds empty filter classes to send messages to particular vchat filters.
Adds combat log (playerside X hit Y) filter
Adds admin log, attack log, and debug log filters (Admin side)
Moves many unfiltered admin verb outputs to admin log filter

* unmatched tags
2020-04-20 00:28:16 -07:00
Leshana
2d37c09d12 Commit move of open_space_controller.dm to subsystems folder to track history through rename. 2020-04-14 09:37:58 -04:00
Atermonera
32a573f5cc Merge pull request #6878 from Mechoid/ATaleofBlobsandMen
A Tale of Blobs and Man
2020-04-12 22:34:33 -07:00
Atermonera
98fe59024a Merge pull request #6937 from VOREStation/pol-dockhelpers
Adds airlock setup helpers
2020-04-11 20:48:43 -07:00
Atermonera
527370ca4f Merge pull request #6982 from VOREStation/vplk-fix-vv-lists
Fix VV on lists
2020-04-10 23:56:38 -07:00
Mechoid
1520c2d190 S l e e p, and split to Ater's request. 2020-04-10 15:54:50 -07:00
Mechoid
001d5b091f Merge branch 'master' of https://github.com/PolarisSS13/Polaris into ATaleofBlobsandMen
# FixConflicts:
#	polaris.dme
2020-04-09 22:55:42 -07:00
Atermonera
94178864cf Adds preference to output description_info with examine text (#6969)
* Adds preference to output description_info with examine text

* includes the defines file
2020-04-09 22:20:45 -07:00
Atermonera
e399e21434 Merge pull request #6950 from VOREStation/pol-maphelp
Improves space edge-of-map behavior and add mapping tools
2020-04-08 23:09:56 -07:00
Aronai Sieyes
765e6cb1a0 Looking glass holodeck (#6958)
* Fix mines qdel

* Looking Glass Holodecks

* Fix console html tag

* DME update
2020-04-08 11:57:15 -07:00
Atermonera
4bfa403f51 Merge pull request #6935 from VOREStation/vplk-escape-controller
Remove emergencyShuttle as a process controller
2020-04-06 23:08:57 -07:00
Leshana
7b431ad2b5 Remove emergencyShuttle process controller. Just use SSprocessing instead.
- The emergencyShuttle process controller (/datum/controller/process/emergencyShuttle) was just a wrapper around the true workhorse emergency_shuttle anyway.
- The emergency_shuttle (/datum/emergency_shuttle_controller) is the actual controller and it only needs to process during the tiny fraction of the round when the shuttle is getting ready to launch.  Therefore we leave it non-processing, and just register/deregister with SSprocessing when it actually needs to.
2020-04-07 01:02:50 -04:00
Leshana
5c12bd5dea Fix links and options on VV list page.
- Fixes the dropdown options of the /list VV page to actually do anything.
- Fixes the E,C,- links next to each list entry on the /list VV page to actually do anything.
- Fixes the Refresh link on the /list VV page to actually refresh.
2020-04-07 00:32:13 -04:00
Aronai Sieyes
b3be065ae4 Port: Merge pull request 6900 from VOREStation/vplk-overmap-events
Overmap Events
2020-04-06 17:54:26 -04:00