3804 Commits

Author SHA1 Message Date
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
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
Florian Nücke
4eceafaaa5 Adding git ref to version when building locally. 2014-12-19 18:11:25 +01:00
Florian Nücke
d5ade3f12b Added leash upgrade. 2014-12-19 16:53:07 +01:00
Florian Nücke
643c4b7c1b Got rid of a few uses of ForgeDirection.UNKNOWN. 2014-12-17 18:08:51 +01:00
Florian Nücke
b65141afec Cheaper position update when target is reached.
Specific power settings for drones.
2014-12-16 22:58:33 +01:00
Florian Nücke
5d0d662c56 Merge remote-tracking branch 'origin/master-MC1.7.10' into drones 2014-12-16 20:03:56 +01:00
Florian Nücke
e66c7dc742 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2014-12-16 18:42:54 +01:00
Florian Nücke
27e74e2b63 Added setting for EEPROM size. Closes #742. 2014-12-16 18:41:29 +01:00
Florian Nücke
ea6cc631ef Using NamedBlock interface for ordering environments when merging them for blocks, should close #745.
Also reworked callback analysis in general, should behave better in general, now (e.g. mixing ManagedPeripheral with Environment should work, now).
May also have broken everything ever, so re-testing with stuff that uses those interfaces (`NamedBlock`, `ManagedPeripheral`) is required.
2014-12-16 18:37:20 +01:00