Commit Graph

14353 Commits

Author SHA1 Message Date
Lohikar
27d328f6fb Lighting fixes (#1952)
Changes:

Fixes #1949.
Removes some pooling in favor of new-qdel.
Lighting startup spam is now correctly sent to R_DEBUG.
Fixes some spark runtimes.
2017-03-21 06:51:21 +02:00
NanakoAC
5898326034 Cooking and Reagent Fixes(#1953)
Went searching for the cause of the reagent runtime issues. I don't think i found it yet, but i found and fixed a couple things that could be causing it.

Most notable is an egregious bug that caused animals' reagent holder to be nulled after they're dropped from a holder.
Also adds a little safety check to recipes which may fix it.

Fixes two cooking bugs as well. One that was allowing extra containers to be inserted into an already-full oven (they nested inside other containers, it was messy) and a tiny issue with batter overlays being incorrect on cooked meats.
2017-03-21 06:50:40 +02:00
Alberyk
3ed3a13548 Fix nooses runtime and food capitalization (#1955)
-fix #1946
-changes most of the capitalization related to food and drinks names
2017-03-21 06:49:44 +02:00
Lohikar
fabd60a007 Horrible memleak hack (#1950)
Lighting memleak patch.
Only merge if memleak manifests.
Revert if server moves to 511+.
2017-03-21 00:05:16 +02:00
Alberyk
61f50831b4 Lunchbox fixes (#1945)
-fix lunchboxes being borked
-tweaks somethings in the wallet
-fix the locker item and add it to the custom loadout
-adds check to stop mouse from hanging people
2017-03-20 22:24:35 +02:00
skull132
e60ab072fc Merge branch 'development' 2017-03-20 15:33:46 +02:00
NanakoAC
6f15bf2e14 Emergency Cooking Fixes (#1944)
This PR fixes a number of isssues with cooking that were overlooked during testing.

The cause of the infinite loop:
I neglected to add a buffer to hold cooked items to the microwave when i did likewise for other appliances, this is necessary for bulk cooking as it ensures that things which were just cooked, aren't considered as potential ingredients.
The lack of this buffer caused donk pockets to iterate forever, because the result (a cooked donk pocket) is a valid ingredient to create a cooked donk pocket. so it made the same recipe millions of times over. This is now fixed.

Runtime errors.
A few items would throw runtime errors because they override the make_food function which i significantly altered, and return data in the wrong format. This is now fixed. Affected items were: Donk pockets, valid salad, fortune cookies, amanita jelly.

Uncookable items.
A few recipes were impossible to create in appliances due to my neglecting support for adding non-snack items to cooking containers. This mostly affects diona roast and fortune cookies.. For now i've gone with a simple whitelist approach, allowing paper and holders to be added.
2017-03-20 15:32:39 +02:00
Lohikar
449919c905 Fixes (#1943)
changes:

Fixes PDA manifest.
Fixed some bad turfs on the outpost.
Very slightly sped up lighting initialization.
Fixed mine turfs bordering on space turfs having a bad edge.
Possibly sped up asteroid gen slightly.
2017-03-20 08:13:17 +02:00
Alberyk
bb6a5e167e Custom loadout and medal box fix (#1941)
-fix some issues with the custom loadout
-fix #1940
2017-03-19 23:47:33 +02:00
skull132
b263f3fe0c Tweak event probabilities (#1939)
Less bears, less vents, less blobs. More other shit. Yes.
2017-03-19 21:19:43 +02:00
skull132
da55dc75f8 Fix Lohikar's bad debug logging 2017-03-19 22:11:19 +02:00
skull132
9885337cab Merge branch 'master' into development 2017-03-19 21:08:28 +02:00
skull132
9c78f5b4c6 Swap memos to be Discord pins instead (#1382)
Intent:
If using a Discord bot, make it so that the game is able to pull and process pinned messages in specific discord channels as memos.
2017-03-19 21:07:29 +02:00
Lohikar
2a0353d8f9 Progress bar pref (#1938)
changes:

Players can now toggle progress bars on/off in Preferences.
This just adds another flag to the parallax toggles pref to keep things simple.
2017-03-19 11:39:23 +02:00
NanakoAC
301baf8559 Animal Sleeping and Familiars (#1881)
A small PR with a couple of effects:

Makes simple animal sleeping a bit more robust, and fixes mice never waking up. Also adds napping support for NPC cats. Sadly it doesnt work for kittens as theyre lacking a sleep animation. Napping support can be easily added to any other creatures though many are lacking suitable sprites

The rest verb for animals is moved to the abilities tab. its more streamlined to have it there since thats where all their other things are

Tweaks a couple of wizard familiars, swaps the mouse and goat role+spells, and reclasses the mouse familiar to inherit from normal mice, so as to preserve base mouse functionality (squeek). Wizard familiars are unreleased content so no changelog

And adds a small feature for mice to shift their pixel offset around gradually as they move. So that they dont stack up and look like one when theres many of them, it adds a little more visual variety.
2017-03-19 00:24:38 +02:00
NanakoAC
67bb388a5a Additional Pylons (#1870)
This PR adds a new utility mechanic for the cult. Pylons can now be upgraded into arcane defensive turrets, which fire bolts of demonic energy. These turrets are entirely automated, somewhat-rapid firing, extremely accurate and quite long ranged, but their damage is very low, and thus their total DPS, even with the fire rate, is still far lower than most real ranged weapons.
2017-03-19 00:06:36 +02:00
Alberyk
ae5956fd6e Wizard blade, loadout and general dev tweaks (#1905)
-add reflection and parry to the wizard rune sword
-tweaks and add more things to the custom loadout
-remove the linebin and thermals from cargo
-add exosuit paint kits and some other things to cargo spawn
-re-add the non slip flag to skrells
- Fixes #1890
-adds more hats
-beastmen botanists now get some snowflake gloves
-unathi are now poisoned by alcohol, at jackboot's request
-fix smacking people against toilets having no delay
-fix some visible message issues and wrong date in the sink and shower
-removed being able to select bst gear using chameleon clothing
-fix some grammer
-fix vaurca voidsuits having an outdated species
2017-03-19 00:05:25 +02:00
Lohikar
63eafb3643 Code Cleanup: Destroy() fixes part 1 + Misc Fixes (#1933)
In this PR:

Destroy() fixes backported from PR #1783.
JaniPDA fixes & improvements.
Chickens no longer consume their own eggs.
Language adding in setup is now 100% more sane.
Chemical dispensers now actually check that the user is still alive before renaming.
Ghosts are now marked as non-simulated atoms.
Non-simulated atoms no longer trigger proximity listeners.
Vendors no longer accept synthetic tools as stocking options.
Fixes #812.
Fixes #1877, Fixes #1929.
Fixes #1930.
Fixes #1152, Fixes #1917.
Fixes #1902.
Fixes #1165.
2017-03-18 23:06:24 +02:00
Alberyk
4b93a20a5e Adds ipc loyalty chip (#1934)
By the quest of the lore team, adding an ipc version of the loyalty implant for when synths will be able to be loyalty implanted roles.
2017-03-18 20:52:41 +02:00
Lohikar
d3242f13a5 Abstract machinery, intercom listener, and directional hardhat lights (#1918)
changes:

Added an abstract-machinery helper type for interacting with power systems without duplicating power code.
Changed intercoms to use abstract machines to handle power state changes instead of polling with process().
Hardhat lights are now directional (LIGHT_WIDE)
Fixes #1922.
2017-03-18 20:06:45 +02:00
NanakoAC
fa12422854 Mining chargers, fruit slices, windoors (#1897)
A bugfix pack of various unrelated stuff. I just poked through the issues list and cherrypicked stuff that looked quick or within my knowledge

Adds some Mech charging pads to the mining outpost. Two inside, one outside near the drills.
I also tweaked the charging pad sprite to remove the background. Basically it had a normal floor tile built into the sprite, which looked dumb on any other kind of floor. i made that part transparent. And the ones in the robotics lab didn't have an actual floor tile under them because of that, someone was lazy when mapping. so i fixed that too.

Fixes fruit slices being inedible. Someone was using Round when dividing their reagents. Protip: never round reagent amounts. the system handles decimals just fine. There was also an error with the loop

Fixes being unable to build multiple windoors on a tile.I fixed it so you can do so, but they cant stack ontop of each other (or existing windows). I also made sure they can't be rotated to stack onto existing border items. And added another rotate verb for windoor assemblies, and fixed their missing ON_BORDER flag.

Nerfed the hallucination chance of paroxetine, to make it less of a meme when prescribed clinically.

Fixes the engiborg inflatables dispenser permanantly breaking if you allow it to run out. That was my fault

fixes #990
fixes #862
fixes #1875
fixes #1842
fixes #1742
2017-03-18 20:04:13 +02:00
Alberyk
07475b3b52 Custom items 15/03 (#1925)
Items being added:

-Tagged brown coat - Leo Wyatt - keinto
-Tagged brown hat - Leo Wyatt - keinto

Also, fixing some minor issues with some custom items.
2017-03-18 00:33:24 +02:00
Alberyk
e6655deb3d Nooses (#1805)
-ported nooses from hippie

They can be build with cable, if you stand on any table or bed. You can tie people, but it takes around 20 secs, and people that are not cuffed or disabled somehow can untie themselves. Also, it will produce some flavor texts while they are being hanged or a body is hanging from one.
2017-03-12 18:16:57 +02:00
Lohikar
263bb7ab8d RnD & Cat fixes (#1913)
changes:

bugfix: "Fixed an issue where some objects could not be deconstructed with RnD."
bugfix: "Helmet lights now actually display the powered-on sprite."
bugfix: "Cats on heads no longer magically turn invisible."
bugfix: "Cyborgs' portable destructive analyzer can no longer steal intercoms or the captain's safe."
imageadd: "Duffle (duffel?) bags now have in-hand sprites."
Fixes #1158 
Fixes #1662
2017-03-12 12:18:58 +02:00
Lohikar
7cc68feeb4 Remove holder access (#1906)
changes:

Mob holders no longer grant that mob's access.
Fix bug where wrong task was killed on invalid head in scheduler.
Fixes #1785
2017-03-12 12:18:09 +02:00
NanakoAC
ceff4ae424 Tech Fixes: (#1888)
Fixes #1790 
Fixes #1791 

Fixes a number of issues with robot sprites, chem master machine, and surgery steps

The issue with borg sprites was caused by duplicate calls to ..()
Ive standardised robot module parent calls to the top of the function

Fixed the chemmaster not depositing pills in bottles properly. I added a new add_to_storage proc to storage.dm which is just a simple, safe means of putting stuff in stuff. it handles the checking.

Fixed some issues with surgery. A few surgery steps had incorrect "open" var ranges defined which was causing organ repair surgery to be interfered with

Also removed screwdriver from the list of bone mending tools, and added duct tape instead as the ghetto alternative. And allowed energyswords + chainswords to be used for cutting open ribs. theyre already useable for amputation

Fixed an incorrect return var for surgery that was making surgeons able to attack their patients on help intent. Shouldnt happen anymore

And also fixed the experimental welder being un-makeable at the protolathe.
2017-03-12 11:52:33 +02:00
Lohikar
cd52c36313 Lighting fixes part 307 (#1896)
changes:

Fixes missing icon for powered off night-mode tubes.
Nerfs borg floodlight back to sanity.
Reduces the light power on red-alert level fire alarms a bit.
2017-03-12 11:51:07 +02:00
LordFowl
9856e18486 Fixes internal phoron buzz (#1908)
Due to bad code andn stuff, buzz happened every 3 secobds. no more.
2017-03-12 11:50:18 +02:00
skull132
335f3f8261 Merge branch 'master' into development 2017-03-06 01:01:12 +02:00
Lohikar
9cb32e0653 Lighting fixes (#1886)
changes:

Fixes directional lights not obeying Face-Direction.
LIGHT_SEMI now works properly when a light is facing NORTH or SOUTH.
Fixes #1884
2017-03-06 00:30:34 +02:00
skull132
c5b9d75e34 End The Contest (#1887)
It was fun.
2017-03-06 00:26:18 +02:00
Lohikar
e2725ab4cb Computer dark visibility tweaks (#1829)
changes:

Holo-computers' displays now draw above the lighting layer, allowing them to be seen in the dark.
APCs' displays now draw above the lighting layer, allowing them to be seen in the dark.
2017-03-05 22:28:11 +02:00
Lohikar
f8e808f617 /vg/ AME port (#1831)
changes:

Ported /vg/'s anti-matter engine.
Anti-matter engine is now orderable from cargo.
Anti-matter fuel is now orderable from cargo.
Using 1 of each AM crate from Cargo, you can get 240 kW.

Note: We already have this engine in our code, this is just an update to it.
2017-03-05 22:05:57 +02:00
Lohikar
5b737098d9 do_after progress bars (#1857)
Adds the do_after progress bars that were originally going to be added with lighting, but got scrapped due to PR-bloat.

changes:

do_after actions now have a progress bar.
Added a changelog for directional lighting as I apparently forgot it.
The do_after proc's required arguments are unchanged, however it now accepts the argument act_target, which allows the caller to specify what object the progress bar should appear over. Defaults to user.
2017-03-05 22:03:59 +02:00
skull132
c144720345 Fixes robotic organ surgery (#1883)
An invalid open state was stopping the use nanopaste to fix robotic internal organs. This is now fixed.
2017-03-05 19:25:18 +02:00
Lohikar
73c29bd5a7 Miscellaneous Fixes (#1868)
changes:

Engineering now actually gets engineering-type alert consoles instead of the non-functional base type.
Lighting is no longer broken by shuttles.
The ERT shuttle autoannouncer should no longer cause lighting runtimes.
Fixed some bad newlines in some character setup help texts.
Custom loadout tweaks now properly write to SQL.
Custom loadout is now saved as JSON.
Players are now shown a notice when the server was unable to load their custom loadout.
Drowsyness is now clamped to zero.
Added some new tips to the example.
Tweaked some tips' grammar.
Removed some tips that do not apply to our code base.
Probably fixes embraced vampire thralls not getting vampire verbs.
Fixes #1844.
Fixes #1835.
Probably fixes #1687.
Probably fixes #1824.
Fixes #1839
2017-03-05 15:14:28 +02:00
NanakoAC
3080c20428 Diona fixes and Tweaks (#1871)
I'm currently in bugfixing mode to prepare for next update. This PR is a package of fixes for some outstanding issues related to diona that have caused complaints, and a few minor tweaks.

Fixed diona not having a mouth. This wasn't intended, even in bay. It was caused by a fuckup with typing order. Although there were hacky fixes i could do, i opted for the most correct fix, which was re-pathing all diona external organs to be /obj/item/organ/external/BODYPART/diona, whereas before they were /obj/item/organ/external/diona/BODYPART

This approach is the most flexible and future proof. Having all heads behave properly as heads is more important than having base behaviour for diona organs. That can be handled with vars and flags. This did involve duplicating quite a few vars to all that were part of the main class, but its worth it.

Rebalanced Plant-b-gone, requested repeatedly by garn. In general it got heavily nerfed, but carefully tuned. It now slightly outdamages a diona's base regen rate, but not by much. Reagent permeability is also factored in now so equipment can protect against it. Some radium treatment will make it a non issue

Also increased the click cooldown for spraybottles used on mobs. it was pretty broken at 4 dc.

Fixed nymphs getting Tau Ceti Basic for free upon evolving. Now they'll only have it if they had it as a nymph. (this doesnt affect diona that directly join as gestalt)

Added another ear slot for diona, so they can wear two headsets, or a mouse. Often requested

Adjusted diona air consumption. They have a mechanic whereby they consume gases from the environment for nutrition. Ive just made this actually remove said gases. Consumption is significantly below the rate of replacement so it wont be an issue anywhere with a vent, but they can cause air alarms if they hang around too long in an unventilated room.

Fixed a devouring bug where a creature could get stuck marked as devouring something (but not actually doing so) and be unable to start devouring it. Instead of rejection, trying to devour something you're already eating now cancels.
2017-03-05 02:07:37 +02:00
Lohikar
7bc62acb6e Pooling fixes (#1866)
Fixes some bad arguments on getFromPool calls that were causing things to not work correctly.
Fixes #1800.

Damn you butterfly effect.
2017-03-05 02:05:14 +02:00
Lohikar
5320d6af3e IPC Lights (#1846)
changes:

IPCs now emit a weak light based on the color of their screen.
The system for making species emit light is modular, and Shells+HKs have been excluded from light emission.
2017-03-05 02:02:03 +02:00
Alberyk
9931c46312 Event locker fixes (#1851)
Fix some minor issues with the sol outfit closes.
2017-03-01 23:15:18 +02:00
LordFowl
e00ba48c8f SolRep Uniforms (#1856)
After discussing it with Jackboot, I have decided to give the SolRep their own uniform. In an attempt to differentiate them from the captain, I created a new uniform sprite based off of the US Navy Dress Blue uniform.

Since SolRep's and their alternate title of IAA are very different, I decided it would be best to spawn all of the SA gear on the SolRep specifically, so that the IAA doesn't get greedy with a locker.

The SolRep now spawns with:
A regular pair of sunglasses.
A Lieutenant Sol Navy dress uniform
A Navy cap
Laced dress shoes
A ceremonial sword

They no longer spawn with a briefcase.

I also switched the sprite of the Marine dress cap and the Navy dress cap, because I believe that they better match their source this way.

I also renamed the dress whites uniform to be Sol Navy Commander Dress Uniform, and the Dress blues are Sol Navy Lieutenant Dress Uniform. This is to me the best way to convey rank without creating a whole new insignia accessory.
2017-03-01 08:22:59 +02:00
Alberyk
711bbef2b0 Antag contest week event (#1834)
* Update carp_migration.dm

* Add files via upload

* Update sol_items.dm

* Update sol_items.dm

* Update captain.dm

* Update civilian.dm

* Update sol_items.dm

* Update baystation12.dme

* Add files via upload

* Update carp_migration.dm

* Add files via upload

* Add files via upload

* Add files via upload

* Update sol_items.dm

* Update civilian.dm
2017-02-28 00:15:31 +02:00
Alberyk
4991b0e9b1 Custom items 26/02 (#1843)
Adding the following items:

Family Beret - Kar'lan Sel'ler - toasterstrudes
Tajaran Service Uniform - Guskov Andrei - fireandglory
Siik'maas-Tau Ceti Basic Dictionary - Zhilin Vadim - fireandglory
Emergency Response Team Duty Jacket - Fai Sinsa - soundscopes
Old Tajaran Nobleman Suit - Faysal Al-Shennawi - alberyk
Prosthetic Vaurca Eyelids - Ka'Akaix'Ghoz Zo'ra - sleepywolf

Removed:
Clement Beach implant at player's request
Vittorio Giurifiglio arm band, because item was turned into a custom loadout option due to the owner and players requests
2017-02-26 22:19:00 +02:00
Lohikar
dceacd805b Directional lighting tweaks (#1833)
changes:

Flashlights now default to LIGHT_WIDE directional lighting.
Glowsticks, Lamps, Flares, and Slime Cores use LIGHT_OMNI.
Maglights use LIGHT_NARROW.
Heavy-duty flashlights use LIGHT_SEMI.
EVA suits default to LIGHT_WIDE.
Lanterns use LIGHT_OMNI, as well as now having a more appropriate light color.
Floodlights use LIGHT_WIDE, as well as having a more appropriate light color.
Synthetics default to LIGHT_WIDE. (including drones)
Added some predefined light_wedge values to the lighting defines file.
Fixed some bad angles that screwed up north/south lights in some cases.
2017-02-25 22:12:13 +02:00
NanakoAC
dc951d6261 Cooking and Smallmob tweaks (#1825)
Just an assorted package of little things:

Scales down the deep fryer, reducing its power usage, oil reservoir and cooking containers. Should help with complaints about power usage

Fixes up numbers so that cookers heat up in 15 minutes as intended

Adjusts the normal size of all conbination cooking items, so its harder to reach crazy sizes

Removes some debug messages

Fixes user not being populated in get_scooped procs, which was preventing the special "X climbs onto Y" message from appearing when a mouse drags themselves onto a human

adds passtable code to girders and empty machine frames, allowing small mobs to crawl over them and projectiles to sometimes (50% chance) pass over
2017-02-25 22:11:08 +02:00
Lohikar
8c6a2a84a0 Algorithmic Directional Lighting (#1726)
This is similar to #1722, but it uses a bit of math to allow explicit setting of the angle of light.
Pretty much complete, although no lights have been updated to use directional lighting.

Features:
Facing a wall with a directional light results in darkness - light is not emitted on own tile.
2017-02-24 21:43:22 +02:00
AgentWhatever
70912e9b1d Hatch fix, sleek medbay icons, icon selection update (#1782)
Added a chemistry and surgery varient of the sleek cyborg icons
Fixed that annoying issue with the open cyborg hatch witout battery
having a random pixel
Medborgs can now choose sleek medic or chemist and drone medic or
chemist
Rescueborgs can now only select either one sleek or drone icon
Fixes #1773
2017-02-24 20:25:06 +02:00
Lohikar
65e0f3de97 Simpler lighting process, bug fixes, & modular computer tweaks (#1809)
Fixes #1806
Fixes #1730
Fixes #1747
Partially addresses #1763
Addresses #1283
Fixes #1799
Fixes #1816
Fixes #1813
2017-02-24 20:24:31 +02:00
Ryan784
a52092b294 Fixes #1789 and most alt-clicking related bugs (#1808)
Fix for the alt-clicking related bugs; users being able to alt-click and
have it work regardless of distance.
2017-02-24 19:30:09 +02:00
Alberyk
54b64c3688 Loadout fix and virus immunity additions (#1804)
-changed some things on the tweak path loadout to avoid runtimes
-fixed some species being affected by virus when they should be immune to them
-fixed being able to miss when firing point blank
-tweaks a bit more the corporate safe contents
-moves some clothing objects to the proper place and fixes some names
2017-02-24 19:12:16 +02:00