rename "standard" model to "upright"
changed the as yet unused "big" setting to follow (I'll make a model for it later)master
parent
79b59a037a
commit
683b2c65a5
|
@ -551,8 +551,8 @@ function minislots.register_machine(mdef)
|
|||
local tiles = {}
|
||||
local cbox = {}
|
||||
|
||||
if def.machine_shape == "standard" then
|
||||
mesh = "minislots_generic_machine_standard.obj"
|
||||
if def.machine_shape == "upright" then
|
||||
mesh = "minislots_generic_machine_upright.obj"
|
||||
cbox = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
@ -560,8 +560,8 @@ function minislots.register_machine(mdef)
|
|||
{-0.5, 0.5, -0.1875, 0.5, 1.5, 0.5 },
|
||||
}
|
||||
}
|
||||
elseif def.machine_shape == "big" then
|
||||
mesh = "minislots_generic_model_bigslot.obj"
|
||||
elseif def.machine_shape == "upright_big" then
|
||||
mesh = "minislots_generic_machine_upright_big.obj"
|
||||
cbox = {
|
||||
type = "fixed",
|
||||
fixed = { -1, -0.5, -0.5, 1.5, 3.5, 1.5 }
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
minislots.register_machine({
|
||||
name = "golden7s", -- becomes the node name e.g. "minislots:golden7s"
|
||||
description = "Golden 7's slot machine",
|
||||
machine_shape = "standard",
|
||||
machine_shape = "upright",
|
||||
lines = { -- reel symbol pay line positions: 0 = center, -1 = top, +1 = bottom
|
||||
{ 0, 0, 0 }, -- pay line 1: center symbol on each reel
|
||||
{ -1, -1, -1 }, -- pay line 2: top symbol on each reel
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
minislots.register_machine({
|
||||
name = "golden7s_deluxe",
|
||||
description = "Golden 7's Deluxe slot machine",
|
||||
machine_shape = "standard",
|
||||
machine_shape = "upright",
|
||||
lines = { -- reel symbol pay line positions: 0 = center, -1 = top, +1 = bottom
|
||||
{ 0, 0, 0, 0, 0 }, -- pay line 1: center symbol on each reel
|
||||
{ -1, -1, -1, -1, -1 }, -- 2: top symbol on each reel
|
||||
|
|
Loading…
Reference in New Issue