3674 Commits

Author SHA1 Message Date
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
41364ad8f4 Little bit of API cleanup. 2015-01-03 03:53:25 +01:00
Florian Nücke
b3facc363e And the award for first mod integration goes to: NEI! 2015-01-03 02:57:38 +01:00
Florian Nücke
a804769abd Killed remote terminals. More power to tablets! 2015-01-03 02:06:22 +01:00
Florian Nücke
33290714e3 Cleaning up items a little.
Generalized robot events to potentially allow reusing them for drones.
2015-01-02 21:54:28 +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
892975e6da Let me play you the code shuffle. 2015-01-01 19:07:27 +01:00
Florian Nücke
2b2941df7d Little bit of refactoring, not re-creating tile-entities when our metadata changes. 2015-01-01 13:34:40 +01:00
Florian Nücke
4f2ab5982c Multiblock screen rendering works again. 2015-01-01 02:40:18 +01:00
Florian Nücke
c95d8ef4fd More work on screen rendering. Base is working, still needs 'front'. 2014-12-31 19:57:17 +01:00
Florian Nücke
1c57dc40d0 Hologram block rendering and started work on custom block renderer for screens. 2014-12-31 10:56:16 +01:00
Florian Nücke
bf76fc8368 Fixed in-world rendering of keyboard and some rotation getter logic (block breaking is threaded now? ohgodsomuchwillbreak). 2014-12-29 01:55:34 +01:00
Florian Nücke
5e02e60265 Item icon shenanigans. 2014-12-29 01:19:34 +01:00
Florian Nücke
982bc8d1bb Welp, guess we're using metadata to store rotation and shit now.
Also organized imports.
2014-12-28 23:09:08 +01:00
Florian Nücke
bbd90efc57 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.8.0 2014-12-28 20:48: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
4417ef0729 Let this commit stand testament to the many failed attempts at getting ISmartBlockModel to do what I want. And it still ain't workin' yet. 2014-12-28 13:25:43 +01:00
Florian Nücke
8e4190f303 Fixed raid TESR. 2014-12-26 12:20:36 +01:00
Florian Nücke
3b578e71a6 Started porting to MC1.8. Starts for now, but rendering is still broken as hell. 2014-12-26 04:08:00 +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