random messages
This commit is contained in:
parent
41a27a8a3d
commit
1a8591aff9
14
.github/dependabot.yml
vendored
Normal file
14
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: gitsubmodule
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
open-pull-requests-limit: 10
|
||||
assignees:
|
||||
- Emojigit
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -39,3 +39,4 @@ luac.out
|
||||
*.x86_64
|
||||
*.hex
|
||||
|
||||
*.tr.old
|
||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "mods/random_messages_api"]
|
||||
path = mods/random_messages_api
|
||||
url = https://github.com/C-C-Minetest-Server/random_messages_api/
|
@ -16,11 +16,13 @@ globals = {
|
||||
|
||||
"minetest", "core",
|
||||
|
||||
"rp_core", "rp_nodes", "rp_analysis", "rp_utils"
|
||||
"rp_core", "rp_nodes", "rp_analysis", "rp_utils",
|
||||
"random_messages_api",
|
||||
}
|
||||
|
||||
exclude_files = {
|
||||
"utils/",
|
||||
"mods/random_messages_api/"
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
|
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@ -9,10 +9,13 @@
|
||||
"dump",
|
||||
"ItemStack",
|
||||
"rp_analysis",
|
||||
"rp_utils"
|
||||
"rp_utils",
|
||||
"random_messages_api",
|
||||
"DIR_DELIM"
|
||||
],
|
||||
"Lua.workspace.ignoreDir": [
|
||||
".vscode",
|
||||
"utils"
|
||||
"utils",
|
||||
"mods/random_messages_api"
|
||||
]
|
||||
}
|
1
mods/random_messages_api
Submodule
1
mods/random_messages_api
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit c0fa1a078db8bff2447ad2cc2b8453a031d60fcb
|
@ -1,13 +0,0 @@
|
||||
# textdomain: rp_analysis
|
||||
|
||||
### init.lua ###
|
||||
Force update analysis cache=強制更新數據分析緩存
|
||||
Done.=完成。
|
||||
Get per-player analysis=取得玩家分析
|
||||
Per-player analysis=玩家分析
|
||||
Unknown=不明
|
||||
Total: @1=共有:@1
|
||||
List end=列表完結
|
||||
Get per-color analysis=取得顏色分析
|
||||
Per-color analysis=顏色分析
|
||||
|
@ -1,9 +0,0 @@
|
||||
# textdomain: rp_core
|
||||
|
||||
### commands.lua ###
|
||||
Reset the area=重設區域
|
||||
Map reset done.=區域重設完成。
|
||||
|
||||
### placement.lua ###
|
||||
Disable build delay=禁用建築延遲
|
||||
Placed by: @1=擺放者:@1
|
@ -24,7 +24,6 @@ local deny_clear = {}
|
||||
local delay_hud = {}
|
||||
|
||||
rp_core.time_delay = tonumber(minetest.settings:get("r_place.delay") or "5") or 5
|
||||
rp_core.wear_show_delay = minetest.settings:get_bool("r_place.wear_show_delay", false)
|
||||
local time_delay = rp_core.time_delay
|
||||
|
||||
local S = minetest.get_translator("rp_core")
|
||||
|
5
mods/rp_export_json/locale/rp_export_json.zh_TW.tr
Normal file
5
mods/rp_export_json/locale/rp_export_json.zh_TW.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: rp_export_json
|
||||
|
||||
### init.lua ###
|
||||
Forcely start export to JSON job=強制開始匯出至 JSON
|
||||
Job started.=任務已開始。
|
5
mods/rp_export_json/locale/template.txt
Normal file
5
mods/rp_export_json/locale/template.txt
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: rp_export_json
|
||||
|
||||
### init.lua ###
|
||||
Forcely start export to JSON job=
|
||||
Job started.=
|
@ -1,6 +0,0 @@
|
||||
# textdomain: rp_initial_message
|
||||
|
||||
### init.lua ###
|
||||
Welcome to rPlace Minetest Server!=歡迎來到 rPlace Minetest 伺服器!
|
||||
Here, you can place pixels to form pictures!=您可以在這裏創作像素畫作!
|
||||
All colors are in your inventory; Press `I` to put them onto the hotbar.=所有顏色均在您的物品欄中;按「I」以放置在首選欄上。
|
@ -1,14 +0,0 @@
|
||||
# textdomain: rp_moderation
|
||||
|
||||
### init.lua ###
|
||||
Are you sure you want to @1? Type /mod_y to confirm, or /mod_n to cancel.=您是否確定@1?輸入 /mod_y 確認,或 /mod_n 取消。
|
||||
Confirm moderation action=確定管理操作
|
||||
No queued job.=沒有正在等待的操作。
|
||||
Cancel moderation action=取消管理操作
|
||||
Job cancled.=操作已取消。
|
||||
Remove all nodes placed by a player=移除由某一玩家擺放的所有方塊
|
||||
<player name>=<玩家名稱>
|
||||
erase all nodes placed by @1=移除由 @1 擺放的所有方塊
|
||||
Erased @1 (@2%) nodes.=已移除 @1 (@2%) 個方塊。
|
||||
Reset the area=重設區域
|
||||
Map reset done.=區域重設完成。
|
33
mods/rp_random_messages/init.lua
Normal file
33
mods/rp_random_messages/init.lua
Normal file
@ -0,0 +1,33 @@
|
||||
-- r_place/mods/rp_random_messages/init.lua
|
||||
-- Random messages
|
||||
--[[
|
||||
Copyright (C) 2023 1F616EMO
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
USA
|
||||
]]
|
||||
|
||||
local S = minetest.get_translator("rp_random_messages")
|
||||
|
||||
local random_messages = {
|
||||
S("Punch an existing color node to put it onto your hand."),
|
||||
S("You will have to wait for @1 seconds before placing down another node.", rp_core.time_delay),
|
||||
S("You are allowed to cover up other's works, but try not to do that if you can find empty spaces."),
|
||||
S("Rightclick a pixel to replace it with the color on your hand."),
|
||||
S("Use /anal_player to see per-player node placement count.")
|
||||
}
|
||||
|
||||
random_messages_api.from_table(random_messages)
|
||||
|
@ -0,0 +1,8 @@
|
||||
# textdomain: rp_random_messages
|
||||
|
||||
### init.lua ###
|
||||
Punch an existing color node to put it onto your hand.=擊打現有顏色方塊可以將之放置於您的手上。
|
||||
You will have to wait for @1 seconds before placing down another node.=放置另一個方塊之前,您需要等待 @1 秒。
|
||||
You are allowed to cover up other's works, but try not to do that if you can find empty spaces.=您可以覆蓋別人的畫作,但如果能找到空位則嘗試避免覆蓋。
|
||||
Rightclick a pixel to replace it with the color on your hand.=右鍵點擊可以用手上的顏色覆蓋這一像素。
|
||||
Use /anal_player to see per-player node placement count.=使用 /anal_player 以獲得玩家方塊放置數量。
|
8
mods/rp_random_messages/locale/template.txt
Normal file
8
mods/rp_random_messages/locale/template.txt
Normal file
@ -0,0 +1,8 @@
|
||||
# textdomain: rp_random_messages
|
||||
|
||||
### init.lua ###
|
||||
Punch an existing color node to put it onto your hand.=
|
||||
You will have to wait for @1 seconds before placing down another node.=
|
||||
You are allowed to cover up other's works, but try not to do that if you can find empty spaces.=
|
||||
Rightclick a pixel to replace it with the color on your hand.=
|
||||
Use /anal_player to see per-player node placement count.=
|
3
mods/rp_random_messages/mod.conf
Normal file
3
mods/rp_random_messages/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = rp_random_messages
|
||||
title = rPlace: Random messages
|
||||
depends = rp_utils, rp_core, random_messages_api
|
Loading…
x
Reference in New Issue
Block a user