Page Menu
Home
1F616EMO Bugtracker
Search
Configure Global Search
Log In
Files
F166006
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/teacher_tutorial_protection_violation/init.lua b/teacher_tutorial_protection_violation/init.lua
index 42ac6f4..d418e40 100644
--- a/teacher_tutorial_protection_violation/init.lua
+++ b/teacher_tutorial_protection_violation/init.lua
@@ -1,41 +1,41 @@
-- twi_mods/teacher_tutorial_protection_violation/init.lua
-- Tutorial on protection violation
-- Copyright (C) 2024 1F616EMO
-- SPDX-License-Identifier: LGPL-3.0-or-later
local S = core.get_translator("teacher_tutorial_protection_violation")
teacher.register_turorial("teacher_tutorial_protection_violation:on_violation", {
title = S("Position is protected..."),
show_on_unlock = true,
show_disallow_close = true,
{
texture = "teacher_tutorial_protection_violation_1.jpg",
text =
S("You can't dig or build here in a protected area. " ..
"Area protections keep unauthorized players from modifying blocks within the area.")
},
{
texture = "teacher_tutorial_protection_violation_2.jpg",
text =
- S("Follow the \"Are you new?\" signs from the spawn point to go to a place where you can build. " ..
- "Type /spawn to go back to the spawn point.")
+ S("Follow the \"Open space to build\" direction line at Spawn, then walk into the travelnet labeled " ..
+ "\"Free Land To Explore\". Select a destination, and you can start building.")
},
{
texture = "teacher_tutorial_protection_violation_3.jpg",
text =
S("To check whether you can build or place, check the bottom-left corner. " ..
"If the bracket of all lines say a player name that is not you, " ..
"where you are is protected.") .. "\n\n" ..
S("However, if you see \"@1\" after the player's name, you can build or place blocks here, " ..
"but you can't claim the area as yours. This usually happens in public farms and public tree farms.",
core.translate("areas", ":open"))
},
})
core.register_on_protection_violation(function(_, name)
local player = core.get_player_by_name(name)
if player then
teacher.unlock_entry_for_player(player, "teacher_tutorial_protection_violation:on_violation")
end
end)
diff --git a/teacher_tutorial_protection_violation/textures/teacher_tutorial_protection_violation_2.jpg b/teacher_tutorial_protection_violation/textures/teacher_tutorial_protection_violation_2.jpg
index f593e43..fe89d4c 100644
Binary files a/teacher_tutorial_protection_violation/textures/teacher_tutorial_protection_violation_2.jpg and b/teacher_tutorial_protection_violation/textures/teacher_tutorial_protection_violation_2.jpg differ
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Apr 4, 9:29 AM (2 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7a/f1/07ced6796b683f14812b8585e37d
Default Alt Text
(2 KB)
Attached To
Mode
rTWIMODS Survival Server Custom Modifications
Attached
Detach File
Event Timeline
Log In to Comment