Commit Graph

5958 Commits

Author SHA1 Message Date
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
skull132
9faccd5e61 Merge branch 'master' into development
# Conflicts:
#	html/changelogs/.all_changelog.yml
2017-12-23 21:37:36 +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
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
LordFowl
f8daffdcfa Tidies up Mine Drones and Gifts (#3930) 2017-12-13 17:14:48 -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
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
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
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
Ron
8e0797249e Bug fixes (#3880)
Fixes #3873
Fixes #3874
Fixes #3869
Fixes #3857
2017-11-19 22:57:01 +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
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
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
bf77cbe426 Bug fixes (#3807)
Fixes #3770
Fixes #3802
Resolves #3682 (stop all sounds verb)
Fixes #3804
Fixes #3789
Fixes #3558
Fixes #3549
Resolves #3745
2017-11-05 16:20:51 +02:00
chaoko99
9514cfeea1 Prevents us from being sued by the red cross. (#3794) 2017-11-03 11:45:50 +02:00
Alberyk
d3b34d1e47 Fixes some sprites issues (#3784)
Fixes #3783
Fixes #3537
Fixes #3771
2017-10-30 14:00:21 +02:00
skull132
c0f22a1cdd Merge branch 'master' into development
# Conflicts:
#	maps/aurora/aurora-1_centcomm.dmm
2017-10-29 16:15:53 +02:00
osiato
a0e801d5c7 Fixes Aurora3 issue 3498, which was a typo with the text when nanopaste is self used by an IPC and observed by another person. (#3504)
Which was a typo with the text when nanopaste is self used by an IPC and observed by another person.

There were 2 issues,
There was no space after a terniary function, causing a grammatical error.
Another grammatical error was caused due to the else block of the terniary function being defined as " \the", which was processing as \t he (tab he) and causing results such as he Hephaetus instead of the Hephaetus.

fixes #3498
2017-10-23 16:10:14 +03:00
Lohikar
383dd055e7 Merge branch 'master' into development 2017-10-20 13:30:03 -05:00
Alberyk
ff67db51c9 Fixes messed up belt_mirror sprites, bag missing sprite and merchant mecha weapons (#3712)
-fixes #3707
-fixes #3711
-fixes the science courier bag having no sprite
-fixes a lot of items being brown by accident
2017-10-20 14:18:39 +03:00
Lohikar
61b5203d24 Runtime Map Loading (#3597)
changes:

Maps are no longer compiled in, instead loaded directly from the DMMs at runtime.
Z level defines have been moved from the config to map datums.
Unit tests now use typecaches.
DMMS now actually works.
DMMS has been updated slightly.
DMMS is now capable of loading simple lists of non-text types.
DMMS is now faster when loading many types without mapped in attributes and when loading area instances.
Asteroid generation is now defined on the map datum instead of being hard-coded in SSasteroid.
Holodeck presets are now defined on the map datum.
Atmos machinery now uses Initialize().
2017-10-18 23:07:34 +03:00
Erki
6c47fb889a Revert #3241 (#3670) 2017-10-17 20:39:50 -05:00
Zuhayr
30d92571cf Nymph head flowers. (#3634)
Adds a head flower to 5% of diona nymphs.
Also changes get_random_colour() to return a proper RGB string instead of expecting the caller to add the #.
2017-10-16 11:47:45 -05:00
Alberyk
9696c7dd83 Bugfixes: xeno loadout, vox mirror and worm crash (#3663)
-might fix #3660
- Fixes #3666
-fixes some issues with the mirror
-fixes worms crashing the server
-might fix ringers
2017-10-15 21:04:16 +03:00
Ron
36e8ba16a6 Teleportation scroll change (#3617)
The teleportation scroll will no longer teleport people onto open spaces.
Closes #3602
2017-10-14 19:25:43 +03:00
Alberyk
e7eec867bc Cargo random stock and some fixes (#3609)
-tweaks cargo random stock a bit, and removes the borg chassis that caused a lot of bugs
-fixed a wrong name in some food trash type
-fixed the slime stunbaton having no in hand sprite
2017-10-13 17:38:33 +03:00
Alberyk
deaddd90b4 Makes rev great again (#3605)
* Makes rev great again

* changelong
2017-10-12 19:55:59 +02:00
Alberyk
15a391f209 Vox changes and additions (#3585) 2017-10-10 18:53:00 -05:00
TheGreatJorge
0aff2d8785 Coloured lighting & related stuff (#3555)
Makes all light tubes & bulbs have colour according to the light they emit. There are 6 preset colours: RGB CMY. Any other color is possible by simply changing the already present brightness_color variable. This PR makes it so it actually changes the color of the item and wall object too.
    Added two new colour defines used only along with preset coloured lights.
    Coloured lights are only obtainable by random maintenace loot, cargo spawn or trader.
    Added box of randomly mixed light colours and box for every preset light colour.
    Removed two sets of redundant defines.
    Converted light item New() to Initialize() (hopefully correctly).
    Made couple tiny tweaks to the lights code.

EDIT, 7. Oct 2017:

    When you hit light machinery or item with paint, it will change it's brightness_color var, instead of the color var.
    Paint buckets can now paint items and people again.
    You can now wash paint off by spraying yourself with fire extinguisher or otherwise covering yourself in water.

EDIT, 8. Oct 2017:

    Removed one apparently unused global list.
    Converted pain bucket New to Initialize and changed it's pathing style.
    Shower can now wash paint too.
    Fixed paint bucket sprites to be bit more dynamic and fixed the in hand sprite. Also added bucket lid.
2017-10-10 18:46:24 +02:00