Commit Graph

14740 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Alberyk
85c0c763df Fixes throat slitting being broken (#3232)
-fixes being unable to slit people's throat
-fixes the sprite of make's custom item being wrong
-fixes the infestation event using the incinerator area, something that don't seems to exist anymore, it is replaced with the waste disposal now
2017-08-05 21:04:18 +03:00
Lohikar
20150cd113 Devour fixes (#3231)
Bunch of fixes and balance tweaks to the devour system. Notable changes are that xenomorphs can eat people again and that human-types no longer take ridiculous amounts of damage from devour.

changes:

Devour type checks now actually operate on species for human-types and are all-around hopefully more sane.
Replaced an obsolete define with a boolean.
Fixed xenomorphs being unable to swallow human-types.
Rebalanced digestion damage to not kill human-types in one tick.
Digestion now deals fire+brute instead of cloneloss (bite still deals cloneloss as I didn't touch its damage function)
Misc code tweaks.
2017-08-05 21:03:49 +03:00
Pacmandevil
6a6124ca82 Mouse tweaks. (#3228)
Adds a shared cooldown to Mice squeaking, soft squeaking, and squealing. no more will we have to endure squeak spam

Tweaks mouse-traps to do 8-14 halloss damage instead of brute. They still do brute, but only 1-3. this'll make giant mouse-trap piles in maint less of a meme.
2017-08-05 21:02:42 +03:00
skull132
56ac9238cd Merge branch 'master' into development 2017-08-04 22:19:20 +03:00
Alberyk
193e15c224 Fixes ai core airlock, lack of bluespace crystals and a bit more (#3225)
-fixes #3218
-fixes #3213
Fixes a messed up table at telescience
Fixes a wrong cable at engineering
Fixes a broken uplink item
Fixes a wrong named camera
Changes the location of the heister and merc shuttles in the under station z level to be near the engine pipe area
2017-08-04 22:18:25 +03:00
skull132
1784bf4669 Merge branch 'master' into development
# Conflicts:
#	maps/aurora/aurora-3_sublevel.dmm
2017-08-04 22:10:58 +03:00
Lohikar
32a33d9d7c Lift light tweaks (#3223)
changes:

Lifts no longer automatically generate lights if they're set to not clear the shaft.
Mapped in lifts now have mapped in small lights, only in the lift cabin.
2017-08-04 21:49:56 +03:00
Alberyk
b4fa4a8b3a Baystation12 merchant port (#3155)
Port of the merchant mechanics from baystation12.
All of the trader, prices and most essential system are done, as well the job datum and the like. Mapping the shuttle, the base and a new dock will be done in a later pr.
Also adds phazon construction and several other items used in this pr.
The chance of the merchant slow being open at round start can be changed via the config, it is 20% by default.
2017-08-04 21:36:04 +03:00
Alberyk
de046a95b7 Custom items 03/08 (#3220)
Adds the following items:
Ceramic Teapot - Sean Brianne - zelmana
Workers Flask - Nasser Antonov - sonicgotnuked
Tan Engineering Beret - M.A.K.E - toasterstrudes
Antenna - M.A.K.E - toasterstrudes
Vaporizer Pen - Nathan Corvo - jkjudgex

Also, some changes code and path changes on certain items.
2017-08-04 21:24:04 +03:00
skull132
0f072e15e9 Merge branch 'master' into development 2017-08-02 23:56:29 +03:00
Lohikar
69c4658d70 Fix tesla coils (#3208)
Fixes tesla coils not properly connecting to the powernet on anchor.
2017-08-02 19:55:12 +03:00
Lohikar
3167294ab1 Improved directional lighting fallback when facing opaque objects (#3210)
Facing an opaque object with a directional light source will now temporarily change the light to LIGHT_OMNI and halve the range instead of slightly tweaking where the light cone is drawn.
2017-08-02 19:54:10 +03:00
Lohikar
1ee2203b01 clean up some legacy code (#3211)
changes:

/obj/effect/list_container/mobl has been replaced with /datum/mobl.
/obj/effect/stop has been removed as it is unused.
/obj/effect/shut_controller has been removed as it is unused.
Uristrunes now cache in SSicon_cache.
2017-08-02 19:53:23 +03:00
SoundScopes
b0e8170f78 Adjusts ChemMaster's layer (#3212)
It's a fix #3196 for some reason git didn't link the pr with the issue
2017-08-02 19:52:59 +03:00