Commit Graph

12346 Commits

Author SHA1 Message Date
Alberyk
1db4da34c1 Fixes the pool's overlay making impossible to click spessmen inside water (#4004) 2018-01-02 11:06:04 -06:00
Lohikar
06514840f7 Z-Mimic (#3907)
* Openturf icon fixes and improvements

* more things

* Remove some pointless/bad layering/planing

* yeah well I didn't need this anyways

* Refactor Z mimickry to be at /turf

* more refactoring

* Cleanup, use turf/flags instead of z_mimic_flags

* Fix turf/Entered()

* misc optimizations

* fixes

* Major icon smoothing optimizations

* Speed up boot some more

* Fix AO

* Remove some redundant code

* Tie Z-lights to Z-mimic instead of openturfs

* Fix an opacity issue with no_mutate turfs

* Fix some issues with Z-mimic AO not properly clearing

* Fix some OT->OT changetuf bugs

* Add helpers for changing Z-mimic operational state on turfs

* Fix some merge issues, change how F_CUT smoothhint works a bit.

* indentation

* SSopenturf -> SSzcopy
2017-12-30 04:42:18 +02:00
Lohikar
6debd29cb7 Iterative Explosions (#3838)
This PR replaces recursive explosions with a new spreading engine: iterative explosions.
Should behave similarly, but also be more reliable, potentially faster.

Iterative explosions also support simple-explosion-esque directional explosion sounds/shake, and will now traverse Z-levels if the explosion is strong enough.

Also changes playsound() to transmit sounds across Z-levels. Uses BYOND's 3rd coordinate on /sound to make sound sound above/below the player if they're using headphones. Removed for now, can't get Z-falloff working right.

Fixes #2199.
2017-12-30 04:38:12 +02:00
Alberyk
a4523a595f Reworks the telebaton's stun (#3889)
* Removes salt.

* whoops

* It comes

* adds changelong

* Fixes

* stun chance

* more telebaton changes

* removing debug messages

* Changes armor check

* Add the missing shoe var
2017-12-27 17:46:16 +01:00
Karolis
00ead7d560 Added webhook implementation of discord integration (#3748)
Adds ability to get server updates to Discord using webhook API, instead of complicated bot API. Simple config options make it a breeze to add / remove linked channels.
2017-12-23 23:56:20 +02:00
skull132
9faccd5e61 Merge branch 'master' into development
# Conflicts:
#	html/changelogs/.all_changelog.yml
2017-12-23 21:37:36 +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
eb80d3ec68 Ports weapons cleaving and reaching features from polaris (#3969)
-axes, chainswords and longswords can now cleave, hitting targets around the user, ported from polaris
-added support for melee weapons that can hit targets two titles away, as well ported from polaris
2017-12-23 21:12:06 +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
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
Alberyk
1d7cd87ebd Fix the hos' tranquilizer rifle and some issues with gifts (#3982)
-fixes #3747 by making so that the tranq bullets inject the target with some sleeping toxin
-fixes things like random plushie and animals getting stuck into the person's contents when you open a gift
2017-12-17 11:20:30 +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
LordFowl
f8daffdcfa Tidies up Mine Drones and Gifts (#3930) 2017-12-13 17:14:48 -06:00
Lohikar
6ce3b7519a Fixes #3718. (#3975) 2017-12-13 00:41:08 +02: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
Erki
ab2a6cfe36 Removes an inworld (#3973) 2017-12-12 13:19:34 +02:00
Mykhailo Bykhovtsev
c1452cf3c6 Welder damage protection (#3972)
BST sunglasses now have full welder damage protection

GODMODE now also gives welder damage protection.
2017-12-10 22:06:30 +02: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
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
TheGreatJorge
9609b37e9a Christmas map additions (#3928)
Fixes #3910
Fixes #3909
Fixes #3781
Fixes #3772
2017-12-08 23:15:46 +02:00
Alberyk
1753d47971 Fixes some issue with items and flesh to stone (#3945)
Casting flesh to stone while someone was grabbing, or with other items in hands, the wizard caused some odd behavior, this pr should fix this by forcing the victim to drop anything they are holding in their hands when the wizard casts this spell.
2017-12-08 23:13:01 +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
Alberyk
e0ce06ddaf Adds a delay when using nanopaste and more (#3955)
-added a delay when using nanopaste
-nanopaste can't be used through spacesuits anymore
2017-12-08 15:21:37 +01: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
Alberyk
2c38136173 Landmines (#3908)
Adds landmines, objects that can be deployed and will trigger a certain effect when someone walks over them.

Can only be "disarmed" via destroying it, by bullets, explosion and etc.

Sprites made by thegreatjorge.
2017-12-04 18:45:31 -06:00
Mykhailo Bykhovtsev
88267a1a6a Small map, and sprite fixes. Welder fixes (#3887)
Fixed fire alarm in virology #3875

Fixed random pixel on glasses #3872

Fixed welder issue #3888. Plus explored further issue with welder, fixing it. Small logic optimization.

Fixed firelocker icon not being updated with welded overlay, even so they have been welded

Welding interaction with closets was reworked, almost all secure closets except for detective's, barternder's now work with welding same way as closets/crates.

Coffins, and wooden closets of any kind can no longer be welded shut.

Clean up of some code using src as reference, and :
2017-11-30 06:50:55 +02:00
Alberyk
13af7990ee Adds pre-set turret types (#3865) 2017-11-25 18:18:46 -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
Alberyk
f7d857a3b2 Turns dominate into an end game power (#3850)
Instead of getting dominate before bats, you will only get access to dominate only after you have access to veil walk.
Also increases the blood costs of using dominate.
2017-11-20 10:14:02 -06:00
Mykhailo Bykhovtsev
6be2ca5ba6 Fixed Emergency Shutters not closing. And Top-hat Sprite (#3863)
Fixes #3860. Emergency Shutters were not closing using crowbar, fireaxe or hammer.

Changed sprite of right/left top hat being held, view from the back(North). So it seems that hat is in front of character. Fixes #3853.
2017-11-19 22:57:42 +02:00
Ron
8e0797249e Bug fixes (#3880)
Fixes #3873
Fixes #3874
Fixes #3869
Fixes #3857
2017-11-19 22:57:01 +02:00
Alberyk
823fd4895b Removes telecomms code being able to know someone's species (#3864)
Pretty much lame and used to bust lings and voicechangers with little effort.
2017-11-18 22:49:57 +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
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
a17ae9826d Slipping on blood (#3812)
Adds slipping for people who run/walk over blood.
2017-11-16 23:02:32 +01:00
Pacmandevil
86b56478f2 Tweaks some vendors to better use Contraband and premium items. (#3818)
Tweaks some vendors to better use Contraband and premium items
2017-11-16 23:01:39 +01:00
Alberyk
8dd97ed30b Adds new reagents and recipes (#3688)
This pr adds some new reagents and recipes, to be used properly with the feature added by #3522.
2017-11-15 23:11:51 +01:00
skull132
7dc02be204 Merge branch 'master' into development
# Conflicts:
#	code/controllers/subsystems/initialization/misc_early.dm
#	config/example/config.txt
#	maps/aurora/aurora-1_centcomm.dmm
#	maps/aurora/aurora-4_mainlevel.dmm
2017-11-11 20:57:28 +02:00
Ron
526a72e625 Fixes #3843 (#3845)
Fixes #3843
It was caused by the hacking var not being reset.
2017-11-11 19:56:46 +02:00