Commit Graph

30436 Commits

Author SHA1 Message Date
Aronai Sieyes
3ae9a118b1 Refactor consoles to operate on logically adjacent zlevels 2020-04-27 10:45:25 -04: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
c9086829ec Convert some telecomms constants into defines 2020-04-27 10:34:13 -04:00
Atermonera
ab179d74a2 Space spaced through open space looks like space (#7018)
* Space spaced through open space looks like space

* Unnecessary update_icon
2020-04-26 00:23:14 -07:00
Atermonera
1e80a52a07 Merge pull request #7036 from atlantiscze/2020_04_24_IntellicoreFix
Fixes Intellicore grabbing AI multiple times
2020-04-25 13:22:53 -07: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
Atermonera
27ec7ab68a Merge pull request #7034 from atlantiscze/2020_04_23_RobotXenoarch
Adds basic xenoarch & exploration equipment to research robot module
2020-04-25 12:58:01 -07:00
Atermonera
4d67e76a50 Merge pull request #7032 from atlantiscze/2020_04_22_ShellExclude
Excludes AI shells from event probability calculations
2020-04-25 12:56:07 -07:00
Atermonera
26669aab96 Merge pull request #7031 from atlantiscze/2020_04_22_JanusFix
Fixes Phazon and Janus being unable to phase
2020-04-25 12:55:47 -07:00
Atermonera
ec79adad68 Merge pull request #7026 from VOREStation/vplk-update-power-usage
More machinery power update_var() proc usage
2020-04-25 12:54:30 -07:00
Atermonera
7637f14a31 Merge pull request #7025 from atlantiscze/2020_04_21_Cleanup
Removes stray unused variable that triggered a compile warning
2020-04-25 12:51:07 -07:00
Atermonera
875b8427cb Merge pull request #7014 from KasparoVy/clothe_the_teshari
Adds Colorable Apron & Tesh Labcoat
2020-04-25 12:38:38 -07:00
Atermonera
e733b77618 Merge pull request #7013 from Novacat/nova-accessory
Caps burning human temperature
2020-04-25 12:37:36 -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
Atermonera
9f33b8f597 Merge pull request #6992 from Novacat/nova-alerts
Dual-wield Penalties and Urist Onmob Sprites
2020-04-25 12:25:29 -07:00
ShadowLarkens
abfc89982d Fix HTML Injection bug in saycode 2020-04-24 16:17:51 -07:00
Leshana
cd0072fbc0 Add vv_edit_var to ensure VV edits call our update procs too. 2020-04-24 12:45:34 -04:00
Atlantiscze
c4a65579a9 Fixes Intellicore grabbing AI multiple times
- If you click multiple times during the do_after timer, you may try to grab the AI multiple times, possibly breaking stuff.
- Should fix #5179
2020-04-24 09:47:32 +02: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
Leshana
9c872f096f Add feedback to user if successful when reconnecting ship computers to ship. 2020-04-23 19:10:34 -04:00
Leshana
acbbe7d9c5 Setup auto-configuration of shuttle consoles.
- Its now possible to put shuttle consoles on a shuttle without a specific subtype or mapediting the shuttle_tag on them.
- After shtutle initialization, SSshuttles gives each initialized shuttle the chance to scan its areas for consoles it wants to claim and configure.
2020-04-23 19:08:30 -04:00
Leshana
3093b5bbd8 Add circuitboards to make overmap ship computers constructable. 2020-04-23 19:08:20 -04:00
Leshana
f7982d0e64 Fix mothershuttles moving sub-shuttles when they're away. 2020-04-23 19:08:11 -04:00
Atlantiscze
95db1d6e8d Adds basic xenoarch & exploration equipment to research robot module
- Also removes commented-out sources of construction module which is long unused.
2020-04-23 16:52:16 +02:00
KasparoVy
50b9175cc6 Adds Colorable Apron & Tesh Labcoat
Adds a white colourable version of the blue apron
Adds a Teshari-fitted labcoat with an existing unused sprite and enables it for colouration in the loadout
2020-04-22 19:43:20 -04:00
Atermonera
a51f92bf8a Merge pull request #7012 from atlantiscze/2020_04_18_LeakFix
Fixes HE pipes not leaking when breached
2020-04-22 14:46:58 -07:00
Atermonera
a1b8a3006d Merge pull request #7023 from Mechoid/FixAndTweakRoiling
Roiling Mold Blob Fix/Tweak
2020-04-22 12:53:41 -07:00
Atermonera
c840915fa0 Merge pull request #7015 from Shadow-Quill/AirlockMessage
Airlock Description Error
2020-04-22 12:51:02 -07:00
Atermonera
e575e9c7d5 Merge pull request #7009 from atlantiscze/2020_04_17_EPRFix
Fixes supermatter monitoring EPR indicator showing Undefined
2020-04-22 12:46:47 -07:00
Leshana
092f415375 Fix Sundry Runtime Errors XII (#7007)
* Fix Runtime in atoms_movable.dm,597: list index out of bounds

* Fix Runtime in floor_attackby.dm,118: Cannot execute 0.is crowbar().

* Fix null values being present in mob_list.

* Another fix for Runtime in update_icons.dm,254: Cannot execute null.GetUIState().

- This time lets just ensure dna is instantiated no matter who is calling dress_preview_mob().

* Fix Runtime in suit_storage_unit.dm,792: Cannot execute null.set machine().

- Also fixed other mixups of usr vs. user that I found in the same file.

* Fixes Runtime in find_spawning.dm,688: Cannot read null.origin_tech

- if this else if block is reached, new_item must not exist, so we obviously can't set origin_tech on it. Examination of the code seems to suggest the original author intended that for any "talking" items to have arcane and precursor tech; since src is now being made talking, src should get the tech.

* Fix talking artifacts downgrading arcane/precursor tech

- Bump up the values by one for talking artifact items instead of overwriting whatever the value was.
2020-04-22 12:44:35 -07:00
Atlantiscze
b718f6af07 Excludes AI shells from event probability calculations
- This seems to be quite an issue on lowpop, with high danger events (strong blobs for example) firing just because the AI has an engineering/security shell(s) available. They are still one player, however, therefore it results in very hard to handle situations when trying to go a 1v1 against strong blobs with remotely controlled engineering shell (as you can't control more than one at a time)
2020-04-22 16:15:26 +02:00
Atlantiscze
a9af839845 Fixes Phazon and Janus being unable to phase
- Fixes #6302
2020-04-22 15:52:00 +02:00
Leshana
21c8c94971 Fix remaining code that directly modified use_power to call update_use_power. 2020-04-21 13:15:32 -04:00
Leshana
66b40b2c71 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-21 12:53:05 -04:00
Atlantiscze
648dcf32c3 Removes stray unused variable that triggered a compile warning 2020-04-21 15:23:31 +02:00
Aronai Sieyes
5a92fc4ec9 Let mechs connect to ports if they're larger mechs (#7001) 2020-04-21 00:30:49 -07:00
Mechoid
e83c013948 Roiling Mold blob projectiles fly in shorter arcs. Fix projectile targeting recursion. 2020-04-20 22:38:55 -07: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
Atermonera
6a15586a74 Replaces toy waterflower with spraybottle waterflower (#6997) 2020-04-20 00:24:53 -07:00
Atermonera
1635de6349 Merge pull request #6999 from KasparoVy/leaves-me-breathless
Update Human HUD Generation to Fix Internals Graphical Bug
2020-04-19 14:37:44 -07:00
Atermonera
0b03209c66 Merge pull request #6996 from VOREStation/vplk-ssopenspace
[PORT] Refactor the Open Space controller into MC Subsystem
2020-04-19 14:36:22 -07:00
Atermonera
098f1b1b43 Merge pull request #6993 from VOREStation/vplk-glass-firedoors
[PORT] Make glass firedoors constructable/deconstructable.
2020-04-19 14:32:55 -07: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
Shadow Quill
7b13b7959d Desc Error 2020-04-18 20:32:12 -05:00
Unknown
ac094e1cbd Fixes spacing issue 2020-04-18 01:19:49 -04:00
Unknown
3b2b23fc8c Caps burning human temperature
Basically makes it so that a burning human no longer infinitely increases in temperature. This is also being combined with reductions to heat damage level to make high temperatures less super lethal as they currently are on this codebase.
2020-04-18 01:18:13 -04:00
Atlantiscze
123383c7f4 Fixes HE pipes not leaking when breached 2020-04-18 06:00:23 +02:00