~starkingdoms/starkingdoms

ref: 5ed17b2ec1a3f95349833a08850fc8d7ef5d8d4f starkingdoms/crates/unified/assets/config/parts/thruster.part.toml -rw-r--r-- 476 bytes
5ed17b2eghostly_zsh feat: toggle drill button 2 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[part]
name = "Thruster"
sprite_connected = "textures/thruster_on.png"
sprite_disconnected = "textures/thruster_off.png"

[physics]
width = 50
height = 50
mass = 100

[[thruster]]
id = "main"
apply_force_at_local = [ 0, 0 ]
thrust_vector = [ 0.0, -20000.0 ]

[[joint]]
id = "Top"
target = { translation = [ 0.0, 55.0, 0.0 ], rotation = 0.0 }
snap = { translation = [ 0.0, 25.0, 0.0 ], rotation = 0.0 }

[crafting]
can_craft = false

[[crafting.recipe]]
inputs = { iron = 25 }