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 tiles = {}
|
||||||
local cbox = {}
|
local cbox = {}
|
||||||
|
|
||||||
if def.machine_shape == "standard" then
|
if def.machine_shape == "upright" then
|
||||||
mesh = "minislots_generic_machine_standard.obj"
|
mesh = "minislots_generic_machine_upright.obj"
|
||||||
cbox = {
|
cbox = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
|
@ -560,8 +560,8 @@ function minislots.register_machine(mdef)
|
||||||
{-0.5, 0.5, -0.1875, 0.5, 1.5, 0.5 },
|
{-0.5, 0.5, -0.1875, 0.5, 1.5, 0.5 },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif def.machine_shape == "big" then
|
elseif def.machine_shape == "upright_big" then
|
||||||
mesh = "minislots_generic_model_bigslot.obj"
|
mesh = "minislots_generic_machine_upright_big.obj"
|
||||||
cbox = {
|
cbox = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -1, -0.5, -0.5, 1.5, 3.5, 1.5 }
|
fixed = { -1, -0.5, -0.5, 1.5, 3.5, 1.5 }
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
minislots.register_machine({
|
minislots.register_machine({
|
||||||
name = "golden7s", -- becomes the node name e.g. "minislots:golden7s"
|
name = "golden7s", -- becomes the node name e.g. "minislots:golden7s"
|
||||||
description = "Golden 7's slot machine",
|
description = "Golden 7's slot machine",
|
||||||
machine_shape = "standard",
|
machine_shape = "upright",
|
||||||
lines = { -- reel symbol pay line positions: 0 = center, -1 = top, +1 = bottom
|
lines = { -- reel symbol pay line positions: 0 = center, -1 = top, +1 = bottom
|
||||||
{ 0, 0, 0 }, -- pay line 1: center symbol on each reel
|
{ 0, 0, 0 }, -- pay line 1: center symbol on each reel
|
||||||
{ -1, -1, -1 }, -- pay line 2: top symbol on each reel
|
{ -1, -1, -1 }, -- pay line 2: top symbol on each reel
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
minislots.register_machine({
|
minislots.register_machine({
|
||||||
name = "golden7s_deluxe",
|
name = "golden7s_deluxe",
|
||||||
description = "Golden 7's Deluxe slot machine",
|
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
|
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
|
{ 0, 0, 0, 0, 0 }, -- pay line 1: center symbol on each reel
|
||||||
{ -1, -1, -1, -1, -1 }, -- 2: top symbol on each reel
|
{ -1, -1, -1, -1, -1 }, -- 2: top symbol on each reel
|
||||||
|
|
Loading…
Reference in New Issue