Commit Graph

30931 Commits

Author SHA1 Message Date
Rykka
43c2f34529 Change return 1 to return TRUE 2020-05-23 05:27:32 -04:00
Rykka
3a7325e09f Remove two things that somehow got added in?
Checking Virgo's files, neither of these sections exist anymore, so I've removed them. They shouldn't break anything, and the nutrition_icon wasn't being used.
2020-05-23 05:21:58 -04:00
Rykka
fd45f289d0 Attempt to fix inconsistent indentation? 2020-05-23 04:56:42 -04:00
Rykka
eec5d912f7 Fix leftover mymob calls and other things 2020-05-23 04:48:47 -04:00
Rykka
fc1d6e741c Ported /tg/ style screen alerts, replacing the hunger icon with them
This adds throw_alert() and /obj/screen/alert, a system that allows you to do custom hud alerts for any variety of things from "You're too cold!" to mecha status indicators for the pilot.

There's quite a few things that actually got replaced; the
fire/oxy/tox/co2 alerts are all now just alerts, as is nutrition. There's also a number of new alerts, such as blindness, highness, legcuffed, buckled, handcuffed, and probably some more I missed; read code/_onclick/hud/alert.dm and see for yourself!

Additionally, a number of tweaks have been done to resisting code, to make it so that there's an indicator when you're buckled or handcuffed, and can just click the alert to start resisting. This includes a refactor that combines the logic for lockers, holders all into one proc, called container_resist().

Also, the health and internals indicator got moved down one tile each. Needed room for the alerts. If we add the oxygen tank action buttons from /tg/ and remove the internals indicator, the health indicator can go back where it was originally.

Alerts, pictured in the top right.
![https://i.imgur.com/H7Bipci.png](https://i.imgur.com/H7Bipci.png)
2020-05-23 04:48:47 -04:00
Atermonera
656cbe79ea Merge pull request #7190 from VOREStation/Arokha/janicart
New janicart sprites/features
2020-05-22 17:37:28 -07:00
Killian
5505a61adf [Project] Vintage Voidsuits (#7152)
* event set wip

* Update polaris.dme

* event suits ui set complete

* all onmob states imported

* comments on suit perks/balance

* minor suit pixel fixes

tails are fiddly yo

* minor taj suit polish

* set up suit-slot permitted item lists

* resolve dmi conflicts
2020-05-22 17:35:58 -07:00
Cerebulon
5100fa1b1c Eris Research/Machine Sprite Port (#7127)
* Eris Research/machine sprites

* lathe animations fixed

* altered decon sprite + new prosfab

* altered decon sprite + new prosfab

* Reduced contrast on tops

* conflicts???
2020-05-22 17:35:01 -07:00
Aronai Sieyes
592feee53f Warn VPN connectors better 2020-05-22 20:12:29 -04:00
Aronai Sieyes
238c204b4a Add safety to GPSes to avoid runtimes 2020-05-22 11:30:02 -04:00
Aronai Sieyes
935eddca36 Add description_info for new janicart features 2020-05-22 10:04:50 -04:00
Atermonera
52799474f8 Fixes runtime in ticker.dm, 411: Cannot read null.mobtype (#7226) 2020-05-21 20:28:28 -07:00
Atermonera
37d66ca0bd Fixes runtime in AI generation (#7224) 2020-05-21 20:27:07 -07:00
lbnesquik
98e8fced74 Increase the amounts of SNACKS and cigarettes in vending machines.
Essentially double the number of items of vice you can purchase from those.
Besides, we don't have vending machine refills in the code unlike TG.

Upsides: No more running out of snacks at the very popular machines.
Downsides: None because it isn't a balance issue.
2020-05-22 03:02:29 +02:00
Aronai Sieyes
79b9e13bb4 Fix rollerbed movement with buckled mobs 2020-05-21 15:34:29 -04:00
Aronai Sieyes
50a5e79d47 Fix sinks washing things at a distance 2020-05-21 15:33:41 -04:00
Aronai Sieyes
414c8e45ea Traps don't get weird with removed limbs 2020-05-21 15:33:01 -04:00
Atermonera
ed4c26b20c Merge pull request #7191 from VOREStation/Arokha/leather
These can't be material stacks if they don't have a material
2020-05-21 11:50:13 -07:00
Atermonera
993faddd42 Merge pull request #7187 from VOREStation/Arokha/greyrail
Add grey railing
2020-05-21 11:43:42 -07:00
Atermonera
cef541a000 Merge pull request #7184 from Greenjoe12345/teshycoats
adds some coats for teshari + fancy clothes
2020-05-21 11:41:10 -07:00
Atermonera
ef50018843 Merge pull request #7183 from Mechoid/SwarmPylonUpkeep
Swarm Balancing Upkeep
2020-05-21 11:40:33 -07:00
Atermonera
e986a1b253 Merge pull request #7182 from VOREStation/Arokha/bikeshed
Add serial comma
2020-05-21 11:39:23 -07:00
Atermonera
de4b959836 Merge pull request #7180 from Mechoid/FixWeeds
Fix weeds
2020-05-21 11:37:16 -07:00
Atermonera
5803837b67 Merge pull request #7179 from VOREStation/Arokha/bloodgen
Make blood generation less garbage
2020-05-21 11:36:08 -07:00
Atermonera
267a563dfc Merge pull request #7178 from VOREStation/pol-mousedrop
Fixes mousedrop shenanigans
2020-05-21 11:35:09 -07:00
Atermonera
c95b82aeb1 Merge pull request #7177 from Rykka-Stormheart/shep-dev-ai-doorknob.exe
Port over AI Opening Doors from Paradise
2020-05-21 11:34:23 -07:00
Atermonera
e7135f9411 Merge pull request #7175 from VOREStation/pol-badarg
Fix bad arg
2020-05-21 11:32:08 -07:00
Atermonera
10870379f1 Merge pull request #7172 from lolman360/hyBRO-tools
Hybrid tools buffs.
2020-05-21 11:31:48 -07:00
Atermonera
a36f2b824c Merge pull request #7171 from VOREStation/pol-itemtips
Add inventory item tooltips
2020-05-21 11:29:27 -07:00
Aronai Sieyes
30613fff5c Optimize what starts in SSobj (#7155)
* Make intercom power change stateful

* Clean up air tank processing and initialize

* Optimize flashlight processing

* Optimize suit cooler processing

* Optimize geiger counter processing

* Optimize lighting processing

* Only process rigs on a person

* One more rig cleanup
2020-05-21 11:28:27 -07:00
Atermonera
d2d67d65ce Merge pull request #7153 from Rykka-Stormheart/shep-dev-photocopier-improvements
Photocopier improvements and NanoUI fixes!
2020-05-21 11:22:37 -07:00
Novacat
8a2baa1e65 Updates Solgov/Sifguard uniforms (#7138)
* Adds Rank and Dept Slots

Since BYOND increased the maximum of bitwise operations, it is possible to add a few new slots. I decided to port Bay's Rank and Dept slots, as well as remove the now defunct Torso slot.

* Adds some Terran uniforms

* Ah screw it I am overhauling this

* Renames marine icon

* adds crude clothing sprite for jumpers

* Fixes previous commit

* Renames all army stuff to marines

* Fixes an oversight

* Purges extraneous icons

* Removes duplicate sprites
2020-05-21 11:19:46 -07:00
Atermonera
3fbc72af46 Merge pull request #7206 from GeneriedJenelle/patch-1
Allows you to toggle off Byond/Discord/URLs in OOC
2020-05-21 11:19:04 -07:00
KasparoVy
213b6bba25 Streamline (Facial) Hair & Marking Character Customization
Adds the ability to shift to the previous or next facial hair style. The buttons are behind the style because this way you don't have to move your mouse when the style changes.

If you click forward while on the last style, it'll shift to the first one.
If you click backward while on the first style, it'll shift to the last one.

For markings, you can now pick a marking and inject it infront of another so long as it isn't the one you picked, or the one directly behind in the list order.
2020-05-21 03:49:41 -04:00
Atermonera
fb70d2781e Fixes runtime in ravenous_macrophage.dm, line 26: Cannot read null.mind (#7196) 2020-05-19 18:53:54 -07:00
Atermonera
46b6bd155e Edit Appearance and Change Appearance update icon sex (#7193) 2020-05-19 18:53:30 -07:00
Atermonera
74d6d193ae Fixes runtime in antagonist_helpers.dm, line 15: Cannot read null.mob_type (#7195) 2020-05-19 18:52:06 -07:00
Leshana
d0b78a1a77 Improvements from refactoring Moved() movement code. 2020-05-19 20:24:39 -04:00
Leshana
7e7b5b6e31 Fix gas thrusters turning off when trying to burn.
They expected use_power_oneoff to return the amount of power that *couldn't* be used, but they return the amount of power that *could*
2020-05-19 20:18:58 -04:00
Leshana
ea5d868803 Address static power review suggestions. 2020-05-19 20:18:38 -04:00
Leshana
480b01de31 Add VV command for debugging area static power. 2020-05-19 20:18:00 -04:00
Leshana
ccef6cc908 Implements "static" area machinery power usage
- Instead of using auto_use_power to re-tally up machinery's power usage every cycle, track the steady "static" load separately from the transient "oneoff" usage.  Machines then only need to inform the area when they use oneoff power or *change* their steady usage.
- Remove auto_use_power and stop SSmachines from calling it.
- Add vars to track "static" usage for each of the three power channels to /area
- Rename the existing three vars to "oneoff" so its clear what they mean (and to catch people accidentally updating them directly)
- Update area power procs and APCs to use the new variables.
- Rename /area/proc/use_power() to use_power_oneoff() to make it clear what it is doing.
- Deprecate /obj/machinery/use_power() in favor of use_power_oneoff() but don't delete yet.  Can transition gradually.
- Add logic to the update_power procs on machines to calculate the deltas and update static area power whenever their usage changes.
- Add logic to machines to update area power when they are created, destroyed, or move.
- Moved /obj/machinery procs related to area power usage into machinery_power.dm to make them easier to find.
- Added or updated comments in several places to explain what is going on and how to use it.
2020-05-19 20:17:48 -04:00
Aronai Sieyes
c0f1feb351 Move openspace object updating to event listeners 2020-05-19 16:29:43 -04:00
Aronai Sieyes
4a11a86399 Remove stat() sleeping 2020-05-19 16:28:17 -04:00
GeneriedJenelle
207b8f6754 Update ooc.dm 2020-05-19 16:34:33 +01:00
GeneriedJenelle
fe503a1279 Allows you to toggle off Byond/Discord/URLs in OOC
Just toggleable OOC options that you can enable or disable at any time. Might be useful if you guys get hit.
2020-05-19 16:29:18 +01:00
Aronai Sieyes
ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Aronai Sieyes
b8918c9d46 Remove stray VS edit 2020-05-19 10:48:32 -04:00
Aronai Sieyes
1eb783a81a Refactor spacemoves 2020-05-19 10:40:40 -04:00
Aronai Sieyes
99db51885c Just remove on_loc_moved entirely 2020-05-19 10:39:58 -04:00