3207 Commits

Author SHA1 Message Date
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
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
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
Florian Nücke
a8dbb15745 Merge remote-tracking branch 'origin/master-MC1.7.10' into drones 2014-12-22 17:03:34 +01:00
Florian Nücke
f5193e9a4e Dem interface changes. 2014-12-22 17:01:39 +01:00
Florian Nücke
f147481900 Better Waila support for servers. 2014-12-22 16:57:53 +01:00
Florian Nücke
7885a3f5b3 Started updating to new Waila API (1.56). So much cleaner \o/ 2014-12-22 15:06:09 +01:00
Florian Nücke
29d112ac33 Added check for out of memory errors when trying to play computer beeps. 2014-12-22 05:23:46 +01:00
Florian Nücke
39f666ea94 Fixed unconnected servers not receiving energy since side rework a few commits back.
Also added missing check for periodic power updates (for wireless strength based power consumption) which should improve racks' tick times a bit.
2014-12-22 04:27:25 +01:00
Florian Nücke
0ac4c8efba Little bit of cleanup. 2014-12-22 03:39:50 +01:00
Florian Nücke
856b5fd275 Disassembler configurable via IMC, finally!
Using that for special disassembly stuff like things built in assembler.
2014-12-21 18:11:32 +01:00
Florian Nücke
52aef61d13 Multiple tiers for microcontroller and drones.
Storing energy in MCU and drones and restoring it properly when placing them.
2014-12-21 14:38:29 +01:00
Florian Nücke
dcae20e38c Merge remote-tracking branch 'origin/master-MC1.7.10' into drones 2014-12-21 12:51:02 +01:00
Florian Nücke
64afd8d98e Require IC2 proper to be present instead of just the API, should fix #747. 2014-12-20 21:03:49 +01:00
Florian Nücke
3dd7075518 Don't even try to render the holograms on very low-end cards that don't support OpenGL 1.5 to avoid crashes. 2014-12-19 19:28:49 +01:00
Florian Nücke
c6d5584f93 Recompiled native lib on Win7, let's see if this helps on some systems... 2014-12-19 18:11:52 +01:00