Commit Graph

142 Commits

Author SHA1 Message Date
Shdorsh df0f4bd492 Turning circuits literate (#39223)
Adds A text replacer circuit.
Who knows, maybe one day we will be able to have a real discussion with a circuit?
2018-08-01 09:36:46 +12:00
Hate9 1463784de5 Adds tiny circuits (#39123)
* Added tiny circuits

* fixed typo

* Update assemblies.dm

* Rename example - Copy.yml to example.yml

* Update circuit.dm

* Delete tinycircuits.yml
2018-08-01 09:27:37 +12:00
Hate9 c5ce562b4e Adds Pulse Multiplexer Circuits (#39417)
* Adds Pulse Multiplexer Circuits

* I have no idea how that happened...

* Fixed extended description
2018-07-29 10:17:11 -04:00
Garen Crownguard f8ee00e035 Circuitry Nerfs (#39376)
* nerfs cometh

* forgot something

* move astar to using built in id
2018-07-29 01:13:04 +03:00
Tlaltecuhtli 2f6f52a2a3 makes integrated circuits less window spammy (#39168)
putting a cell and other not intended actions dont open the circuit window
2018-07-18 12:36:04 -04:00
AnturK b9acb24057 Fixes circuit throwing from grabber (#39191) 2018-07-18 12:29:09 -04:00
Shdorsh da26691718 Add UI to circuit printers (#39148)
The ugly white with text looks kinda ugly, so let's add some css to it and make
it borderline bearable for eyes.

Because the interface is kinda hard to look at as it is now and it can be
confusing to get into circuitry that way.
2018-07-16 23:43:30 -07:00
kevinz000 3b6a8e5066 Update time.dm (#39140) 2018-07-15 22:03:11 -04:00
Shdorsh a97233095c Added max and min circuit (#39013)
* Added max and min circuit

This now has a max and min circuit which checks all values and returns the highest/lowest of them. Tested and working.

* update: saving lines of code

The more compact min max. you may as well want to try the same with addition and substraction.

* Reformated code and improved proc

As you said, added early continue, put the vars low and changed the logic on the result.

* Update arithmetic.dm
2018-07-13 18:15:14 -04:00
1fbff5f83b23d39d38b1dfcb4cac8d9b d1ed16ff7c Removes underscore from name of greater than or equal circuit (#38976)
* Update logic.dm

* Adds misnamed circuit back for backwards compatibility 

Screw web editor on phone

* Makes indentation consistent

* okay, fine
2018-07-10 02:43:55 -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
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
Thunder12345 ebdf06e5c7 Adds a colour picker component for circuits (#38804)
* added color picker IC component

* added sprite for color picker
2018-07-01 03:45:09 +03:00
BlueNothing 81ea04a662 Grabber and Cavity Implant Interaction Nerf (#38748)
* Shrinks the internal cavity, allowing only singletanks, small, and smaller items to be implanted in the chest (heavily nerfs 'chestgun' circuits). Additionally, prevents circuits from grabbing or throwing in storage implants. As part of this change, grabbers can now hold items up to assembly size (shouldn't be problematic, since they cannot hold TTVs or two-handed weapons, and can no longer function inside of a storage implant).

* Un-nerfs cavity implants, while preventing medium circuits from functioning as storage implants or chestguns.

A later PR soon should add logging for throwers and examine text for implanted small weapon circuits.
2018-06-29 19:19:06 +03: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
Dax Dupont da9f93e20c Allows admins to scan circuits + more logging (#38762)
* Allows admins to scan circuits

* Adds logging to screens that actually output to nearby

* incase they manually spam it

* Throw logs
2018-06-28 21:18:07 +03:00
Dax Dupont 7e9ad626e9 [READY] General Circuit Improvements (#38742)
* [WIP] General circuit improvements

* Fix

* s

* Adds sound logging

* oops

* mob user
2018-06-27 17:00:55 +03:00
ShizCalev 89752866aa Merge branch 'master' into spellcheck 2018-06-26 16:43:41 -04:00
BlueNothing beb119ff0b Preventing grabbers from holding other circuits is a simple (one-line) fix that strongly nerfs so-called 'uberthrower' circuits, dropping their damage output drastically. Uberthrower circuits are one of the most famous unintended uses of circuits. (#38621) 2018-06-21 03:41:51 -04:00
1fbff5f83b23d39d38b1dfcb4cac8d9b 1572e4f122 Adds atmos circuit (#38111)
* Adds gas circuits

* Integrated connector

* Filters, tanks, some balancing

* fixed fucky wucky in tank size

* maybe they'll appreciate you more one day

* this code was written by a gibbon
2018-06-20 13:38:23 -07:00
ShizCalev ff532a4ca4 Spellchecks TGStation 2018-06-19 18:57:44 -04:00
JStheguy 4ca07f7cf2 [READY] Helps data disks stop being unemployed (#38319)
* data cards actually have a function now

* Adds data cards to the IC printer for real rea

* more cards, less shitty code

* how the fuck did I miss that

adds a missing ..()

* wait wrong use of ..() fuck
2018-06-19 16:22:59 +02:00
ShizCalev 6d558b6bcf puts a / at the start of some obj instances (#38545) 2018-06-17 19:10:06 +03:00
Dax Dupont 3aa97fe725 Removes circuits 2018-06-16 21:15:47 +02:00
theo2003 5bdf30b3ff Players who edited an integrated circuit assembly can scan it after dying. 2018-06-14 22:37:35 +03:00
ShizCalev 3abd2b6d27 Cleans up logging 2018-06-09 15:51:58 -04:00
1fbff5f83b23d39d38b1dfcb4cac8d9b 75b257e824 Fix recycling the same assembly multiple times (#38275) 2018-06-04 22:47:32 -07:00
theo2003 eee1923d12 Fixed hydroponics tray weed light not turning off when weeds are removed by an integrated circuits device. (#38246) 2018-06-03 13:59:09 -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
Trevor Serpas 04a35c4f13 Some circuitry fixes and qol (#37755)
* some circuit fixes

I removed the ability for you to save whether or not an assembly is open since you always want the assebly to be open when its printed so you can put a battery in. I fixed the other three issues because they were bugs.

* tells user when they use a sensor or scanner

* oops

* revert last commit

* usr -> user
2018-05-24 07:24:03 +02: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
1fbff5f83b23d39d38b1dfcb4cac8d9b 340154d184 Fixes being unable to set circuit description 2018-05-21 20:46:14 +02:00
r-esistor 7be20350ce Circuit Labels (sorta understanding git edition) (#37633)
* Customizable circuit names/descriptions

* Circuit descriptions are now copied

* Prevents code injection through the desc
2018-05-21 09:10:35 +02:00
Alexch2 0136483fa3 Improves descriptions of Integrated Circuits (#37678)
* Fixes a ton of typos, inaccuracies, poor grammar, and confusing weirdnesses from the descriptions of almost every integrated circuit.
For example, the reagent filter:

Before:
"This is a filter which will move liquids from the source to the target. It will move all reagents, except those in the unwanted list, given the fourth pin if amount value is positive, or it will move only desired reagents if amount is negative. The third pin determines how much reagent is moved per pulse, between 0 and 50. Amount is given for each separate reagent."

After:
This is a filter which will move liquids from the source to its target.
If the amount in the fourth pin is positive, it will move all reagents except those in the unwanted list.
If the amount in the fourth pin is negative, it will only move the reagents in the wanted list.
The third pin determines how many reagents are moved per pulse, between 0 and 50. Amount is given for each separate reagent."

* fixed, ready

* Actually fixed and ready.

* Reverts the name of the coordinate pathfinder circuit back to "coordinte"

* Fixes a few missed, or poorly rewritten parts.

* Update smart.dm
2018-05-20 00:11:36 +02:00
Trevor Serpas 790a773ade Circuit gun inhands and grabber fix (#37836)
* Grabbers update when a thrower uses its inventory and throwers and gun circuits need to use the gun assembly

* visible_messages
2018-05-17 18:26:08 +03:00
PKPenguin321 a155f8973e Integrated Circuits: String parsing update (#37571)
* circuit tweaks
two new variants of concatenators: small and large. each have corresponding complexity and inputs
find text circuit now has two pulse outs, one for if it finds the text, one for if it does not. may break some old circuits but should be easy to fix

* readds after search pulse out

* adds length circuit for strings

* null delimiter in exploder returns list of all chars

* adds indexer circuit

* actual null check

* better descs

* addresses review

removed unneeded var

* moves concatenator pin setup to initialize
2018-05-09 07:44:41 +02:00
ShizCalev b4d11c6eab Shows assemblies some love. ♥ (#37632)
* Shows assemblies some love.

* TRUE

* More cleanup and fixes

* feedback

* does needful

* true
2018-05-06 15:05:37 +03:00
Fox McCloud 76cb1cf060 Fixes Several Machines Materials Insertion (#37432)
* Fixes Several Machines Materials Insertion

* attackby disable and show on examine fix
2018-05-04 11:40:46 +02:00
Trevor Serpas a79ba6e889 constant chip fix (#37636)
removes extra pins from constant chip
2018-05-03 20:12:26 -04:00
Jordan Brown 0ebc0d81b2 Merge pull request #37510 from JJRcop/throw_myself
Circuits can't throw themselves
2018-04-30 14:05:01 -04:00
kevinz000 dc60377444 Fixes circuits being able to detect ghosts and fix pinless guns (#37437)
* Circuit exploit fixes

* Update input.dm
2018-04-30 12:56:18 +03:00
Evsey Antonovich c031e666b3 IC weapons only works on turfs (#37496) 2018-04-30 02:32:34 -04:00
Jonathan (JJRcop) 9f78ee3ed1 Circuits can't throw themselves 2018-04-27 23:51:06 -04:00
kevinz000 19ce08f157 More integrated circuits and NTNET upgrade! (#37165)
rscadd: Circuit ntnet components buffed. Added a new low level ntnet component that can send custom data instead of just the two plaintext and one passkey format, which things will use by default. Ntnet now uses a list for their data instead of three variables. they also have lowered complexity for the now weakened normal network component, and has lower cooldowns.
2018-04-28 13:23:44 +12:00
Nich 42f9248333 you can now print tools using the integrated circuit printer again (#37445)
* you can now print tools again

* I'm severely mentally retarded

* Update printer.dm
2018-04-27 06:16:57 -04:00
Nich a397688657 Fixes a thing (#37427) 2018-04-25 21:28:27 +03:00
Jordan Brown 0a28a839cf Merge pull request #37364 from Jalleo/Inducer_change
Removes the ability for inducers and circuits to charge energy weapons.
2018-04-23 09:49:03 -04:00
Fox McCloud 057aa31cda Kills off /obj/item/device (#37297)
* Kills off /obj/item/device

* whoops

* whoops

* Fix
2018-04-23 15:00:23 +02:00
blah 0042b12379 What I get for commiting without doing a build check first 2018-04-22 14:09:09 +01:00