Commit Graph

19992 Commits

Author SHA1 Message Date
Aronai Sieyes
51846b4bfe Port some power sprites from Bay 2020-04-27 10:50:56 -04:00
Aronai Sieyes
b98027d050 Various fixes while waiting on PR 2020-04-27 10:48:04 -04:00
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
Aronai Sieyes
c170436256 Refactor AI into two subsystems 2020-04-27 10:11:49 -04:00
Neerti
ad173d7d1b Fixes travis issue. 2020-04-27 10:11:05 -04:00
Leshana
23fe6d365a Fix /Moved() that doesn't call parent. 2020-04-27 10:09:05 -04:00
Aronai Sieyes
bc1fa7bd05 Refactor Move() code 2020-04-27 10:08:55 -04:00
Neerti
9ea5363ff7 Update Chemistry-Reagents-Toxins.dm
Resolves mistake in toxin reagents.
2020-04-27 10:00:19 -04:00
InterroLouis
04df7a3fc4 Update scanner.dm 2020-04-26 21:31:32 -04:00
Unknown
01be312759 Overmap Consoles now check access
Also slightly tweaks 513 compatibility to be a little better.
2020-04-26 17:57:22 -04:00
Neerti
c5c0888d8e Tweaks and fixes for the new new event system. 2020-04-26 07:21:56 -04:00
Neerti
2dee403370 Removes limits on eating, centralizes nutrition changing. 2020-04-26 05:30:32 -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
MisterLayne
0df21c4691 prommies get language 2020-04-25 18:26:19 -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
63f0f69ce8 Add "icon sheet" asset type
This asset class bundles entire dmi files worth of icons together into a single CSS file using inline data urls.  Much faster than sending dozens of files.
Also changed it so we don't need a hard coded list of all types of asset daturms.
2020-04-25 15:58:27 -04: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
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
Leshana
720e820ba1 Slightly clean disposal pipe construction code.
Portetd from YW, this replaces many hard coded constant numbers with defines for readability.
Also refactors the disposals pipe dispenser to use pipe recipes in a similar way that the atmos pipe dispenser does.
Also adds icon states to the pipe_recipe type since it was easily available in the source port and can be useful.
2020-04-25 15:17:58 -04:00
ShadowLarkens
abfc89982d Fix HTML Injection bug in saycode 2020-04-24 16:17:51 -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
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
Atlantiscze
2a9547f3d9 Implements additional feedback 2020-04-23 08:02:51 +02: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
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
a1b8a3006d Merge pull request #7023 from Mechoid/FixAndTweakRoiling
Roiling Mold Blob Fix/Tweak
2020-04-22 12:53:41 -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
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
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
Atlantiscze
252719c5f0 Implements feedback 2020-04-21 10:03:07 +02: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