Commit Graph

23946 Commits

Author SHA1 Message Date
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
Ron
59a0b88059 Fixes a few issues with the gravity generator (#3281)
Fixes a runtime and a bug with the gravity generator that caused it to bypass radiation suits.
2017-08-20 14:02:31 +03:00
Alberyk
48bce064cc More custom items (#3312)
Adds the following items:

Old Earth Luxury Cognac - Francois Leonce - driecg36
White Suit - Joseph Birkin - unknownmurder
Maraziite Throw Over - Sonorous Zouzoror - sleepywolf
Iron Mask - Sonorous Zouzoror - sleepywolf
Cheery Blazer - Ellie Shoshanna - resilynn
Tajaran Religious Necklace - Zhilin Vadim - fireandglory
Spark Theorem - Monica Huntington - moondancerpony
Native Tajaran Foot-wear - Hikmat Rrhazkal-Jawdat - prospekt1559
2017-08-20 14:01:08 +03:00
Lohikar
4338095bdf Fixes #1491 (#3309) 2017-08-20 14:00:34 +03:00
Lohikar
d5f7bc76a7 Preferences HTML cleanup (#3301)
changes:

Changed a lot of string building to use lists & Join() - this should reduce the number of strings generated at runtime.
Fixed a bug where the incidents menu was not populated.
Changed color boxes to use CSS & divs instead of one-cell tables.
2017-08-17 12:22:20 +03:00
Lohikar
901fbf0249 Fix devour nutrient calculations (#3300)
changes:

Devour no longer gives unathi ridiculous amounts of protein.
Xenomorph devour actually works now I swear
2017-08-16 22:18:14 +03:00
skull132
7c5c835a7f Merge branch 'master' into development 2017-08-15 23:01:15 +03:00
Alberyk
0806095d6b Fixes slowdown applying on open spaces (#3282)
With this change you won't be slowed anymore while floating on an open space, such as using a jetpack.
2017-08-15 22:46:12 +03:00
Alberyk
16ac2d1cf9 plant taste fix (#3285)
What it says on the title.
2017-08-15 00:40:58 +03:00
Alberyk
cf71c30ebe skrell snowflake organs (#3290)
adds the sprites that wer6 made for skrell, with loow's approval
2017-08-15 00:40:26 +03:00
SoundScopes
a4baa60345 Removing context menu suppression (#3287)
This was a really hacky tweak which also conflicted with an existing hotkey and only worked when hotkeys were turned off
Also removes Nanako's excessive spaces in the code file
2017-08-15 00:38:57 +03:00
Lohikar
827b57c7cd Vaurca organ fixes (#3264)
Fixes some errors in Vaurca organ definitions causing them to get more organs than seems to have originally been intended.

changes:

Vaurca now have two hearts ("left heart" and "right heart") instead of three ("left heart", "heart", and "second heart").
Vaurca now have only one set of lungs.
2017-08-15 00:35:36 +03:00
Lohikar
c03746d8c3 Fix chemsmoke GC (#3284)
Should eliminate the GC lag from vent clog events.
2017-08-15 00:29:52 +03:00
Lohikar
f9f7010380 Helmet light overlay fixes (#3278)
changes:

Fixed a few errant pixels in some helmet's light overlays.
Added a new set of HK sprites courtesy of BRAINOS.
2017-08-14 01:02:36 +03:00
Lohikar
eace452b30 Human icon key & preferences tweaks (#3274)
changes:

Reworked how human body icon keys are generated; resulting keys should be much shorter now and involve less duplication of the same string.
Players are now shown a message when they try to add markings to a species that has none available.
Admin revive for human-types will now also re-apply their organ and marking prefs.
Admin revive now also resets shock_stage (fixes rejuv'd mobs being slow for a while)
2017-08-14 01:01:40 +03:00
Lohikar
7ce566f472 New prosthetic sprites & descs (#3273)
Adds a new set of prosthetic sprites made by BRAINOS, as well as new more fitting descriptions for the affected prosthetics.
2017-08-13 23:35:17 +03:00
Lohikar
b8bb48ef76 Convert clothing to initialize (#3263)
changes:

Converted all clothing types to Initialize.
Added some missing destroys to some custom items.
Char setup now forcibly initializes the mannequin's contents if SSatoms has not finished yet.
/obj/item/clothing/under no longer does in icon_states() in New().
2017-08-13 23:32:07 +03:00
Alberyk
d1c3a58c87 Adds the merchant station, the shuttle and the station's dock (#3254)
This pr adds the second essential part of the merchant's implementation, mapping the merchant's shuttle, base and the dock. And more merchant related fixes and tweaks.
2017-08-13 23:31:50 +03:00
Alberyk
1a43d4a7fe Fashion update 2.0 (#3229)
-changes how gloves leaving fingerprints works, now there is a chance if they can leave or not, ported from polaris, fixing #3120
-allows for glasses with the flag AIRTIGHT to protect your eyes from phoron, such as science glasses, ported from polaris, mesons and etc
-adds evening gloves, cloth footwraps, toeless working boots and etc at people's requests, ported from several other codebases
-removes the last red security piece we had in the code, the red dot of the sec belt
-adds a icon for badges on the belt
-allows you to flip eye patches to cover different eyes
 👎 x 2
2017-08-13 23:30:59 +03:00
skull132
1aa305f1f9 Merge branch 'master' into development 2017-08-13 23:30:37 +03:00
Lohikar
ab247a07d9 Fix parallax again (#3279)
Fix parallax being static when it shouldn't have been.
2017-08-13 19:46:23 +03:00
Lohikar
1a7512330a Fixes #3261 (#3276) 2017-08-13 19:46:04 +03:00
Lohikar
1f8c6a0313 Force novis lights to use queued updates (#3275)
changes:

No-occlude lights such as those used by Sunlight are now always queued, eliminating a chance for them to be processed by the instant lighting system (causing lag).
2017-08-13 19:45:38 +03:00
Lohikar
0cec8fad8c Maybe reduce ore magnet lag (#3248) 2017-08-11 23:07:59 +03:00
Lohikar
fb73735ceb Minor Performance Tweaks (#3265)
changes:

/datum/wires no longer has an (init) proc.
SMES wires now use timers instead of spawn.
Cleanables' random_icon_states list is now lazy. (eliminates ~4000 lists from dirt)
/obj/effect can no longer be pushed around by conveyor belts.
Lighting overlays are now explicitly prevented from being moved by conveyor belts.
2017-08-11 22:57:57 +03:00
Lohikar
e7e30d3ab5 Convert guns to initialize (#3266)
changes:

Converts guns to initialize.
Converts lift control panels to initialize.
Swaps out a spawn in droppods for addtimer.
Fixes a bug where already-opened pod doors would still attempt to prime if hit.
2017-08-11 22:57:12 +03:00
skull132
1ed2f3c556 Merge branch 'master' into development 2017-08-11 22:56:23 +03:00
Lohikar
d6e8e781eb Fix changeturf not working quite right with space turfs (#3269)
ChangeTurf(/turf/space) will now always changeturf to openturfs if there is a below Z; this fixes some oddities with singularities.
2017-08-11 18:27:01 +03:00