mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 10:25:21 +02:00
Code style fixes.
This commit is contained in:
@@ -4,14 +4,14 @@ local drive_distance = 30
|
||||
|
||||
core.register_entity("soundstuff:racecar", {
|
||||
initial_properties = {
|
||||
physical = false,
|
||||
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
visual = "upright_sprite",
|
||||
visual_size = {x = 1, y = 1, z = 1},
|
||||
textures = {"soundstuff_racecar.png", "soundstuff_racecar.png^[transformFX"},
|
||||
static_save = false,
|
||||
},
|
||||
physical = false,
|
||||
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
visual = "upright_sprite",
|
||||
visual_size = {x = 1, y = 1, z = 1},
|
||||
textures = {"soundstuff_racecar.png", "soundstuff_racecar.png^[transformFX"},
|
||||
static_save = false,
|
||||
},
|
||||
|
||||
on_activate = function(self, _staticdata, _dtime_s)
|
||||
self.min_x = self.object:get_pos().x - drive_distance * 0.5
|
||||
|
Reference in New Issue
Block a user