Commit Graph

1759 Commits

Author SHA1 Message Date
Atermonera
551fc88ce1 Merge pull request #7204 from VOREStation/Arokha/performance
Performance improvements
2020-05-28 12:47:08 -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
Aronai Sieyes
07acd05537 Obsolete the PROXMOVE flag and uses 2020-05-19 10:39:44 -04:00
Aronai Sieyes
a8f3a0a7a0 Refactor move/click code 2020-05-15 10:49:27 -04:00
Aronai Sieyes
eff72a9850 Merge branch 'master' into pol-moved 2020-05-12 11:22:43 -04:00
Aronai Sieyes
56ed5570bd Fix very curious orbit offset issue (513?) 2020-05-07 22:24:36 -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
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
Aronai Sieyes
3ae9a118b1 Refactor consoles to operate on logically adjacent zlevels 2020-04-27 10:45:25 -04:00
Aronai Sieyes
bc1fa7bd05 Refactor Move() code 2020-04-27 10:08:55 -04:00
Atermonera
a92650b07d Merge pull request #6991 from VOREStation/pol-jobsplit
Allow 'offmap spawn' jobs to be isolated from station employees
2020-04-19 14:23:49 -07:00
Killian
58ac25157b Security Voidsuit Overhaul Redux (#6985)
* security voidsuit overhaul redux

* svo2 - small desc update

* update inhands for secEVA suits
2020-04-19 13:20:39 -07:00
Atlantiscze
78925e2993 Ports over power-related enhancements and tweaks i coded for Bay a while back
- Please fasten your seatbelts, this will be a long one as it joins few older Bay PRs into one.

1. Ports https://github.com/Baystation12/Baystation12/pull/12626
- SMES units may now be damaged and destroyed. Charged SMES units fail quite violently. Damage can be fixed by welding tool.
- PSUs completely refactored, ghetto variant no longer exists.
- Cell rack PSUs now can be considered a hybrid between large battery charger and a SMES. They actually use the cells to store power (so you can hot-swap the cells to get more juice simply via the UI without deconstructing the whole machine), but in comparison to SMES have poor throughput and capacity in general (cells are simply too small). They are also somewhat limited in configuration options (lacks the precision electronics of a SMES). Better matter bin lets you put in more cells, up to 9.
- Cell rack PSU also has a mode that allows charge-balancing all inserted batteries (moves energy around so each battery has the same charge %)

2. Ports https://github.com/Baystation12/Baystation12/pull/11977
- SMES units now have full load balancing capability, getting rid of that annoying "One SMES charges at full, other SMES gets nothing" problem. If insufficient power is available on input, all inputting SMESes will now charge at same percentage. If more SMESes power a single output, they will all output equal percentage of their setting.
- This appears to have a pleasant side effect of fixing the issue where SMESes could starve APCs of energy. SMESes are ALWAYS last to input power on a powernet.
- This also appears to have fixed weird values displayed in SMES output/input load readings in the UI. By weird values i mostly mean inputs/outputs actually higher than the SMES is set to have.

3. Ports https://github.com/Baystation12/Baystation12/pull/18137
- SMES units (and subtypes, therefore effectively also PSUs from previous entry) can now have more than one terminal. This effectively allows a setup where two (or more) sources feed a single SMES, which then feeds the output. SMESes can not exceed input setting even with multiple terminals.
- Typical example of use in practice would be SMES that runs something important (for example an AI, telecomms, pick whatever you want). It could have one input from the power grid, and second input from a PACMAN generator set up nearby as a backup. Before the generator would have to be wired into main grid, therefore main grid would siphon off power from it. Now the generator can be separate and dedicated for whatever use you want.
2020-04-17 08:26:29 +02:00
Aronai Sieyes
cfd052a977 Allow 'offmap spawn' jobs to be isolated from station employees 2020-04-11 13:38:13 -04:00
Leshana
31c634e334 Remove non-global references to SSgameMaster and SSevent_ticker
- Best practice to avoid holding onto references to the subsystem instances aside from the global variables. (In case of restart/recover etc).
- The reference to GM was entirely unused by any event or meta-event.  /datum/game_master would work fine using the global refs.
2020-04-06 17:22:53 -04:00
Neerti
f6ff1a9537 Update other_game_masters.dm 2020-04-05 17:41:49 -04:00
Neerti
eea37d024d Does some of the things Ater wants. 2020-04-05 17:33:48 -04:00
Neerti
f35d9da9a9 A few bugfixes and QoL tweaks. 2020-03-29 02:15:49 -04:00
Aronai Sieyes
715de43f35 VChat: Redone chat output done in Vue.js (#6761)
* Better notifications

* Add buttons to del/move tabs in edit mode

* Add a <span> to emotes

* Fix duplicate IDs in VChat and add more logging

* VChat: Redone chat output in Vue.js

* Ported tg asset cache

* VChat DME Update

* Replace \image macro with bicon()

* NanoUI Subsystem Fixes

Don't do this, the asset subsystem does this for you

* Allow narrate/globalnarrate shenanigans

Allows HTML if your entire thing is HTML

* Disable bicon() icon object cache, and create text tag cache

* Ore Scanner is written incorrectly

Only revealed by vchat

* Fixes 2 VChat bugs

* Underline links in VChat

* Fix LOOC color

* VChat Improvements

Hopefully, anyway.
- Arbitrary font size setting
- Line height setting
- Multiple crush settings
- Rewrote how tabs work hopefully for performance
- Hidden messages are actually put elsewhere
- Attempts to correct chat backlog restore on rejoin

* Surgery steps to use <span>

* Some VChat Tweaks

- Chat remains between client reconnects if your client didn't close (so things like using the reconnect button, or autoreconnects at round end when that feels like working)
- The client doesn't send pings to the server, the server sends pings to the client. This fixes AFK measurements for AFK kick purposes.
- Turn latency indicator into a green/red indicator to show if you're connected, and when clicked will perform a one-time ping (and block doing it again for 10 seconds). It will display '?ms' if it never got a reply, or '999ms' if it did, but it was over 1s.

* Include date in filename for VChat log save

* Merge pull request #6767 from Cyantime/patch-2

Change chat export naming scheme

* Adds VChat tab saving

Saves every time you enter/exit edit mode. Persists between rounds, VChat reloads via verb, etc.

* Fix chat exporting when someone has used unicode

Only affects clients still using 512

* Use CLIENT_FROM_VAR for ease of code reading

* Update code/modules/client/asset_cache.dm

Co-Authored-By: Novacat <35587478+Novacat@users.noreply.github.com>

* Fix runtime when client disconnects before vchat loads

* Fix polaris version of command reports

* Fix LOOC color in oldchat

* Put some styles in various adminpm messages

* Round info and advanced who spans

* Fix missing tag-end

* Maybe fix images for linux and statpanel but also doom everyone

Co-authored-by: ShadowLarkens <ShadowLarkens@users.noreply.github.com>
Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-03-27 14:07:28 -07:00
Atermonera
73a1f8ed03 Merge pull request #6888 from VOREStation/vplk-overmap-skybox
Port Overmap Skybox, Ships, Sectors, and Boats
2020-03-27 14:05:28 -07:00
Atermonera
705208de03 Distillery tweaks (#6892)
* Basic distillery uses logistic temp change
Basic distillery pings when at temp
Industrial distillery repsects gas laws

* Expands examine text to be informative
Adds verbs to distillery

* Tweaks distillery costs
2020-03-25 13:35:40 -07:00
Atermonera
ffc3460d86 Merge pull request #6881 from VOREStation/vplk-set-stat
Add mob/living stat setter and observer
2020-03-23 19:47:03 -07:00
Atermonera
b2e82f9b40 Merge pull request #6880 from Greenjoe12345/teshariprosthetics
Teshari prosthetics
2020-03-23 19:37:18 -07:00
Leshana
9007a3aad9 Ported Basic Overmap Functionality
- Ports the overmap, ships, sectors, and "landable" ships from baystation.
- Ports necessary computers to control ships and overmap shuttles.
- Shims missing machine and computer functionality pending future enhancements.
- Includes required new sprites and sounds.
2020-03-23 20:19:27 -04:00
Leshana
a477b18ade Added mob_living.set_stat() observer 2020-03-20 23:45:29 -04:00
Greenjoe12345
52e9315a18 Adds two sets of Teshari prosthetics, unbranded, and Cenilimi Cybernetics
unbranded is unlocked via research, while cenilimi is ordered on the cargo console
a 'bald' hairstyle is added for FBP teshari to use
a sprite fix for teshari torsos and far hand are also included, to avoid having holes in teshari that have prosthetic limbs
some minor fixes for the teshari nurse cap and eyepatch are also included
2020-03-21 01:22:04 +00:00
Atermonera
efeaf058ff Merge pull request #6840 from Neerti/qol_notification_sounds
QoL: Various Notifications
2020-03-20 12:08:04 -07:00
Atermonera
55cd990598 Merge pull request #6826 from VOREStation/vplk-landmark-shuttles
Port Landmark Shuttles
2020-03-19 15:14:47 -07:00
Mechoid
c7ba2a8e4b Antag Uplink Expansion (#6788)
* Adds Energy Daggerpens, Thieves gloves and Buzzer Ring.

* Updoot

* fixfix weakfire

* Extra Touches

* chlgongog

* Fix antag injector cases.
2020-03-16 21:21:41 -07:00
Leshana
3c5d543116 Optimize wire hacking QoL (#6835)
Keeps the same "bold if changed" functionality added in recent QoL improvements, but replaces the one-datum-instance per hint per device with a two number vars per device.
2020-03-16 02:27:29 -07:00
Neerti
530ea7f32f Adds various notifications for events. 2020-03-14 19:58:20 -04:00
Leshana
85d3cbfa12 Replaced "area" shuttles with "landmark" shuttles.
Largely ported from the work done at Baystation in Baystation12#17460 and later commits.

 - Shuttles no longer require a separate area for each location they jump to.
   Instead destinations are indicated by landmark objects, which are not necessarily exclusive to that shuttle.
   This means that more than one shuttle could use the same docking port (not at the same time of course).
 - Enhanced shuttle control computers to use nanoui if they didn't.
 - Organizes shuttle datum code a bit better so there is less re-inventing the wheel in subtypes.
 - Allows the possibility of shuttles (or destinations) that start on late-loaded maps.
 - Deprecate the "extra" shuttle areas that are no longer needed and update shuttle areas in unit tests

This all required a bit of infrastructure improvements.

 - ChangeArea proc, for changing the area of a turf.
 - Fixed lighting overlays actually being able to be destroyed.
 - Added a few utility macros and procs.
 - Added "turf translation" procs which are like move_contents_to but more flexible.

(cherry picked from commit c837078105)
2020-03-13 00:26:08 -04:00
Atermonera
0021a3b025 Merge pull request #6818 from Neerti/event_manager_fix_electric_boogaloo
Fully Implements R_EVENT for Event Managers
2020-03-12 12:01:07 -07:00
Neerti
e8c51b9291 Makes R_EVENT go everywhere. 2020-03-11 23:17:24 -04:00
Neerti
09f9e0b3d7 QoL: Hacking (#6810)
* Makes hacking window consider all hands instead of just the active one.

* Makes bottom indicators in hacking window go bold if they changed since the last refresh.

* Changelog
2020-03-11 17:36:26 -07:00
Atermonera
9436bdb65a Merge pull request #6725 from Meghan-Rossi/job_description_alt
Job description alt
2020-03-11 12:54:25 -07:00
Aronai Sieyes
d391d9ab12 Mobs can be incorporeal (#6791)
* Mobs can be incorporeal

Prevents step noises, getting shot, etc. Basically living ghosts. Feel free to add more places this should check, but I think this is a majority.

* Fix missing incorporeal floatyness
2020-03-10 22:33:38 -07:00
Schnayy
4b2a0cc6cf Many small changes. 2020-03-08 10:16:17 -05:00
listerla
02f97a116e Adds ecigs and vaping (#6753)
* Adds ecigs and vaping

* Uncomments ssobj

Co-authored-by: lemon <lemon@localhost.localdomain>
2020-03-06 07:09:24 -08:00
Meghan-Rossi
efa4d4544b Merge remote-tracking branch 'Meghan-Rossi/master' into job_description_alt 2020-03-04 19:07:37 +00:00
Neerti
24fbd0b87e Half-Refactors Jobs (#6762)
* Somewhat cleans up a piece of job code, makes new ID computers not be awful.

* Changes ROLE_ defines to DEPARTMENT_ to be clearer. Backports the new ID computer's assignment section of its UI to the old ID computer.

* Swaps back to southern cross map.

* Removes a block of commented code.
2020-03-03 13:27:37 -08:00
Atermonera
ea6bcafa2e Merge pull request #6755 from Neerti/feedback_for_devs
Devs can now View Feedback
2020-02-27 20:55:07 -08:00
Atermonera
46c2c4c762 Merge pull request #6738 from VOREStation/vplk-sundry-fixes-runtimes
Fix Sundry Runtime Errors
2020-02-27 17:41:28 -08:00
Neerti
4c042314e0 Devs can now view feedback. 2020-02-25 18:59:57 -05:00
Atermonera
97f8c1d7b4 Merge pull request #6719 from Neerti/feedback_system
Adds an In-game Feedback System
2020-02-24 13:34:27 -08:00
Atermonera
c51c367689 Merge pull request #6731 from FenodyreeAv/CargoChange
Adds individual modular armour crates, tweaks old prices
2020-02-24 13:16:22 -08:00
Leshana
078176352f Fix Runtime in wires.dm,120: Cannot execute null.is wirecutter(). 2020-02-23 23:55:02 -05:00
Fenodyree
e43edce2a8 Tweaks modular armor cargo ordering 2020-02-23 08:30:25 +00:00
Mechoid
af98219a50 Fix and tweak railguns. 2020-02-22 21:43:23 -08:00