3625 Commits

Author SHA1 Message Date
Florian Nücke
c760503aec So I may have been a little too paranoid about gpu/screens' bandwidth usage. 2015-01-08 01:43:08 +01:00
Florian Nücke
2c6f0ee181 Added code to handle merges of networks containing nodes with identical addresses. Should do the trick for #790, needs confirmation. 2015-01-07 13:32:23 +01:00
Florian Nücke
2852ba1591 Added internal.Tiered interface, implementing in most tiered things: screens, computer cases, microcontrollers, robots and drones. Closes #789. 2015-01-07 13:12:36 +01:00
Florian Nücke
135472ea79 Made drone implement Context to make some components work properly (e.g. Chunkloader upgrade). 2015-01-05 23:36:14 +01:00
Florian Nücke
9b4298c695 Keeping relative target position for drones when travling to a different dimension, closes #784. 2015-01-05 23:09:29 +01:00
Florian Nücke
27660d6d18 Brought a bit more structure into flash.lua. 2015-01-05 23:05:40 +01:00
Florian Nücke
ca02d428fb Merge branch 'master-MC1.7.10' of https://github.com/skyem123/OpenComputers into master-MC1.7.10 2015-01-05 22:56:27 +01:00
Florian "Sangar" Nücke
6e4c617b70 Merge pull request #787 from magik6k/master
Fixed quiet mode in opl-flash
2015-01-05 22:55:23 +01:00
Florian Nücke
c738f0f5c1 Fixed charger not notifying its neighbors when changing its charging state (needed for comparators to update correctly).
Fixed drone showing up in NEI (pointless as it has to be built in assembler to work, so better to hide it like robots).
2015-01-05 22:49:01 +01:00
Florian Nücke
0deb955b4a Implemented BC's IHasWork on a couple of blocks as discussed in #782.
Also unified comparator logic with the new system (with a few exceptions, such as disk drive and raid).
Fixed raid's comparator output.
Fixed disassembler accepting items it shouldn't.
2015-01-05 22:32:43 +01:00
Florian Nücke
c95196df0e Unified tooltips of items with builtin components a little. 2015-01-05 22:14:04 +01:00
Florian Nücke
b5183fb2d0 Fixed error in Waila handler when called with empty NBT data. 2015-01-05 22:13:21 +01:00
Florian Nücke
39fa8d9535 Fixed disassembler nomnoming robots. Closes #786. 2015-01-05 20:42:05 +01:00
Łukasz Magiera
3bcb889d8a Fixed quiet mode in opl-flash 2015-01-05 18:55:24 +01:00
Skye
ebb7ae5038 Fixed a typo in flash.lua
"Are you want to overwrite?"
2015-01-05 17:15:22 +00:00
Skye
d9cfdfa5d7 Add ability to save current EEPROM to file in flash.lua 2015-01-05 14:50:48 +00:00
Florian Nücke
5d3879d0a4 okthen 2015-01-04 15:54:42 +01:00
Florian Nücke
4c37d53405 Extended drone API a little. Closes #783. 2015-01-04 13:33:13 +01:00
Florian Nücke
de8699c425 Should avoid potential incorrect redstone and powered state when playing on servers.
Manually initializing some values in readFromNBT in cases and server racks which might otherwise get overwritten by `readFromNBTForClient` if the packet is handled very late.
2015-01-04 03:33:00 +01:00
Florian Nücke
0dceb3e1b6 Don't try to load an icon for the drone (there is none, using model to render it anyway).
Showing components in tablet in tooltip (kept forgetting about that one).
2015-01-04 02:46:12 +01:00
Florian Nücke
9489cd4f40 Added setLightColor/getLightColor to robot lib (to allow local robot = require("robot"); robot.setLightColor(0x00FF00)).
Minor shuffling (alphabetical and/or utterly subjectively nicer order of stuff).
2015-01-03 20:53:41 +01:00
Nicholas Ewalt
ba127f530d Allow changing the color of robots' lights to an arbitrary color via API (component.robot.setLightColor/component.robot.getLightColor).
Designed to match c4227d2.

Changes that allow Robots to change the color of their animated band.
Exposes the `component.robot.setLightColor(value:number)`
and `component.robot.getLightColor()` functions.
All Robots default to a red color that is close (hopefully exact) to the previous red.
Uses the same RGB int value system as the drones.

![robotcolorexample](https://cloud.githubusercontent.com/assets/580880/5594002/901d1da2-91e8-11e4-95a6-f49180d402df.png)
2015-01-03 10:48:51 -08:00
Florian Nücke
b3b852ab84 Fixed tractor beam upgrade in drones. 2015-01-03 18:17:53 +01:00
Florian Nücke
42d8d19ea1 Sprinkling in some comparator love. 2015-01-03 17:51:16 +01:00
Florian Nücke
6c63956b2f Ignoring files in real file system when generating buffered filesystem with invalid chars in their names, should fix #758. 2015-01-03 16:44:20 +01:00
Florian Nücke
177617a176 Forgot to remove JAR again after noticing the maven dep. 2015-01-03 15:52:45 +01:00
Florian Nücke
07fd427b0d Reset drone target after traveling to other dimensions (since the coordinate system changes between dimensional travel the old ones would be nonsensical). 2015-01-03 15:13:22 +01:00
Florian Nücke
cc839cb326 Added world sensor card, closes #770. 2015-01-03 15:08:56 +01:00
Florian Nücke
93788aeab6 Fixed robots/drones dropping items ignoring the direction when spawning the stack into the world, closes #774. 2015-01-03 13:04:35 +01:00
Florian Nücke
13d48633cf Reducing activation energy for charger to half amount of max charge, may help with #778. 2015-01-03 13:04:30 +01:00
Florian Nücke
a36840c120 Fixed check for wireless redstone mods, closes #768. 2015-01-02 00:06:05 +01:00
Florian Nücke
2949a13cbe Localizing drone name for tooltips / Waila and making item swing when using analyzer on entities. 2015-01-01 23:36:30 +01:00
Florian Nücke
44194b6422 Analyzer can now be used on entities, too, if they implement an appropriate interface (Analyzable, Environment), made that work for drones. Closes #773. 2015-01-01 23:27:42 +01:00
Florian Nücke
aed90fc804 Fixed offsets in robot inventory controller. 2014-12-28 18:49:15 +01:00
Florian Nücke
c4227d2476 Allow changing the color of drones' lights to an arbitrary color via API (drone.setLightColor/drone.getLightColor). 2014-12-28 15:51:45 +01:00
Florian Nücke
f763e176c9 Made drones implement rotatable interface to actually make nav upgrade and others work in it, closes #762.
Disabling redstone T2 cards in drone for now until refactoring stuff to allow T2 to provide wireless redstone *only*.
2014-12-28 14:49:21 +01:00
Florian Nücke
166e3a6b0f Where did that random then come from? o.O 2014-12-24 01:47:58 +01:00
Florian Nücke
bd23253ff7 Added missing line wrap and fixed labeling derp in flash.lua. 2014-12-23 18:56:06 +01:00
Soni L.
d6d8d0b08a Add decimals to file:read("*n") 2014-12-23 14:03:49 -02:00
Soni L.
ff2d0342e1 Add readNumber()/file:read("*n") 2014-12-23 11:41:41 -02:00
Florian Nücke
aed09125c3 Merge remote-tracking branch 'origin/master-MC1.7.10' into drones 2014-12-23 13:18:40 +01:00
Florian Nücke
766eb0ac6d Fixed debug.runCommand in pure single player mode, fixes #754. 2014-12-23 13:16:03 +01:00
Florian Nücke
b338902b66 Bump API version for added interfaces. 2014-12-23 07:32:33 +01:00
Florian Nücke
b110816704 Organized imports. 2014-12-23 07:31:52 +01:00
Florian Nücke
1e48570153 Merge remote-tracking branch 'origin/master-MC1.7.10' into drones
Conflicts:
	src/main/resources/application.conf
	src/main/scala/li/cil/oc/Settings.scala
	src/main/scala/li/cil/oc/common/IMC.scala
	src/main/scala/li/cil/oc/integration/opencomputers/ModOpenComputers.scala
2014-12-23 03:55:58 +01:00
Florian Nücke
f499f939a8 Added configuration option to access points' component to set whether they should act as repeaters or not, closes #718. 2014-12-23 03:46:26 +01:00
Florian Nücke
00b216552c Added assembler template filter system, closes #753.
Allows registering new filters via IMC. Providing default filter using new setting `misc.assemblerBlacklist` which is a list of item id + optional damage descriptors of the format 'itemid@damage', e.g. 'OpenComputers:case3' or 'minecraft:stonebrick@1'.
2014-12-22 23:48:46 +01:00
Florian Nücke
c978290f44 Added debug.insertItem to spawn item stacks into inventories in the world, closes #752. 2014-12-22 22:06:52 +01:00
Florian Nücke
115242a20d All the string interpolation \o/ 2014-12-22 21:10:44 +01:00
Florian Nücke
7aff4cec3c Fixes for differences in merged branches. 2014-12-22 20:53:13 +01:00