Commit Graph

16602 Commits

Author SHA1 Message Date
Aronai Sieyes
f2314c32bb Merge pull request #7405 from VOREStation/vplk-static-machinery-power
Static Machinery Power
2020-04-24 21:06:52 -04:00
Aronai Sieyes
b3d1a103ac Fix human charging 2020-04-24 12:38:45 -04:00
Leshana
e36410de25 Address static power review suggestions. 2020-04-23 23:00:23 -04:00
Novacat
de5b875043 Merge pull request #7351 from VOREStation/upstream-merge-6956
[MIRROR] Saycode Overhaul -- Multilingualism
2020-04-23 22:48:51 -04:00
ShadowLarkens
1d655268a4 Fixed merge conflicts and errors, everything seems to work 2020-04-23 18:25:25 -07:00
Leshana
ba7da5b9b8 Add VV command for debugging area static power. 2020-04-23 19:04:34 -04:00
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
19d1979d63 Remove extra ..() from /turf/Entered 2020-04-23 18:48:52 -04:00
Aronai Sieyes
a62a2e4072 WAH 2020-04-23 18:15:55 -04:00
Aronai Sieyes
897120f895 Merge pull request #7402 from VOREStation/aro-radialtrans
Add radial menu to translocator
2020-04-23 17:47:34 -04:00
Aronai Sieyes
290cc1fdf3 Merge pull request #7401 from VOREStation/aro-rcdind
Port /tg/ RCDs, Inducers
2020-04-23 17:47:29 -04:00
Aronai Sieyes
df0dc34311 Merge pull request #7396 from Holdelta/Dogborg-animations-+-Service-Hounds-ported-from-CitadelRP
Porting over Service Hounds and k92 animations and other missing details.
2020-04-23 17:47:13 -04:00
Aronai Sieyes
f16560de64 Merge pull request #7395 from VOREStation/vplk-update-power-usage
More machinery power update_var() proc usage
2020-04-23 17:46:55 -04:00
Aronai Sieyes
fb23e6f64f Merge pull request #7384 from VOREStation/vplk-vv-jump-to
VV Jump/Move To Coordinate
2020-04-23 17:46:36 -04:00
Aronai Sieyes
fcfd4bf889 Add radial menu to translocator 2020-04-23 17:32:12 -04:00
Aronai Sieyes
45fd68ca88 Tweak fakecell qdel time to be higher just in case 2020-04-23 16:03:28 -04:00
Aronai Sieyes
2ea192ab87 Port/improve /tg/ Inducer 2020-04-23 15:57:17 -04:00
Aronai Sieyes
55e177a076 Port/improve /tg/ RCD 2020-04-23 15:34:32 -04:00
Holdelta
a60e3917ba Porting over Service Hounds and k92 animations 2020-04-22 17:51:40 -07:00
Leshana
f80c320c0f VS machinery power update procs. 2020-04-22 20:47:16 -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
Leshana
93fb3f7865 Call update procs instead of directly setting idle_power_usage or active_power_usage.
- Adds the update_idle_power_usage() and update_active_power_usage() procs for the respective vars.
- Switches all places modifying those vars directly to call the procs instead.
- This will let us react to the change appropriately, paving the way towards static area power.
- Adds update_power_channel proc for the sake of completeness, but no machines actually modify it so far.
2020-04-22 20:47:15 -04:00
Novacat
680934de9c Merge pull request #7391 from Novacat/nova-basicfixes
Adds a bunch of adminbus backpacks
2020-04-22 19:44:38 -04:00
Unknown
d6ecbda3d4 One too many vars 2020-04-22 18:08:05 -04:00
Unknown
9ab813c8e3 Adds a bunch of adminbus backpacks 2020-04-22 17:53:19 -04:00
Novacat
d7115ab14c Merge pull request #7388 from VOREStation/upstream-merge-7015
[MIRROR] Airlock Description Error
2020-04-22 17:49:38 -04:00
Atermonera
bc7ad5ac7a Merge pull request #7015 from Shadow-Quill/AirlockMessage
Airlock Description Error
2020-04-22 15:51:39 -04:00
Leshana
f3f821cb8f Fix Sundry Runtime Errors XII (#7007)
* Fix Runtime in atoms_movable.dm,597: list index out of bounds

* Fix Runtime in floor_attackby.dm,118: Cannot execute 0.is crowbar().

* Fix null values being present in mob_list.

* Another fix for Runtime in update_icons.dm,254: Cannot execute null.GetUIState().

- This time lets just ensure dna is instantiated no matter who is calling dress_preview_mob().

* Fix Runtime in suit_storage_unit.dm,792: Cannot execute null.set machine().

- Also fixed other mixups of usr vs. user that I found in the same file.

* Fixes Runtime in find_spawning.dm,688: Cannot read null.origin_tech

- if this else if block is reached, new_item must not exist, so we obviously can't set origin_tech on it. Examination of the code seems to suggest the original author intended that for any "talking" items to have arcane and precursor tech; since src is now being made talking, src should get the tech.

* Fix talking artifacts downgrading arcane/precursor tech

- Bump up the values by one for talking artifact items instead of overwriting whatever the value was.
2020-04-22 15:45:32 -04:00
Leshana
323f20cfec Adds "Move" command to atom/movable's VV dropdown that lets you jump it to a coordinate. 2020-04-22 11:43:18 -04:00
Leshana
a94ef33d1c Add current coordinates and link to admin jump on VV screen for atoms. 2020-04-22 11:43:03 -04:00
Novacat
a7190b867a Merge pull request #7371 from VOREStation/aro-minesafety
Fix seismic charges and razor drone deployers
2020-04-21 22:23:02 -04:00
Arokha Sieyes
f396bb78ad Fix seismic charges and razor drone deployers 2020-04-21 22:03:44 -04:00
Aronai Sieyes
c242028f17 Merge pull request #7366 from VOREStation/aro-frienbs
Add friends around the station
2020-04-21 16:37:44 -04:00
Novacat
504fc8a049 Merge pull request #7365 from AmayaWah/secretship
adds lore stuff.
2020-04-21 14:35:50 -04:00
Aronai Sieyes
8327864b05 Add cardboard cutouts 2020-04-21 13:40:08 -04:00
Amaya
e9eb2a9684 adds lore stuff. 2020-04-21 14:13:17 +02:00
Arokha Sieyes
f0554fa02e Fix the 'none transferred' round end message 2020-04-20 20:47:07 -04:00
Aronai Sieyes
a67e2e1791 Merge pull request #7356 from VOREStation/aro-tanks
Tank sprites, foam
2020-04-20 19:48:18 -04:00
Aronai Sieyes
ace05634f5 Merge pull request #7354 from VOREStation/aro-tweaks
Smol Fixes
2020-04-20 19:39:47 -04:00
Aronai Sieyes
5397f9927b Mech FOAAAAM 2020-04-20 18:06:34 -04:00
Aronai Sieyes
a2e6467936 FOAAAAAAAM 2020-04-20 17:16:25 -04:00
Aronai Sieyes
c90d4f612c Slow down meteors 3x to give pointdef a chance
This is the speed Bay uses and the pointdef values are from there
2020-04-20 15:09:19 -04:00
Aronai Sieyes
43a198ea4c Make pointdef blink red for a moment when they fail to shoot 2020-04-20 15:08:59 -04:00
Aronai Sieyes
88154f0374 Adds rutile (titanium ore) and other materials 2020-04-20 12:07:45 -04:00
ShadowLarkens
139d5cd3c3 Saycode Overhaul -- Multilingualism 2020-04-20 04:12:53 -04:00
Atermonera
0d80f24a5f Replaces toy waterflower with spraybottle waterflower (#6997) 2020-04-20 03:25:38 -04:00
Aronai Sieyes
5f208249cb Replace old binocular sprite (#7329)
* Replace old binocular sprite

* Missing VS edit tag
2020-04-19 23:46:35 -04:00
Novacat
840215cf59 Merge pull request #7344 from VOREStation/aro-plush
Ports some plushies from Cit
2020-04-19 23:44:56 -04:00
Novacat
3cee4a27d3 Merge pull request #7319 from VOREStation/aro-tcommssprites
Port /tg/ telecomms sprites
2020-04-19 23:44:05 -04:00
Novacat
26e6b725be Merge pull request #7336 from VOREStation/aro-bloodbank
Blood vendor sprite
2020-04-19 23:43:31 -04:00