Commit Graph

23241 Commits

Author SHA1 Message Date
Lohikar
a65ad50f77 Update globals (#2433)
Updates the globals list used by garbage-debug.

You can tell how often people use TESTING based on how no one's complained that it doesn't compile.
2017-05-24 02:55:02 +03:00
Ron
db7e2d1426 Malfunction tweaks (#2425)
Tweaks several aspects of the newmalf based on feedback and testing. Also fixes some bugs.
2017-05-24 02:54:31 +03:00
Lohikar
ba59ef32b9 Make some ZAS lists lazy (#2339)
This PR converts some lists in ZAS to be only created when needed instead of always existing and pointlessly using memory. Might lead to reduced server memory usage.
2017-05-24 02:51:49 +03:00
Ron
457f62f804 Openturf falling change (#2428)
Falling now stacks based on distance and only applies the damage when you hit something solid.
Fixes part of #2416
2017-05-23 22:32:08 +03:00
Lohikar
3be27b9efa Merge SSnanoui & Nanomanager (#2427)
Merges the NanoUI subsystem with Nanomanager, as well as cleans up some nanomanager code.
Most of the files in this commit are changed as a result of removing the nanomanager global in favor of the SSnanoui global.
2017-05-23 16:33:00 +03:00
Lohikar
4d6d382967 Job subsystem & Player Spawn Tweaks (#2403)
Converts the job controller into a subsystem, including absolute paths. Also cleans up some mob despawn code.

changes:

The job master is now a subsystem. Job init moved out of EMI.
Custom loadout now properly overrides job equipment on spawn.
Odin despawn timers are now deleted on arrival shuttle launch.
Cryogenic storage despawn is now handled by the job controller.
Backpack equipping has been fully moved to equip_backpack().
equip_backpack() will now equip departmental backpacks.
Job backpack selection is now set via. vars instead of overriding a proc.
Fixes #2180.
2017-05-23 12:10:30 +03:00
Ron
f0766fa72d Replaces two warnings that shouldn't be warnings (#2426)
Replaces two warnings with alerts or dangers as they are better fitting. Might be good to keep this open for a while in case anymore pop up.
2017-05-23 12:01:44 +03:00
Lohikar
92603bf17c Merge Event Manager & SSevents (#2431)
Merges the event manager datum into SSevents. Only functional change is event datums are now setup during master init instead of at blocking-load.
2017-05-23 11:58:37 +03:00
LordFowl
7e9b81fe53 New Map Bugfixes (#2424)
Fixes #2389
Fixes #2423
Fixes #2391
Fixes #2390
Fixes #2396
Fixes #2418
Fixes #2415
Fixes #2410
Fixes #2399
Fixes #2397
Fixes #2395
Fixes #2393
Fixes #2361
Fixes #2343
Fixes #2381
Fixes #2392
Fixes #2353
Fixes #2254
Fixes #2325
Fixes #2192
2017-05-23 03:21:51 +03:00
Alberyk
3c6759f3d5 Carp migration and map fixes (#2384)
-fix cavern dwellers not spawning in carp migrations
-removes space dust as it should
-adds space shark
-adds a cryo console to communal, central command and robotics
-adds a glass to the arrivals shuttle, to avoid people reaching the shuttle controllers
-fixes some missing access in the bridge, like the command bar having no access in the airlock
2017-05-22 21:02:46 +03:00
skull132
59893f9c09 Fixes #2400, #2401, adminhelp text styling (#2419)
All fixes tested as functional/not fucking with anything.

Also, whoever thought calling ..(null) was smart needs to he hanged. Really.
2017-05-22 21:02:16 +03:00
skull132
c7d894f069 Fix mining runtimes (#2387)
The wonders of "async" processing!
2017-05-22 02:03:38 +03:00
Lohikar
c103c35a0e Fix some lighting bugs (#2383)
Fixes some issues with turf opacity not updating correctly & openspace overlays inheriting their opacity from copied objects.

Probably fixes #2375.
2017-05-22 01:57:39 +03:00
LordFowl
8c119edefd Miningedits (#2363)
Does some mapping stuff, re-arranges mining. Adds catwalks.
Noises the open space sprite somewhat, effect could definitely be improved.
Adds a ghosttrap to mining drones
Adds holes to holes
Fixes some of the airlocks
2017-05-21 22:12:06 +03:00
skull132
50842b640b Fixes some init order shit (#2378)
To alleviate shenaniganry during game startup with character creation.
2017-05-21 20:29:13 +03:00
skull132
c230dc0f5e Fixes #2369 (#2372)
I suspect the issue is with null entries in the records list.

This just nukes them all before processing with sorting. I looked over all of the list accesses, and they didn't appear to be index controlled, so this shouldn't break anything.
2017-05-21 17:20:22 +03:00
skull132
2e87db1883 Fixes #2370 (#2371)
:ree: Lohikar with your lazy lazy lists.
2017-05-21 12:50:28 +03:00
Ron
790480c8da Removes all \red and \blue's (#2309)
Removes all \red's and \blues in favor of span classes. \red things that were bold were replaced with danger because it's warning but bold.
2017-05-21 12:07:57 +03:00
Alberyk
fe396373c6 Changes wizard checks and fix wizard apprentices (#2307)
-added a check to see if the mob is a wizard or apprentice
-replaced the faction check with the new check
-fixed wizard apprentices, also giving them a book with three spells uses
-you can now cast cure major wounds on yourself
-reduces the brain damage caused by swap
Fixes #2047
2017-05-21 03:44:16 +03:00
skull132
c6da0f8883 Partially/lazy help #2331 (#2352)
Lazy fix for #2331 .

Unsure if there's a better way to go about it, as setting simulated to TRUE for AI eyes might result in loss of functionality we've had thus far (eye not moving with shuttles, for example).
2017-05-21 03:35:58 +03:00
Werner
cc7448fa0a Crushers use update_oo (#2354)
Added update_oo() per Lohikars request
2017-05-21 03:35:42 +03:00
skull132
a498a8988c Improve Open Turf Traversal (#2337)
Aims to improve open turf traversal and interaction by doing two things:

If a mob is wearing magboots and has enabled magboots, they are now unable to walk onto an open turf. This includes open space turfs. It makes magboots useful again for miners, on the asteroid!
If a mob is wearing a jetpack with jetpack stabilization enabled (and the jetpack active), they can walk onto the open turf but will not fall down. They can now also, simply by having the jetpack active, move upwards. Keeping stabilization off in this stage will allow them to pop-up and down if they want, leading to hilarity.
Touches mob/proc/Check_Shoegrip() and makes it more useful + more used.
2017-05-21 03:07:41 +03:00
Lohikar
5b769df8fa Openturf tweaks & SSmob sleep detection (#2341)
changes:

Openturfs no longer copy the below turf's name.
Openturfs' desc now lists the name of the below turf instead of copying the below turf's desc.
SSmob now detects sleeping Life() procs.
2017-05-21 01:21:20 +03:00
Alberyk
52137ac6b9 Rat king tweaks (#2342)
-fix some grammar issues
-gives the rat king night vision
-buffs the health. 1 mouse = + 5 hp while the rat king has twice as the health of any regular mouse by himself.
2017-05-21 01:20:40 +03:00
Werner
0c934f2815 Fixed various crusher bugs: (#2335)
Piston extending after it getting stuck

Being able to see through the piston and the crusher base

Piston Blockers left behind when the crusher is stopped via the abort button
2017-05-21 00:45:42 +03:00
Alberyk
e757a3268d Reworks Lichdom (#2292)
Instead of just turning the wizard into a skeleton with the resurrection proc, the lichdom spell will now create a phylactery, bound to the wizard. When the lich dies, he can use a skill to return to the phylactery, where he will come back after to life some time. If the phylactery is destroyed, the lich will be unable to return to life. Trying to use dark resurrection without a phylactery will result in the lich's body being dusted.

Also, adds a new sprite for the wizard book.
2017-05-20 20:40:08 +03:00
skull132
efee411ad7 Merge branch 'master' into development
# Conflicts:
#	code/modules/modular_computers/computers/modular_computer/damage.dm
2017-05-20 19:18:35 +03:00
Lohikar
d8b6ba2c6c ZAS Performance Improvements (#2308)
This PR converts ZAS' c_airblock procs into a single macro for performance reasons, as well as allows CanPass to be bypassed for atoms that do not require special air blocking behavior.

Appears to have a significant effect on performance, needs more detailed testing.

Some objects are likely missing canpass flags, I only set the obvious ones. Please comment if you find one I missed.

Might fix #2152.
2017-05-20 19:00:15 +03:00
Lohikar
4ade21551e Processing tweaks (#2295)
changes:

Converted some objects that were using the processing_objects list + a processing var to the START/STOP_PROCESSING macros and SSprocessing.
Converted a spawn to a timer.
Fixes #2294.
2017-05-20 18:51:07 +03:00
Ron
5de06206e7 More bug fixes (#2305)
Fixes #2296
Fixes #1904
Fixes #2303
Fixes #2285
Fixes #1753
Fixes #1649
Fixes #789
Fixes #1779
2017-05-20 18:41:26 +03:00
Lohikar
277790a630 (Hopefully) Fix Mind GC Issues (#2301)
Should fix weirdness with mob GC such as ghosts jumping to their deleted bodies, observers failing to GC, and mobs with minds not GCing in general.

changes:

Mob cleanup relating to the mob has been moved to the mind.
On deletion a mob will now null out the current and original fields in the mind, if they pointed to it.
2017-05-20 14:24:47 +03:00
Lohikar
58b953a3fc Cross-Z Lighting (#2281)
This PR edits the lighting engine's turf selection algorithm to also include turfs below openturf tiles, allowing for cross-Z lighting.

changes:

Lights now will now shine down Z-levels when they light up an open turf.
Commented-out openturf starlight pending making it not pummel SSlighting.
Openspace overlays are now only queued if they are not already in the queue.
Lighting overlays will now also update their associated openturf overlay on update if they have one.
Removed an old unused message from the asteroid generation subsystem.
2017-05-20 14:24:04 +03:00
Alberyk
aadd7fe9df Makes the spawn area more greytide proof (#2299)
-banners, vending machines, plants and chairs can't be moved or dismantled in the spawn area
-added access to some airlocks and buttons where it was missing
-fixed messed up windows near the lift in the main station level
-added some webbings around the ert and merc areas
2017-05-20 00:38:59 +03:00
skull132
3dc10cdf2f Configable anti-macro protection (#2293)
Apparently some people spam type faster than the hardcoded variable. Fuck it, to the config it is.
2017-05-17 21:59:02 +03:00
Lohikar
c08922a181 MC subsystem tick overrun compensation (#2270)
Port of tgstation/tgstation#27196.

This PR makes the MC track how much a subsystem goes over its allotted tick limit and reduce how much of a tick it is allocated in later fires, as well as delaying later fires if the overrun is high enough.

Subsystems with SS_KEEP_TIMING will not be delayed due to overruns, but they will still get a reduced tick allocation.

Should lead to less tick-drift due to SSgarbage hard-deletions.
2017-05-17 13:51:46 +03:00
Alberyk
6dea99eb64 Loadout, clothing and accessories update and additions (#2267)
-turn some custom items into regular ones, their original owners will keep their more snowflake version, at tishina's request due to this new policy: https://forums.aurorastation.org/viewtopic.php?f=25&t=8087
-fix the mercenary's voidsuit and the radsuit having exposed hands in their mob sprites
-fix the iaa rig having no sprite when deployed
-adds flannel shirts/jackets that strudel was asking me for months
-adds a medical webbing and drop pouches versions of the webbings
-brings back the IAC armband from old code
-adds pink lipstick

When the update goes into master, I will make another pr fixing the custom item paths and etc.
2017-05-17 13:49:47 +03:00
Alberyk
9dfcdc5311 Fix mecha recharger (#2288)
Something that happened due to the bay merge, this will stop people from dragging those around.
2017-05-16 23:40:07 +03:00
skull132
a073f5c111 Merge branch 'master' into development 2017-05-16 14:46:36 +03:00
Ron
85bd1a69f6 Bug Fixes (#2282)
Fixes #2125
Fixes #2048
Fixes #1690
Fixes #1689
Fixes #1667
Fixes #1089
Fixes #1971
Fixes #1848
Fixes #1190
Fixes #2139
Fixes #2111
2017-05-16 13:57:30 +03:00
Alberyk
8ae97db52a Custom items 16/05 (#2284)
adds the following items:

Well Made Robe - Uelak Eul - lordraven001
Chained Wooden Spectacles - Uelak Eul - lordraven001
2017-05-16 09:53:38 +03:00
Alberyk
67d0eadd4c Fix species without mouths being able to chew on hands while cuffed (#2279)
Pretty much check for the lack of mouths in the user, so, that will stop ipcs and other species without mouth to chew on their hands to get off cuffs.
2017-05-16 09:45:01 +03:00
Lohikar
fac6d7916c Lighting performance tweaks (#2200)
Port of tgstation/tgstation#26975.

Changes the lighting engine to apply lighting changes in one step using stored lum value differences instead of two steps (remove_lum, add_lum).

Seems to show a speedup in lighting updates as well as a reduction in server memory usage due to aggressive freeing of unneeded lists.

Lighting overlays also default to fullbright instead of fulldark so movable area transitions look less strange.
2017-05-15 22:25:13 +03:00
Lohikar
5cec2cfa6d More discreet shells (#2272)
changes:

Shells Frames' species no longer show up on examine. They can still be detected via. other means such as checking pulse, health scanners, or them being damaged.
IPC Tags are now located in the head instead of the groin.
Note: This does not affect tags showing up on examine. They must be manually removed from the shell to completely disguise their examine text.
2017-05-15 22:23:06 +03:00
Ron
fa64b7cf7b AI Malfunction Update (#2193)
Incorporates many of the things from: https://forums.aurorastation.org/viewtopic.php?f=18&t=7845.
Added several new features to the Malf AI gamemode based on the thread above.
2017-05-15 22:20:40 +03:00
LordFowl
20c1ca90b5 Lifts and more (#2269)
Changes the main access lift into two seperate lifts. Should vastly decrease congestion.
Changes the AutoLocker into an AutoDrobe, a floor mounted pad that does what the autolocker did instantly. Should solve round-start confusion.
Fixes a handful of bugs.
Off-topicedly, pretty much doubles Vaurca starting phoron, adds more phoron to K'ois and K'ois byproducts while removing more K'ois from raw K'ois. Adds a moderately expensive K'ois bar to the snack vendors for until I can figure out how to code phoron suppositories.
2017-05-15 18:52:39 +03:00
Alberyk
2b9664a2c7 Fix ipcs, dionae and species without dna getting mutations (#2275)
May it be via rad storm or other bullshit, this will make sure that species with the NO_SCAN will suffer no dna mutations from storms and etc, no more ipcs with hulk or blind blocks ON.
2017-05-15 18:50:29 +03:00
Alberyk
4dcfa0d9fa Fix manhacks attacking traitors, pirates and mercenaries (#2268)
This should fix manhacks attacking traitors, heisters and mercenaries, and yes this was tested.
Also fix ipcs being able to repair themselves with cable coil.
2017-05-14 23:40:19 +03:00
Ron
17654c608a More Holidays (#2265)
Adds more holidays and removes old ones. Also adds a little fun thing for Easter.
2017-05-14 23:37:06 +03:00
skull132
5065dea527 Merge branch 'master' into development 2017-05-14 20:52:53 +03:00
Alberyk
9bdd1c81b7 Custom Items 14/05 (#2266)
Adds the following items:

-Null Staff - Kesaos Azaroz - paradoxspace
2017-05-14 20:39:30 +03:00