Florian Nücke
|
e175a26fe1
|
using tile entity description packets to initialize client tile entities instead of the delayed request/response scheme in validate() which seems to solve moving robot problems... at least until there's massive lag, I suppose?
|
2013-11-28 14:27:10 +01:00 |
|
Florian Nücke
|
0d1e3b0bb4
|
fixed robots possibly not receiving their status information on clients when being validated while moving - at least somewhat: tile entity lookup for received packets now checks if the block is an afterimage, and if so tries to look up the actual robot proxy. this is really hacky and I plan on solving this differently because it may still fail (robot A validates, moves, robot B moves into robot A's place -> B gets A's info), most likely by tagging robot requests with a unique id and then looking them up in the list of active tile entities or something... but for now it does the job.
|
2013-11-28 02:58:01 +01:00 |
|
Florian Nücke
|
983c88570a
|
fixed charger state responses
|
2013-11-28 02:53:00 +01:00 |
|
Florian Nücke
|
fb6b92bffe
|
removed power supply item and added generator upgrade for robots, which acts like an internal stirling engine (can eat fuel items and burn them for energy). per default slightly less efficient than a stirling engine; added api methods to interact with a robot's selected inventory slot (if the caller *is* a robot, otherwise does nothing)
|
2013-11-28 02:52:42 +01:00 |
|
Florian Nücke
|
71b2fae50a
|
updated tooltip and block names for case
|
2013-11-27 23:21:12 +01:00 |
|
Florian Nücke
|
513b3a648c
|
tiered computer cases
|
2013-11-27 23:11:32 +01:00 |
|
Florian Nücke
|
d17824e722
|
computers and robots no longer start when right clicked, instead there's a button in the gui now that allows turning the computer/robot on or off (also useful for rebooting when locked in some interruptible loop); removed the 'power' slot from computer cases
|
2013-11-27 22:15:01 +01:00 |
|
Florian Nücke
|
4cb741fb74
|
separating dirs from files in ls
|
2013-11-27 18:46:44 +01:00 |
|
Florian Nücke
|
453be0f2f5
|
moved post-library init code to extra file
|
2013-11-27 18:34:49 +01:00 |
|
Florian Nücke
|
7d4f4c46f3
|
fixed charger not continuing after load; added particle effects on robots currently being charged
|
2013-11-27 18:12:31 +01:00 |
|
Florian Nücke
|
9335c2c645
|
localized name and tooltip for charger and removed tags (yay decompiled code, \u00A7 is just a section sign...)
|
2013-11-27 03:04:23 +01:00 |
|
Florian Nücke
|
d9ac883281
|
fixed shift click inventory stack shifting less a bit: item components could fail to save; also added manual syncing of item component address tags when added to a container to avoid client gui desyncing; added stack limit for appropriate slots in robot
|
2013-11-27 01:28:46 +01:00 |
|
Florian Nücke
|
f3dcafc893
|
fixed robot inventory not updating
|
2013-11-26 22:39:07 +01:00 |
|
Florian Nücke
|
7cf14ed7fd
|
charger texture and fixed power distributor synchronization when the max failed as well as when there are multiple distributors in a network
|
2013-11-26 21:41:43 +01:00 |
|
Florian Nücke
|
643a25fc53
|
more work on charger block; redid global power state synchronization for networks, now sending general state every 5% changes (for distributor block rendering e.g.) and sending more frequently only when necessary (e.g. gui of robots); removed the testing power generation from robots, they have to be charged at chargers now
|
2013-11-26 20:55:22 +01:00 |
|
Florian Nücke
|
c52e18a87b
|
cleaned up synchronization in connector/distributor, i think; pausing computer in save to make sure it won't continue running until the whole world finished saving; started work on charger (robot loading block); reworked connector interface, changeBuffer now returns the delta that could not be applied and added new method tryChangeBuffer that will only apply the full delta or nothing, and return true if it worked, false otherwise
|
2013-11-26 14:35:14 +01:00 |
|
Florian Nücke
|
f5e1f09af3
|
fixed distributor reassignment; split redstone into bundled and normal redstone traits (and two cards, bundled will only be used if either redlogic or mfr is available)
|
2013-11-26 10:32:07 +01:00 |
|
Florian Nücke
|
45ba7b00f6
|
pageup/pagedown support for edit
|
2013-11-26 03:32:02 +01:00 |
|
Florian Nücke
|
113aa37f6d
|
fixed energy redistribution bug on connector removal
|
2013-11-26 03:25:49 +01:00 |
|
Florian Nücke
|
22901d5494
|
fixed energy disappearing from capacitors with adjacency bonus after loading
|
2013-11-26 03:14:40 +01:00 |
|
Florian Nücke
|
9af202331b
|
small method rename and checking for ownership before starting a computer
|
2013-11-26 03:05:16 +01:00 |
|
Florian Nücke
|
34033966da
|
playing with power numbers; fixed some converter bugs; added setting for a factor to apply to computer's running energy cost when they are sleeping (so they need less when they os.sleep(a long time); capacitor adjacency bonus and capacitor doesn't tick anymore; removed internal buffer form converter
|
2013-11-26 01:34:10 +01:00 |
|
Florian Nücke
|
ac5fe3c87c
|
added capability to send http requests with wireless network cards, if allowed in the config (with domain white and black list); fixed nil printing when ls-ing an invalid dir, returning an error message instead; config doesn't support backslashes and since it might disappear in the future, anyway, I decided to switch to the typesafe config library; renamed config class to Settings to avoid name conflicts with typesafe config
|
2013-11-25 21:54:59 +01:00 |
|
Florian Nücke
|
69048a92c4
|
fixed directory creation not checking capacity limit
|
2013-11-25 14:36:12 +01:00 |
|
Florian Nücke
|
5f0f5d79ff
|
configurable robot names; showing robot name and owner in analyzer result
|
2013-11-25 14:24:07 +01:00 |
|
Florian Nücke
|
ad8ff5d646
|
made the shortened tooltip localizable; swinging item when clearing it
|
2013-11-25 00:46:22 +01:00 |
|
Florian Nücke
|
a014507beb
|
cleaned up stupid naming from way back then (parameters item: ItemStack -> stack: ItemStack); displaying shortened address on *all* item components now; only showing shortened / no tooltips per default now, hold shift to see the full tooltip; shift rightclick with an item component selected to "reset" it (clearing its address and data - this wipes disks!); removed the one item stacking limit on items, the documentation of the item(stack?) class was a bit irritating here, making me believe items that could potentially have tag compound must not be stackable - apparently that was a misunderstanding, yay! only trick bit are robots, that have to enforce the one-stacksize thing in their component slots... superfluous items are now first moved to the robots inventory, then dropped to the ground if that's full, too
|
2013-11-25 00:37:57 +01:00 |
|
Florian Nücke
|
b4335ad995
|
unbroke my test world (item creation order, will sort later); formatting
|
2013-11-24 22:45:39 +01:00 |
|
Florian Nücke
|
08ed375c55
|
Merge branch 'master' of cil.li:oc
|
2013-11-24 22:33:02 +01:00 |
|
Florian Nücke
|
9a366673cd
|
tooltipocalypse! that has to be enough for now...
|
2013-11-24 22:32:53 +01:00 |
|
Johannes Lohrer
|
111f444164
|
Merge branch 'master' of cil.li:oc
Conflicts:
li/cil/oc/common/Proxy.scala
|
2013-11-24 21:59:14 +01:00 |
|
Johannes Lohrer
|
94d0dc6e58
|
added some crafting recipes
|
2013-11-24 21:58:38 +01:00 |
|
Florian Nücke
|
b751fe0e0b
|
tooltips via localization files, with support for custom formatting (colors and text formats)
|
2013-11-24 21:36:31 +01:00 |
|
Florian Nücke
|
eb2778d7aa
|
keyboard rendering in inventory now respects block bounds, making it look a little nicer; reworked keyboard texture to use same color theme as other blocks; fixed keyboard pop-off logic
|
2013-11-24 18:29:50 +01:00 |
|
Florian Nücke
|
b203059ffa
|
moar tooltippery
|
2013-11-24 17:12:06 +01:00 |
|
Florian Nücke
|
da7e638e60
|
shuffling in proxy
|
2013-11-24 16:33:45 +01:00 |
|
Florian Nücke
|
f6b4acb966
|
itemstack "factory" in delegate blocks and items
|
2013-11-24 16:25:15 +01:00 |
|
Florian Nücke
|
3fa660acb7
|
activating keyboards activates the screen they're attached to
|
2013-11-24 16:18:58 +01:00 |
|
Florian Nücke
|
33583dd52d
|
cleanup; fixed keyboards not being rendered when there's a block in front of them
|
2013-11-24 16:01:38 +01:00 |
|
Florian Nücke
|
ec1d708b56
|
Merge branch 'master' of cil.li:oc
|
2013-11-24 15:55:03 +01:00 |
|
Florian Nücke
|
94f7c3a6c9
|
moar tooltips; extending entityplayer directly instead of fakeplayer
|
2013-11-24 15:54:52 +01:00 |
|
Johannes Lohrer
|
f6b366035f
|
Merge branch 'master' of cil.li:oc
|
2013-11-24 15:35:40 +01:00 |
|
Johannes Lohrer
|
1e3a14a0f9
|
keyboard rendering
|
2013-11-24 15:35:32 +01:00 |
|
Florian Nücke
|
8f5cc77247
|
popping keyboards when their screen is broken
|
2013-11-24 15:17:05 +01:00 |
|
Florian Nücke
|
987a056036
|
fixed keyboard not being rendered correctly on client after loading
|
2013-11-24 15:09:51 +01:00 |
|
Johannes Lohrer
|
55f9f33842
|
Merge branch 'master' of cil.li:oc
|
2013-11-24 14:39:16 +01:00 |
|
Johannes Lohrer
|
ac2c493864
|
Merge branch 'master' of cil.li:oc
Conflicts:
li/cil/oc/common/block/Keyboard.scala
|
2013-11-24 14:39:08 +01:00 |
|
Florian Nücke
|
4d8ae19f1b
|
only activate screens when they have a keyboard and only connect keyboards to the screen they're attached to
|
2013-11-24 14:35:16 +01:00 |
|
Florian Nücke
|
0325cbb61d
|
only allow placing keyboards on screens
|
2013-11-24 14:19:26 +01:00 |
|
Florian Nücke
|
4623641fd6
|
proper bounds for keyboards and allow placing on top/bottom of blocks
|
2013-11-24 13:52:32 +01:00 |
|