Commit Graph

58 Commits

Author SHA1 Message Date
Leshana
5847319443 Update every initialize() proc to return an initialize hint.
* Yes, all of them.
* Also did a few corrections to redundant New() and broken Destroy() along the way
* Renamed the turf_initializer.initialize() proc to InitializeTurf to avoid confusion.
* Subsumed /area/proc/initialize into /atom/proc/initialize() - Made /area's LateInitialize to get same behavior as before.
2018-02-05 15:50:13 -05:00
Cameron653
898871e680 Update reagents.dm 2018-01-07 06:05:33 -05:00
Leshana
064f2fe9ca Additional types which need Destroy to return qdel hints (and other Destroy fixes) 2017-12-30 16:02:27 -05:00
Belsima
74aeaaa7ea Fixes circuit icon states. 2017-12-02 09:09:19 -05:00
Neerti
264372ff1a Sanitizes Circuit Inputs 2017-11-17 18:38:48 -05:00
Anewbe
1b6a4597e7 Merge pull request #4246 from MarinaGryphon/IE-Fixes
Integrated Electronics fixes.
2017-11-09 21:22:35 -06:00
Marina Gryphon
8b311ac237 Reverted some changes, apparently it was already fixed. 2017-11-08 09:28:29 -06:00
Marina Gryphon
5af691093e Re-fixed an issue with power transmitters. 2017-11-08 09:22:03 -06:00
Marina Gryphon
091c58ec68 Fixed some IE bugs. 2017-11-08 08:33:07 -06:00
arsserpentarium
1a1c10c3f8 circuitry upgrade pt 2 (#4213)
* 1.All reagent containers are acidproof now and have pin with self reference(to make it more easy to link them)
2.reagent scaner. It's like a beaker. But can give a list of contained reagents.
3.reagent filter. Pump,that can transfer only desired reagents,or all,except unwanted.
4.fuel cell.Converts chemicals to energy.
5.2 pins memory circuit. Sometimes it is very useful.
6.pulse demultiplexers. A lot like regular demultiplexer. But it doesn't distributes data. Just sends pulse to given activator pin.
7.list operations. choose element by index. write element by index. delete element by index search desired element in list. lenght of list.
8.strings: find element in string. explode string by delimeter.

* athsmos sensors back.

* fix
2017-11-07 22:54:56 -06:00
Dunkhan
c6c015ebbb Added full stops to description text 2017-10-29 20:08:44 +01:00
Dunkhan
ef40c806be Removed trailing list commas 2017-10-29 17:34:21 +01:00
Dunkhan
151e2b8d02 Fixed spelling and capitalisation errors 2017-10-29 15:07:18 +01:00
Dunkhan
2dbbd59888 Added a set of atmospheric analysis sensors to the integrated electronics module 2017-10-29 14:46:14 +01:00
arsserpentarium
0d0574ee3a First part of circuitry update. (#4143)
* 1.Fixed pathfinder circuit …
2.Hypo injector and pump now can be inversed if you nive negative amount.
3.Hypo injector and smoke generator has output pin with amount of stored liquid now.Also they have pulse out pins ,which will be activated after their work.
4.All reagent containers are acidproof now and have pin with self reference(to make it more easy to link them)
5.advanced locator. Like adjastent, but with adjustable up to 8 tiles radius and possibility to find items by name and desctiption.
6.drone capacity and complexity was raised.
7.Now you can wrench large assembly into place.
8.Adjastent locator have 2 pulse out pins. One will be activated if it find something, And one if doesn't
9.reagent scaner. It's like a beaker. But can give a list of contained reagents.
10.reagent filter. Pump,that can transfer only desired reagents,or all,except unwanted.
11.examiner. returns name,description ,relative coordiinates,distance,amount of reagents
12. Internal and external battery sensers. A lot like power monitor in transmission circuit. But without transmission. First returns state of assembly's own battety. Second returns state of any battery in view.
13.encoder/decoder of refs.To send refs throught EPV2
14.strings: find element in string. explode string by delimeter.

* all issues fixed
2017-10-25 12:54:50 -05:00
Anewbe
a66072fcf2 Shifts around a few Tech Levels. 2017-09-23 12:54:04 -05:00
MagmaRam
a3a003fe5b Tesla relays will no longer draw power from the local APC when their device's cell is full. 2017-08-20 17:38:39 -05:00
Cyantime
42ac4a8e27 Removes debug message from list pin. 2017-08-17 18:24:20 -04:00
Cyantime
05e9eb7598 Removes debug messages from color pin. 2017-08-17 18:22:12 -04:00
Neerti
2e52bea400 Adds the printer I forgot 2017-08-01 16:18:58 -04:00
Neerti
b2f5b758f1 Hopefully fixes merge conflicts. 2017-08-01 16:18:43 -04:00
Neerti
36b0f5fa99 Even More Circuit Changes
See PR for changes.
2017-08-01 16:13:27 -04:00
Neerti
30005af123 Ports TG Medibot Sounds + More
Medibots now have audio sounds files to play when they talk, which I find to be both practical and makes the bots somewhat creepy and/or endearing.
Adjusts some code so that all the new sound files can play when applicable.
Adjusts small pieces of code to make slightly prettier.
Re-Adds the Mysterious Medibot, International Medibot of mystery.  Admin-spawn only.
Emagged medibots will do the beepsky rant 25% of the time.
Bonus: Adds integrated circuit that can play all the new medibot voices.
2017-07-23 17:36:45 -04:00
LorenLuke
14ad0d70e3 See changelog. 2017-07-16 02:58:52 -07:00
Leshana
4b46703d9d A plethora of Destroy() fixes - return qdel hints and clean stuff up. 2017-06-14 01:07:35 -04:00
Neerti
1d5afefea9 Fixes Logic Circuits
They should now function properly.
2017-05-06 16:35:06 -04:00
Neerti
2c25fcec02 Fixes Circuit Bugs & QoL chances 2017-04-23 09:51:53 -04:00
Neerti
ea6128f986 Adds Modifier System, Changes Some Ling Stuff
Adds a fairly simple system that allows adjusting various numbers like max health, incoming damage, outgoing melee damage, etc.  The nice part is that changing certain variables this way (like max health) is a lot safer than manually setting the max health var directly.
Changes a lot of short lines of code to point towards a variable's getter or setter helper instead of reading the var directly so the modifiers can work.
Endoarmor, delayed toxin sting, Enfeebling sting, and recursive adrenaline overdose now use the modifier system.
Enfeebling sting now only lasts two minutes, from five minutes, however it now also reduces the victim's melee damage by 25%/50%, and increases the damage they suffer by 10%/35%, for normal and recursive respectively.
Delayed Toxin Sting's effects are now felt all at once instead of over the course of a few minutes.
2017-04-18 21:23:59 -04:00
Leshana
f2956464b8 Replace direct access of lighting overlays with T.get_lumcount() 2017-04-12 19:11:53 -04:00
Cerebulon
55fd0a2041 Adds hand sprites to many items in the engineering department 2017-03-29 04:09:33 +01:00
Cameron653
65b21ddbe5 Gives not equal gate the correct icon_state
Gives the not equal gate a correct icon_state. Icon state was set to"not equal"

 In the electronic_assemblies.dmi it is actually "not_equal"

This gives it the correct icon_state
2017-02-27 18:11:38 -05:00
Anewbe
1772c6f3a8 Merge pull request #2965 from Neerti/1/28/17_magnets_how_do_they_work
Fixes typo in research defines for a few things
2017-01-28 14:03:51 -06:00
Neerti
aa889d51db Fixes typo in research defines for a few things
Not sure how TECH_MAGNETS compiles if it doesn't exist but...
2017-01-28 14:52:02 -05:00
Neerti
49a00bc746 Fixes medium screen circuit bug
Medium screens should only show to the person holding the assembly now, instead of everyone seeing it.  That's what the large screen is for.
2017-01-27 02:23:06 -05:00
Neerti
b6c170eadd Does tons of stuff, see PR for details. 2017-01-25 19:31:21 -05:00
Neerti
58b1b16be9 Also fixes EPv2 circuit not pushing data.
Also makes code compile.
2017-01-14 14:04:19 -05:00
Neerti
fadec38c59 Fixes Small Bug in Microphone Circuit
Microphone circuits should push data properly.
2017-01-14 13:52:34 -05:00
Neerti
97ebf0924d Permanent Revolution Update 2017-01-04 04:41:30 -05:00
Neerti
cefd8029f7 Makes Circuits Make Their Own Research Designs
Circuits generate a research design datum when the game starts up instead of me having to manually define them every time I make a new circuit.  Hopefully this reduces missing circuits due to mistakes.  The circuit box also spawns specific circuits using a similar method for similar reasons.

Other things this does:
Splits the reagent related manipulation circuits to their own category, which cleans up a few repeated New()s.
2016-12-30 02:41:11 -05:00
Neerti
c32e18ae8b Arithmetic Circuit Additions and Fixes
Subtraction, multiplication, and division should work properly.
Added sign, round, and exponent circuits.
2016-12-21 14:52:16 -05:00
Anewbe
7a26fa94e3 Fixes the world >> "no sound" issue 2016-10-13 18:06:42 -05:00
Neerti
2ddaf04226 More Circuit Ports by Psi
Adds ability to have pins initialize with data.
Adds helper for reagent moving.
Other fixes.
2016-09-29 23:49:34 -04:00
Neerti
162af1fbc3 Adds More Circuits
Drone assembly can be made in RnD now.
Adds injector component, which does what it implies, and injects a reagent into someone or something nearby.
Adds reagent pump, similar to the above but meant for moving reagents around different containers, inside or outside of the machine.
Adds adjacent locator, which can find specific objects next to the machine.
Adds two flavors of the reagent storage component, which does what it says.  The second variant is a cryo-beaker version.
2016-09-25 11:52:39 -04:00
Neerti
b8df2a03ff Fixes some problems from port, mainly ref stuff. 2016-09-24 20:01:55 -04:00
Neerti
801a162ba7 Ports the Port of Circuits
Ports PsiOmegaDelta's port of integrated circuits, which has several improvements in code quality.
Ports a few small things like the weakref datum and some macros.
2016-09-24 18:06:11 -04:00
Neerti
828dacf485 Centralizes weight class definitions
A lot of new defines are now in inventory_sizes.dm, which contains;
All the size identifiers (the thing that tells the game if something is bulky, or w/e).
Storage costs for all the sizes, which are exponents of two, as previously.
A few constants for inventory size.

Also changes all storage item's capacity definitions by basing it off of how many 'normal slots' exist for it.  This allows one to change the definition for all of the defines in the file, and everything will follow along without needing to change 500 files.  In testing, I made all ITEMSIZE_COST_* defines doubled, and nothing had broke.

The benefit of doing all of this is that it makes adding new weight classes in the future much simpler, and makes knowing how much space a container has easier, as seeing ITEMSIZE_COST_NORMAL * 7 means it can hold seven normal items.
2016-09-22 00:51:51 -04:00
Neerti
72cc5f0646 Circuit UI and Assembly Tweaks
Adds new drone assembly, which has stats between the medium and large assembly.  Sprites by Mechoid.
Assemblies now have a light UI when examined while opened, which displays what's inside, as well as how close to the cap for parts or complexity you are getting.  Click the names of a component to open the wiring interface for that component.  You can also rename each component from the UI.  Bonus:  Having multiple components of the same name will no longer appear as one component.
Adds ability to rename the assembly, using the new UI.
2016-09-20 13:40:54 -04:00
Neerti
ba2c7507d6 Adds EPv2 Circuit
Adds a circuit that allows it to send and receive EPv2 messages, allowing for a more robust transmission of data that signalers cannot deliver.  Bonus: Communicators can send text messages to custom machines using this.
2016-09-18 18:24:13 -04:00
Neerti
c8fab7d070 I Can't Believe It's Not Circuits (it is)
Fixes numberpad and letterpad pulsing.
Debugger and Constant chip can now have null written to it.
Adds new sound output, with two types so far.  One being the 'beeper' type, which can do things like buzz, ping, beep, etc.  The second type is a securitron speaker, which allows us to get closer to building a functioning Beepsky.
2016-09-18 16:13:25 -04:00
Neerti
faa797b23a Even More Sodding Circuits
Adds new RNG circuit, to make random numbers each time.
Adds new Concatenating circuit, so you can make lots of small strings into one big one.
Adds new light and advanced light circuit.  Basic just has a normal light that can be toggled.  Advanced allows it to be any color using RGB, and a brightness between 0 and 6.
New sprites for the debugger and wirer, by Mechoid.
Hopefully finally fixes smoke generator from being unobtainable.
2016-09-17 12:36:46 -04:00