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
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
// For really fat machines.
|
||||
/obj/item/integrated_circuit/passive/power/relay/large
|
||||
name = "large tesla power relay"
|
||||
desc = "A seemingly enigmatic device which connects to nearby APCs wirelessly and draws power from them, now in industiral size!"
|
||||
desc = "A seemingly enigmatic device which connects to nearby APCs wirelessly and draws power from them, now in industrial size!"
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
extended_desc = "The siphon drains 2 kW of power from an APC in the same room as it as long as it has charge remaining. It will always drain \
|
||||
from the 'equipment' power channel."
|
||||
@@ -89,7 +89,7 @@
|
||||
desc = "Produces electricity from chemicals."
|
||||
icon_state = "chemical_cell"
|
||||
extended_desc = "This is effectively an internal beaker. It will consume and produce power from plasma, slime jelly, welding fuel, carbon,\
|
||||
ethanol, nutriments, and blood in order of decreasing efficiency. It will consume fuel only if the battery can take more energy."
|
||||
ethanol, nutriment, and blood in order of decreasing efficiency. It will consume fuel only if the battery can take more energy."
|
||||
container_type = OPENCONTAINER
|
||||
complexity = 4
|
||||
inputs = list()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/obj/item/integrated_circuit/input/card_reader
|
||||
name = "card reader"
|
||||
desc = "A circuit that can read registred name, assignment and a PassKey string from an ID card."
|
||||
desc = "A circuit that can read the registred name, assignment, and PassKey string from an ID card."
|
||||
icon_state = "card_reader"
|
||||
|
||||
complexity = 4
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/arithmetic/division
|
||||
name = "division circuit"
|
||||
desc = "This circuit can divide numbers, just don't think about trying to divide by zero!"
|
||||
desc = "This circuit can divide numbers. Don't even think about trying to divide by zero!"
|
||||
extended_desc = "The order that the calculation goes is;<br>\
|
||||
result = ((((A / B) / C) / D) ... ) and so on, until all pins have been divided. \
|
||||
Null pins, and pins containing 0, are ignored. Pin A <b>must</b> be a number or the circuit will not function."
|
||||
@@ -142,8 +142,8 @@
|
||||
|
||||
/obj/item/integrated_circuit/arithmetic/sign
|
||||
name = "sign circuit"
|
||||
desc = "This will say if a number is positive, negative, or zero."
|
||||
extended_desc = "Will output 1, -1, or 0, depending on if A is a postive number, a negative number, or zero, respectively."
|
||||
desc = "This circuit can tell if a number is positive, negative, or zero."
|
||||
extended_desc = "Will output 1, -1, or 0, depending on if A is a positive number, a negative number, or zero, respectively."
|
||||
icon_state = "sign"
|
||||
inputs = list("A" = IC_PINTYPE_NUMBER)
|
||||
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
|
||||
@@ -212,8 +212,8 @@
|
||||
|
||||
/obj/item/integrated_circuit/arithmetic/average
|
||||
name = "average circuit"
|
||||
desc = "This circuit is of average quality, however it will compute the average for numbers you give it."
|
||||
extended_desc = "Note that null pins are ignored, where as a pin containing 0 is included in the averaging calculation."
|
||||
desc = "This circuit is of average quality. It will compute the average of the numbers you give it."
|
||||
extended_desc = "Note that null pins are ignored, whereas a pin containing 0 is included in the averaging calculation."
|
||||
icon_state = "average"
|
||||
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
|
||||
|
||||
@@ -240,7 +240,7 @@
|
||||
icon_state = "pi"
|
||||
inputs = list()
|
||||
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
|
||||
|
||||
|
||||
/obj/item/integrated_circuit/arithmetic/pi/Initialize()
|
||||
. = ..()
|
||||
desc = "Not recommended for cooking. Outputs '[PI]' when it receives a pulse."
|
||||
@@ -276,7 +276,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/arithmetic/square_root
|
||||
name = "square root circuit"
|
||||
desc = "This outputs the square root of a number you input."
|
||||
desc = "This outputs the square root of the number you input."
|
||||
icon_state = "square_root"
|
||||
inputs = list("A" = IC_PINTYPE_NUMBER)
|
||||
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/converter/refcode
|
||||
name = "reference encoder"
|
||||
desc = "This circuit can encode a reference into a string, which can then be read by an EPV2 circuit."
|
||||
desc = "This circuit can encode a reference into a string, which can then be read by a reference decoder circuit."
|
||||
icon_state = "ref-string"
|
||||
inputs = list("input" = IC_PINTYPE_REF)
|
||||
outputs = list("output" = IC_PINTYPE_STRING)
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/converter/refdecode
|
||||
name = "reference decoder"
|
||||
desc = "This circuit can convert an encoded reference to actual reference."
|
||||
desc = "This circuit can convert an encoded reference to an actual reference."
|
||||
icon_state = "ref-string"
|
||||
inputs = list("input" = IC_PINTYPE_STRING)
|
||||
outputs = list("output" = IC_PINTYPE_REF)
|
||||
@@ -180,8 +180,8 @@
|
||||
|
||||
/obj/item/integrated_circuit/converter/separator
|
||||
name = "separator"
|
||||
desc = "This splits as single string into two at the relative split point."
|
||||
extended_desc = "This circuits splits a given string into two, based on the string, and the index value. \
|
||||
desc = "This splits a single string into two at the relative split point."
|
||||
extended_desc = "This circuit splits a given string into two, based on the string and the index value. \
|
||||
The index splits the string <b>after</b> the given index, including spaces. So 'a person' with an index of '3' \
|
||||
will split into 'a p' and 'erson'."
|
||||
icon_state = "split"
|
||||
@@ -240,9 +240,10 @@
|
||||
|
||||
/obj/item/integrated_circuit/converter/findstring
|
||||
name = "find text"
|
||||
desc = "This gives position of sample in the string. Or returns 0."
|
||||
desc = "This outputs the position of the sample in the string, or returns 0."
|
||||
extended_desc = "The first pin is the string to be examined. The second pin is the sample to be found. \
|
||||
For example, 'eat this burger' will give you position 4. This circuit isn't case sensitive."
|
||||
For example, inputting 'my wife has caught on fire' with 'has' as the sample will give you position 9. \
|
||||
This circuit isn't case sensitive, and it does not ignore spaces."
|
||||
complexity = 4
|
||||
inputs = list(
|
||||
"string" = IC_PINTYPE_STRING,
|
||||
@@ -413,7 +414,7 @@
|
||||
/obj/item/integrated_circuit/converter/rgb2hex
|
||||
name = "rgb to hexadecimal"
|
||||
desc = "This circuit can convert a RGB (Red, Green, Blue) color to a Hexadecimal RGB color."
|
||||
extended_desc = "The first pin controls red amount, the second pin controls green amount, and the third controls blue amount. All go from 0-255."
|
||||
extended_desc = "The first pin controls red amount, the second pin controls green amount, and the third controls blue amount. They all go from 0-255."
|
||||
icon_state = "rgb-hex"
|
||||
inputs = list(
|
||||
"red" = IC_PINTYPE_NUMBER,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/transfer/multiplexer
|
||||
name = "two multiplexer"
|
||||
desc = "This is what those in the business tend to refer to as a 'mux' or data selector. It moves data from one of the selected inputs to the output."
|
||||
desc = "This is what those in the business tend to refer to as a 'mux', or data selector. It moves data from one of the selected inputs to the output."
|
||||
extended_desc = "The first input pin is used to select which of the other input pins which has its data moved to the output. \
|
||||
If the input selection is outside the valid range then no output is given."
|
||||
complexity = 2
|
||||
@@ -147,7 +147,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/transfer/wire_node
|
||||
name = "wire node"
|
||||
desc = "Just wire node to make wiring more easy.Transfer pulse from in to out."
|
||||
desc = "Just a wire node to make wiring easier. Transfers the pulse from in to out."
|
||||
icon_state = "wire_node"
|
||||
activators = list("pulse in" = IC_PINTYPE_PULSE_IN, "pulse out" = IC_PINTYPE_PULSE_OUT)
|
||||
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/slime_scanner
|
||||
name = "slime_scanner"
|
||||
desc = "A very small version of the xenobio analyser. This allows the machine to know every needed properties of slime. Output mutation list is non associative."
|
||||
desc = "A very small version of the xenobio analyser. This allows the machine to know every needed properties of slime. Output mutation list is non-associative."
|
||||
icon_state = "medscan_adv"
|
||||
complexity = 12
|
||||
inputs = list("target" = IC_PINTYPE_REF)
|
||||
@@ -193,8 +193,8 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/plant_scanner
|
||||
name = "integrated plant analyzer"
|
||||
desc = "A very small version of the plant analyser. This allows the machine to know all valuable params of plants in trays. \
|
||||
It cannot scan seeds nor fruits, only plants."
|
||||
desc = "A very small version of the plant analyser. This allows the machine to know all valuable parameters of plants in trays. \
|
||||
It can only scan plants, not seeds or fruits."
|
||||
icon_state = "medscan_adv"
|
||||
complexity = 12
|
||||
inputs = list("target" = IC_PINTYPE_REF)
|
||||
@@ -259,9 +259,9 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/gene_scanner
|
||||
name = "gene scanner"
|
||||
desc = "This circuit will scan plant for traits and reagent genes. Output is non-associative."
|
||||
desc = "This circuit will scan the target plant for traits and reagent genes. Output is non-associative."
|
||||
extended_desc = "This allows the machine to scan plants in trays for reagent and trait genes. \
|
||||
It cannot scan seeds nor fruits, only plants."
|
||||
It can only scan plants, not seeds or fruits."
|
||||
inputs = list(
|
||||
"target" = IC_PINTYPE_REF
|
||||
)
|
||||
@@ -358,9 +358,9 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/turfpoint
|
||||
name = "Tile pointer"
|
||||
desc = "This circuit will get tile ref with given absolute coordinates."
|
||||
desc = "This circuit will get a tile ref with the provided absolute coordinates."
|
||||
extended_desc = "If the machine cannot see the target, it will not be able to calculate the correct direction.\
|
||||
This circuit works only inside an assembly."
|
||||
This circuit only works while inside an assembly."
|
||||
icon_state = "numberpad"
|
||||
complexity = 5
|
||||
inputs = list("X" = IC_PINTYPE_NUMBER,"Y" = IC_PINTYPE_NUMBER)
|
||||
@@ -461,7 +461,7 @@
|
||||
/obj/item/integrated_circuit/input/adjacent_locator
|
||||
name = "adjacent locator"
|
||||
desc = "This is needed for certain devices that demand a reference for a target to act upon. This type only locates something \
|
||||
that is standing a meter away from the machine."
|
||||
that is standing up to a meter away from the machine."
|
||||
extended_desc = "The first pin requires a ref to the kind of object that you want the locator to acquire. This means that it will \
|
||||
give refs to nearby objects that are similar. If more than one valid object is found nearby, it will choose one of them at \
|
||||
random."
|
||||
@@ -500,9 +500,9 @@
|
||||
/obj/item/integrated_circuit/input/advanced_locator_list
|
||||
complexity = 6
|
||||
name = "list advanced locator"
|
||||
desc = "This is needed for certain devices that demand list of names for a targets to act upon. This type locates something \
|
||||
that is standing in given radius up to 8 meters. Output is non-associative. Input will only consider keys if associative."
|
||||
extended_desc = "The first pin requires a list of kinds of objects that you want the locator to acquire. It will locate nearby objects by name and description, \
|
||||
desc = "This is needed for certain devices that demand list of names for a target to act upon. This type locates something \
|
||||
that is standing in given radius of up to 8 meters. Output is non-associative. Input will only consider keys if associative."
|
||||
extended_desc = "The first pin requires a list of the kinds of objects that you want the locator to acquire. It will locate nearby objects by name and description, \
|
||||
and will then provide a list of all found objects which are similar. \
|
||||
The second pin is a radius."
|
||||
inputs = list("desired type ref" = IC_PINTYPE_LIST, "radius" = IC_PINTYPE_NUMBER)
|
||||
@@ -564,10 +564,10 @@
|
||||
complexity = 6
|
||||
name = "advanced locator"
|
||||
desc = "This is needed for certain devices that demand a reference for a target to act upon. This type locates something \
|
||||
that is standing in given radius up to 8 meters"
|
||||
extended_desc = "The first pin requires a ref to a kind of object that you want the locator to acquire. This means that it will \
|
||||
give refs to nearby objects which are similar. If this pin is string, this locator will search for an \
|
||||
item by matching desired text in it's name and description. If more than one valid object is found nearby, it will choose one of them at \
|
||||
that is standing in given radius of up to 8 meters"
|
||||
extended_desc = "The first pin requires a ref to the kind of object that you want the locator to acquire. This means that it will \
|
||||
give refs to nearby objects which are similar. If this pin is a string, the locator will search for an \
|
||||
item matching the desired text in its name and description. If more than one valid object is found nearby, it will choose one of them at \
|
||||
random. The second pin is a radius."
|
||||
inputs = list("desired type" = IC_PINTYPE_ANY, "radius" = IC_PINTYPE_NUMBER)
|
||||
outputs = list("located ref" = IC_PINTYPE_REF)
|
||||
@@ -617,7 +617,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/signaler
|
||||
name = "integrated signaler"
|
||||
desc = "Signals from a signaler can be received with this, allowing for remote control. Additionally, it can send signals as well."
|
||||
desc = "Signals from a signaler can be received with this, allowing for remote control. It can also send signals."
|
||||
extended_desc = "When a signal is received from another signaler, the 'on signal received' activator pin will be pulsed. \
|
||||
The two input pins are to configure the integrated signaler's settings. Note that the frequency should not have a decimal in it, \
|
||||
meaning the default frequency is expressed as 1457, not 145.7. To send a signal, pulse the 'send signal' activator pin."
|
||||
@@ -699,11 +699,11 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/ntnet_packet
|
||||
name = "NTNet networking circuit"
|
||||
desc = "Enables the sending and receiving of messages on NTNet via packet data protocol."
|
||||
extended_desc = "Data can be send or received using the second pin on each side, \
|
||||
desc = "Enables the sending and receiving of messages over NTNet via packet data protocol."
|
||||
extended_desc = "Data can be sent or received using the second pin on each side, \
|
||||
with additonal data reserved for the third pin. When a message is received, the second activation pin \
|
||||
will pulse whatever's connected to it. Pulsing the first activation pin will send a message. Message \
|
||||
can be send to multiple recepients. Addresses must be separated with ; symbol."
|
||||
will pulse whatever is connected to it. Pulsing the first activation pin will send a message. Messages \
|
||||
can be sent to multiple recepients. Addresses must be separated with a semicolon, like this: Address1;Address2;Etc."
|
||||
icon_state = "signal"
|
||||
complexity = 2
|
||||
cooldown_per_use = 1
|
||||
@@ -756,11 +756,11 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/ntnet_advanced
|
||||
name = "Low level NTNet transreciever"
|
||||
desc = "Enables the sending and receiving of messages on NTNet via packet data protocol. Allows advanced control of message contents and signalling. Must use associative lists. Outputs associative list. Has a slower transmission rate than normal NTNet circuits, due to increased data processing complexity.."
|
||||
extended_desc = "Data can be send or received using the second pin on each side, \
|
||||
desc = "Enables the sending and receiving of messages over NTNet via packet data protocol. Allows advanced control of message contents and signalling. Must use associative lists. Outputs associative list. Has a slower transmission rate than normal NTNet circuits, due to increased data processing complexity."
|
||||
extended_desc = "Data can be sent or received using the second pin on each side, \
|
||||
with additonal data reserved for the third pin. When a message is received, the second activation pin \
|
||||
will pulse whatever's connected to it. Pulsing the first activation pin will send a message. Message \
|
||||
can be send to multiple recepients. Addresses must be separated with ; symbol."
|
||||
will pulse whatever is connected to it. Pulsing the first activation pin will send a message. Messages \
|
||||
can be sent to multiple recepients. Addresses must be separated with a semicolon, like this: Address1;Address2;Etc."
|
||||
icon_state = "signal"
|
||||
complexity = 4
|
||||
cooldown_per_use = 10
|
||||
@@ -802,7 +802,7 @@
|
||||
/obj/item/integrated_circuit/input/gps
|
||||
name = "global positioning system"
|
||||
desc = "This allows you to easily know the position of a machine containing this device."
|
||||
extended_desc = "The GPS's coordinates it gives is absolute, not relative."
|
||||
extended_desc = "The coordinates that the GPS outputs are absolute, not relative."
|
||||
icon_state = "gps"
|
||||
complexity = 4
|
||||
inputs = list()
|
||||
@@ -829,7 +829,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/microphone
|
||||
name = "microphone"
|
||||
desc = "Useful for spying on people or for voice activated machines."
|
||||
desc = "Useful for spying on people, or for voice-activated machines."
|
||||
extended_desc = "This will automatically translate most languages it hears to Galactic Common. \
|
||||
The first activation pin is always pulsed when the circuit hears someone talk, while the second one \
|
||||
is only triggered if it hears someone speaking a language other than Galactic Common."
|
||||
@@ -921,7 +921,7 @@
|
||||
/obj/item/integrated_circuit/input/obj_scanner
|
||||
name = "scanner"
|
||||
desc = "Scans and obtains a reference for any objects you use on the assembly."
|
||||
extended_desc = "If the 'put down' pin is set to true, the assembly will take the scanned object from your hands to it's location. \
|
||||
extended_desc = "If the 'put down' pin is set to true, the assembly will take the scanned object from your hands to its location. \
|
||||
Useful for interaction with the grabber. The scanner only works using the help intent."
|
||||
icon_state = "recorder"
|
||||
complexity = 4
|
||||
@@ -948,7 +948,7 @@
|
||||
name = "internal battery monitor"
|
||||
desc = "This monitors the charge level of an internal battery."
|
||||
icon_state = "internalbm"
|
||||
extended_desc = "This circuit will give you values of charge, max charge, and percentage of the internal battery on demand."
|
||||
extended_desc = "This circuit will give you the values of charge, max charge, and the current percentage of the internal battery on demand."
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
complexity = 1
|
||||
inputs = list()
|
||||
@@ -981,9 +981,9 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/externalbm
|
||||
name = "external battery monitor"
|
||||
desc = "This can help to watch battery state of any device in view"
|
||||
desc = "This can read the battery state of any device in view."
|
||||
icon_state = "externalbm"
|
||||
extended_desc = "This circuit will give you values of charge, max charge, and percentage of any device or battery in view"
|
||||
extended_desc = "This circuit will give you the charge, max charge, and the current percentage values of any device or battery in view."
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
complexity = 2
|
||||
inputs = list("target" = IC_PINTYPE_REF)
|
||||
@@ -1016,7 +1016,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/input/ntnetsc
|
||||
name = "NTNet scanner"
|
||||
desc = "This can return NTNet IDs of a component inside the given object, if there are any."
|
||||
desc = "This can return the NTNet IDs of a component inside the given object, if there are any."
|
||||
icon_state = "signalsc"
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
complexity = 2
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
/obj/item/integrated_circuit/lists/pick
|
||||
name = "pick circuit"
|
||||
desc = "This circuit will pick a random element from the input list, and output said element."
|
||||
extended_desc = "Input list is unmodified."
|
||||
desc = "This circuit will pick a random element from the input list, and output that element."
|
||||
extended_desc = "The input list is not modified."
|
||||
icon_state = "addition"
|
||||
outputs = list(
|
||||
"result" = IC_PINTYPE_ANY
|
||||
@@ -70,7 +70,7 @@
|
||||
/obj/item/integrated_circuit/lists/search
|
||||
name = "search circuit"
|
||||
desc = "This circuit will get the index location of the desired element in a list."
|
||||
extended_desc = "Search will start at 1 position and will return first matching position."
|
||||
extended_desc = "Search will start at position 1 and will return the first matching position."
|
||||
inputs = list(
|
||||
"list" = IC_PINTYPE_LIST,
|
||||
"item" = IC_PINTYPE_ANY
|
||||
@@ -104,8 +104,8 @@
|
||||
/obj/item/integrated_circuit/lists/filter
|
||||
name = "filter circuit"
|
||||
desc = "This circuit will search through a list for anything matching the desired element(s) and outputs two lists: \
|
||||
one containing just matching elements, and one with matching elements filtered out."
|
||||
extended_desc = "Sample accepts lists. If no match is found, original list is sent to output 1."
|
||||
one containing only the matching elements, and one with the matching elements filtered out."
|
||||
extended_desc = "Sample accepts lists. If no match is found, the original list is sent to output 1."
|
||||
inputs = list(
|
||||
"input list" = IC_PINTYPE_LIST,
|
||||
"sample" = IC_PINTYPE_ANY
|
||||
@@ -168,7 +168,7 @@
|
||||
/obj/item/integrated_circuit/lists/listset
|
||||
name = "list set circuit"
|
||||
desc = "This circuit will remove any duplicate entries from a list."
|
||||
extended_desc = "If there are no duplicate entries, result list will be unchanged."
|
||||
extended_desc = "If there are no duplicate entries, the output list will be unchanged."
|
||||
inputs = list(
|
||||
"list" = IC_PINTYPE_LIST
|
||||
)
|
||||
@@ -189,7 +189,7 @@
|
||||
/obj/item/integrated_circuit/lists/at
|
||||
name = "at circuit"
|
||||
desc = "This circuit will pick an element from a list by the input index."
|
||||
extended_desc = "If there is no element with such index, result will be null."
|
||||
extended_desc = "If there is no element at the given index, the result will be null."
|
||||
inputs = list(
|
||||
"list" = IC_PINTYPE_LIST,
|
||||
"index" = IC_PINTYPE_INDEX
|
||||
@@ -225,7 +225,7 @@
|
||||
/obj/item/integrated_circuit/lists/delete
|
||||
name = "delete circuit"
|
||||
desc = "This circuit will remove an element from a list by the index."
|
||||
extended_desc = "If there is no element with such index, result list will be unchanged."
|
||||
extended_desc = "If there is no element at the given index, the result list will be unchanged."
|
||||
inputs = list(
|
||||
"list" = IC_PINTYPE_LIST,
|
||||
"index" = IC_PINTYPE_INDEX
|
||||
@@ -254,7 +254,7 @@
|
||||
/obj/item/integrated_circuit/lists/write
|
||||
name = "write circuit"
|
||||
desc = "This circuit will write an element to a list at the given index location."
|
||||
extended_desc = "If there is no element with such index, it will give the same list as before."
|
||||
extended_desc = "If there is no element at the given index, it will output the same list as before."
|
||||
inputs = list(
|
||||
"list" = IC_PINTYPE_LIST,
|
||||
"index" = IC_PINTYPE_INDEX,
|
||||
@@ -313,7 +313,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/lists/jointext
|
||||
name = "join text circuit"
|
||||
desc = "This circuit will combine two lists into one and output it as a string."
|
||||
desc = "This circuit will combine two lists into one, and output it as a string."
|
||||
extended_desc = "Default settings will encode the entire list into a string."
|
||||
icon_state = "join"
|
||||
inputs = list(
|
||||
@@ -351,7 +351,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/lists/constructor
|
||||
name = "large list constructor"
|
||||
desc = "This circuit will build a list out of sixteen input values."
|
||||
desc = "This circuit will build a list out of up to sixteen input values."
|
||||
icon_state = "constr8"
|
||||
inputs = list()
|
||||
outputs = list(
|
||||
@@ -383,20 +383,20 @@
|
||||
|
||||
/obj/item/integrated_circuit/lists/constructor/small
|
||||
name = "list constructor"
|
||||
desc = "This circuit will build a list out of four input values."
|
||||
desc = "This circuit will build a list out of up to four input values."
|
||||
icon_state = "constr"
|
||||
number_of_pins = 4
|
||||
|
||||
/obj/item/integrated_circuit/lists/constructor/medium
|
||||
name = "medium list constructor"
|
||||
desc = "This circuit will build a list out of eight input values."
|
||||
desc = "This circuit will build a list out of up to eight input values."
|
||||
icon_state = "constr8"
|
||||
number_of_pins = 8
|
||||
|
||||
|
||||
/obj/item/integrated_circuit/lists/deconstructor
|
||||
name = "large list deconstructor"
|
||||
desc = "This circuit will write first sixteen entries of input list, starting with index, into the output values."
|
||||
desc = "This circuit will write the first sixteen entries of its input list, starting with the index, into the output values."
|
||||
icon_state = "deconstr8"
|
||||
inputs = list(
|
||||
"input" = IC_PINTYPE_LIST,
|
||||
@@ -428,11 +428,11 @@
|
||||
|
||||
/obj/item/integrated_circuit/lists/deconstructor/small
|
||||
name = "list deconstructor"
|
||||
desc = "This circuit will write first four entries of input list, starting with index, into the output values."
|
||||
desc = "This circuit will write the first four entries of its input list, starting with the index, into the output values."
|
||||
icon_state = "deconstr"
|
||||
number_of_pins = 4
|
||||
|
||||
/obj/item/integrated_circuit/lists/deconstructor/medium
|
||||
name = "medium list deconstructor"
|
||||
desc = "This circuit will write first eight entries of input list, starting with index, into the output values."
|
||||
desc = "This circuit will write the first eight entries of its input list, starting with the index, into the output values."
|
||||
number_of_pins = 8
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/logic/binary/rslatch
|
||||
name = "RS latch"
|
||||
desc = "This gate is a synchronized RS latch. If both R and S are true, state will not change."
|
||||
desc = "This gate is a synchronized RS latch. If both R and S are true, its state will not change."
|
||||
icon_state = "sr_nor"
|
||||
inputs = list("S" = IC_PINTYPE_ANY,"R" = IC_PINTYPE_ANY)
|
||||
outputs = list("Q" = IC_PINTYPE_BOOLEAN,"!Q" = IC_PINTYPE_BOOLEAN)
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
desc = "This somewhat complicated system allows one to slot in a gun, direct it towards a position, and remotely fire it."
|
||||
extended_desc = "The firing mechanism can slot in any energy weapon. \
|
||||
The first and second inputs need to be numbers which correspond to coordinates for the gun to fire at relative to the machine itself. \
|
||||
The 'fire' activator will cause the mechanism to attempt to fire the weapon at the coordinates, if possible. Mode is switch between \
|
||||
lethal (TRUE) or stun (FALSE) modes. It uses the internal battery of the weapon. If you wish to fire the gun while the circuit is in \
|
||||
The 'fire' activator will cause the mechanism to attempt to fire the weapon at the coordinates, if possible. Mode will switch between \
|
||||
lethal (TRUE) or stun (FALSE) modes. It uses the internal battery of the weapon itself, not the assembly. If you wish to fire the gun while the circuit is in \
|
||||
hand, you will need to use an assembly that is a gun."
|
||||
complexity = 20
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
@@ -136,8 +136,8 @@
|
||||
desc = "This allows a machine to move in a given direction."
|
||||
icon_state = "locomotion"
|
||||
extended_desc = "The circuit accepts a 'dir' number as a direction to move towards.<br>\
|
||||
Pulsing the 'step towards dir' activator pin will cause the machine to move a meter in that direction, assuming it is not \
|
||||
being held, or anchored in some way. It should be noted that the ability to move is dependant on the type of assembly that this circuit inhabits."
|
||||
Pulsing the 'step towards dir' activator pin will cause the machine to move one step in that direction, assuming it is not \
|
||||
being held, or anchored in some way. It should be noted that the ability to move is dependant on the type of assembly that this circuit inhabits; only drone assemblies can move."
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
complexity = 10
|
||||
cooldown_per_use = 1
|
||||
@@ -171,9 +171,9 @@
|
||||
/obj/item/integrated_circuit/manipulation/grenade
|
||||
name = "grenade primer"
|
||||
desc = "This circuit comes with the ability to attach most types of grenades and prime them at will."
|
||||
extended_desc = "Time between priming and detonation is limited to between 1 to 12 seconds but is optional. \
|
||||
If unset, not a number, or a number less than 1 then the grenade's built-in timing will be used. \
|
||||
Beware: Once primed there is no aborting the process!"
|
||||
extended_desc = "The time between priming and detonation is limited to between 1 to 12 seconds, but is optional. \
|
||||
If the input is not set, not a number, or a number less than 1, the grenade's built-in timing will be used. \
|
||||
Beware: Once primed, there is no aborting the process!"
|
||||
icon_state = "grenade"
|
||||
complexity = 30
|
||||
cooldown_per_use = 10
|
||||
@@ -245,9 +245,9 @@
|
||||
name = "plant manipulation module"
|
||||
desc = "Used to uproot weeds and harvest/plant trays."
|
||||
icon_state = "plant_m"
|
||||
extended_desc = "The circuit accepts a reference to a hydroponic tray or an item in an adjacent tile. \
|
||||
Mode input(0-harvest, 1-uproot weeds, 2-uproot plant, 3-plant seed) determines action. \
|
||||
Harvesting returns a list of the harvested plants."
|
||||
extended_desc = "The circuit accepts a reference to a hydroponic tray or an item on an adjacent tile. \
|
||||
Mode input (0-harvest, 1-uproot weeds, 2-uproot plant, 3-plant seed) determines action. \
|
||||
Harvesting outputs a list of the harvested plants."
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
complexity = 10
|
||||
inputs = list("tray" = IC_PINTYPE_REF,"mode" = IC_PINTYPE_NUMBER,"item" = IC_PINTYPE_REF)
|
||||
@@ -347,9 +347,9 @@
|
||||
|
||||
/obj/item/integrated_circuit/manipulation/grabber
|
||||
name = "grabber"
|
||||
desc = "A circuit with it's own inventory for items, used to grab and store things."
|
||||
desc = "A circuit with its own inventory for items. Used to grab and store things."
|
||||
icon_state = "grabber"
|
||||
extended_desc = "The circuit accepts a reference to an object to be grabbed and can store up to 10 objects. Modes: 1 to grab, 0 to eject the first object, and -1 to eject all objects. If you throw something from a grabbers inventory with a thrower then the grabber will update its outputs accordingly."
|
||||
extended_desc = "This circuit accepts a reference to an object to be grabbed, and can store up to 10 objects. Modes: 1 to grab, 0 to eject the first object, and -1 to eject all objects. If you throw something from a grabber's inventory with a thrower, the grabber will update its outputs accordingly."
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
size = 3
|
||||
cooldown_per_use = 5
|
||||
@@ -413,7 +413,7 @@
|
||||
name = "pulling claw"
|
||||
desc = "Circuit which can pull things.."
|
||||
icon_state = "pull_claw"
|
||||
extended_desc = "The circuit accepts a reference to thing to be pulled. Modes: 0 for release. 1 for pull."
|
||||
extended_desc = "This circuit accepts a reference to a thing to be pulled. Modes: 0 for release. 1 for pull."
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
size = 3
|
||||
cooldown_per_use = 5
|
||||
@@ -467,9 +467,9 @@
|
||||
/obj/item/integrated_circuit/manipulation/thrower
|
||||
name = "thrower"
|
||||
desc = "A compact launcher to throw things from inside or nearby tiles."
|
||||
extended_desc = "The first and second inputs need to be numbers which correspond to coordinates to throw objects at relative to the machine itself. \
|
||||
extended_desc = "The first and second inputs need to be numbers which correspond to the coordinates to throw objects at relative to the machine itself. \
|
||||
The 'fire' activator will cause the mechanism to attempt to throw objects at the coordinates, if possible. Note that the \
|
||||
projectile need to be inside the machine, or to be on an adjacent tile, and must be medium sized or smaller. The assembly \
|
||||
projectile needs to be inside the machine, or on an adjacent tile, and must be medium sized or smaller. The assembly \
|
||||
must also be a gun if you wish to throw something while the assembly is in hand."
|
||||
complexity = 25
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
|
||||
@@ -56,14 +56,14 @@
|
||||
|
||||
/obj/item/integrated_circuit/memory/large
|
||||
name = "large memory circuit"
|
||||
desc = "This big circuit can hold eight pieces of data."
|
||||
desc = "This big circuit can store eight pieces of data."
|
||||
icon_state = "memory8"
|
||||
power_draw_per_use = 4
|
||||
number_of_pins = 8
|
||||
|
||||
/obj/item/integrated_circuit/memory/huge
|
||||
name = "large memory stick"
|
||||
desc = "This stick of memory can hold up up to sixteen pieces of data."
|
||||
desc = "This stick of memory can store up up to sixteen pieces of data."
|
||||
icon_state = "memory16"
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
spawn_flags = IC_SPAWN_RESEARCH
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/output/light/advanced
|
||||
name = "advanced light"
|
||||
desc = "A light that takes a hexadecimal color value and a brightness value, and can be toggled on/off with a pulse."
|
||||
desc = "A light that takes a hexadecimal color value and a brightness value, and can be toggled on/off by pulsing it."
|
||||
icon_state = "light_adv"
|
||||
complexity = 8
|
||||
inputs = list(
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
extended_desc = "This circuit transmits 20 kJ of electricity every time the activator pin is pulsed. The input pin must be \
|
||||
a reference to a machine to send electricity to. This can be a battery, or anything containing a battery. The machine can exist \
|
||||
inside the assembly, or adjacent to it. The power is sourced from the assembly's power cell. If the target is outside of the assembly, \
|
||||
some power is lost due to ineffiency.Warning!Don't stack more than 1 power transmittors.it becomes less efficient for every other \
|
||||
transmission circuit in its own assembly and other nearby ones. "
|
||||
some power is lost due to ineffiency. Warning! Don't stack more than 1 power transmitter, as it becomes less efficient for every other \
|
||||
transmission circuit in its own assembly and other nearby ones."
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
complexity = 32
|
||||
power_draw_per_use = 2000
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
desc = "Unlike most electronics, creating smoke is completely intentional."
|
||||
icon_state = "smoke"
|
||||
extended_desc = "This smoke generator creates clouds of smoke on command. It can also hold liquids inside, which will go \
|
||||
into the smoke clouds when activated. The reagents are consumed when smoke is made."
|
||||
into the smoke clouds when activated. The reagents are consumed when the smoke is made."
|
||||
ext_cooldown = 1
|
||||
container_type = OPENCONTAINER
|
||||
volume = 100
|
||||
@@ -99,10 +99,10 @@
|
||||
|
||||
/obj/item/integrated_circuit/reagent/injector
|
||||
name = "integrated hypo-injector"
|
||||
desc = "This scary looking thing is able to pump liquids into whatever it's pointed at."
|
||||
desc = "This scary looking thing is able to pump liquids into, or suck liquids out of, whatever it's pointed at."
|
||||
icon_state = "injector"
|
||||
extended_desc = "This autoinjector can push reagents into another container or someone else outside of the machine. The target \
|
||||
must be adjacent to the machine, and if it is a person, they cannot be wearing thick clothing. Negative given amount makes injector suck out reagents."
|
||||
extended_desc = "This autoinjector can push up to 30 units of reagents into another container or someone else outside of the machine. The target \
|
||||
must be adjacent to the machine, and if it is a person, they cannot be wearing thick clothing. Negative given amounts makes the injector suck out reagents instead."
|
||||
|
||||
container_type = OPENCONTAINER
|
||||
volume = 30
|
||||
@@ -252,7 +252,7 @@
|
||||
icon_state = "reagent_pump"
|
||||
extended_desc = "This is a pump which will move liquids from the source ref to the target ref. The third pin determines \
|
||||
how much liquid is moved per pulse, between 0 and 50. The pump can move reagents to any open container inside the machine, or \
|
||||
outside the machine if it is next to the machine."
|
||||
outside the machine if it is adjacent to the machine."
|
||||
|
||||
complexity = 8
|
||||
inputs = list("source" = IC_PINTYPE_REF, "target" = IC_PINTYPE_REF, "injection amount" = IC_PINTYPE_NUMBER)
|
||||
@@ -346,7 +346,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/reagent/storage/cryo
|
||||
name = "cryo reagent storage"
|
||||
desc = "Stores liquid inside the device away from electrical components. It can store up to 60u. This will also suppress reactions."
|
||||
desc = "Stores liquid inside the device away from electrical components. It can store up to 60u. This will also prevent reactions."
|
||||
icon_state = "reagent_storage_cryo"
|
||||
extended_desc = "This is effectively an internal cryo beaker."
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/reagent/storage/grinder
|
||||
name = "reagent grinder"
|
||||
desc = "This is reagent grinder. It accepts a ref to something and refines it into reagents. It can store up to 100u."
|
||||
desc = "This is a reagent grinder. It accepts a ref to something, and refines it into reagents. It can store up to 100u."
|
||||
icon_state = "blender"
|
||||
extended_desc = ""
|
||||
inputs = list(
|
||||
@@ -406,7 +406,7 @@
|
||||
|
||||
obj/item/integrated_circuit/reagent/storage/juicer
|
||||
name = "reagent juicer"
|
||||
desc = "This is reagent juicer. It accepts a ref to something and refines it into reagents. It can store up to 100u."
|
||||
desc = "This is a reagent juicer. It accepts a ref to something and refines it into reagents. It can store up to 100u."
|
||||
icon_state = "blender"
|
||||
extended_desc = ""
|
||||
inputs = list(
|
||||
@@ -454,7 +454,7 @@ obj/item/integrated_circuit/reagent/storage/juicer
|
||||
name = "reagent scanner"
|
||||
desc = "Stores liquid inside the device away from electrical components. It can store up to 60u. On pulse this beaker will send list of contained reagents."
|
||||
icon_state = "reagent_scan"
|
||||
extended_desc = "Mostly useful for reagent filter."
|
||||
extended_desc = "Mostly useful for filtering reagents."
|
||||
|
||||
complexity = 8
|
||||
outputs = list(
|
||||
@@ -482,12 +482,12 @@ obj/item/integrated_circuit/reagent/storage/juicer
|
||||
|
||||
/obj/item/integrated_circuit/reagent/filter
|
||||
name = "reagent filter"
|
||||
desc = "Filtering liquids by list of desired or unwanted reagents."
|
||||
desc = "Filters liquids by list of desired or unwanted reagents."
|
||||
icon_state = "reagent_filter"
|
||||
extended_desc = "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."
|
||||
extended_desc = "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."
|
||||
|
||||
complexity = 8
|
||||
inputs = list(
|
||||
|
||||
@@ -37,10 +37,11 @@
|
||||
activate_pin(2)
|
||||
|
||||
/obj/item/integrated_circuit/smart/coord_basic_pathfinder
|
||||
name = "coordinte pathfinder"
|
||||
name = "coordinate pathfinder"
|
||||
desc = "This complex circuit is able to determine what direction a given target is."
|
||||
extended_desc = "This circuit uses absolute coordintes to determine where the target is. If the machine \
|
||||
cannot see the target, it will not be able to calculate the correct direction.This circuit is working only in assembly."
|
||||
extended_desc = "This circuit uses absolute coordinates to determine where the target is. If the machine \
|
||||
cannot see the target, it will not be able to calculate the correct direction. \
|
||||
This circuit will only work while inside an assembly."
|
||||
icon_state = "numberpad"
|
||||
complexity = 5
|
||||
inputs = list("X" = IC_PINTYPE_NUMBER,"Y" = IC_PINTYPE_NUMBER,"ignore obstacles" = IC_PINTYPE_BOOLEAN)
|
||||
@@ -74,8 +75,8 @@
|
||||
/obj/item/integrated_circuit/smart/advanced_pathfinder
|
||||
name = "advanced pathfinder"
|
||||
desc = "This circuit uses a complex processor for long-range pathfinding."
|
||||
extended_desc = "This circuit uses absolute coordinates for target. A path will be generated taking obstacle input into account, \
|
||||
pathing around any instances of said input. The passkey provided from a card reader is used to create a valid path through doorways."
|
||||
extended_desc = "This circuit uses absolute coordinates to find its target. A path will be generated to the target, taking obstacles into account, \
|
||||
and pathing around any instances of said input. The passkey provided from a card reader is used to calculate a valid path through airlocks."
|
||||
icon_state = "numberpad"
|
||||
complexity = 40
|
||||
cooldown_per_use = 50
|
||||
@@ -117,4 +118,4 @@
|
||||
set_pin_data(IC_OUTPUT, 1, Xn)
|
||||
set_pin_data(IC_OUTPUT, 2, Yn)
|
||||
push_data()
|
||||
activate_pin(2)
|
||||
activate_pin(2)
|
||||
|
||||
@@ -53,8 +53,10 @@
|
||||
|
||||
/obj/item/integrated_circuit/time/delay/custom
|
||||
name = "custom delay circuit"
|
||||
desc = "This sends a pulse signal out after a delay, critical for ensuring proper control flow in a complex machine. \
|
||||
This circuit's delay can be customized, between 1/10th of a second to one hour. The delay is updated upon receiving a pulse."
|
||||
desc = "This sends a pulse signal out after a delay defined in tenths of a second, critical for ensuring proper control \
|
||||
flow in a complex machine. This circuit's delay can be customized, between 1/10th of a second to one hour. \
|
||||
The delay is updated upon receiving a pulse."
|
||||
extended_desc = "The delay is defined in tenths of a second. For instance, 4 will be a delay of 0.4 seconds, or 15 for 1.5 seconds."
|
||||
icon_state = "delay"
|
||||
inputs = list("delay time" = IC_PINTYPE_NUMBER)
|
||||
spawn_flags = IC_SPAWN_RESEARCH
|
||||
@@ -104,7 +106,9 @@
|
||||
|
||||
/obj/item/integrated_circuit/time/ticker/custom
|
||||
name = "custom ticker"
|
||||
desc = "This advanced circuit sends an automatic pulse every given interval."
|
||||
desc = "This advanced circuit sends an automatic pulse every given interval, defined in tenths of a second."
|
||||
extended_desc ="This advanced circuit sends an automatic pulse every given interval, defined in tenths of a second. \
|
||||
For example, setting the time pin to 4 will send a pulse every 0.4 seconds, or 15 for every 1.5 seconds."
|
||||
icon_state = "tick-f"
|
||||
complexity = 8
|
||||
delay = 2 SECONDS
|
||||
@@ -115,7 +119,7 @@
|
||||
/obj/item/integrated_circuit/time/ticker/custom/on_data_written()
|
||||
var/delay_input = get_pin_data(IC_INPUT, 2)
|
||||
if(delay_input && isnum(delay_input) )
|
||||
var/new_delay = CLAMP(delay_input ,1 ,1 HOURS)
|
||||
var/new_delay = CLAMP(delay_input ,1 ,1 HOURS)
|
||||
delay = new_delay
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user