Commit Graph

1799 Commits

Author SHA1 Message Date
Leshana 763753648b 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-04-23 19:04:34 -04:00
Leshana 9bd2347966 Fix remaining code that directly modified use_power to call update_use_power. 2020-04-22 20:47:15 -04:00
Aronai Sieyes 88154f0374 Adds rutile (titanium ore) and other materials 2020-04-20 12:07:45 -04:00
Aronai Sieyes bdc75e654f Adds 2 new bedsheets 2020-04-18 23:16:00 -04:00
H0lySquirr3l 5bc18c4c96 Replace ring in holo boxing ring with actual ring. (#7209)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete fitness_vr.dmi

* Add files via upload
2020-04-13 09:33:22 -04:00
Atermonera 5c03273ce8 Merge pull request #6884 from Neerti/event_system_fix
Rewrites the Rewritten Event System
2020-04-06 16:23:39 -04:00
Atermonera d7a9416bb8 Clean up various things 2020-04-03 03:15:06 -04:00
Atermonera cbb40196fc Machinery: Always use update_use_power() 2020-03-23 23:21:10 -04:00
Atermonera 8d2b41ad2c Big Bastard Incidental Sound Port 2020-03-15 14:39:19 -04:00
Unknown be8c05f2c7 Removes redundancy 2020-03-10 10:10:33 -04:00
Atermonera 51d74bc25b Merge pull request #6793 from Cerebulon/emlocksprite
Fixes shuttle emergency locker sprites
2020-03-08 16:22:34 -04:00
Aronai Sieyes 632d3a8dc5 Merge pull request #6773 from VOREStation/aro-blufo
Random stuff for map use/events
2020-03-06 13:14:37 -05:00
Arokha Sieyes 3f782d1ea2 Sprites 'n stuff 2020-03-06 13:03:53 -05:00
Aronai Sieyes 7e848e90fc Merge pull request #6772 from VOREStation/aro-blufo
Various minor things
2020-03-06 09:58:00 -05:00
Aronai Sieyes 1255e1be77 Hybrid shuttle 2020-03-05 23:30:07 -05:00
Aronai Sieyes c9f7465ee2 Touch up bed/chair/stool icon updating 2020-03-05 23:30:07 -05:00
Novacat 6e23c5f45a Merge pull request #6709 from VOREStation/aro-mistake
Fix way too many vorestation edits
2020-03-05 19:03:58 -05:00
Heroman3003 dd8f1f6d2b Fixes sofa not refunding any material (#6784) 2020-03-03 15:54:54 -05:00
Heroman 743ae581af Removes _vr only sofa definitions 2020-03-02 13:46:37 +10:00
Novacat 54c792ba9b Merge pull request #6648 from VOREStation/aro-medstand
Replace IV drips with medical stands
2020-03-01 10:54:45 -05:00
Novacat d98cd87585 Merge pull request #6646 from VOREStation/aro-salv
Add salvageable machines
2020-03-01 10:54:21 -05:00
Novacat ed04dbf730 Merge pull request #6639 from VOREStation/aro-rollers
New rollerbed sprites
2020-03-01 10:53:21 -05:00
Novacat d0b92789be Merge pull request #6628 from VOREStation/aro-chairs
Add a few new chair types
2020-03-01 10:52:54 -05:00
Novacat b44f8e0911 Merge pull request #6592 from VOREStation/vchat-rebase
VChat: Redone chat output in Vue.js
2020-03-01 10:51:29 -05:00
Aronai Sieyes f475ecbdc6 Replace a bunch of VOREStation edits that can be sent to Polaris 2020-02-29 19:45:58 -05:00
Aronai Sieyes db04d43f2c Made the new chairs steelsheet constructable 2020-02-29 13:02:43 -05:00
Aronai Sieyes 0d7b1d7240 Fix bug with setting icon for breather 2020-02-29 12:00:48 -05:00
Aronai Sieyes e5b9cb57de Add additional chairs 2020-02-29 11:46:11 -05:00
Atermonera 695ea645fe Merge pull request #6740 from Heroman3003/orangeyellow
Adds orange and yellow cloth materials
2020-02-26 20:26:40 -05:00
Novacat 650007f9e7 Merge pull request #6672 from VOREStation/upstream-merge-6729
[MIRROR] Fix and tweak station Railguns.
2020-02-24 20:26:32 -05:00
Atermonera 55704e0760 Merge pull request #6729 from Mechoid/RailgunFixxo
Fix and tweak station Railguns.
2020-02-24 16:15:04 -05:00
Atermonera b26daf5fb1 Hide items in plant pots and plushies 2020-02-24 16:01:08 -05:00
Heroman 726664f6f0 Makes all sofa colors/subtypes makeable 2020-02-24 18:19:56 +10:00
Atermonera 11eed81b92 Ports precision placement of items 2020-02-22 02:35:41 -05:00
Arokha Sieyes 0cb233514a Replace IV Drips with medical stands 2020-02-22 00:51:49 -05:00
Aronai Sieyes 5a75891c77 Salvageable machines 2020-02-21 16:54:41 -05:00
Aronai Sieyes 11edb0febe New rollerbed sprites
Less eye-melting blue
2020-02-21 11:34:09 -05:00
Arokha Sieyes 1d9e5be122 Replace \image macro with bicon() 2020-02-19 19:55:01 -05:00
Arokha Sieyes d5b820fc58 VChat: Redone chat output in Vue.js
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2020-02-19 19:55:01 -05:00
Unknown a5f3776a91 adds _vr to trash pile 2020-02-17 00:01:50 -05:00
Unknown b5f337a3b0 Replaces Tramadol maint pills with Paracetamol 2020-02-16 10:54:55 -05:00
Arokha Sieyes 47ccc655db Deprecate the stream operator 2020-02-12 19:38:43 -05:00
Novacat 22c0fd363f Update bed.dm 2020-02-08 15:56:26 -05:00
Meghan-Rossi 3935aa3e47 fix conflict causing compile error 2020-02-08 19:32:03 +00:00
Atermonera c9e3257d17 2020 Civilian Wing Overhaul 2020-02-08 13:56:05 -05:00
Atermonera 80ec8ac200 Merge pull request #6656 from Amunak/countable-lists
Prettifies closet contents list with (newly added) countable variant of english_list
2020-02-01 18:01:23 -05:00
Atermonera 9b93339969 Moar descriptions for things 2020-01-20 22:50:39 -05:00
Unknown d3aa3bed3c Removes gnomes
https://cdn.discordapp.com/attachments/173832207784214528/666485419747180554/7f1b99fdd795299aabd6ddef202ecf98.png

This is why we cannot have nice things.
2020-01-13 22:49:15 -05:00
Heroman f032c80486 Also buffs vore laws chance for lost voreborgs 2020-01-13 17:55:00 +10:00
Novacat c7b689246d Merge pull request #6423 from drexample/WE-ALWAYS-DELIVER
DO YOU NEED A SLICE OF JOY IN YOUR LIFE?
2020-01-12 22:14:17 -05:00