Skip to content

Commit 39faaa9

Browse files
add warpdrive, crafts and textures from Jeremy#2233 and Voxel/Purple#2916 (#101)
* add warpdrive, crafts and textures from Jeremy#2233 and Voxel/Purple#2916 * add license statement * update crafts * Update crafts.lua Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com> Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com> Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
1 parent 7e9e76b commit 39faaa9

9 files changed

+76
-42
lines changed

crafts.lua

+57-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11

2-
if minetest.get_modpath("default") then
2+
if minetest.get_modpath("technic") then
3+
-- technic enabled crafts
4+
minetest.register_craft({
5+
output = 'jumpdrive:engine',
6+
recipe = {
7+
{'jumpdrive:backbone', 'technic:blue_energy_crystal', 'jumpdrive:backbone'},
8+
{'jumpdrive:warp_device', 'technic:hv_transformer', 'jumpdrive:warp_device'},
9+
{'technic:copper_coil', 'technic:hv_cable', 'technic:copper_coil'}
10+
}
11+
})
12+
13+
minetest.register_craft({
14+
output = 'jumpdrive:backbone',
15+
recipe = {
16+
{'default:mese_block', 'default:steelblock', 'default:mese_block'},
17+
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
18+
{'default:mese_block', 'default:steelblock', 'default:mese_block'}
19+
}
20+
})
21+
22+
minetest.register_craft({
23+
output = 'jumpdrive:warp_device',
24+
recipe = {
25+
{'technic:composite_plate', 'technic:wrought_iron_dust', 'technic:composite_plate'},
26+
{'default:mese_block', 'technic:machine_casing', 'default:mese_block'},
27+
{'technic:copper_coil', 'technic:hv_cable', 'technic:copper_coil'}
28+
}
29+
})
30+
minetest.register_craft({
31+
output = 'jumpdrive:fleet_controller',
32+
recipe = {
33+
{'technic:carbon_plate', 'mesecons_luacontroller:luacontroller0000', 'technic:control_logic_unit'},
34+
{'jumpdrive:backbone', 'technic:machine_casing', 'jumpdrive:backbone'},
35+
{'basic_materials:stainless_steel_wire', 'default:steelblock', 'basic_materials:stainless_steel_wire'}
36+
}
37+
})
38+
39+
elseif minetest.get_modpath("default") then
40+
-- minetest_game crafts
341
minetest.register_craft({
442
output = 'jumpdrive:engine',
543
recipe = {
@@ -17,4 +55,22 @@ if minetest.get_modpath("default") then
1755
{'default:mese_block', 'default:steelblock', 'default:mese_block'}
1856
}
1957
})
58+
59+
minetest.register_craft({
60+
output = 'jumpdrive:warp_device',
61+
recipe = {
62+
{'default:mese_crystal', 'default:diamond', 'default:mese_crystal'},
63+
{'default:mese_block', 'default:steelblock', 'default:mese_block'},
64+
{'default:mese_crystal', 'default:diamond', 'default:mese_crystal'}
65+
}
66+
})
67+
68+
minetest.register_craft({
69+
output = 'jumpdrive:fleet_controller',
70+
recipe = {
71+
{'jumpdrive:engine', 'default:steelblock', 'jumpdrive:engine'},
72+
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
73+
{'jumpdrive:engine', 'default:steelblock', 'jumpdrive:engine'}
74+
}
75+
})
2076
end

fleet/fleet_controller.lua

-9
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,3 @@ minetest.register_node("jumpdrive:fleet_controller", {
220220
end
221221
end
222222
})
223-
224-
minetest.register_craft({
225-
output = 'jumpdrive:fleet_controller',
226-
recipe = {
227-
{'jumpdrive:engine', 'default:steelblock', 'jumpdrive:engine'},
228-
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
229-
{'jumpdrive:engine', 'default:steelblock', 'jumpdrive:engine'}
230-
}
231-
})

init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ dofile(MP.."/mapgen.lua")
4949
dofile(MP.."/common.lua")
5050
dofile(MP.."/digiline.lua")
5151
dofile(MP.."/backbone.lua")
52+
dofile(MP.."/warp_device.lua")
5253
dofile(MP.."/crafts.lua")
5354

5455
-- engines

readme.md

+8-32
Original file line numberDiff line numberDiff line change
@@ -177,37 +177,13 @@ end)
177177
* @Panquesito7
178178
* @OgelGames
179179
* @S-S-X
180+
* Jeremy#2233
181+
* Purple#2916
180182

181-
# History
183+
# License
184+
* Code: `MIT`
185+
* Textures `CC BY-SA 4.0`
182186

183-
## Next
184-
* optional technic mod
185-
* upgrade slots
186-
* "on_movenode" node definition
187-
* "jumpdrive.register_after_jump" function
188-
189-
## 2.0
190-
191-
* various fixes and optimizations
192-
* Fleetcontroller
193-
* Digiline interface
194-
* mod.conf (minetest >= 5.0)
195-
* Beds,ropes,missions compatibility
196-
* calculate_power() override
197-
* overlap check
198-
* No fuel consumption if creative
199-
* Protection checks for source and destination
200-
* preflight check with custom override
201-
* Settings in minetest.conf
202-
* vacuum compatibility (jump into vacuum with air filled vessel)
203-
204-
## 1.1
205-
206-
* improved performance
207-
* Documentation
208-
* Removed complicated cascade function
209-
210-
## 1.0
211-
212-
* Initial version
213-
* Cascade operation (with issues)
187+
# Attributions
188+
* `textures/jumpdrive.png`/`textures/jumpdrive_backbone.png`/`textures/jumpdrive_fleet_controller.png`/`textures/jumpdrive_warpdevice.png`
189+
* Jeremy#2233 / Purple#2916

textures/jumpdrive.png

13.3 KB
Loading

textures/jumpdrive_backbone.png

3.5 KB
Loading
7.53 KB
Loading

textures/jumpdrive_warpdevice.png

5.23 KB
Loading

warp_device.lua

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
3+
minetest.register_node("jumpdrive:warp_device", {
4+
description = "Warp Device",
5+
6+
tiles = {"jumpdrive_warpdevice.png"},
7+
groups = {cracky=5,oddly_breakable_by_hand=1},
8+
sounds = default.node_sound_glass_defaults(),
9+
light_source = 4
10+
})

0 commit comments

Comments
 (0)