Commit Graph

23946 Commits

Author SHA1 Message Date
skull132
3b483ea703 Ladders unittest (#2924)
The unit test checks for two things:

All ladders on the map are complete (have at least target_up or target_down).
All ladders have open space in the appropriate area.
2017-07-03 02:25:02 +03:00
Lohikar
dad575f3ca Misc changes & Fixes (#2922)
changes:

Roof auto-gen is now off by default and must be turned on at the area level.
Fixed #2921.
Added a unit test to check if all station areas have a roof.
Slightly tweaked how baseturf is populated; should be functionally the same.
2017-07-03 00:22:07 +03:00
Lohikar
c8ddab832a Map tweaks (#2923)
changes:

Crusher's ladder now properly has an openturf under it.
Made some aesthetic adjustments to the engine's cooling radiator.
2017-07-03 00:21:27 +03:00
Alberyk
9f45ea79fc Map fixes and detective access changes (#2905)
Fixes some messed up directions such as the map on the surface level and a newscaster in the cargo bay
Removes the extra holodeck console
Fixes #2897 (probably)
Fixes #2870
Fixes a broken camera at the vault
Fixes command doors at the bridge being named wrong
Removes the forensic access from the detective, and changes the access of his officer so the csi can't get inside
Fixed some areas of telecomms having roofs where they are not supossed to do

(yes, I used the mapmerge)
2017-07-02 19:56:23 +03:00
Wraithcraft
8b6ed6236b Wheeler Hairstyle (#2903)
Adds hair_wheeler_s to human_face.dmi, and adds a section for "wheeler"
hair in sprite_accessories.dm.
(I tested this and it works.)
The hairstyle is just a modification of "Mulder", adding some more floof, and making the hair itself a bit more grown out, hiding some of the forehead.
2017-07-02 19:48:16 +03:00
skull132
4422175921 Check a ZAS loop (#2896)
Inifinite loops begone.
2017-07-02 03:41:10 +03:00
skull132
b886ef644a Implement mixed secret (#2849)
Implements mixed secret as a gamemode. It's another snowflake mode which taps into more snowflake functions. :ree:

Went over all references to "secret" and swapped them for a macro where applicable. SSticker.hide_mode now holds a reference to which type of secret was picked. "random" gamemode will now pick from both secret lists for added randomness!

Implementation of https://forums.aurorastation.org/viewtopic.php?f=18&t=8253
2017-07-02 02:38:00 +03:00
Juani2400
5c76d89e78 [Newmap] Map additions and fixes. (#2893)
Adds a second OR.
Moves the engine radiator to the lower side of the asteroid.
Revises the quantity of newscasters and emergency lockers around the
station.
Fixes the missing tile in the Pool.
2017-07-02 02:31:13 +03:00
Lohikar
9abeb2c82e connection edge flow speedup (#2892)
Reduces the overhead from /connection_edge/proc/flow from 1 proc-call per connected_turf per movable to 3 proc-calls per movable + a list operation.
2017-07-02 00:33:15 +03:00
Lohikar
f885bffdae More tweaks (#2889)
changes:

Clipboard overlays are now a little gentler on SSoverlays.
Ported potential performance improvements for getFlatIcon and listclearnulls from /tg/.
Icon smoothing now clears the base icon by default; SMOOTH_NO_CLEAR_ICON disables this behavior.
Potential SSoverlays performance improvement from /tg/.
Speculative fix for #2826.
2017-07-01 23:09:10 +03:00
Alberyk
1365befb04 Fixes some things (#2886)
Fixes #2832
Fixes #2821
Fixes #2805
Adds a tint to the bomb suit helmet
Fixes the wizard voidsuit an outdated wizard faction check
Fixes pants don't convering the legs
Fixes hailers showing their messages on the lobby
Reduces the recharge cost of the mounted thermal drill, so, it won't use an entire powercell when you fire it once
2017-07-01 21:53:49 +03:00
Lohikar
42f91d8117 Remove privacy poll & other tweaks/fixes (#2863)
changes:

Removed the privacy poll as it is unused.
Observing no longer creates a new mannequin, instead fetching one from SSmobs.
Observer ghosts now have a description again.
Converted new_player.dm to absolute pathing.
Fixed a bad init on holomaps.
Removed a sleep from light fixture Initialize().
Added a queue length stat to the MC panel for Icon Smoothing.
Halved time taken to create lighting overlay objects.
Species & body marking lists are now sorted alphabetically.
Commented out calls to lighting profiler to remove overhead of string interpolation in some procs.
Blood dries instantly if present during mapload instead of setting a timer.
2017-07-01 21:53:39 +03:00
Lohikar
de2efd09ac Fix a parallax runtime (#2887)
Fixes #2835.
2017-07-01 21:25:14 +03:00
Lohikar
7419971a02 Vision flag tweaks (#2779)
Normalizes some vision flag operations & adds SEE_BLACKNESS to all mobs if the compiler supports it.
Shouldn't break 510 clients even if the server is 511 & using SEE_BLACKNESS.
Should fix some visual glitches with wall-mounted objects being visible when the wall they're on isn't visible.
2017-07-01 18:03:02 +03:00
LordFowl
077196f0d1 Removes the Chapel, Reverts God. (#2739)
Removes the chapel and replaces it with a holodeck.
Replaces the old holodeck with a pool/gymnasium.
Properly sets up the holodeck, mapwise. All holorooms have been adjusted to be the appropriate size for the now slightly smaller holodeck (7x10).
The Chaplain now has an office above hydroponics, which has all of his necessary things - crematorium, morgue tray, tools of office, and even a slight semi-confessional for private council.
Adds a chapel to the holodeck, for when the chaplain wishes to conduct a service. Additional holodecks for specific lore-religions are pending.
Adds a gymnasium holoroom.
2017-07-01 17:54:56 +03:00
Ron
c876437f91 Changes the placement of some items in the uplink (#2853)
Rearranges some items in the uplink datums so they all go from least expensive to most expensive. It appears that most items were already placed like that.
2017-07-01 17:53:14 +03:00
Lohikar
c486724efa Speed up asteroid generation a bunch (#2872)
Shaves 10-20 seconds off of asteroid generation time, bringing it down to 20 seconds, as well as renames some macros so their function is more clear.
2017-06-30 13:11:11 +03:00
Lohikar
27251ee9ee Remove the datum pool (#2873)
Removes the datum pool.

New-qdel is faster than pooling, and we didn't use it anyways.
2017-06-30 13:10:14 +03:00
Lohikar
cf7359e03e Atmos icon tweaks (#2874)
changes:

Airlock vents now use icon_states instead of atmos icon manager overlays.
Omni vents now use SSoverlay caching instead of atmos icon manager caching.
Added missing icon_states from #2812.
2017-06-30 13:09:41 +03:00
Lohikar
84f2ec8105 Area fixes (#2875)
changes:

Fixes copy_contents_to not working.
Fixes elevators attempting to spawn roofs when it didn't really make sense.
Minor efficiency tweaks in move_contents_to and elevators.
2017-06-30 13:09:19 +03:00
Lohikar
1e965826d5 Fix a stupid mistake (#2861)
AAAAAAAAAAAAAAAAAAAAAAAaaaaaaaaaaaaaaaAAAAAAAAAAAAAAA
2017-06-29 01:32:53 +03:00
Lohikar
ce54f5a76c Significantly speed up testing server boot (#2846)
Dramatically speeds up boot with testing (MC_TICKLIMIT_INIT > 100) configs; stoplag() would penalize procs that go over 100% tick-usage by delaying them further. This is not required during server boot & the lobby, and resulted in significantly longer boot times.

This PR ports a fix from /tg/ that forces stoplag() only sleep 1 tick if it sleeps during server boot, as well as adjusting the example config to be more suited for testing.
2017-06-29 00:20:14 +03:00
skull132
9b00464951 Swap brains to absoloute pathing (#2860)
Mobs are touchy things, so having them on relative pathing is a sin.
2017-06-29 00:12:03 +03:00
skull132
ca09aeaeef Remove Global Iterators (#2842)
Removes the global iterators, which mechs use heavily, and replaces it with standard process() calls from SSfast_process and SSprocessing.
2017-06-28 23:15:50 +03:00
Lohikar
bc9fc4d9cc Fix a mulebot runtime (#2859)
Fixes a runtime that could happen when a MULE was shot.
2017-06-28 23:13:05 +03:00
Lohikar
51c967d554 Kill a bunch of unneeded lists (#2851)
Removes a bunch of default lists from /obj, /obj/item, and /obj/structure, replacing them with either lazylists or adding behavior to the null value.

Null armor is now considered identical to having armor with 0 armor in each category, null attack_verb results in the text "attacked" being used.
2017-06-28 23:10:33 +03:00
Lohikar
c077b12899 Convert storage objects to initialize (#2850)
changes:

Converted storage objects to Initialize().
Removed timer from storage New/Initialize in favor of LateInitialize.
Removed some pointless src from storage objects.
Fixed GC of some screen objects used by storage objects.
Changed storage objects' filling to be done by fill() instead of New()/Initialize().
Medkits actually work this time!
2017-06-28 23:09:59 +03:00
Lohikar
9a899801b1 more closet initialize (#2855)
Converts some closets to fill() that I missed in my first pass.
2017-06-28 14:37:42 +03:00
Lohikar
ea7b9b56b7 Fix loadout overwrite issues (#2854)
changes:

Fixed a bug where items overflowing from EquipCustomDeferred would not be passed to EquipItemsStorage.
Added debug lines to EquipCustom, EquipCustomDeferred, and EquipItemsStorage.
Fixes #2762.
2017-06-28 14:37:00 +03:00
Lohikar
16322d55d9 Beam tweaks (#2852)
Speculative fix for #2769.
2017-06-28 14:35:51 +03:00
AgentWhatever
c66921b079 Agentwhatever interpretive borgs (#2848)
Added more languages for borgs, plus a short explanation on how borg languages work code-wise for future reference
* Swapped the basic and default/classic icons for all modules

Closes #2781
2017-06-28 14:25:31 +03:00
Alberyk
013a361ca3 Adds changeling horror form (#2819)
Adds an end game power for changelings (15 genomes points), allowing them to turn into a robust mob for around five minutes.

Fixes some issues with arm blades and shields, also adds a chem costs to using them.

Adds new changeling related sounds.
2017-06-28 14:23:49 +03:00
Lohikar
300f238111 vg Holomaps (#2844)
Ports vorestation's implementation of /vg/'s holomaps.

Holomaps are an in-game object that shows a map of (most) of the station with departments highlighted, to aid in navigation around the station. Maintenance, high-security, and asteroid areas are excluded from the maps.

Adds approximately 1.5 seconds to server boot to generate maps.

Holomaps were added at:

Arrivals shuttle dock, north of checkpoint.
Surface level lift.
By entrance to security on main level.
North of the kitchen.
South of Engineering, near tech storage.
Beside the IA office.
Near the lift on each sub-level department.
2017-06-27 20:40:40 +03:00
Lohikar
b49111b3c4 Update some outdated unit tests (#2790)
Updates some map tests to use the configured station levels instead of hard-coded values, as well as removes some tests that do not make sense on newmap.
2017-06-27 11:27:51 +03:00
Fire-and-Glory
eb5e179990 Sprite tweaks plus Ivancarp (#2845)
The top of the Tajaran industrial mining RIG chestpiece has been lowered to no-longer obscure the Tajaran's mouth from the front when the helmet is down. (Inconsistent with sidesprites anyway.)

The Ivancarp plushie can now spawn whenever the game calls for a random plushie, and the carp himself has a chance of appearing in cargo's warehouse.

Also made the latest attempt at fixing the phasing cigarettes.

Also changed that thing where part of the face is clearly exposed on the Rescue RIG's helmet when it is ''sealed''.
2017-06-27 11:22:50 +03:00
Alberyk
a204d9c85a Adds shotgun rack and more map fixes (#2841)
Adds a shotgun rack to the bar; https://forums.aurorastation.org/viewtopic.php?f=21&p=79363#p79363
Fixes #2837
Fixes #2834
Fixes #2830
Fixes #2839
Fixes #2829
Fixes bad access in the teleporter maint room
2017-06-27 11:20:35 +03:00
skull132
ccadcdb6f3 Support - Remove sleep() calls in various Life() chains (#2833)
Removes:

sleep in floorbot/Life() (Fixes #2578)
sleep in medbot/Life()
sleep in farmbot/Life()
a sleep in Diona specific proc chains, which sneaked into human/Life()
a sleep in coldingtons/activate, which sneaked into human/Life()
sleep in bear/misc_command (uncertain if this was ever called in Life(), but hey!)
sleep in corgi/*/Life
This covers all debug references I could find on graylog from the past 30 days.

Refactors:

Removes Nanako-style comments from diona_base.dm which break formatting in VSCode and Github
Swaps diona_base.dm to use to_chat over <<
2017-06-26 21:09:51 +03:00
skull132
89035c8c85 Rogue process() calls in atmos machinery (#2840)
Fixes #2801 and renames a few more missing procs.
2017-06-26 20:45:12 +03:00
Lohikar
ce315815fa Lamar is back in a cage (#2785)
Puts Lamarr back in its cage.
2017-06-21_18-00-23

Also removes a pointless New() override on Lamarr.
2017-06-26 19:26:24 +03:00
TheBrightDawn
fbd307ae1e Religious Banners (#2814)
Adds Banners for the following real world religions:
Christianity
Sikhism
Islam
Buddhism
Hinduism
Judaism

Also adds banners for:
Anime Memes
The Sun

There is no code attached only the items. I'm not entirely sure what I'd be doing with the code as I'm not fully confident with my ability in it right now so for now I'll just provide the sprites.

Picture of said sprites: http://i.imgur.com/hrqSrnK.png
2017-06-26 19:25:53 +03:00
Alberyk
bb7dde3dc9 Gives zipties a purpose to exist (#2808)
Adds elastic var of the cable cuffs to the zipties, allowing them to cuff people inside hardsuits, unlike regular cuffs, and adds a box of them to the nonlethal crate at cargo.

Also, purges the boxes.dmi of shortened paths.
2017-06-26 12:10:06 +03:00
Alberyk
c215147302 Duplicate wires, bar and xenobio disposal fixes (#2800)
Fixes the gamma solar array having too much wires
Rename airlocks in eva to voidsuit instead of hardsuit
Adds an atm near the bar counter
Fixes a missing robotic storage console in the drone room
Fixes an issue with the wizard transformation
Fixes a marking that I somehow overwrote from this pr #2662
Fixes #2796
Fixes #2798
Fixes #2797
Fixes #2770
Fixes #2792
2017-06-26 12:09:21 +03:00
Alberyk
ab898c000b Removes genetics medical access (#2751)
Removes genetics basic medical access, because, genetics is not even near medical anymore, no reason to keep it.
2017-06-26 12:07:37 +03:00
Lohikar
c838fddb22 initialize() -> atmos_init() (#2816)
Renames Atmos machinery's initialize() proc to atmos_init(), to better distinguish it from atom Initialize().
2017-06-26 12:06:57 +03:00
Lohikar
b071bbf0d2 Parallax-related performance tweaks (#2810)
Experimental tweaks to how parallax's movement hooks work; the current ones appear to be fairly expensive for all movable movement, doing locate(/mob) in src on every forceMove(). This PR creates a new lazylist (contained_mobs) containing a list of every mob directly contained by an object. contained_mobs is updated on mob/forceMove().

Not sure how to handle mobs located deeper than directly inside an object.

Only alternative to this I see is to make SSparallax tick.
2017-06-26 12:05:17 +03:00
Lohikar
b83a2d908b Fix zpipes not having color (#2812)
changes:

Z-pipes now properly show pipe color.
2017-06-25 14:56:06 +03:00
skull132
8c5c10029f Vampire fixes! (#2703)
Fixes #586
Fixes bloodheal not handling external organs properly.
Refactors the code with new macros and shit.

Did I miss anything?
2017-06-24 23:37:54 +03:00
SoundScopes
f9cab847e7 Fixes #2773 (#2784) 2017-06-24 15:49:13 +03:00
Lohikar
b7dce5ba66 Track round-start setup time (#2791)
Adds a debug log to track round-start setup time for diagnostic purposes.
2017-06-23 15:56:19 +03:00
Ron
1dc0fee3cd Rework of Multi Z vent crawling PR (#2775)
Reworks #2689
Includes: Vent crawling up and down.

Quote from original PR:

Main feature is that ventcrawling between Z levels now works perfectly. It takes 10 seconds to climb up or down a pipe...
2017-06-23 15:55:41 +03:00