rename "standard" model to "upright"

changed the as yet unused "big" setting to follow
(I'll make a model for it later)
master
Vanessa Dannenberg 2018-09-17 13:28:58 -04:00
parent 79b59a037a
commit 683b2c65a5
4 changed files with 6 additions and 6 deletions

View File

@ -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 }

View File

@ -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

View File

@ -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