Commit Graph

23226 Commits

Author SHA1 Message Date
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
LordFowl
beb9d40663 Fixes some issues (#2262)
Fixes #2242
Fixes #2237
Fixes #2236
Fixes #2230 (mostly)
Fixes #2257
Fixes #2255
Fixes #2240
2017-05-14 18:48:01 +03:00
Ron
9543d5628b Bug fixes (#2109, #1437, and AI Slipper) (#2227)
Fixes #2109
Fixes #1437
2017-05-14 13:34:10 +03:00
Alberyk
fdb4badc65 Adds detective access and tweaks the explorer's belt (#2260)
-adds detective access, only used in his own locker
-adds some mining items to the list of things that one could store into the explorer's belt
2017-05-14 13:22:22 +03:00
Alberyk
2e2a92b39a Fix airlock related hallucination affecting ipcs and dionae (#2261)
This may fix dionae and ipcs touching airlocks while suffering from sm's hallucination, SOMEHOW, and being "shocked" by them.
2017-05-14 13:22:02 +03:00
Ron
9a9fa631f2 Telesci fix (#2239)
Fixes the levels available to telescience (#2238)
2017-05-14 03:00:53 +03:00
LordFowl
6facb0d738 Fixing oregen (#2249)
Ores will now create veins. The proc to do so was not properly placed in Initialize()
Ore radar should now no longer ping false positives.
Nerfs slag
2017-05-14 02:58:59 +03:00
Lohikar
aa83743543 Queued table icon updates (#2206)
changes:

Tables now use queue_icon_update() to trigger icon updates.
SSicon_update has been promoted to SS_TICKER to reduce delay in icon updates.
SSicon_update now only has one queue.
This should prevent excessive table icon updates & mitigate table-lag from nar'sie.
2017-05-13 12:52:13 +03:00
Werner
6e35029341 Fixes the contract uplink (#2204)
Right now its not possible to view the details about of a posted contract due to two bugs.

This PR fixes these bugs.
2017-05-13 12:51:42 +03:00
Lohikar
6cf332bfa7 Merge voting controller into SSvote (#2183)
changes:

Merged the voting controller into the voting subsystem.
Changed the voting UI to use /datum/browser.
Converted /datum/browser to use HTML5 & attempt to use edge if available. All users of the browser datum have been confirmed functional with Edge.
Changed the ChemMaster to use SSassets for resource download.
2017-05-13 12:37:43 +03:00
Werner
0d1d0f6429 Crusher Fixes (#2205)
Fixes the icons of the neighbouring piston-bases not updating if a linked piston base is destroyed
Fixed a few runtimes
2017-05-13 12:35:54 +03:00
Lohikar
f702f99f14 Openturf throw fix & minor refactors (#2203)
changes:

Thrown objects will now fire Entered() on the turf they land on. As a result, they will now fall if they land on an openturf.
Openturfs now queue an icon update if something falls down.
/obj/item/weapon/ore_radar converted to use SSfast_process instead of a spawn loop.
Converted hand-held tanks' New() to Initialize().
Note: This PR allows grenades to be thrown down openturfs.
2017-05-13 12:35:40 +03:00
Lohikar
2f7a4651fc Misc fixes & tweaks (#2202)
changes:

Syndie hardsuit/voidsuit helmet lights now emit green light, the same color as the lights on the helmet's sprite.
Welding tools now use SSprocessing instead of the obsolete processing_objects list.
Converted some spawns to timers.
Fixes #2201.
Fixes #2162.
2017-05-13 12:35:22 +03:00
Juani2400
5b8a66281b [Newmap] Map fixes, TComms Relay and Lift announcements modification. (#2196)
Fixes several map bugs.
Adds a TComms Relay to the Main Level. Location may not be optimal,
check.
Modifies the configuration file of the lifts to change the
announcements lifts give when arriving to each floor for it to mention
the main areas located in that floor/department.
2017-05-13 12:35:12 +03:00
Lohikar
6ef9191275 Kill airlocks' process(), SSpower, and misc. performance tweaks (#2175)
changes:

Airlocks no longer tick (exceptions: firedoors, uranium airlocks)
Airlock commands run before round-start are queued to run at round-start.
Airlock commands that failed to run are scheduled to try again in 2 seconds with timers.
Callbacks can now be registered with SSticker to run at round-start in a non-blocking way.
Added a new subsystem (SSpower) for handling power-related functions. Currently doesn't do a whole lot, but this will likely eventually change.
RCON functionality has been moved from SSmachinery to SSpower.
The global cable list has been moved into SSpower.
Powernet sensors no longer process purely to keep themselves in the global machines list, instead they are added to a list in SSpower.
Power terminals no longer pointlessly tick.
Removed some variables from SSticker that weren't used by anything.
Holographic overlays such as those used by consoles are now cached.
Xenoarcheology setup is now tick-checked.
ZAS now uses post-fire timing.
The req_access and req_one_access lists are no longer initialized by default on all /obj types.
Openturfs will only emit starlight if they are bordering a non-openturf dynamically lit turf.
Powernets are now stored in SSpower instead of being a global.
The global mouse list is now stored in SSmob instead of being a global.
Fixed some weirdness in APCs' Destroy() caused by a merge.
SSwireless now pre-bakes to reduce round-start processing.
SSwireless no longer uses processing queues.
2017-05-11 22:19:51 +03:00
Alberyk
b52e374df3 0 and 4 level tweaks and additions (#2194)
-adds the janitor rig to the ert room, giving them janitor belts and better light replacers
-adds /obj/machinery/acting/changer to the wizard, heist and merc, that allows them to set their character apparence, name and etc, in case they need it for their gimmick, and because admins are not around all the time to help
-fix the cakes slices in central command
-adds an ultra ac to the gygax ert room
-adds a larger random cargo maker to the heist warehouse
-adds air alarms to the maint in the 4 z level
2017-05-11 22:17:16 +03:00