Commit Graph

23873 Commits

Author SHA1 Message Date
Alberyk
0d8fe2e6a4 Adds more in hand sprites for certain items (#3392)
Adds a lot of more in hands and back sprites, wielded shotgun sprites, guns, bags and things like mining satchels and bee nets.
2017-09-08 13:14:52 -05:00
Lohikar
f962f3be1b SSoverlays performance tweaks (#3390)
changes:

SSoverlays only creates the our_overlays and priority_overlays lists separately and when they're actually used. This should remove a lot of unused lists as priority_overlays is relatively unused.
SSoverlays is now FIFO.
SSoverlays now uses large Cut() operations instead of continuously truncating its processing list.
SSoverlays is no longer a processing subsystem.
Performance tweaks to add_overlay()
SSoverlays no longer tries to re-process atoms that have already forcibly compiled their overlays (like human-types).
2017-09-08 20:11:53 +03:00
Alberyk
09281f9bf1 Minor vampire power changes (#3396)
-fix thrall not checking if it could be used on the victim
-antags and special characters should be immune to vampire mind control powers
2017-09-08 10:32:33 -05:00
Alberyk
04838af290 Allow loadout species whitelists to use lists (#3395)
With this change, ported from baystation, whitelist loadouts can use lists now, so, you can have one xeno item that is allowed to two different species, like the gear harness.
2017-09-08 10:32:06 -05:00
Alberyk
092a391a5f Fix More Baylore References (#3393)
Replaced some incorrect references to old baystation lorel, such as construct drones being from the sol central, tajaran slaves and thalers.
2017-09-08 10:31:16 -05:00
Erki
cbc86ff187 Fix camera lag (#3405)
Edge case where the turf you click is the outside station area, and it has to crawl that fucking massive area.

Also makes the loop generally more efficient.
2017-09-06 23:00:58 +03:00
Lohikar
b9a4ecd173 DEvent, Mk II (#3241)
Redesign of PR #2209, now with sane unregistration + a new event.
2017-09-06 18:08:44 +02:00
Lohikar
4fbf1c15b8 Fixes - 2017/09/05 (#3399)
Fixes #2663.
Fixes #2677.
Fixes #3185.
Fixes #1716.
Fixes #1004.
Fixes a minor grammar error.
2017-09-05 14:18:41 -05:00
TheGreatJorge
f414d9267c Smooth doors + multi-tile door code tweaks (#3365)
-Changes almost all of door opening/closing animations to be smooth. Also adjusts some door sprites so they actually can be opened smoothly.
-Fixes minor problems with some door sprites. Usually only few pixels.
-Adds "o_door_open" opened state with panel open to common glass door, lift door and vault door, since these have visible panel even while opened. EDIT: They will now show up correctly when needed. Added a var used to mark doors with panels visible while open.
-Adds opening/closing animations "door_closing_stat" and "door_opening_stat" with lights off to doors that did not have it. EDIT: Should now correctly show up when the door is forced manually.
-Removes many unused duplicate dmi files and icon states in door file.
-Adds new dmi file in doors folder containing misc door overlays. Not used anywhere, purely for reference and spriting.
-Changes the multi-tile airlock to have 4 directions instead of 2. Also makes it correctly update hatches for those directions when moved or built from scratch.
-Adds vault assembly. It can be built like any other door, but it costs 10 sheets instead of 4 and takes double the time to make, since it has double explosion resistance and lot more health.
-Adds elevator door assembly along with icon states into the code. It is currently unused, because I have yet to figure out how to make building lift-doors work, and that will not be included in this PR.
2017-09-03 16:24:25 +03:00
Lohikar
06ea9d6ac2 Mining performance fixes (#3387)
changes:

Mining ore bags are no longer painfully slow.
The ore summoner now sleeps instead of just giving up on TICK_CHECK.
2017-09-03 00:47:01 +03:00
Ron
752b0ba5e9 Converts reagent containers to Initialize, fixes hand-chew cool down and moves suit sensor Z-level list (#3367)
Converts all reagent containers to use Initialize, fixes the hand-chew cool down so it's no longer for everyone, and moves the suit sensor Z-level to the global.dm right above the station name so anyone else using the code can't miss it.

Closes #3363
Closes #3361
Closes #3362
2017-09-02 21:35:58 +03:00
Lohikar
e1f84a756e experimental caching performance tweaks (#3364)
Changes the asset cache's on-connect cache to use a ticking subsystem instead of sleeps and timers to slowly send assets to clients.
2017-09-02 21:35:03 +03:00
Lohikar
08dcdba926 Performance tweaks (#3359)
Mostly aims to reduce meaningless proc-calls in Move() and forceMove(), also inlines the rest of the power calculations in SSmachinery to remove a lot of proc-calls.
2017-09-02 21:33:03 +03:00
Werner
68d3fa60f5 Added a few more gamemodes (#3337)
Adds a few more game modes as requested in https://forums.aurorastation.org/viewtopic.php?f=21&t=8798&p=82273#p82273
2017-09-02 21:32:01 +03:00
Ron
905c960e52 Adds some things (#3357)
- Power Sword
- Tesla Gun
- Gravity Gun
- Pipe Wrench
- Slime baton - Awaiting Sprite
- Hand-held crew suit monitor
- Space Klot
2017-09-02 18:16:22 +02:00
Alberyk
c52b4f5775 Fixes some walls and turf types (#3368)
Fixes the rusty walls, dionae walls(credits goes to thegreatjorge), all cult walls being reinforced by default and fixes snow and lava turfs.
2017-09-01 17:54:15 -05:00
Lohikar
67bac9475d Restore old machinery init behavior (#3380) 2017-08-31 22:56:05 -05:00
Lohikar
c58fea0cf5 Reduce SSgarbage's tickrate (#3376)
Reduces the garbage collector's tick rate to 2 seconds vs. 0.5 seconds - it doesn't need to tick this fast and this should in theory reduce GC lag.
2017-08-31 22:32:00 +03:00
Alberyk
5a8ccc6c54 Fixes medical resident spawn and other things (#3383)
Fixes medical residents spawning at the odin at round start
Fixes medical residents being unable to get medical huds via loadout
Fixes #3370
Fixes mechas not using the paint kit skins when destroyed
2017-08-31 11:13:45 -05:00
Lohikar
2f00346cc4 Fix simple statistics (#3381)
Fixes simple statistics not being written to the feedback database.
2017-08-31 11:13:06 -05:00
Ron
c8510ec9a9 Fixes RnD machines not starting with beakers (#3377)
Forgot about RnD machines with the last update. Anything with a beaker in the component_types needs to populate_components
2017-08-30 14:52:13 -05:00
Alberyk
ba03cb3ab6 Adds more cleric spells and more (#3348)
-adds the mend would spell; a spell that allows the wizard to close bleeding, heal internal bleeding, broken bones and organ damage by selecting the hurt zone
-adds the resurrection spell, that brings a dead target to life, it will not work if he has been dead for too long
-adds mind bend, that allows the wizard to turn his victim into his lobotomized slave, like the vampire thrall power
-buffs some healing spell, summon bats and summon bear
-adds more wizard related sounds
-adds an emote when someone is firing their eye lasers
2017-08-30 21:38:31 +02:00
Lohikar
8dd6cead66 Species Economic Modifier Fixes (#3291)
* economy fixes
* fix scaling
2017-08-30 21:10:00 +02:00
Ezuo
0392c43624 New Chaplain Items (#3356)
A box is added to the chaplains office at round start that allowed them to select from the rod, a staff, or an athame. Purely a cosmetic choice.
2017-08-29 23:55:55 -05:00
Lohikar
839ca01947 Global Listeners (#3373)
SSwireless is dead, long live Global Listeners.
2017-08-29 16:09:41 -05:00
Lohikar
dc85579850 Closet & use_check() tweaks (#3346)
changes:

use_check() will now show failure messages to the affected mob by default. It still returns the failure reason & permits disabling of messages via. the show_messages parameter.
Lockers now take 2 seconds to weld or disassemble.
A progress bar is now shown to mobs with the progress bars pref enabled while attempting to break out of welded lockers.
2017-08-29 23:25:19 +03:00
Werner
5657397106 Halves the required blood for Diseased Touch (#3338) 2017-08-29 23:23:23 +03:00
Lohikar
f52c16038d Minor lift tweaks (#3321)
changes:

Lift delays are now saner and seem to work better.
Lifts will no longer squish mobs if they are travelling upwards and not at the top floor.
2017-08-29 23:22:12 +03:00
Lohikar
c80d893e71 Misc Synthetic Code Cleanup & Minor Tweaks (#3307)
Mostly synthetic code cleanup, some tweaks to human examine and ID cards too.

changes:

Synthetic sprint procs have been compressed down to one proc for all machine subspecies vs. one per subspecies.
Synthetic sprint now only stuns synthetics with empty cells for 30 seconds for all types.
Refactored synthetic limb roboticization.
Changed how a lot of synthetic/industrial checks work.
ID portraits are now 128x128, and scaled without blurring.
Species can now specify an examine text color (for their species name) that differs from their flesh color.
Fixed some eye checks not respecting species.vision_organ.
Examine pulse-checking now uses do_mob & has a progress bar.
2017-08-29 23:21:29 +03:00
Pacmandevil
ff3b59f67f Adds a cooldown to aiming after shooting, also makes shooting while aiming drop the aim (#3271)
The cooldown is currently 3 seconds as suggested by this thread

also adds a nifty proc to Aiming to set said cool-down, it's variable.
The proc is "aim_cooldown(x)" with x being the time you want them unable to aim.
2017-08-29 23:18:59 +03:00
Ron
419ee9e41c Adds drop pods (#3296)
Adds drop pods syndicates can use to drop in on locations. It causes breaches and can only target the surface level (minus the arrivals dock, cyro, and the bedroom).
2017-08-29 23:14:41 +03:00
Lohikar
4ed82ce486 Add Runtime Station (#3350)
Ports Runtime Station from /tg/, a debugging map meant to speed up boot time during development.
Also adds RTGs, a low-output (< 10 kW) upgradable buildable infinite power source, and allows placement of cables on catwalks.
2017-08-29 12:39:35 -05:00
Ron
ceab73c63e Makes some machines upgradeable (#3311)
Adds the ability to upgrade the following:
- Sleepers
- The ore processor
- All cooking appliances (Minus the microwave)
- Tesla Coil

Also makes components not spawn in machines until they are needed (When they are being upgraded) to reduce the objects generated. Adds some new macro's and converts some istypes to use them. And moves stock parts into their own file.
2017-08-28 01:51:37 -05:00
Erki
9c472d4ce3 Fixes tags probably most likely (#3366) 2017-08-28 01:45:39 -05:00
Lohikar
f8bcaf4864 Lighting Performance Tweaks & Fixes (#3325)
changes:

SSlighting is now FIFO - lights are processed in the order they are received instead of by whatever one was queued most recently.
Instant lighting updates now check CURRENT_TICKLIMIT instead of ITL. ITL has been removed due to it no longer being used.
SSlighting will no longer double-process lighting datums that have already been processed by instant lighting.
Instant/Intelligent lighting updates can now be disabled via. compile-time define.
Sunlight should no longer shine indoors.
Directional lighting now properly updates on direction changes again.
/datum/light_source/novis has been renamed to /datum/light_source/sunlight.
More lighting microoptimizations.
Converted two storage lists to be lazy.
2017-08-28 01:06:17 +03:00
Alberyk
fb3ac0d718 Mounted guns names, grenades tweaks and projectiles changes (#3322)
-name added the prefix mounted to all mounted guns
-converted the hos sniper rifle bullet to the new armor system
-converted projectile/special.dm to absolute pathing
-reduced again the damage of frag grenades
-added armor penetration to the pulse beam, to make it more than just a stronger laser
-fixed the fake grenade getting stuck in the primed sprite after its detonation and added a indication it is take in the desc
2017-08-27 17:00:32 -05:00
Alberyk
608cf8feda Adds more sounds (#3327)
Adds sounds for opening lockers, going down ladders, turning on your internals, removing and placing extinguishers in the cabinet, sounds for bone breaking and sound to the bsa.
2017-08-27 16:58:34 -05:00
Ron
cc4563fd5c Bug fixes (#3351)
Fixes #3280
Fixes #3163
Fixes #2908
2017-08-27 22:18:59 +03:00
Ron
ad4fce70c5 Adds a gamemode probability verb (#3320)
Using the show server revision verb will now show the percent chance of each gamemode in the secret and mixed secret rotation. Based off of how TG did it.
2017-08-26 08:05:20 -05:00
NoahKirchner
50a2a6c85b Fix spelling of the word "Appropriate" (#3318)
Fixes misspelling of the word "appropriate" in multiple strings.
2017-08-26 08:03:21 -05:00
Alberyk
27aecda0d1 Random spawn changes (#3317)
* Random chance stuff

* changelong for merchant

* cigarrete changes
2017-08-25 19:01:35 +02:00
Lohikar
36ea6c9837 Rename Nursing Intern to Medical Resident (#3331)
Renames the Nursing Intern job to Medical Resident at Jackboot's request. Should not break any existing intern job prefs.
2017-08-23 11:39:41 +03:00
Alberyk
9c9f63cacc Fix Mecha Z Teleportation (#3334)
Fixes a bug where people could teleport out of exosuits with Z movement verbs.
2017-08-22 23:53:58 -05:00
HetNeSS
4204624b6e GPS for rescue borg, mining drill for construction borg (#3295)
Added a GPS to the rescue borg and a mining drill to the construction borg
2017-08-21 23:56:22 +02:00
Lohikar
6518be906d Add elevator music (#3313)
Adds elevator music to elevators. Music from bay.
2017-08-20 14:16:37 +03:00
Lohikar
f3ad54e8aa Assorted tweaks & fixes (#3305)
changes:

Fixed #3203.
Tajara or Unathi CEs now get gloves that actually fit them.
OOs now respect direction changes from their mimicked object.
Replaced all references to trange() with RANGE_TURFS().
Replaced all references to is_type_in_oview() with locate() in oview().
Fixed a runtime caused by recursive explosions falling off the edges of the map.
Carp despawn now works properly with the new asteroid turfs.
Carp despawn now uses WEAKREF instead of SOFTREF.
Added tick-checks to the carp migration event.
Vaurca now have the IS_VAURCA reagent_tag.
Cleaned up butanol alien handling a bit.
2017-08-20 14:10:15 +03:00
Lohikar
9dd650b7a9 Minor lighting performance tweaks (#3298)
changes:

Sunlight prebake now happens during MC Initialize instead of in the lobby.
Openturf no longer ticks in the lobby.
Openturf has been promoted to a normal SS, from SS_BACKGROUND.
Lighting no longer ticks in the lobby.
Inlined directional lighting's coordinate filter.
Directional lighting wedge caching now properly works with face-direction.
2017-08-20 14:08:25 +03:00
Alberyk
1532c692aa Adds an armor check to the telebaton stun (#3297)
Makes so that telebaton hits will now check the armor of your target, if the hit is protect it won't stun, otherwise the stun will happen.
2017-08-20 14:08:01 +03:00
Alberyk
5e3281a7b7 More wizard stuff (#3292)
-removes the jaunt spell from the wizard corrupt form
-increases the price of raise dead to two points
-adds a new wizards spell; flesh to stone, that traps your target in a statue for some time
-added a chance of creating a central command report everytime the lich is send back to his heart, telling the possible location of the heart
2017-08-20 14:03:54 +03:00
Alberyk
011b5506c4 Adds messenger bags (#3289)
Ports the messenger bags from baystation 12, also adds the syndicate and wizard version. And fixes some issues with some jobs missing the bag vars and miners not getting their industrial bags.
2017-08-20 14:02:55 +03:00