Commit Graph

23730 Commits

Author SHA1 Message Date
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
Lohikar
cde0531a06 Fix a rogue get_map_cell call. (#3262)
Replaces a rogue get_map_cell() with TRANSLATE_COORD. Seems to slightly speed up asteroid gen?
2017-08-11 18:26:07 +03:00
Lohikar
a43e757f16 Remove hatches from CC airlocks (#3255)
changes:

CC airlocks & airlocks spawned on an admin Z now start without drone hatches.
2017-08-09 20:35:05 +03:00
Lohikar
c3c31c85ea Machinery Component Initialization Refactor (#3258)
Machinery objects' component_parts list is now automatically populated with the types in the component_types list. Types can have an associated number which is interpreted as an instruction to spawn that number of that type. This eliminates a few Initialize() procs, and simplifies others.
Example:

component_types = list(
    /obj/foo/bar,
    /obj/baz = 2
)
Other changes:

Cable coils will now no longer force a stack size of 30 when created without their stack size passed as a parameter - this fixes anonymous types not working correctly with cable coils.
2017-08-09 20:33:14 +03:00
Lohikar
5b97803904 update icons performance tweaks (#3259)
A collection of misc. micro-optimizations to the various human update-icons procs.

changes to human update icons:

Removed some unused human layers.
Merged the l_ear and r_ear layers into one layer.
Minor optimizations to update_ears (optimized for only one ear in use)
update_collar() no longer creates an icon each time it runs just to check icon_states.
update_collar() now uses a cached assoc list of icon_states for comparison instead of in IconStates().
Human body types are now cached on first access so the proc doesn't need to be called all the time.
Contained icons now involve less temporary strings.
Manual tail swish now uses client-time timers instead of server-time timers.
2017-08-09 20:27:50 +03:00
Ron
3e1356c9b0 Adds a limit to mining vendors (#3260)
Adds a limit to items in the mining vendor. Most items have 10, some items have more/less, all items that come from the shuttle have infinite stock along with some other items like point transfers. And the floodlight comes on the shuttle now.
2017-08-09 20:23:09 +03:00
Lohikar
4544637b48 Make wall object check saner & compile-time-checked (#3252)
Makes /proc/gotwallitem use typecaches & a compile-time checked list of types instead of a list of strings. Probably faster, not that it really matters here.
2017-08-09 19:56:45 +03:00
skull132
ff44b44e14 Merge branch 'master' into development 2017-08-07 23:56:04 +03:00
Alberyk
0e5d79c13f Fixes some boxes starting with the wrong contents and more (#3247)
-fixes #3226
-fixes zipties boxes
-fixes the mounted pulse module using the wrong gun
-fixes ballistic guns icons showing as empty when the round starts
-tweaks the uplink vest to include the matching helmet
2017-08-07 22:53:43 +03:00
Lohikar
3714736667 Door visual glitch fix (#3251)
Fixes hatches & maint overlays not properly being cleared during the door open animation.

Thanks go to TheGreatJorge for figuring out why this was happening.
2017-08-07 22:53:22 +03:00
Lohikar
a7c2f5c992 Fix devour sanity check (#3250)
Fixes a bug where the devour type check would always return TRUE.
2017-08-07 22:53:03 +03:00
skull132
81bb348a42 Merge branch 'master' into development 2017-08-06 22:09:41 +03:00
Ron
cb5e227320 Converts some istype's to use helpers (#3224)
Converts various istype's to use helpers. Mainly:
Cable
Wrench
Screwdriver
Multitool
Crowbar
Wirecutter

And makes the helpers defines.
2017-08-06 22:08:42 +03:00
Ron
ad96a34dd8 Removes some in worlds (#3227)
Removes some in worlds and some commented out code that I don't think will ever be used.
2017-08-06 19:50:53 +03:00
Werner
1ae15cd900 Cig price change requested by jackboot (#3245)
Cig price change requested by jackboot
2017-08-06 18:31:22 +03:00
Alberyk
d6ee6ac81f Mixed gamemodes changes (#3239)
-changes uprising from cult and rev to rev and traitors
-enable intrigue that was left behind
-updates the config to include all gamemodes
2017-08-05 23:03:25 +03:00
Erki
a50820a574 Fixes a bug with default values. (#3237) 2017-08-05 22:36:14 +03:00