Commit Graph

10 Commits

Author SHA1 Message Date
Jonathan Coates fbf64a0404
Pull in the remainder of CC:T 1.109.6 2024-03-06 11:10:55 +00:00
Jonathan Coates 9f251d7b52
Update Cobalt to use Lua 5.2 2024-02-28 10:16:48 +00:00
Jonathan Coates 58d54e2e70
Update to latest CC:T rom
More or less - we're not updating to Lua 5.2/binary-only handles, so
have skipped some changes.
2024-02-28 09:34:16 +00:00
Jonathan Coates e62f2630b5
Removes calls to isWireless
Wired modems don't exist on 1.4.7, so there's no method to distinguish
between wireless and wired modems.

Fixes #1733
2024-02-28 09:28:17 +00:00
Jonathan Coates 136fbd2589
Pull in CC:T 1.108.1, some other fixes
- Use Cobalt's new Java patcher, allowing us to use Java 17 syntax. As
   such, update a couple classes to make use of that.
 - Pull in latest ROM. This is very noisy (due to the link syntax
   changes), but mostly trivial changes.
 - Fix wget and pastebin programs using http methods which don't exist.
 - Make fs.open create the parent directory when opening for write, much
   like newer CC versions.
2023-10-04 18:56:11 +01:00
Jonathan Coates 35e227ed02
Update http wrappers to match CC 1.5
It might be fun to switch to CC:T's HTTP API, but for now let's just get
something working.

Fixes #1587.
2023-09-13 22:08:08 +01:00
Jonathan Coates 687a29de95
Bump CC:T to 1.105.1 2023-06-13 22:55:11 +01:00
Jonathan Coates 5426d880f0
Fix a couple of back-compatibility issues
- Add back red{set,probe,pulse}. Remove usage of analogue functions, as
   these don't exist on older versions (and is gonna be really hard to
   patch back in).

 - Remove turtle equip methods, as these are redundant.

 - Add turtle.{getSelectedSlot, getFuelLimit}. The latter is kinda
   useless (fuel limits come later!), but useful for compatibility.
2023-06-13 20:04:13 +01:00
Jonathan Coates 0bb6ec39bd
Clarify the README a little 2023-06-13 17:37:11 +01:00
Jonathan Coates 073df30e53
Initial commit 2023-06-13 17:30:12 +01:00