mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 08:27:13 +01:00
Fix indentations (#17481)
* cbt * AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * fsadffsda sad * sadfasd * jhn * dsfa * saf * safsad * sda
This commit is contained in:
@@ -64,4 +64,4 @@
|
||||
var/removable = TRUE // Determines if a circuit is removable from the assembly.
|
||||
var/displayed_name = ""
|
||||
var/allow_multitool = TRUE // Allows additional multitool functionality
|
||||
// Used as a global var, (Do not set manually in children).
|
||||
// Used as a global var, (Do not set manually in children).
|
||||
|
||||
@@ -12,8 +12,8 @@ A [2]\ /[8] result
|
||||
B [1]-\|++|/
|
||||
C [4]-/|++|
|
||||
D [1]/ ||
|
||||
||
|
||||
Activator
|
||||
||
|
||||
Activator
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
// Positionless remove/Edit are a bit weird,
|
||||
// not sure if adding these buttons is quite a good idea.
|
||||
// They introduce uncertainty, since, in case of 2 elements,
|
||||
// They introduce uncertainty, since, in case of 2 elements,
|
||||
// they will work just with the 1st one
|
||||
/datum/integrated_io/list/proc/interact(mob/user)
|
||||
var/list/my_list = data
|
||||
@@ -21,7 +21,7 @@
|
||||
t += "<a href='?src=\ref[src];swap=1'>Swap</a> | "
|
||||
t += "<a href='?src=\ref[src];clear=1'>Clear</a><br>"
|
||||
t += "<hr>"
|
||||
// Iterating by index simplifies editing/deletion in game,
|
||||
// Iterating by index simplifies editing/deletion in game,
|
||||
// since the href_list["pos"] var is consistent
|
||||
for(var/i = 1, i <= my_list.len; i++)
|
||||
t += "#[i] | [display_data(my_list[i])] | "
|
||||
|
||||
@@ -121,7 +121,8 @@
|
||||
desc = "Produces electricity from chemicals."
|
||||
icon_state = "chemical_cell"
|
||||
extended_desc = "This is effectively an internal beaker. It will consume and produce power from phoron, 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, nutriments and blood, in order of decreasing efficiency. It will consume fuel only if the battery can take more energy."
|
||||
|
||||
flags = OPENCONTAINER
|
||||
complexity = 4
|
||||
inputs = list()
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
|
||||
for(var/i = 1 to outputs.len)
|
||||
set_pin_data(IC_OUTPUT, i, i == output_index ? output : null)
|
||||
|
||||
|
||||
push_data()
|
||||
activate_pin(2)
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
var/list/items_contained = list()
|
||||
activators = list("eject contents" = IC_PINTYPE_PULSE_IN)
|
||||
outputs = list("has item" = IC_PINTYPE_BOOLEAN)
|
||||
power_draw_per_use = 1
|
||||
power_draw_per_use = 1
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
size = 5
|
||||
complexity = 1
|
||||
|
||||
//call this function from components that want to get items from this component
|
||||
//set remove to FALSE if you dont want the item removed from the component and just want a reference to it
|
||||
//set remove to FALSE if you dont want the item removed from the component and just want a reference to it
|
||||
//(e.g. for beakers)
|
||||
/obj/item/integrated_circuit/insert_slot/proc/get_item(var/remove = FALSE)
|
||||
if(items_contained.len > 0)
|
||||
|
||||
Reference in New Issue
Block a user