aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPilzAdam <PilzAdam@minetest.net>2015-10-27 16:45:01 +0100
committerWeblate <noreply@weblate.org>2015-11-08 18:40:23 +0100
commit54634fa8b3ddde57958f051c50da0ab7fd716fe6 (patch)
tree2ac61c6d486ae2c6e800fa172f2335db533e967b /src
parent037221c84d0c7cc18d1c41c3ec3d206150a2975f (diff)
downloadminetest-54634fa8b3ddde57958f051c50da0ab7fd716fe6.tar.gz
minetest-54634fa8b3ddde57958f051c50da0ab7fd716fe6.tar.bz2
minetest-54634fa8b3ddde57958f051c50da0ab7fd716fe6.zip
Translated using Weblate (Chinese (Taiwan))
Currently translated at 43.8% (330 of 753 strings)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
id='n100' href='#n100'>100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
-- advtrains
-- protection.lua: privileges and rail protection, and some helpers


-- Privileges to control TRAIN DRIVING/COUPLING
minetest.register_privilege("train_operator", {
	description = attrans("Can place, remove and operate trains"),
	give_to_singleplayer= true,
});

minetest.register_privilege("train_admin", {
	description = attrans("Can place, remove and operate any train, regardless of owner, whitelist, or protection"),
	give_to_singleplayer= true,
});

-- Privileges to control TRACK BUILDING
minetest.register_privilege("track_builder", {
	description = attrans("Can place and dig tracks in unprotected areas"),
	give_to_singleplayer= true,
});

-- Privileges to control OPERATING TURNOUTS/SIGNALS
minetest.register_privilege("railway_operator", {