Commit Graph

15532 Commits

Author SHA1 Message Date
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
058d52c56d Make shuttle doors transparent (they do have windows...) 2018-03-20 23:05:10 -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
7e98799753 Merge pull request #5075 from BillyBangles/snowsteps
Adds snow footsteps
2018-03-20 21:14:28 -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
Billy Bangles
d953a58413 travis pls
why must we argue so
2018-03-19 21:23:48 -04: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
Billy Bangles
bf3ecf46e6 adds snow footstep noises
and also nerfs ice while i'm at it
2018-03-19 15:26:11 -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
mistyLuminescence
8769f4605a trims list 2018-03-18 03:20:36 +00:00
mistyLuminescence
70f7ef7d6f Wallet expansion! 2018-03-17 21:10:23 +00: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
Atermonera
e81aceb35d Merge pull request #5062 from VOREStation/vs-port-3122
[PORT] Fix oversight in not-late-join jobs without spawnpoints on the map.
2018-03-16 11:46:08 -07:00
Atermonera
4fa4173e29 Merge pull request #5049 from Anewbe/quickdraw_items
Ports quickdraw storage items from VIRGO
2018-03-16 11:37:58 -07:00
Anewbe
72fb2c052b Merge pull request #5063 from VOREStation/vs-port-3124
[PORT] Make cryopods check area first, then range
2018-03-15 21:47:19 -05:00
Anewbe
5212fa152b Species names should now use defines 2018-03-15 20:24:45 -05:00
Anewbe
b2b4329c4b Merge pull request #5056 from Serithi/master
I h*ckin' did an ambient music.
2018-03-13 21:13:34 -05:00
Anewbe
7ee187d5d1 Merge pull request #5038 from VOREStation/pol-wiggle-wiggle-paw
Adds wiggles to crawling
2018-03-13 21:12:51 -05: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
ac7ec6b745 POLARIS: Gibber tweaks 2018-03-13 19:23:45 -04:00
Arokha Sieyes
73838e0a62 POLARIS: Revamp logging to be consistent 2018-03-13 18:20:58 -04: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
Arokha Sieyes
e1d31365d3 POLARIS: Make cryopods check area first, then range
The bug referenced hasn't existed for quite a while. We'll keep the range check as a fallback, though.
2018-03-13 17:37:08 -04:00
Arokha Sieyes
e9ad27de9f POLARIS: Fix oversight in not-late-join jobs without spawnpoints on the map
They spawn in space. That's fine, right?
2018-03-13 17:35:50 -04: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
Serithi
bb66e03f18 I heckin' did a music. As far as i can tell i implemented it properly, testing it out has been finicky as all hell. I figure if i did a goof, the Reddit method of giving the wrong answer first so someone replies with the correct one will work. 2018-03-12 02:46:32 -07:00
Atermonera
cb37f7d36c Ater missed another <br> 2018-03-11 19:26:08 -07:00
Anewbe
9f56416684 Merge pull request #5037 from VOREStation/aro-updateicons
Rewrite human/update_icons()
2018-03-11 21:03:10 -05:00
Anewbe
a8cc2df4ad Ports quickdraw storage items from VIRGO 2018-03-11 16:56:17 -05:00
Cerebulon
b7090d7df2 Adds Tajaran Akhani language. (#5032)
* Adds Tajaran Akhani language.
Fixes plural form of Tajaran (Tajara->Tajaran) in about 50 places.

* Gives the language a colour distinct from Siik.

* Changelog
2018-03-11 16:55:08 -05:00
Mechoid
edab848f2f Merge pull request #5024 from Anewbe/random_spawners
Splits up random.dm
2018-03-10 19:07:47 -08:00
Anewbe
f2da429eab Merge pull request #4980 from MisterLayne/ED_CLN
Adds the ED-CLN
2018-03-10 15:04:07 -06:00
Layne
acdde85f4d Reinforced snowball fix. (#4991)
* temp snowball fix

* Create MisterLayne - SnowballTEMPFIX

* Update and rename MisterLayne - SnowballTEMPFIX to MisterLayne - SnowballTEMPFIX.yml
2018-03-10 14:58:25 -06:00
Aronai Sieyes
e240633b7e Reduced wiggliness slightly
1/3rd less wiggles
2018-03-08 23:28:16 -05:00
Arokha Sieyes
3df619bfcc Adds wiggles to crawling
I did this. Have I gone too far?
2018-03-08 21:08:26 -05:00
Arokha Sieyes
2970b37fa1 U_I Phase 2.6: Blood, Helmets, Unneeded calls 2018-03-08 19:34:01 -05:00
Arokha Sieyes
306a484b48 U_I Phase 2.4: Storage cleanup 2018-03-08 19:34:00 -05:00
Arokha Sieyes
96b0416c7f U_I Phase 2.3: Further cleanup 2018-03-08 19:34:00 -05:00
Arokha Sieyes
53a185f838 U_I Phase 2.0: Code cleanup
Removing calls to update_icons_layers and the like, stubbing them to help track down future calls.
2018-03-08 19:33:44 -05:00
Arokha Sieyes
62e0c122fa U_I Phase 1.4: More preview fixes, not done yet 2018-03-08 19:31:56 -05:00
Arokha Sieyes
3be602dece U_I Phase 1.3: Previews are broken, so that's a thing 2018-03-08 19:31:55 -05:00
Arokha Sieyes
2f433c9ea9 U_I Phase 1.2: Something is broken somewhere 2018-03-08 19:31:54 -05:00
Arokha Sieyes
94c2110f27 U_I Phase 1.1: Fix phase 1 bugs
Softsuits making your clothes disappear, PDAs in ID slot making you double
2018-03-08 19:31:54 -05:00
Arokha Sieyes
aa9ec19118 U_I Phase 1.0: First consolidation pass 2018-03-08 19:31:43 -05:00
MisterLayne
21c9cd0a05 fixes code, and adds changelog (hope I did it right) 2018-03-06 20:52:55 -05:00
Anewbe
d172881b76 Splits up random.dm 2018-03-06 19:51:20 -06:00
Atermonera
81e5ea9536 Ater poi3 (#4968)
* Supply Drop POI

* Ration Cache

* BlastMine1

* Supply Drop 2

* Tweaks, package bomb detonators can be re-used

* Changelog

* Missed some spots while cherry-picking

* Merge branch master (I hope this works)

* Appeases travis

* Missed a spot
2018-03-05 19:55:27 -06:00