2013-01-27 17:03:46 +04:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'technic:copper_chest 1',
|
|
|
|
recipe = {
|
2013-07-06 12:35:48 +04:00
|
|
|
{'default:copper_ingot','default:copper_ingot','default:copper_ingot'},
|
|
|
|
{'default:copper_ingot','technic:iron_chest','default:copper_ingot'},
|
|
|
|
{'default:copper_ingot','default:copper_ingot','default:copper_ingot'},
|
2013-01-27 17:03:46 +04:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'technic:copper_locked_chest 1',
|
|
|
|
recipe = {
|
2013-07-06 12:35:48 +04:00
|
|
|
{'default:copper_ingot','default:copper_ingot','default:copper_ingot'},
|
|
|
|
{'default:copper_ingot','technic:iron_locked_chest','default:copper_ingot'},
|
|
|
|
{'default:copper_ingot','default:copper_ingot','default:copper_ingot'},
|
2013-01-27 17:03:46 +04:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'technic:copper_locked_chest 1',
|
|
|
|
recipe = {
|
split default iron/steel into three metals
Override the default mod's iron/steel substance, replacing it with three
metals: wrought iron (pure iron), carbon steel (iron alloyed with a little
carbon), and cast iron (iron alloyed with lots of carbon). Wrought iron
is easiest to refine, then cast iron, and carbon steel the most difficult,
matching the historical progression. Recipes that used default steel are
changed to use one of the three, the choice of alloy for each application
being both somewhat realistic and also matching up with game progression.
The default:steel{_ingot,block} items are identified specifically with
wrought iron. This makes the default refining recipes work appropriately.
Iron-using recipes defined outside technic are thus necessarily
reinterpreted to use wrought iron, which is mostly appropriate.
Some objects are renamed accordingly.
Rather than use the default steel textures for wrought iron, with technic
providing textures for the other two, technic now provides textures for
all three metals. This avoids problems that would occur with texture
packs that provide default_steel_{ingot,block} textures that are not
intended to support this wrought-iron/carbon-steel/cast-iron distinction.
A texture pack can provide a distinct set of three textures specifically
for the situation where this distinction is required.
Incidentally make grinding and alloy cooking recipes work correctly when
ingredients are specified by alias.
2014-05-17 01:02:49 +04:00
|
|
|
{'technic:wrought_iron_ingot'},
|
2013-01-27 17:03:46 +04:00
|
|
|
{'technic:copper_chest'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-12-18 04:15:20 +04:00
|
|
|
technic.chests:register("Copper", {
|
Buff chest sizes
Make the inventory sizes of all the technic chests larger, to provide
a more appreciable benefit from upgrading chests, more in keeping with
the resources spent on the upgrades.
Currently the game engine doesn't handle large forms well. The size
of an inventory slot is fixed relative to the screen height, and a
form that exceeds either screen dimension will extend off the screen,
making parts of it inaccessible. The tallest a form can get and remain
usable is 13 slots, and even that slightly overspills the screen height.
The maximum usable width depends on the screen aspect ratio. For the
narrowest common ratio, 5:4, the widest a form can usably get is 15 slots,
again slightly overspilling. Combined with the layout of the chest forms,
this implies a maximum practical chest inventory size of 15x7 (= 105),
slightly smaller than the largest Minecraft chests.
To provide roughly equal size steps in the five upgrades from wooden
chest (staying at 8x4 = 32) to mithril chest, the steps need to be of
about 15 slots instead of the former 4. The new sizes are:
wooden 8x4 32
iron 9x5 45
copper 12x5 60
silver 12x6 72
gold 15x6 90
mithril 15x7 105
To make upgrading from the old chest sizes to the new sizes more
convenient, the inventory size is now set not only upon chest construction
but also when accepting form input, at the same time as rewriting
the formspec. So after upgrading the technic mod, viewing an existing
chest upgrades it to the new size. The first time a pre-existing chest
is viewed its form will have the old dimensions, looking broken due
to the inventory background image now having the new number of slots.
The second time it is viewed the form will have the new dimensions,
and the full new number of slots will be usable.
2014-06-20 21:46:57 +04:00
|
|
|
width = 12,
|
|
|
|
height = 5,
|
2014-05-01 11:32:01 +04:00
|
|
|
sort = true,
|
|
|
|
autosort = true,
|
2013-12-18 04:15:20 +04:00
|
|
|
infotext = false,
|
|
|
|
color = false,
|
|
|
|
locked = false,
|
2013-01-27 17:03:46 +04:00
|
|
|
})
|
|
|
|
|
2013-12-18 04:15:20 +04:00
|
|
|
technic.chests:register("Copper", {
|
Buff chest sizes
Make the inventory sizes of all the technic chests larger, to provide
a more appreciable benefit from upgrading chests, more in keeping with
the resources spent on the upgrades.
Currently the game engine doesn't handle large forms well. The size
of an inventory slot is fixed relative to the screen height, and a
form that exceeds either screen dimension will extend off the screen,
making parts of it inaccessible. The tallest a form can get and remain
usable is 13 slots, and even that slightly overspills the screen height.
The maximum usable width depends on the screen aspect ratio. For the
narrowest common ratio, 5:4, the widest a form can usably get is 15 slots,
again slightly overspilling. Combined with the layout of the chest forms,
this implies a maximum practical chest inventory size of 15x7 (= 105),
slightly smaller than the largest Minecraft chests.
To provide roughly equal size steps in the five upgrades from wooden
chest (staying at 8x4 = 32) to mithril chest, the steps need to be of
about 15 slots instead of the former 4. The new sizes are:
wooden 8x4 32
iron 9x5 45
copper 12x5 60
silver 12x6 72
gold 15x6 90
mithril 15x7 105
To make upgrading from the old chest sizes to the new sizes more
convenient, the inventory size is now set not only upon chest construction
but also when accepting form input, at the same time as rewriting
the formspec. So after upgrading the technic mod, viewing an existing
chest upgrades it to the new size. The first time a pre-existing chest
is viewed its form will have the old dimensions, looking broken due
to the inventory background image now having the new number of slots.
The second time it is viewed the form will have the new dimensions,
and the full new number of slots will be usable.
2014-06-20 21:46:57 +04:00
|
|
|
width = 12,
|
|
|
|
height = 5,
|
2014-05-01 11:32:01 +04:00
|
|
|
sort = true,
|
|
|
|
autosort = true,
|
2013-12-18 04:15:20 +04:00
|
|
|
infotext = false,
|
|
|
|
color = false,
|
|
|
|
locked = true,
|
2013-01-27 17:03:46 +04:00
|
|
|
})
|
|
|
|
|