Add Tunnelers Abyss stuff
10
init.lua
|
@ -25,7 +25,7 @@
|
|||
metrosigns = {}
|
||||
metrosigns.name = "metrosigns"
|
||||
metrosigns.ver_max = 1
|
||||
metrosigns.ver_min = 0
|
||||
metrosigns.ver_min = 5
|
||||
metrosigns.ver_rev = 0
|
||||
|
||||
metrosigns.writer = {}
|
||||
|
@ -151,6 +151,8 @@ metrosigns.create_tokyo_flag = minetest.setting_get("metrosigns_create_tokyo") o
|
|||
metrosigns.create_toronto_flag = minetest.setting_get("metrosigns_create_toronto") or false
|
||||
metrosigns.create_vienna_flag = minetest.setting_get("metrosigns_create_vienna") or false
|
||||
|
||||
metrosigns.create_tabyss_flag = minetest.setting_get("metrosigns_create_tabyss") or false
|
||||
|
||||
-- Override one or more of these settings by uncommenting the lines in this file
|
||||
dofile(metrosigns.path_mod.."/settings.lua")
|
||||
|
||||
|
@ -225,6 +227,12 @@ dofile(metrosigns.path_mod.."/customsigns.lua")
|
|||
|
||||
dofile(metrosigns.path_mod.."/citysigns.lua")
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
-- Server-specific signs
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
||||
dofile(metrosigns.path_mod.."/serversigns.lua")
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
-- Sign-writing machines and ink cartridges
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -0,0 +1,117 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
-- metrosigns mod for minetest by A S Lewis
|
||||
-- https://github.com/axcore/metrosigns
|
||||
-- Licence: GNU Affero GPL
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
-- Tunnelers' Abyss https://h2mm.gitlab.io/web/
|
||||
-- NB These items were created for a specific server, but they are released under the same
|
||||
-- licence as everything else, so you're free to use them with other servers/projects
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
||||
if metrosigns.create_all_flag or metrosigns.create_tabyss_flag then
|
||||
|
||||
server = "tabyss"
|
||||
server_descrip = "Tunnelers' Abyss"
|
||||
|
||||
metrosigns.register_category(server_descrip)
|
||||
|
||||
add_lightbox(server, server_descrip)
|
||||
-- (GS metro gets its own lightbox)
|
||||
minetest.register_node("metrosigns:box_tabyss_metro", {
|
||||
description = "Grapeyard Superb lightbox",
|
||||
tiles = {
|
||||
"metrosigns_box_tabyss_metro_top.png",
|
||||
"metrosigns_box_tabyss_metro_top.png",
|
||||
"metrosigns_box_tabyss_metro_side.png",
|
||||
"metrosigns_box_tabyss_metro_side.png",
|
||||
"metrosigns_box_tabyss_metro_side.png",
|
||||
"metrosigns_box_tabyss_metro_side.png",
|
||||
},
|
||||
groups = box_groups,
|
||||
light_source = box_light_source,
|
||||
})
|
||||
metrosigns.register_sign(
|
||||
server_descrip,
|
||||
"metrosigns:box_tabyss_metro",
|
||||
metrosigns.writer.box_units
|
||||
)
|
||||
|
||||
add_sign(server, server_descrip, "s1", "Abyssal Express", 1, 1)
|
||||
add_sign(server, server_descrip, "s2", "Fractal Plains", 1, 1)
|
||||
add_sign(server, server_descrip, "s3", "Erosion Trap", 1, 1)
|
||||
add_sign(server, server_descrip, "s4", "Coram Line", 1, 1)
|
||||
add_sign(server, server_descrip, "s5", "Thorviss Line", 1, 1)
|
||||
add_sign(server, server_descrip, "s6", "Recursive Dragon", 1, 1)
|
||||
add_sign(server, server_descrip, "s15", "Beach Line", 2, 1)
|
||||
add_sign(server, server_descrip, "r1", "Narsh Express", 1, 1)
|
||||
add_sign(server, server_descrip, "t1", "Tommy's Line", 1, 1)
|
||||
add_sign(server, server_descrip, "t2", "Subway", 1, 1)
|
||||
|
||||
add_map(
|
||||
server,
|
||||
server_descrip,
|
||||
{
|
||||
["s1"] = "Abyssal Express",
|
||||
["s2"] = "Fractal Plains",
|
||||
["s3"] = "Erosion Trap",
|
||||
["s4"] = "Coram Line",
|
||||
["s5"] = "Thorviss Line",
|
||||
["s6"] = "Recursive Dragon",
|
||||
["s15"] = "Beach Line",
|
||||
["r1"] = "Narsh Express",
|
||||
["t1"] = "Tommy's Line",
|
||||
["t2"] = "Subway",
|
||||
},
|
||||
{
|
||||
["line"] = "Line",
|
||||
["station"] = "Station",
|
||||
}
|
||||
)
|
||||
|
||||
-- (Interchanges show the colours of the connecting lines)
|
||||
add_map(
|
||||
server,
|
||||
server_descrip,
|
||||
{
|
||||
["s1_s15_r1"] = "Abyssal Express",
|
||||
["s1_s15"] = "Abyssal Express",
|
||||
["s1_spn"] = "Abyssal Express",
|
||||
["s1_s2_s15"] = "Abyssal Express",
|
||||
["s1_s2_s6"] = "Abyssal Express",
|
||||
["s1_s2"] = "Abyssal Express",
|
||||
["s2_s3_s4"] = "Fractal Plains",
|
||||
["s2_s3_t1"] = "Fractal Plains",
|
||||
["s2_s3"] = "Fractal Plains",
|
||||
["s2_spn"] = "Fractal Plains",
|
||||
["s2_s1_s15"] = "Fractal Plains",
|
||||
["s2_s1_s6"] = "Fractal Plains",
|
||||
["s2_s1"] = "Fractal Plains",
|
||||
["s3_s2_s4"] = "Erosion Trap",
|
||||
["s3_s2_t1"] = "Erosion Trap",
|
||||
["s3_s2"] = "Erosion Trap",
|
||||
["s3_s1"] = "Erosion Trap",
|
||||
["s3_s1_s15"] = "Erosion Trap",
|
||||
["s4_s2_s3"] = "Coram Line",
|
||||
["s4_spn"] = "Coram Line",
|
||||
["s5_s15"] = "Thorviss Line",
|
||||
["s5_spn"] = "Thorviss Line",
|
||||
["s6_s1_s2"] = "Recursive Dragon",
|
||||
["s15_s1_r1"] = "Beach Line",
|
||||
["s15_s1"] = "Beach Line",
|
||||
["s15_s1_s4"] = "Beach Line",
|
||||
["s15_s5"] = "Beach Line",
|
||||
["r1_s1_s15"] = "Narsh Express",
|
||||
["t1_s2_s3"] = "Tommy's Line",
|
||||
["t1_t2"] = "Tommy's Line",
|
||||
["t2_t1"] = "Subway",
|
||||
["t2_spn"] = "Subway",
|
||||
},
|
||||
{
|
||||
["cstation"] = "Interchange",
|
||||
}
|
||||
)
|
||||
|
||||
end
|
||||
|
|
@ -46,3 +46,5 @@
|
|||
--metrosigns.create_tokyo_flag = false
|
||||
--metrosigns.create_toronto_flag = false
|
||||
--metrosigns.create_vienna_flag = false
|
||||
|
||||
--metrosigns.create_tabyss_flag = false
|
||||
|
|
|
@ -92,3 +92,10 @@ metrosigns_create_tokyo (Enable to create Tokyo Metro items) bool false
|
|||
metrosigns_create_toronto (Enable to create Toronto Subway items) bool false
|
||||
# If enabled, create items for Vienna U-Bahn
|
||||
metrosigns_create_vienna (Enable to create Vienna U-Bahn items) bool false
|
||||
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
# Server settings
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
# If enabled, create items for Tunelers' Abyss
|
||||
metrosigns_create_tabyss (Enable to create Tunnelers' Abyss items) bool false
|
||||
|
|
After Width: | Height: | Size: 183 B |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 269 B |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 115 B |
After Width: | Height: | Size: 244 B |
After Width: | Height: | Size: 216 B |
After Width: | Height: | Size: 116 B |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 241 B |
After Width: | Height: | Size: 239 B |
After Width: | Height: | Size: 230 B |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 117 B |
After Width: | Height: | Size: 226 B |
After Width: | Height: | Size: 235 B |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 230 B |
After Width: | Height: | Size: 217 B |
After Width: | Height: | Size: 225 B |
After Width: | Height: | Size: 202 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 229 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 227 B |
After Width: | Height: | Size: 238 B |
After Width: | Height: | Size: 232 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 204 B |
After Width: | Height: | Size: 117 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 247 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 241 B |
After Width: | Height: | Size: 238 B |
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 115 B |
After Width: | Height: | Size: 238 B |
After Width: | Height: | Size: 235 B |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 117 B |
After Width: | Height: | Size: 232 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 212 B |
After Width: | Height: | Size: 123 B |
After Width: | Height: | Size: 227 B |
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 117 B |
After Width: | Height: | Size: 236 B |
After Width: | Height: | Size: 211 B |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 117 B |
After Width: | Height: | Size: 232 B |
After Width: | Height: | Size: 211 B |
After Width: | Height: | Size: 234 B |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 114 B |
After Width: | Height: | Size: 114 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 159 B |
After Width: | Height: | Size: 222 B |
After Width: | Height: | Size: 193 B |
After Width: | Height: | Size: 165 B |
After Width: | Height: | Size: 197 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 199 B |
After Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 161 B |
After Width: | Height: | Size: 182 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 182 B |
After Width: | Height: | Size: 158 B |
After Width: | Height: | Size: 175 B |
After Width: | Height: | Size: 158 B |
After Width: | Height: | Size: 174 B |
After Width: | Height: | Size: 151 B |
After Width: | Height: | Size: 181 B |
After Width: | Height: | Size: 163 B |