Commit Graph

17345 Commits

Author SHA1 Message Date
Arokha Sieyes
45ec49661d POLARIS: Lazylen species restricted list 2018-03-21 14:37:06 -04:00
Arokha Sieyes
4e39bfefe7 POLARIS: "0x32" is not a valid single-bit flag 2018-03-21 14:36:53 -04:00
Arokha Sieyes
723de28165 POLARIS: Allow species-specific statpanels 2018-03-21 14:32:57 -04:00
Arokha Sieyes
71dac8ae26 POLARIS: UI Tweak involving species rarity 2018-03-21 14:31:03 -04:00
Arokha Sieyes
cad8df658e POLARIS: Communicator small refactor 2018-03-21 14:30:43 -04:00
Arokha Sieyes
c492d1a21b POLARIS: Clean up adminpm logs 2018-03-21 14:28:48 -04:00
Arokha Sieyes
c9f9d984d7 POLARIS: Reduce double admin logs 2018-03-21 14:28:40 -04:00
Arokha Sieyes
286a8651d2 say() safety check on client
Spawn keeps it from destroying all say(), thankfully, but needs to be fixed.
2018-03-21 14:27:49 -04:00
Arokha Sieyes
fab0800b51 POLARIS: Allow alteration of mob default see_invisible 2018-03-21 14:27:24 -04:00
Arokha Sieyes
2dd109e989 POLARIS: zshadows should be as invisible as their origin 2018-03-21 14:22:56 -04:00
Arokha Sieyes
298ba7ea4b Improve two image cleanups 2018-03-21 14:22:26 -04:00
Arokha Sieyes
21ce4159b7 Make turf obfuscation lists lazy 2018-03-21 14:19:53 -04:00
Arokha Sieyes
eabec5fb1e POLARIS: No string compare for assistants 2018-03-21 14:19:36 -04:00
Leshana
b69ca8dbdd Move pilot helmets from southern_cross to main files, they are used on multiple maps now. 2018-03-20 23:54:42 -04:00
Leshana
131636c6b5 Fix pipe construction conflicting with existing pipes too much.
Bug in the init_dirs_cache was not setting direction of pipes, making all cached dirs be for south.
Because mapped in pipes didn't have piping layer set, mapped in pipes conflicted.
The full-tile check for unary machines forgot to exclude *itself*
2018-03-20 23:30:05 -04:00
Leshana
776b221828 Rewrite pipe construction
- Moved pipe construction defines into __defines/construction.dm
- Unified pipe *unwrenching* by creating a standard proc along with the `construction_type` var.
- Eliminated the pipe fitting name & icon_state lookup tables by adding `pipe_state` var on atmos machinery and referencing that.
    - Each pipe which can be made from a fitting object should override `pipe_state` with the icon state to be used on the pipe fitting object.
- Eliminated the giant switch statement of doom in pipe construction by delegating that work to `on_construction` proc.
    - To make this work, every pipe must implement `get_neighbor_nodes_for_init` which returns a list of nodes which should be re-initialized on that pipe's construction.
- Combined the SCRUBBERS, SUPPLY and REGULAR pipe fitting classes together by storing the `piping_layer` variable and using the `setPipingLayer` procs
- Standardized the code for searching for node neighbors into the `can_be_node` proc.
    - This proc is also improved in that is a mutual check, `check_connectable` is called on BOTH objects, so they have to mutually agree to connect as nodes. Eliminates lots of special edge case logic.
    - Updated all the `amos_init` procs to use `can_be_node`.  In the most common cases, even that boilerplate code is consolidated into the `STANDARD_ATMOS_CHOOSE_NODE` macro.
- Implemented `pipe_flags` which lets pipes declare (or override) certain requirements.
- Adds a "pipe_recipe" datum to help out things that construct pipes.  By taking it out of the dispenser, we open the road for multiple dispenser types.  No, no RPD yet.  Soon.
    - Enhances the pipe dispenser to operate on pipe recipe datums instead of hard coded lists of pipes it can construct.   These datums are also (partially) initialized from the pipe machine types themselves, reducing having to define stuff in multiple places.
    - Switched pipe dispenser UI to use browse().   Not a NanoUI, but makes it a bit prettier with low effort.
    - Changed pipe dispenser to use a button selector to switch between Regular/Scrubbers/Supply instead of having separate list items.
- Added icon states to HE pipes to support the "connected on neither side" state.
2018-03-20 23:29:27 -04:00
Arokha Sieyes
9292a56201 POLARIS: Silly piloting helmet animation
Bonk helmet on shuttle computer to link. No, it doesn't work if you're off the shuttle, no remote info transfer.
2018-03-20 22:52:49 -04:00
Arokha Sieyes
1bc490630d POLARIS: Fix two mistakes with the shuttle_arrival procs 2018-03-20 22:52:29 -04:00
Arokha Sieyes
dfd07209b6 POLARIS: MouseDown closes tooltips too 2018-03-20 22:42:24 -04:00
Arokha Sieyes
77de03a356 POLARIS: Fix simple animal tooltip 2018-03-20 22:42:24 -04:00
Arokha Sieyes
62f9cb0d47 POLARIS: Fix tooltip style sanitize 2018-03-20 22:42:24 -04:00
Arokha Sieyes
0da7f73641 POLARIS: Rename make_nametag_name/desc 2018-03-20 22:42:23 -04:00
Arokha Sieyes
de6da4a86c POLARIS: Tooltip framework, and mob tooltips 2018-03-20 22:42:16 -04:00
Neerti
70ac478aea Merge pull request #5065 from VOREStation/vs-port-3204
[PORT] Revamp logging for consistency
2018-03-20 21:13:47 -04:00
Abbie Fland
6e9554baa2 Fixes preview color splotch blues
Due to what looks like a copy-paste error, previously it didn't pad the
blue hex value. This meant blue values of 1-15 would display as
e.g. "f0" instead of "0f" and looked nothing like the actual color.

Previously a dark grey of 15,15,15 would get a preview splotch of bright
blue; this fix makes the splotch display as the same dark grey used
ingame.
2018-03-21 00:56:02 +00:00
Screemonster
9d60c99dac Clean up diona-specific stuff in life() 2018-03-20 15:08:08 +00:00
Anewbe
531ceebcb8 Merge pull request #5067 from KasparoVy/port_hide_refactor
[PORT] Cleans up Humanoid Hiding
2018-03-19 20:20:48 -05:00
Billy Bangles
05fd53ebcc adds permanent markers
also tweaks paint recipe to use ink instead of crayons.
2018-03-19 20:20:31 -04:00
Heroman3003
c8326c290c Fixes for gripper interaction with frame parts and mecha equipment (#5025)
* possible fix

* truly a fix

* return of the lost comment

* and lost slash too

* stray not-my comment deleted

* added proper changelog

* replaced << with to_chat()
2018-03-19 11:50:05 -07:00
BillyBangles
85e377f017 Adds a cursed sword (and other haunted things) (#4931)
* adds cursed sword and 'haunted' object framework.

* fixes back.dmi conflicts

* adds cursed blade ghost pod

as well as fixing some ghost pod oddities

* fixes misc.dm conflicts

* adds cursed sword cave POI

* makes cursed sword use voice mob

as opposed to a brainmob
2018-03-19 11:49:33 -07:00
Anewbe
d36e67d90d Merge pull request #5064 from VOREStation/vs-port-3142
[PORT] Improved playsound and drop_location() from /tg
2018-03-17 15:01:07 -05:00
Anewbe
e7f1849e3c Merge pull request #5068 from elgeonmb/patch-3
terminus is now not just serial-numbers-filed-off Spacer
2018-03-17 14:51:43 -05:00
Cameron653
36097cb31d Changes 2018-03-17 00:52:07 -04:00
Atermonera
3c61c70ae2 Merge pull request #5048 from Anewbe/flammable_projectiles
More projectiles now ignite things
2018-03-16 11:26:57 -07:00
Atermonera
5ec779b181 Merge pull request #5052 from Anewbe/pai_ghost_warning
Ports ghost pAI alert
2018-03-16 11:23:47 -07:00
Cameron653
981b768320 Makes a failsafe drink overdose proc 2018-03-16 13:35:20 -04:00
Anewbe
5212fa152b Species names should now use defines 2018-03-15 20:24:45 -05:00
elgeonmb
874ef860f0 terminus is now not just serial-numbers-filed-off Spacer
its now part dutch, part lojban. turns out Lojban looks exactly like "humans tried to reverse-engineer an alien language and pasted over the gaps with Banthu or whatever"
2018-03-14 20:26:49 -07:00
KasparoVy
b900b76fe3 POLARIS: Revises living_powers.dm Hide Logic
Now matches the proc in human_powers.
2018-03-14 19:40:43 -04:00
KasparoVy
9eef0f8c5a POLARIS: Cleans up Humanoid Hiding
Refactors humanoid hiding to use `status_flags` and a define rather than a snowflake variable.

Swaps a magic number for a define.
Amends the humanoid hiding eligibility check.
2018-03-14 01:06:29 -04:00
Arokha Sieyes
6158cd1d26 POLARIS: Use drop_location() for things 2018-03-13 19:23:46 -04:00
Arokha Sieyes
24ccae5a24 POLARIS: Call procs on areas when shuttles arrive/depart 2018-03-13 19:23:45 -04:00
Arokha Sieyes
2b767b069f POLARIS: Hide things from lists in VV
Like organs from contents. You can look at the organs and internal_organs list on the same page... don't clutter contents.
2018-03-13 19:23:44 -04:00
Arokha Sieyes
102041b2b6 POLARIS: Log more engine info 2018-03-13 18:57:52 -04:00
Arokha Sieyes
7f93f3cca7 POLARIS: Moves daily logs into being folders rather than files 2018-03-13 18:20:59 -04:00
Arokha Sieyes
73838e0a62 POLARIS: Revamp logging to be consistent 2018-03-13 18:20:58 -04:00
Anewbe
6c2d9aa518 Merge pull request #5057 from Nalarac/Durasteel
Fixes Durasteel Alloying Producing Slag
2018-03-13 16:48:18 -05:00
Arokha Sieyes
4686f6fcc4 POLARIS: Port's /tg/'s current sound.dm, plus pref
It's mostly the same, just a little more efficient. I added a 'preferences' var to pass a datum and decide whether or not to play the sound for that client based on some preference.
2018-03-13 17:46:40 -04:00
Heroman3003
b96b3c6b9b Slime behavior fixes and tweaks 2018-03-13 19:36:06 +10:00
Leshana
57ed0f6e9e Sundry Runtime Fixes - March (#5047)
* Fixes Runtime in tools.dm,239: undefined variable /mob/living/simple_animal/retaliate/solargrub/var/handcuffed

* Add logging to help identify the cause of runtime in examining zshadow mobs.

* Fix Runtime in buckling.dm,165: Cannot execute null.forceMove().

* Fixes  Runtime in robot_items.dm,31: Cannot read null.origin_tech

* Fixes Runtime in paper_bundle.dm,183: Cannot read null.loc
2018-03-13 00:13:19 -05:00