Commit Graph

14959 Commits

Author SHA1 Message Date
Werner
855562c7c2 Fix #3998 and #3992 (#4000)
Fixes #3998
Fixes #3992
2017-12-23 21:28:22 +02:00
Lohikar
bb5a34eaf8 Misc. Optimizations (#3993)
changes:

Overlays now creates less temporary lists.
Falling no longer queues unsimulated atoms that wouldn't fall anyways (incl. LOs).
Pixel-shifted AO is now cached too.
Changed some references to get_map_cell() to macro equivalents in random maps.
Added smoothing hinting to the icon smoother, allowing for major performance improvements in common cases.
Space initialization no longer involves appearance churn (and is much faster as a result).
2017-12-23 21:27:51 +02:00
Alberyk
c4479586c1 Ports material and makeshift armor from Polaris (#3968)
-adds support to material clothing, already used by rings and makeshift weapon
-adds makeshift armor that you can craft using buckets for helmets and material sheets to make the plates
-adds a wooden bucket that can be crafted using planks also ported from polaris
-adds icon_has_variants to some sheets, adding sprites to them from tg
-fixes bronze being just a place holder
-adds sheet types to bronze and titanium
2017-12-23 21:12:39 +02:00
Alberyk
5c78e4fc08 Adds stabbing wounds (#3970)
-ports stabbing wounds for baystation, so things like bullets and other pointy things will not cause cuts.
2017-12-23 21:07:54 +02:00
LordFowl
d4244660e0 Adjusting SSD Timers (#3988) 2017-12-17 19:40:50 -06:00
Lohikar
f73849368f Make get_smooth_underlay_icon work properly with space parallax (#3906)
Fixes an issue where space underlays on diagonally smoothed turfs would not work properly with space parallax.
2017-12-18 00:20:35 +02:00
Lohikar
523e8941d4 Area organization (#3978)
changes:

Fixed an issue where the incorrect title screen would be loaded.
Renamed the titlescreen states for organization's sake.
Split up Space Station 13 areas.dm into multiple categorized files in maps/_common/areas.
Deleted a few unused areas.
2017-12-17 19:54:53 +02:00
chaoko99
c0ee47579d Adds a preference to have an intent check for guns (#3653)
what title says
2017-12-17 11:37:16 +02:00
Ron
81e8d371de Ninja changes (#3851)
This changes the ninja suit to start off with only essential modules. The Ninja now gets telecrystals and access to a restricted uplink category filled with hardsuit modules. Also adds the EMAG hand module, EMP dissipation module, and emergency power generation module. Other changes include a buff across the board for ninja including an increase in their armor values, a buff towards their ninja modules (which they now have to buy), and changing their suit to say "stealth" instead of ominous. This should make the Ninja have a better chance against security while also ensuring it maintains its stealth antag title.

 👍 5
2017-12-17 11:36:18 +02:00
Lohikar
57e898d8e8 Light Sounds & Emergency Lighting (#3966)
changes:

Light tubes now make a noise when turning on.
If a light loses power, it will switch to "emergency mode": the light will glow a dim red, drawing power from a small integrated cell that should last approximately 10 minutes. If the light has power, it will charge its cell.
Light flickers now play the flicker sound for each blink instead of once.
Split lighting.dm into three files: fixtures.dm, construction.dm, and bulbs.dm.
Light fixtures now use stat to represent on-state (as they can be off for multiple reasons): the on var has thus been removed.
Lightswitches now glow in the dark and make sounds when toggled.
Some code/idea for emergency lighting from TG, light sound from Interbay, lightswitch sounds from Bay.

Depends on #3948.
2017-12-17 11:30:35 +02:00
Werner
0398b99148 ID-Console Suspension instead of Termination (#3981)
The ID Console now suspends employees instead of terminating them
https://forums.aurorastation.org/viewtopic.php?f=18&t=9785
2017-12-17 11:21:39 +02:00
Alberyk
ebc9b81ee1 Adds more loadout options, underwear options and increases the loadout limit points (#3943)
-adds towels, which you can find at the fitness room, or at the loadout with whatever color you want
-adds new undershirt options at people's requests
-adds a colorable sweater to the loadout, from baystation
-adds more flower hairpin options
-increases the max loadout points by five
-fix an issue with the tactical armor having the holster overlay when it should not
2017-12-17 11:18:50 +02:00
Alberyk
913209fbfe General synthetic and mecha fixes (#3936) 2017-12-14 12:09:47 -06:00
Alberyk
1fc6291d46 Return of the facehuggers (#3883) 2017-12-12 13:46:44 -06:00
LordFowl
2ac73351b8 Unapologetic Vaurca Buffs (#3949) 2017-12-12 13:15:45 -06:00
Lohikar
cd910c072c Asteroid tweaks (#3951)
changes:

Z-levels below the surface now use 'rocky' ash instead of ash turfs. (Sprites from TG)
Fixed an issue where openturfs would incorrectly inherit their mimiced turf's gender.
Tweaked the names & descriptions of sand (now ash) and rock.
Reduced some pointless locate() calls in icon smoothing code for turf paths.
Replaced the empty space map with runtime Z expansion.
Fixes #2756.
2017-12-10 00:20:35 +02:00
Lohikar
81685214df Cache light fixture overlays (#3948)
changes:

Light fixture overlays are now cached.
BlendRGB is now cached (used by light fixture overlays)
Nightmode now only tints the bulb instead of both the bulb and the fixture itself.
2017-12-10 00:17:09 +02:00
Alberyk
b58a3037c1 Some small fixes and tweaks (#3933) 2017-12-08 17:10:02 -06:00
Werner
5b7d63af57 Computer Stuff (#3932)
This started out as just some stuff for cargo.
Then it grew.

Fixed tablets and laptops not working due to some changes in #3826 that caused some old ballast to haunt us.
Changed the beeping sound of the modular computers to respect the ambience sound preference.
Added a application that can be used to pay and verify that a cargo order has been received
Added a delivery pad to cargo and spawns one in the CTs and QMs lockers.

Further tweaks to tablets and device enrollment in general are incoming, but I dont want to bloat this pr any further.
(I dont like how the company/private device system is implemented right now; It should rather be based upon the hard disk than the device itself)

closes #3931
2017-12-09 00:39:28 +02:00
Lohikar
5e33bd0e2c Misc tweaks (#3916)
changes:

/obj/visual_effect has been repathed to /obj/effect/visual.
Openspace movables will no longer use the space plane when on an openturf mimicing a space turf.
Lights now only update on direction change if your direction actually changed.
Fixed some bad set_dir() procs that were either pointless or that didn't return parent.
Mapped-in or maint dirtier-spawned glowing goo no longer self-deletes after 2 minutes.
Fixed an issue that may have caused some openspace movables to not properly handle direction changes.
2017-12-09 00:36:53 +02:00
skull132
d536d9f4aa Merge branch 'fake-master' into development
# Conflicts:
#	code/ATMOSPHERICS/atmospherics.dm
#	code/defines/procs/announce.dm
#	maps/aurora/aurora-3_sublevel.dmm
2017-12-09 00:08:21 +02:00
Alberyk
9261987a39 a crash fix or something. (#3954)
Ports a fix from polaris related to legless characters being possible sources of crashes.
2017-12-08 23:14:17 +02:00
Werner
94fe548cf7 Should fix #3841 (#3861)
Makes printing announcments a parameter of .Announce() and changes a few announcements to use that.
Should fix #3841
2017-12-08 23:05:52 +02:00
LordFowl
bb71a1e047 Adds SSD Timers (#3942)
A client'd mob inactive for more than ten minutes (Aka alt-tabbed or maybe the player had an aneurysm while playing) will indicate such when examined.

A formerly client'd mob disconnected for more than five minutes will also indicate such when examined.
2017-12-08 15:19:38 +01:00
Werner
1cac4cc775 Its a drill, not a gun (#3937) 2017-12-08 14:55:55 +01:00
Alberyk
9b3028ae13 Fixes drone being able to insta kill the rat king using the matter decompiler (#3946)
* Fixes drones being able to insta kill the rat king.
2017-12-08 14:55:18 +01:00
Alberyk
47c70bbd4b Fix ring runtimes (#3950) 2017-12-07 23:35:15 -06:00
Alberyk
581f266ae8 Rings (#3886)
Adds rings, ported from baystation12. You can make them out of most materials and etc. Also, it adds support for wearing rings under gloves, like magboots.
2017-12-04 18:53:39 -06:00
BurgerLUA
3f7b65ccee Added toggleable Autohiss for Dionaea (#3881)
The intent is to provide Dionaea players authentic sounding speech according to the currently existing lore. This PR does this by using the already existing autohiss plugin as well as a small custom sentence checker to change the sentence of whatever the player types. This only applies to non-rootsong languages and by default this is disabled.

When on basic or full, ellipses are added after the following words:
"who","what","when","where","why","how","i'm","i","am","this","they","are","they're","their","his","her","their","the","he","she"

When on basic or full, these letters are elongated:
"s","z","e"

When on full, these letters are elongated:
"a","i","o","u"

This was made with sleepy wolf's, the dionaea head loremaster, blessing.
2017-11-30 07:08:10 +02:00
Lohikar
32a2776f58 New Hair & Sprite Accessories Cleanup (#3897)
Adds 19 new hair styles and 3 new facial hair styles, splits human_face.dmi into several DMIs, and support for hair/sprite_accessories that use blending modes other than ICON_ADD.
2017-11-29 11:41:09 +02:00
OneOneThreeEight
6f78d13e78 adjusts burn modifiers of the baseline IPC and industrial IPC machine species... and prosthetics, by extension (#3834)
Changes: Industrial IPC burn modifier changed to 1.1. Baseline IPC burn modifier changed to 1.2. Industrial IPCs should tank more damage, baselines should tank less due to their more agile frame, though brute is still only moderately effective against baselines. They aren't brittle but aren't tanky like industrials. This also makes baselines take a fair bit more damage from remaining in a vacuum, which they took very little before. Industrials were applied this in a bit of an unfair way, however, given they are walking heat sinks and should be treated as such. Both will still get roasted by lasers, the baseline moreso than the industrial.
2017-11-29 10:33:29 +02:00
LordFowl
f03485be5a Unapologetic Diona Buffs (#3829)
Dionaea nymphs will now follow a player dionaea nymph spawned from a gestalt splitting, instead of just shuffling aimlessly in place. The player furthermore can switch to any uncontrolled nymph that split from them originally at will, and automatically switches at death.

Dionaea gestalts can use the station variant of devour, just like their nymphs will.

Dionaea regrowing severed limbs has been fixed.

Dionaea and nymphs not gaining biomass from consumed food has been fixed.

Devouring will now actually finish instead of stalling on the penultimate stage forever, no longer leaving the devouree in a perpetually near-death state.

Fixes #3701
Fixes #3698
Fixes #3703
2017-11-29 10:33:02 +02:00
Lohikar
11a7ab969e Code Cleanup: Screen Object Types (#3827)
Splits a bunch of generic screen objects into specialized types to trim down a massive switch (name) (?!) statement.
2017-11-29 10:32:02 +02:00
Alberyk
e721c801ce Bugfixes: toeless jackboot for vaurca warriors, autohiss and ya'ssa and narsie summoning sound (#3896)
-fix vaurca warriors being unable to spawn with toeless jackboots
-fix autohiss applying to ya'ssa
-reduces the sound of nar'sie summoning sound using the file that lohikar gave me, fixing #3893
2017-11-27 21:46:28 +02:00
Lohikar
82f347040b Stacker fixes (#3903) 2017-11-25 21:30:21 -06:00
Mykhailo Bykhovtsev
ac30301c26 Tesla-related fixes (#3902) 2017-11-25 21:27:12 -06:00
chaoko99
adf21c24e8 Implements Maim / Maiming projectiles. (#3750) 2017-11-25 18:24:16 -06:00
LordFowl
70ef2fb9c5 Flags (#3884)
Adds flags and banners to the custom loadout section. Sprites based off of B12's SolGov flag, which has also been ported.
2017-11-25 18:17:58 -06:00
Lohikar
461ec73b94 Merge branch 'master' into development 2017-11-25 12:57:38 -06:00
MarinaGryphon
eab6213030 Fixes #3817 (#3895) 2017-11-20 20:43:32 -06:00
Ron
0e6251fa3d Make embedded objects show where they are stuck in on examine (#3810) 2017-11-20 10:12:01 -06:00
Ron
8e0797249e Bug fixes (#3880)
Fixes #3873
Fixes #3874
Fixes #3869
Fixes #3857
2017-11-19 22:57:01 +02:00
Lohikar
5f8cc60210 Fix a lighting bug (#3879)
Fixes an issue where when the tile in front of a directional light changed opacity without the dir on the light changing, the directional light would not properly transition between omnidirectional and directional lights.
2017-11-19 11:22:51 +02:00
Lohikar
f53c99bea4 Add map laceholder objects for mine turfs (#3828)
changes:

Mine turfs now use a 32x32 icon on the map to make them easier to map with. In-game behavior (should be) unchanged.
2017-11-18 18:46:59 +02:00
Lohikar
58519daeba Recharger QoL Tweaks (#3826)
changes:

Rechargers now briefly show a progress bar showing the current charge level of the device currently charging.
Examining a recharger will now specify what is in the charger.
Atoms can now mark themselves as requiring an icon update on initialize instead of overriding Initialize() just to call update_icon().
Charger code is now slightly more modular, using proc/get_cell() to get a ref to the power cell instead of hard-coded if-else chains for each supported type.
2017-11-18 18:46:14 +02:00
Dunkhan
def00ac176 added insert_slot class (#3825)
added paper_tray insert_slot
added beaker_holder insert_slot
added printer output component
changed reagent_pump to be able to pump from beakers in the beaker_holder
changed some string sanitize calls to not strip spaces

I added the insertion slot class because I think they are important for further expansion. The two components which use them are merely there as examples. They can be used in game but are not especially powerful and will probably not get anyone excited.
2017-11-18 18:45:03 +02:00
Ron
60e81a3647 Misc code removals/changes (#3813)
* ?

* merge dev

* pasue

* anti-pasue

* f

* done

* revert

* miscounted

* changes

* revert
2017-11-18 18:44:00 +02:00
Ron
fbe15b4d0c Makes mesons glow green when activated (#3809)
Makes mesons glow green when activated. Related thread: https://forums.aurorastation.org/viewtopic.php?f=18&t=9470
2017-11-18 18:43:05 +02:00
Ron
cfe5a573af Runtime fixes (#3859)
runtime error:
[02:57:31]undefined proc or verb /datum/weakref/get species().
[02:57:31]proc name: ui interact (/obj/machinery/disease2/isolator/ui_interact)
[02:57:31] source file: isolator.dm,77
Fixes #3856

runtime error:
[18:55:40]undefined proc or verb /datum/weakref/get species().
[18:55:40]proc name: do print (/obj/machinery/disease2/isolator/proc/do_print)
[18:55:40] source file: isolator.dm,193

runtime error:
[21:06:47]Cannot read null.vision_flags
[21:06:47]proc name: handle regular hud updates (/mob/living/carbon/alien/handle_regular_hud_updates)
[21:06:47] source file: life.dm,102

runtime error:
[21:09:20]Cannot read null.stored_plasma
[21:09:20]proc name: handle environment special (/datum/species/xenos/handle_environment_special)
[21:09:20] source file: alien_species.dm,131
2017-11-17 00:54:33 +02:00
Ron
2dd08367b8 Adds shaking soda cans (#3811) 2017-11-16 11:24:11 -06:00