Commit Graph

1821 Commits

Author SHA1 Message Date
tralezab
6a1b807a9c telekinesis now works on the singularity, tesla, and tear in the fabric singularity. tweaks interaction to using tk on supermatter. (#39694)
honestly? i'm a little hurt nobody else did this when @XDTM made the great suggestion. There are a few problems with the tear in the fabric interaction, hoping a maintainer can help out
2018-08-30 20:01:28 +12:00
Emmett Gaines
ca23b93bc3 Standardized vis_contents overlay system + better computer glow (#39973) 2018-08-30 03:22:32 +03:00
81Denton
54be1e1884 Fixes night lighting anti-spam cd, adds APC toggle desc (#39942)
* Fixes night lighting anti-spam cd, adds APC toggle desc

* Silicon examine desc
2018-08-28 18:30:40 +03:00
Garen Crownguard
291583440f screwdriver_act signal (#39877) 2018-08-27 05:56:45 -04:00
Patrick Chieppe
2c8248575a Logging system refactor and improvement (#39521)
* Refactor several log lines to use datum_info_line and atom_loc_line

* Add default return strings from datum_info_line and atom_loc_line

* Add parentheses around atom_loc_line data

* Change more logs to use atom_loc_line

* Add check in atom_loc_line for turfs to avoid calling get_turf on them

* Re-add removed 'at'

* Replace datum_info_line with key_name and atom_loc_line with loc_name

* Refactor logging functions

* Avoid double-logging self-interactions

* Fallback to simple stringification if all else fails in key_name()

* Rewrite muscle spasm logging to use log_message

* Standardize logging of martial arts

* Tweak individual logging panel look

* Fix individual logging panel source

* When I typed || I really meant &&

* Fix Telecomms logging always showing client logs in the panel

* Reverts addition of buggy ownership log to panel

* Remove colon

* Fix missing log_directed_talk tag

* Add warning for missing type in log_direted_talk

* Change warnings to stack_traces

* Add square brackets around fallthrough key_name() case to help parsing

* Allow atom arguments/src in log_*() functions

* Change log_combat call with null argument to log_message

* Change mecha types' log_message() arguments to match atom and mob version

* Add key_name() case for atoms

* Fix resist_grab() unsetting pulledby before log_combat gets a chance to use it

* Fix log_globally logic

* Add logging for hitting objects with items

* Move log_combat() to atoms.dm

* Use utility functions for object stringification in log_combat()

* Use utility functions for object stringification in log_combat()

* Add missing logs for interacting with display cases

* Rewrite log_combat() comment

* Add missing space in log_combat()

* Add logging for hitting grilles barehanded

* Add missing ..()
2018-08-12 21:41:09 +02:00
Tad Hardesty
fe30e9ab03 Fix the power flow control console (#39580) 2018-08-08 21:02:09 +03:00
Time-Green
3f8dbf2b0b Emitter gun mounts (#39367)
* different guns can be inserted into emitters

* fixes portal gun runtime

* You can now switch type through wires

* makes one line more readable

* Fixes being able to grab nodrop guns from emitters
2018-08-01 09:12:45 +02:00
81Denton
48f3b9c8a8 Add pixel offsets to directional APC/air alarm subtypes (#39432)
This PR adds air alarm subtypes with preset dir/pixel offset values and adds
pixel offsets to autoname APCs.

While air alarm/APC pixel offsets get overwritten according to their dir on
New(), they still float in the middle of the room while you're working in the
map editor. Very annoying if you don't have another APC to copy and have to set
the pixel offset manually, just to move it out of the way.
2018-07-29 19:41:50 -07:00
McBawbaggings
63e26aa950 removes redundant code 2018-07-27 13:14:22 +01:00
McBawbaggings
bc7a2fcc5b panel open check and terminal nulling on disconnect 2018-07-27 12:57:32 +01:00
McBawbaggings
508bbc94e9 Fixes SMES terminals and connection issues 2018-07-27 11:06:04 +01:00
vuonojenmustaturska
a1ad24904e Stops various machines from processing needlessly (#39132)
* Stops lighting from processing needlessly

* showers too

* space heaters

* broken/unpowered vending machines

* fucken status displays

* rechargers
2018-07-15 17:01:29 -04:00
ShizCalev
4455164250 Fixes SM-megafauna server crash exploit (#39124) 2018-07-14 14:12:33 +03:00
Denton
ba6192a208 Blacklists machine frames from tesla zaps 2018-07-12 17:00:13 +02:00
AnturK
336f7aa161 Removes grab-buckle shortcuts from power machinery (#39007) 2018-07-10 14:52:30 -04:00
Jordan Brown
96c92d5eb7 Merge pull request #38938 from ninjanomnom/b-b-bump
Converts collide back to bump and fixes double bumping in another way
2018-07-09 14:50:27 -04:00
AnturK
fdf5159085 Fixes tesla admin investigate spam (#38960)
* Fixes tesla admin investigate spam

* begone newline
2018-07-08 19:08:18 -04:00
Gwolfski
c064b6bf7d auto_name and directional APC's (#38871)
adds auto name apc's and directional apc's for easier map making.
2018-07-08 14:10:56 +12:00
ninjanomnom
059da44453 Converts collide back to bump and fixes double bumping in another way
This is in preparation for step_x support as the default behavior for these procs is necessary for proper functionality.

turf/Enter and atom/movable/Move default code got rewritten to replicate default byond functionality with minor changes.
2018-07-07 11:22:29 -04:00
Trevor Serpas
bee0b5b2c3 Afterattack() Signal (#38606)
* adds signal and modifies each call of afterattack to call it's inherited proc

* uses new macro for sendsignal()

* map fuck

* skip precommithooks

* combine and negate 2 ifs
2018-07-07 02:00:25 -04:00
81Denton
64d8089a48 Misc Pubby fixes and tweaks (#38819) 2018-07-01 13:50:15 -07:00
Dennok
4f64081276 deconstructable-TEG (#38656)
Make TEG deconstructable.
2018-07-01 00:59:34 +03:00
ShizCalev
828126a5e2 Fixes emitter runtime (#38796)
fire() was already handled at 199-204
2018-06-30 01:36:49 -07:00
Jordan Brown
26b6fab1fe Merge branch 'pr-38604'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-06-28 14:22:03 -04:00
Nich
40e071e71e Revert "Makes the TEG deconstructable" (#38616)
* Revert "Makes the TEG deconstructable (#38056)"

This reverts commit 67ff23a9a1.

* Revert "Automatic changelog generation for PR #38056 [ci skip]"

This reverts commit 36d5170868.
2018-06-27 20:49:31 +12:00
ShizCalev
f338f09207 Cleanup & corrections 2018-06-20 21:57:17 -04:00
ShizCalev
ff532a4ca4 Spellchecks TGStation 2018-06-19 18:57:44 -04:00
81Denton
ae2ad89295 Cleans up supermatter related varedits (#38540)
* Cleans up supermatter related varedits

* reee

* fakecrystal
2018-06-17 12:32:42 -04:00
Tad Hardesty
2f8f166d88 Merge pull request #38287 from ninjanomnom/signal-define
Use a define to speed up sending signals to datums with no signals
2018-06-14 22:17:01 -07:00
Nich
67ff23a9a1 Makes the TEG deconstructable (#38056)
* Directional icons

* and the code for the circulator icons

* deconstruction and usability of TEG/circulator

makes both deconstructable, unanchorable and able to check for their counterparts. Also improves the TEG so it doesn't need to be facing south, and allows circulators to be on either side

* circuitboard and a pixel_x/y issue

* and adds rotation

* tool_act and circulator defines

* components!

* Update circulator.dm

* Update generator.dm

* Adds disconnectFromGenerator to the circulator's destroy
2018-06-14 11:20:42 +02:00
ShizCalev
e5886b49d7 Cleans up some timer messages (#38446) 2018-06-13 17:12:18 -07:00
ninjanomnom
d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00
oranges
75575f4ae8 Merge pull request #38366 from AutomaticFrenzy/patch/fire-overlay
Replace area-wide fire overlay with reddening the lights
2018-06-12 11:48:47 +12:00
ShizCalev
3abd2b6d27 Cleans up logging 2018-06-09 15:51:58 -04:00
Tad Hardesty
5f650ac7ac Replace area-wide fire overlay with reddening the lights 2018-06-08 14:17:16 -07:00
AnturK
8140d95758 High Gravity - First Draft (#38043)
* High Gravity - First Draft

* Replaces has_gravity defines for areas.

* Default gravity ztrait

* Adds some gravity effect and skips damage at gravity = 2

* Paralysis icon

* Antigravity grenades for some abuse

* Makes the damage treshold a define and makes alert description more accurate.

* Bluh
2018-06-08 15:48:07 +03:00
deathride58
9df53fd8c7 Revert "makes tech point gen from rad collectors less useless" (#38345) 2018-06-08 15:43:46 +03:00
Tlaltecuhtli
90ab05a5b6 makes tech point gen from rad collectors less useless 2018-06-04 21:44:40 +02:00
Jordan Brown
6d0179f57b Merge pull request #38116 from AutomaticFrenzy/patch/anchored
Refactor machinery to default to being anchored
2018-06-01 12:27:38 -04:00
vuonojenmustaturska
c65a99f130 Move NODROP_1, DROPDEL_1, ABSTRACT_1 and NOBLUDGEON_1 to item_flags where they belong (#38171)
* (mostly) nodrop

* (mostly) dropdel

* (mostly) abstract

* nobludgeon

* things i missed

* forgot one

* unintended changes

* energy handcuffs
2018-06-01 11:36:31 +02:00
ShizCalev
c41d6ac965 Standardizes and cleans up some admin messages & logging (#38128)
* Improved logging

* Fixes & emitter logging

* ded
2018-05-30 21:57:06 -07:00
Dennok
befb8f959f collector-examine (#38035)
Now collector on examine shows real produced power and stored power.
Rename last_power to stored_power.
2018-05-29 15:00:38 +02:00
Tad Hardesty
2f212e16a3 Remove redundant anchored=TRUE from machines 2018-05-27 19:23:37 -07:00
steamport
b8aebc0562 Borgs can now toggle rad collectors (#38100) 2018-05-27 14:24:02 -07:00
vuonojenmustaturska
4f210f49f5 Disallow effects from being scanned by the chameleon projector (#38017)
* henk

* iseffect
2018-05-25 14:36:56 +02:00
ShizCalev
60238ecd51 [s] Power monitor tweaks and fixes (#38005)
* Power monitor tweaks and fixes

* Crouching tiger, hidden power monitor

* flavor text
2018-05-24 12:27:49 +03:00
kevinz000
8023d94b20 tesla_act refactors and balancing (#37369)
experimental: Tesla damage has been reworked to structures and objects have been worked with a linear scaling.

experimental: All tesla weapons now no longer need to hit a mob to arc lightning; however, they will no longer stun, and only hit each target once.

tesla_zap vars are now a single bitfield.
2018-05-23 13:40:03 +12:00
cyclowns
49b4aa928e Buffs atmospheric analyzers to show mole count, volume and higher degrees of precision (#37631)
add: Analyzers can now scan all kinds of atmospheric machinery - unary, binary, ternary, quaternary, you name it. This means stuff like gas pumps, gas mixers, vents and so forth can be analyzed.

tweak: Analyzers now show temperature in kelvin as well as celsius.

tweak: Analyzers now show total mole count, volume, and mole count of all gases.

tweak: Analyzers show everything at slightly higher degrees of precision.


More accurate and advanced analyzers have been something that I think atmos and toxins mains have been wanting for a while now (including myself). It's always a pain to have to manually add 273.15 to every celsius temperature, or have to use outside tools or VV (which isnt usable in actual games) to calculate mole count for a gas mixture. Not to mention, the ability to analyze things like volume pumps and gas filters makes it easier to manage larger atmos setups. This is just a QoL change for people in any of those jobs. In fact, most players probably don't even know what the fuck is a mole is so adding mole readout to analyzers is a good way to get people to understand atmospherics better.
2018-05-23 13:38:59 +12:00
kevinz000
3195976a9b Update field_generator.dm (#37968) 2018-05-22 16:22:25 +03:00
vuonojenmustaturska
1eccbcca18 Adds an EMP protection component, allowing ANYTHING to be protected from EMP (#37671)
The component is initialized with any combination of three flags, EMP_PROTECT_SELF protects against effects that target the object itself, EMP_PROTECT_WIRES protects against wires being messed with similar to the NO_EMP_WIRES_1 flag which this PR removes, EMP_PROTECT_CONTENTS protects against things that are inside the object like organs, internal "non-virtual" power cells and the like

This enables (but doesn't introduce) new mechanics such as adding EMP shielding at runtime to any atom, or taking it away.
2018-05-22 11:38:02 +12:00