added random mini crewmate colors

This commit is contained in:
2023-01-31 22:31:00 +01:00
parent bc21a51a77
commit 71cf78c304
2 changed files with 10 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ local entity = {
on_activate = function(self, staticdata)
local texture = textures_b[math.random(#textures_b)]
self.object:set_properties({textures = {texture}})
self.object:set_yaw(math.random() * 2 * math.pi)
self.rotation_direction = math.random(-1, 1)
self.min_max_jump_force_diff = self.max_jump_force - self.min_jump_force