Lunacraft Wiki

The "items.txt" is one of the files in Lunacraft. See the blog article How to Examine the Contents of an iPhone App.

General Information

Items.txt consists of a number of lines of information separated by commas. It starts like this:

Code

#name value icon hand external stackable equiptype blocktype longname

dirt,0,0,1,1,YES,0,1
sand,0,1,1,1,YES,0,2
rock,0,2,1,1,YES,0,3
snow,0,3,1,1,YES,0,4
gravel,0,4,1,1,YES,0,5
leaf,0,5,1,1,YES,0,6,Moon Leaf
water,0,6,1,1,YES,0,7
light,0,7,1,1,YES,0,9
(etc.)

Each line corresponds to an item that can be in the inventory. The various numbers and other information appears in different places in the game data. For example, and "blocktype", when 1 is added, is identical to the number found in the game's map data, e.g. "0_128_256.mw" for Superblock (1,2).

Revisions

In Update 1.6.0.1, items.txt lacked the "long names" shown in the last column.

In Update 1.7.0, the "long names" were added, and the "refinedgold" item was added at the end. Long names is probably the name of the block in the Crafting Guide, since it was added in this update.

In Update 1.8, the "beacon" item was added to the end.

There were no changes to items.txt in Update 1.9.

There were no changes to items.txt in Update 1.91.

There were no changes to items.txt in Update 2.01.

Complete Contents

Note
"#name" will be "Internal Name" and "long name" will be "Name."

Blocks

Name Internal Name Icon External Stackable Equiptype Blocktype
Air nothing 0 Grid Air 0 No 0 0
Topsoil topsoil 1 Grid Dirt 1 No 0 1
Dirt dirt 1 Grid Dirt 1 Yes (255) 0 2
Sand sand 2 Grid Sand 1 Yes (255) 0 3
Rock rock 3 Grid Rock 1 Yes (255) 0 4
Snow snow 4 Grid Snow 1 Yes (255) 0 5
Gravel gravel 5 Grid Gravel 1 Yes (255) 0 6
Moon Leaf leaf 6 Grid Moon Leaf 1 Yes (255) 0 7
Water water 7 Grid Water 1 Yes (255) 0 8
Light light 8 Grid Light 1 Yes (255) 0 9
Unknown unknown 7 Grid Water 1 Yes (255) 0 10
Slug Pistol 1, 2, 3 slugpistol, slugpistol2, slugpistol3 11, 37, 39
IMG 5268
2 No 1 111, 111, 113
Drill 1, 2, 3 drill, drill2, drill3 12, 38, 40
IMG 5272
2 No 2 111, 112, 114
Minilight minilight 13 Grid Minilight 1 Yes (255) 3 101
Aluminum Ore aluminum 9 Grid Aluminum Ore 1 Yes (255) 0 11
Molybdenum Ore molybdenum 10 Grid Molybdenum Ore 1 Yes (255) 0 12
Gold Ore gold 14 Grid Gold Ore 1 Yes (255) 0 13
Silver Ore silver 15 Grid Silver Ore 1 Yes (255) 0 14
Carbon carbon 16 Grid Carbon 1 Yes (255) 0 15
Sulphur Crystal yellow crystal 17 Grid Sulphur Crystal 1 Yes (255) 0 16
Boron Crystal pink crystal 18 Grid Boron Crystal 1 Yes (255) 0 17
Glass glass 19 Grid Glass 1 Yes (255) 0 18
Magnetite magnetite 20 Grid Magnetite 1 Yes (255) 0 19
Shale Gravel oilstone 21 Grid Oil Stone 1 Yes (255) 0 20
Polymer polymer 22 Grid Polymer 1 Yes (255) 0 21
Refined Aluminum refinedaluminum 23 1 Yes (255) 0 22
Internal        |      |          | stack  | equip  |           | 
Name            | icon | external |  -able |  -type | blocktype | Name
=====================================================================================
refinedaluminum |   22 |        1 |    YES |      0 |        22 | Aluminum
mechanism       |   23 |        1 |    YES |      3 |       102 |
battery         |   24 |        1 |    YES |      5 |       103 |
magnet          |   25 |        1 |    YES |      3 |       104 |
drillbit        |   26 |        1 |    YES |      3 |       105 | Drill Bit
powercrystal    |   27 |        1 |    YES |      5 |       106 | Power Crystal
medkit          |   28 |        1 |    YES |      3 |       107 |
biogel          |   29 |        1 |    YES |      3 |       108 |
titanium        |   30 |        1 |    YES |      0 |        23 | Titanium Ore
refinedtianium  |     0 |   31 |    1 |        1 |    YES |      0 |        24 | Titanium
notchium        |     0 |   32 |    1 |        1 |    YES |      0 |        25 | Notchium Ore
refinednotchium |     0 |   33 |    1 |        1 |    YES |      0 |        26 | Notchium
jetpack         |     0 | Grid Jetpack v1 34 |    1 |        1 |    YES |      4 |       109 | Jetpack 1
jetpack2        |     0 | Grid Jetpack v2 35 |    1 |        1 |    YES |      4 |       109 | Jetpack 2
jetpack3        |     0 | Grid Jetpack v3 36 |    1 |        1 |    YES |      4 |       110 | Jetpack 3
energyorb       |     0 |   41 |    1 |        2 |    YES |      3 |       115 | Energy Orb
adhesive        |     0 |   42 |    1 |        2 |    YES |      3 |       116 |
bluecrystal     |     0 |    7 |    1 |        1 |    YES |      0 |        27 | Blue Crystal
disk            |     0 |   45 |    1 |        1 |     NO |      3 |       117 |
disk2           |     0 |   45 |    1 |        1 |     NO |      3 |       124 |
disk3           |     0 |   45 |    1 |        1 |     NO |      3 |       125 |
disk4           |     0 |   45 |    1 |        1 |     NO |      3 |       126 |
disk5           |     0 |   45 |    1 |        1 |     NO |      3 |       127 |
disk6           |     0 |   45 |    1 |        1 |     NO |      3 |       128 |
disk7           |     0 |   45 |    1 |        1 |     NO |      3 |       129 |
disk8           |     0 |   45 |    1 |        1 |     NO |      3 |       130 |
disk9           |     0 |   45 |    1 |        1 |     NO |      3 |       131 |
disk10          |     0 |   45 |    1 |        1 |     NO |      3 |       132 |
disk11          |     0 |   45 |    1 |        1 |     NO |      3 |       133 |
disk12          |     0 |   45 |    1 |        1 |     NO |      3 |       134 |
disk13          |     0 |   45 |    1 |        1 |     NO |      3 |       135 |
disk14          |     0 |   45 |    1 |        1 |     NO |      3 |       138 |
disk15          |     0 |   45 |    1 |        1 |     NO |      3 |       139 |
disk16          |     0 |   45 |    1 |        1 |     NO |      3 |       140 |
disk17          |     0 |   45 |    1 |        1 |     NO |      3 |       141 |
disk18          |     0 |   45 |    1 |        1 |     NO |      3 |       142 |
moonwood        |     0 |   49 |    1 |        1 |    YES |      0 |        28 | Moon Wood
whitestone      |     0 |   51 |    1 |        1 |    YES |      0 |        29 | Calcite
darkstone       |     0 |   52 |    1 |        1 |    YES |      0 |        30 | Graphite
greenstone      |     0 |   53 |    1 |        1 |    YES |      0 |        31 | Beryllium
redstone        |     0 |   54 |    1 |        1 |    YES |      0 |        32 | Feldspar
purplestone     |     0 |   55 |    1 |        1 |    YES |      0 |        33 | Amethyst Ore
bluestone       |     0 |   56 |    1 |        1 |    YES |      0 |        34 | Chalchanthite
cyanstone       |     0 |   57 |    1 |        1 |    YES |      0 |        35 | Phosphate
blobstone       |     0 |   58 |    1 |        1 |    YES |      0 |        36 | Xenostone
yellowstone     |     0 |   59 |    1 |        1 |    YES |      0 |        37 | Sulphur Ore
orangestone     |     0 |   60 |    1 |        1 |    YES |      0 |        38 | Granite
brownstone      |     0 |   61 |    1 |        1 |    YES |      0 |        39 | Quartz Ore
bluegravel      |     0 |   62 |    1 |        1 |    YES |      0 |        40 | Zircon Ore
camera          |     0 |   63 |    1 |        1 |    YES |      3 |       117 |
turret          |     0 |   64 |    1 |        1 |    YES |      3 |       118 | Turret
turret2         |     0 |   65 |    1 |        1 |    YES |      3 |       136 | Turret 2
turret3         |     0 |   66 |    1 |        1 |    YES |      3 |       137 | Turret 3
pylon           |     0 |   67 |    1 |        1 |    YES |      3 |       123 |
neptunium       |     0 |   68 |    1 |        1 |    YES |      0 |        42 |
colorwood       |     0 |   69 |    1 |        1 |    YES |      0 |        43 | Moon Bark
chronoboost     |     0 |   70 |    1 |        1 |     NO |      3 |       121 | Chronobooster
chronoslow      |     0 |   80 |    1 |        1 |     NO |      3 |       122 | Chronowinder
bomb            |     0 |   79 |    1 |        1 |     NO |      3 |       123 | 
refinedgold     |     0 |   77 |    1 |        1 |    YES |      3 |       123 | Gold
beacon          |     0 |   87 |    1 |        1 |    YES |      0 |        45 | Beacon

The Other "ITEMS" File

The game also contains a file called "ITEMS" without the "txt" extension. This file contains some notes and ideas by the programmer, and is similar to the TODO file:

Code

Base items
.
Sand
Gravel
Dirt
Stone
Ice
Vegetation
Plant light
Si Ore
Al Ore
Mb Ore
Gold Ore
Platinum Ore
Gold-rich Sand (speckled yellow)
Iron-rich Sand (red)
Quartz
Blue/Red/Purple/Green crystal
.
.
Monster Items
.
Slime
Energy Cell
Recipes/Clues