Example Buildings
🏢 Office Building
return {
id = 'office',
name = 'Corporate Tower',
description = 'Modern Office Complex',
elevators = {
{
id = 'main',
name = 'Main Elevator',
floors = {
{
id = 'lobby',
name = 'Lobby',
description = 'Ground Floor',
teleportCoords = vector4(100.0, 200.0, 30.0, 90.0),
target = {
coords = vector3(100.0, 200.0, 31.5),
size = vector3(0.5, 0.5, 0.5)
}
},
{
id = 'executive',
name = 'Executive Floor',
description = 'Management Only',
restricted = true,
requiredJobs = {
['office'] = 2
}
}
}
}
}
}
🏥 Hospital
return {
id = 'hospital',
name = 'City Hospital',
elevators = {
{
id = 'public',
name = 'Public Elevator',
floors = {
-- Ground Floor (Public)
{
id = 'reception',
name = 'Reception'
},
-- Staff Only Floor
{
id = 'surgery',
name = 'Surgery',
restricted = true,
requiredJobs = {
['ambulance'] = 0
}
}
}
}
}
}
🏦 Bank
{
id = 'bank',
name = 'Central Bank',
elevators = {
{
id = 'vault',
name = 'Vault Access',
restricted = true,
floors = {
{
id = 'main',
name = 'Main Hall'
},
{
id = 'vault',
name = 'Vault Level',
requiredItems = {
{
name = 'vault_keycard',
count = 1
}
}
}
}
}
}
}
By Sahara Scripters - Because copying and pasting is an art form
Last updated