Commit graph

264 commits

Author SHA1 Message Date
SpaceToad
e155b9b761 robots can now work on a zone defined from a map 2014-07-21 14:34:21 +02:00
SpaceToad
b117a23c5d added multi-area selection capabilities 2014-07-20 23:41:43 +02:00
SpaceToad
bc60546eb9 added energy management for builder robot, close #1908 2014-07-15 15:55:32 +02:00
simon816
7a941c1279 Add support for injecting colored items in pipes 2014-07-08 22:38:24 +01:00
SpaceToad
b71fe3cce8 made progress for builder robot, for #1920 2014-07-08 22:40:39 +02:00
SpaceToad
40c882de25 Various fixes in robot behavior. 2014-07-06 13:22:58 +02:00
SpaceToad
6de8ad01ea improved behavior of farmer robot 2014-07-06 00:21:37 +02:00
SpaceToad
ffcd8188de fixed various regressions with gates logic 2014-07-05 10:08:36 +02:00
SpaceToad
4d35532ad1 made progress with ai load / save, for #1921 2014-07-04 08:59:23 +02:00
SpaceToad
5554cf41bc improved save / load of stations, for #1921 2014-07-03 09:32:57 +02:00
SpaceToad
3372c3f997 finished bucher and shovelman, close #1924, close #1925 2014-07-01 08:15:44 +02:00
SpaceToad
504911cff0 planter can now plant seeds, part of #1922 2014-06-30 20:54:50 +02:00
SpaceToad
99d93d46e4 fixed API build 2014-06-30 00:19:04 +02:00
SpaceToad
7721d0d95d added farmer and harvester robots, part of #1922 2014-06-30 00:07:48 +02:00
SpaceToad
1ab3bcef10 finished initial save / load loop, for #1921 2014-06-29 18:57:46 +02:00
SpaceToad
27cf9473c6 made progress with robot loading / unloading, for #1921 2014-06-29 16:58:44 +02:00
SpaceToad
8ca47462d5 Progress made in robot life cycle.
Robot now die if they have no more energy or if their station is destroyed.
Improved energy requirements (by default, all robots consume 0.1 MJ / cycle).
Part of #1921
2014-06-29 16:07:19 +02:00
SpaceToad
99309b381a improved carrier robot behavior and adjusted energy consumption 2014-06-29 11:55:19 +02:00
SpaceToad
bb3618aaf9 Further work in robot carrier control.
Items can now be filtered.
It's now possible to put items in a pipe.
For #1877.
2014-06-28 17:15:34 +02:00
SpaceToad
ecd0464379 added area control for lumberjack and planter, for #1877 2014-06-28 14:05:02 +02:00
SpaceToad
8e58dd97de decrease load of picker robots 2014-06-28 11:04:37 +02:00
SpaceToad
ab699b2480 no need for systematic cycle latency with sleep implementation 2014-06-28 00:51:47 +02:00
SpaceToad
9f1187c3aa implemented robot sleep / wakeup, for #1873 and #1877 2014-06-27 23:42:30 +02:00
SpaceToad
e4e477a241 implement miner robot, close #1915 2014-06-26 23:07:51 +02:00
SpaceToad
3c409ca0b9 started work on bomber, for #1913 2014-06-26 08:51:28 +02:00
SpaceToad
2e209805b8 separate normal terminaison from abort 2014-06-22 23:31:07 +02:00
SpaceToad
eeb637d59f Generalized latency property, for #1873 2014-06-22 17:49:22 +02:00
SpaceToad
0d4f021dd3 Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-06-22 11:51:30 +02:00
SpaceToad
9577c53313 Fixed gate extension ids synchronization, for #1895.
Added a new concept of NetworkId, allowing to transfer ids over the network
instead of strings.
RPCs are now all handled the same way (except RPC Pipes, to be completed when
actually used).
2014-06-22 11:49:59 +02:00
SpaceToad
bcc0f37e82 Merge pull request #1893 from tambry/MoreParameterization
Even more parameterization and cleanup!
2014-06-17 21:42:21 +02:00
SpaceToad
afbfe26fa0 Factorised station scan code.
Fixed world property analysis.
2014-06-16 02:59:43 +02:00
SpaceToad
c6430035ff first attempt with AI overriding, #1877 2014-06-15 23:54:20 +02:00
Raul Tambre
5292bc6f19 Even more parameterization and cleanup 2014-06-15 22:05:06 +03:00
SpaceToad
e53f267d06 fixed and / or computation with parameter actions 2014-06-15 20:52:08 +02:00
SpaceToad
7bb2351b67 Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x
Conflicts:
	common/buildcraft/core/ItemMapLocation.java
2014-06-15 19:51:49 +02:00
SpaceToad
002caaca38 first attempt at overriding AI, for #1877 2014-06-15 19:50:55 +02:00
Raul Tambre
5ecbe57320 Parameterization and minor cleanup 2014-06-15 20:27:17 +03:00
SpaceToad
4c2b425d10 fixed builds 2014-06-15 17:33:09 +02:00
SpaceToad
4d955da51f improved docking / undocking API, #1877 2014-06-15 17:20:54 +02:00
SpaceToad
7d2e546a66 Completed support for action parameters and parametrized pipe signal.
Finalized implementation of emerald gate.
Close #1880.
2014-06-15 15:01:10 +02:00
Prototik
c01bfe8783 Make support for sided gates 2014-06-15 14:18:32 +08:00
SpaceToad
44d4e4e3b9 started work on docking action, #1877 2014-06-15 02:41:00 +02:00
SpaceToad
4f8e82b153 Continuation on gates refactoring.
Moved some packets into RPCs.
Part of #1880.
2014-06-14 15:29:45 +02:00
SpaceToad
b1076d8556 fixed API builds 2014-06-13 13:36:02 +02:00
SpaceToad
70c1cd0535 Started a major refactor of the trigger action system.
Triggers and actions are moving towards more factorization in statements.
Actions will now accept parameters.
Triggers and actions will accept up to 3 parameters.
Parameters will not only be stacks, in particular for pipe wire.
This is supporting in particular the emerald gate implementation, for #1880.
2014-06-13 13:15:33 +02:00
SpaceToad
101f591f8f Implemented leave cutter, close #1876 2014-06-12 18:29:02 +02:00
SpaceToad
6389baa9cb Implemented planter robot, close #1874. 2014-06-12 13:46:52 +02:00
SpaceToad
6c52e912c7 First pass of optimization, using a chunk buffer for properties.
Part of #1873
2014-06-11 16:58:09 +02:00
SpaceToad
53b5176297 fixed registry cleanup 2014-06-10 17:10:07 +02:00
SpaceToad
9e1a6ebf03 Implemented robot energy management - close #1867.
Finished robot lumberjack - close #1869.
Implemented docking station mutual exclusion - close #1868.
2014-06-10 13:21:17 +02:00
SpaceToad
bdda0fb476 Refactored Robot AI system into smaller units. 2014-06-10 00:22:22 +02:00
SpaceToad
b83f2ae6dc fixed style 2014-06-09 17:43:16 +02:00
SpaceToad
1605a36c03 lumberjack robot now manages its axe and corresponding damage, #1869 2014-06-09 17:40:56 +02:00
SpaceToad
41479f2021 fixed style 2014-06-07 16:45:14 +02:00
SpaceToad
1a74389a5c added additional random parameters for robot, #1732 2014-06-07 11:25:32 +02:00
SpaceToad
da32818bad Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-06-06 09:00:23 +02:00
SpaceToad
81bc0fe11b finalized recipe refactoring, close #1861 2014-06-06 09:00:11 +02:00
Prototik
27754198ac Fix fluid energy requirement 2014-06-03 11:07:49 +08:00
Prototik
091ae87333 Make Builder support fluids via containers/pipes 2014-06-02 23:33:03 +08:00
SpaceToad
cfb9095139 Initial refactoring of recipe mechanics.
Assembly table should be ok, integration table and refinery still to go.
For #1851
2014-06-02 16:29:13 +02:00
SpaceToad
fbf2cef772 Merge branch 'integration-table-advanced-recipe' of https://github.com/Prototik/BuildCraft into Prototik-integration-table-advanced-recipe 2014-06-01 15:17:22 +02:00
SpaceToad
02e8ef057e removed unused files and graphic components 2014-06-01 15:16:39 +02:00
SpaceToad
e193d634cf made progress in board parameters, #1732 2014-06-01 15:13:23 +02:00
Prototik
1c49dddf35 Advanced integration recipe 2014-06-01 18:35:35 +08:00
SpaceToad
e99f0a3c4b made progress with boards and parameters, #1732 2014-05-30 09:04:00 +02:00
SpaceToad
3f925ae0e9 completed a first robot+board, #1732 2014-05-29 21:58:08 +02:00
SpaceToad
ce55fe5eb1 fixed redstone board writing, #1732 2014-05-29 15:07:18 +02:00
SpaceToad
e204fa275d Merge branch '6.1.x' of github.com:BuildCraft/BuildCraft into 6.1.x 2014-05-29 11:30:18 +02:00
SpaceToad
e7b680f29e made progress for robot implementation, #1732 2014-05-29 11:28:34 +02:00
Prototik
9640255442 Next impovements of MjAPI 2014-05-27 16:12:58 +08:00
SpaceToad
e6ff3d7825 fixed style of previous check-in, #1732 2014-05-27 00:27:24 +02:00
SpaceToad
7acb8b4592 made progress with robot recipes and boards, #1732 2014-05-27 00:25:39 +02:00
Prototik
0a4c84f558 Massive overhaul of energy system 2014-05-25 23:13:38 +08:00
SpaceToad
02f7daf9a0 Fixed minor schematic registration.
Enabled additional standalone schematics.
Close #1794.
2014-05-13 21:03:19 +02:00
SpaceToad
424a976cd0 now uses Forge fake player, close #1786 2014-05-13 20:32:14 +02:00
Prototik
3d120025e1 Remove unnecessary extends for ISidedBatteryProvider interface 2014-05-12 17:56:07 +08:00
SpaceToad
34e0bf9637 Last changes to the Builder API, renaming to enfore consistency and
improve maintainability.

Close #1785
2014-05-11 18:42:24 +02:00
SpaceToad
030c8aa93d Merge pull request #1781 from Prototik/mjapi-iomode
Support for IO modes in MjAPI
2014-05-11 17:30:00 +02:00
Prototik
eeb3b16676 Support for IO modes in MjAPI 2014-05-11 23:22:57 +08:00
SpaceToad
c0412cc831 fixed NPE when saving positions, close #1782 2014-05-11 14:19:59 +02:00
SpaceToad
f1d9aee0b8 Added various levels of detection and recovery for missing blocks.
Such blueprints should not be loaded in survival, as there may be
inconsistencies, but it's ok to load in creative, in particular for repair if
needed.
Close #1779
2014-05-11 13:19:06 +02:00
SpaceToad
bc1a7486cd Implemented heuristic for wider default id translation. Close #1778. 2014-05-11 11:51:17 +02:00
SpaceToad
b8d6ef2c08 updated documentation 2014-05-10 15:08:16 +02:00
SpaceToad
f9a911637c Merge branch 'mjapi' of https://github.com/Prototik/BuildCraft into Prototik-mjapi 2014-05-10 15:03:42 +02:00
SpaceToad
577cf11257 minor fixes 2014-05-10 15:02:02 +02:00
SpaceToad
98d2e2e2e6 Fixed issues with various schematics and their handling of item id translations.
The Schematic API has been updated to follow a pattern more explicit.
Part of #1745
2014-05-10 13:37:50 +02:00
Prototik
04859cce7d Update MjAPI 2014-05-10 15:06:24 +08:00
SpaceToad
fb94d0f50c Merge branch 'sided-mjbattery' of https://github.com/Prototik/BuildCraft into Prototik-sided-mjbattery 2014-05-10 08:21:31 +02:00
Prototik
cb3b3d1fce Add support for sided batteries 2014-05-10 14:13:05 +08:00
SpaceToad
178d82ef9f added helper functions 2014-05-10 07:41:22 +02:00
SpaceToad
1febf3c714 updated energy framework to be openned to different channels, close #1756 2014-05-09 18:13:02 +02:00
SpaceToad
f299a7293b extracted battery object to first-level class 2014-05-09 08:09:50 +02:00
Prototik
bed9b59b0e Extract battery interface into IBatteryObject 2014-05-09 13:59:57 +08:00
Prototik
246375c5ac Update MjAPI (implementation and docs) 2014-05-08 19:11:54 +08:00
SpaceToad
9877f8df63 fixed javadoc errors 2014-05-05 14:54:39 +02:00
SpaceToad
5ad4b53120 minor refactorings 2014-05-05 11:15:17 +02:00
Prototik
aa68c3cd81 Add MjAPILegacy for providing an old-style api for the new power api.
Add Energy Converter block for the same things in game.
2014-05-05 16:21:25 +08:00
SpaceToad
949d8054c4 Merge branch '6.0.x' of https://github.com/AEnterprise/BuildCraft into AEnterprise-6.0.x 2014-05-04 18:27:01 +02:00
SpaceToad
aca1678591 requirements extraction is now cleaner 2014-05-04 18:25:28 +02:00
AEnterprise
01bf28a77d fix for the blueprint deployer 2014-05-04 17:11:38 +02:00
SpaceToad
7b77008d97 Updated coding standard, and enforce it in the entire BuildCraft codebase.
Close #1662.
2014-05-03 18:59:52 +02:00
SpaceToad
830ba84c87 added blueprint deployer, for #1673 2014-05-02 20:16:20 +02:00
SpaceToad
9c48334c57 minor API cleanup 2014-05-02 09:07:08 +02:00
SpaceToad
5e3b0126ac implemented control over energy requirements, for #1664 2014-05-02 09:01:28 +02:00
Prototik
4144075082 Add MjAPI.getEnergyStored() and maxCapacity() 2014-05-02 11:17:06 +08:00
SpaceToad
5bd9aec80a Implemented builder state save for filler and quarry.
Fixed API, and moved out some non-essencial files.
Close #1618
2014-05-01 23:40:30 +02:00
SpaceToad
ae1003aaf7 extrated MjAPI from core 2014-05-01 19:34:01 +02:00
SpaceToad
1edde4b1e2 missing check-in for #1594 2014-05-01 19:29:04 +02:00
SpaceToad
920be38a5f added building permissions, close #1509 2014-05-01 13:14:57 +02:00
SpaceToad
dec032c513 fixed behavior of falling blocks, fix #1660 2014-05-01 10:48:07 +02:00
SpaceToad
31b578959d Introduced a third phase in blueprint building, fix #1659.
Further refinements in builder processing.
2014-05-01 10:43:51 +02:00
SpaceToad
6c43b63f27 fixed previous check-in 2014-04-30 21:23:49 +02:00
SpaceToad
5353198eaa completed previous check-in, for #1650 2014-04-30 20:36:57 +02:00
Prototik
11b0b412b7 Split api and main classes to different source sets.
This means a separate api jar and no more inconsistencies between api
and core. (fix #1653)
2014-04-30 21:03:12 +08:00