Commit Graph

14979 Commits

Author SHA1 Message Date
Lohikar
ac2ed66cef Fix some issues with SSplants processing (#3417)
Fixes some issues where plants would not get removed from their processing list properly.
2017-09-09 19:00:05 +03:00
Alberyk
c5a7bc0361 Dropper, flour and ration fixes (#3413)
-fixes being able to use dropprs on synth
-fixes flour stacking on the same title
-fixes liquid ration having far less nutriment that it should
2017-09-09 18:59:10 +03:00
TheGreatJorge
2913e9ca35 Issue fixes (#3402)
Fixes #3214
Fixes #2962
Fixes #1557
Fixes #816
Fixes #671

Adds new welded overlay into "closet.dmi" file as part of a fix.
2017-09-09 18:58:32 +03:00
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
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
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
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
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
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
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
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
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
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