mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-10-01 16:30:47 +00:00
Added documentation and updated changelog/whatsnew
This commit is contained in:
parent
7f8100ae0f
commit
6020cd55b1
@ -6,6 +6,8 @@ New Features in ComputerCraft 1.80:
|
|||||||
* os.time() and os.day() now accept parameters to give the real world time.
|
* os.time() and os.day() now accept parameters to give the real world time.
|
||||||
* Added os.epoch()
|
* Added os.epoch()
|
||||||
* Monitor text now glows in the dark.
|
* Monitor text now glows in the dark.
|
||||||
|
* Added a "Pocket Computer upgrde API" so mod developers can add their own pocket upgrades.
|
||||||
|
* Added pocket.equipBack()/pocket.unequipBack() to add/remove pocket upgrades.
|
||||||
|
|
||||||
New Features in ComputerCraft 1.79:
|
New Features in ComputerCraft 1.79:
|
||||||
|
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
pocket is an API available on pocket computers, which allows modifying its upgrades.
|
||||||
|
Functions in the pocket API:
|
||||||
|
pocket.equipBack()
|
||||||
|
pocket.unequipBack()
|
||||||
|
|
||||||
|
When equipping upgrades, it will search your inventory for a suitable upgrade, starting in the selected slot. If one cannot be found then it will check your offhand.
|
@ -6,5 +6,7 @@ New Features in ComputerCraft 1.80:
|
|||||||
* os.time() and os.day() now accept parameters to give the real world time.
|
* os.time() and os.day() now accept parameters to give the real world time.
|
||||||
* Added os.epoch()
|
* Added os.epoch()
|
||||||
* Monitor text now glows in the dark.
|
* Monitor text now glows in the dark.
|
||||||
|
* Added a "Pocket Computer upgrde API" so mod developers can add their own pocket upgrades.
|
||||||
|
* Added pocket.equipBack()/pocket.unequipBack() to add/remove pocket upgrades.
|
||||||
|
|
||||||
Type "help changelog" to see the full version history.
|
Type "help changelog" to see the full version history.
|
||||||
|
Loading…
Reference in New Issue
Block a user