Difference between revisions of "Test"

From Pandorabox
Jump to navigation Jump to search
(test)
m
 
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
  
 
[[File:Minetest Default Texture Pack.png|thumb|Minetest Default Texture Pack]]
 
[[File:Minetest Default Texture Pack.png|thumb|Minetest Default Texture Pack]]
 +
 +
Test4
  
 
[[File:screenshot_20201016_171053.png|400px]]
 
[[File:screenshot_20201016_171053.png|400px]]
Line 76: Line 78:
 
|style="text-align:center;"|{{Label|text=Station 3|color=red}}
 
|style="text-align:center;"|{{Label|text=Station 3|color=red}}
 
|}
 
|}
 +
=== Ranks ===
 +
{{#invoke:Rank|toRank|0}} -> 0xp
 +
 +
{{#invoke:Rank|toRank|300}} -> 300xp
 +
 +
{{#invoke:Rank|toRank|123456}} -> 123456xp
 +
 +
{{#invoke:Rank|toRank|7777777}} -> 7777777xp
 +
 +
{{#invoke:Rank|toRank|999999999}} -> 999999999xp
 +
 +
{{#invoke:Rank|toMajorRank|100000}} -> 100000xp (major only)
 +
 +
=== Short ===
 +
{{#invoke:Shorten|EU|100000}} -> 100000EU
 +
 +
{{#invoke:Shorten|shorten|1000000}} -> 1m
 +
 +
{{#invoke:Shorten|shorten|1000000000000}} -> 1t
 +
 +
{{#invoke:Shorten|shorten|10000000200000000000000000000500000000000000000000000000000}} -> whatever

Latest revision as of 21:32, 8 April 2024

Commons

Minetest Default Texture Pack

Test4

Screenshot 20201016 171053.png

Code

if event.type == "interrupt" then
 digiline_send("sensor", "GET")
 interrupt(1)
end

if event.type == "program" then
 interrupt(1)
end

if event.type == "digiline" then
 if event.msg == "technic:hv_nuclear_reactor_core_active" then
  port.a = false
  port.c = true
 else
  port.a = true
  port.c = false
 end
end

Category-tree

Directions

/spawnEarth teleportsKorlen travelhub

Train station

V1

Earth teleports

Korlen travelhub

V2

Earth teleports
Korlen travelhub

V3

Station 1
Station 2 Station 2
Station 3

Ranks

Xp cobble.png Cobble Peasant -> 0xp

Xp cobble.png Cobble Lord -> 300xp

Xp copper block.png Copper Knight -> 123456xp

Xp lava.png Lava Master -> 7777777xp

Xp mithril.png Mithril God -> 999999999xp

Xp copper block.png Copper -> 100000xp (major only)

Short

100.0 kEU -> 100000EU

1m -> 1m

1t -> 1t

10spde -> whatever