Transformice Wiki
Advertisement

The Lua Coder event is a Lua event developed by Bolodefchoco #0095.

Instructions[]

"Some Lua code fragments were stolen! The thief hid the fragments behind some objects. Find these fragments and organize them in your compiler to win a prize!"

There are eighteen various "fragments" that can be found by ducking under (pressing the down button multiple times) some objects that you can walk behind. It is good to go left/right slightly, as the location of the fragment is very specific. If another mouse has already ducked under an object, that fragment cannot be claimed again that round by anyone in the room, even mice that weren't the ones who claimed the fragment. 

After collecting enough fragments, the next time you play the event, you are shown a compiler where you can edit your code. Click two line numbers to switch them, or two words to switch them. When done, press submit to run the code.

Scripts[]

8 lines[]

event_title = "Turing mouse"
if not tfm.get.room.playerList["USERNAME"].hasCheese then
  tfm.exec.giveCheese ("USERNAME")
end
tfm.exec.playerVictory ("USERNAME")
function eventPlayerWon (playerName)
  system.giveEventGift (playerName,event_title)
end

9 lines[]

event_title = "Turing mouse"
if tfm.get.room.playerList["USERNAME"].hasCheese then
  tfm.exec.killPlayer ("USERNAME")
else
  tfm.exec.giveCheese ("USERNAME")
end
function eventPlayerGetCheese (playerName)
  system.giveEventGift (playerName,event_title)
end

11 lines[]

event_title = "Turing mouse"
function eventPlayerVampire (playerName)
  tfm.exec.killPlayer ("USERNAME")
  tfm.exec.respawnPlayer ("USERNAME")
end
if not tfm.get.room.playerlist.["USERNAME"].isVampire then
  tfm.exec.setVampirePlayer ("USERNAME")
end
function eventPlayerRespawn (playerName)
  system.giveEventGift (playerName,event_title)
end

Maps[]

The map XMLs of the event were user-made by Censere #0095Kimsterjay #0000Mquk #0095Tdft #0000 and Bolodefchoco #0095.

Maps were picked from the submission thread, the first occurrence of a Lua event using user-created XML maps.

Rewards[]

Beating the event more than once does not get you anything extra.

Trivia[]

  • The « Turing Mouse » title is a reference to the scientific turing test, used to measure how realistic an artificial intelligence program can mimic human behavior. The turing test is named after its creator, Alan Turing.
  • The three possible faces that can appear over your mouse when completing the event map are those of the Transformice administrators.
  • If it is currently the round you completed the event on (or if you completed the event and have the "Turing Mouse" title equipped), and still have the admin face on you, you can press space to shoot out an admin head.
    • This launchable admin head has the same properties as a thrown paper plane consumable item.
    • You can shoot out one head every 10 seconds.
  • After completing the event for the first time, the victory face that appears over your mouse changes to a depiction of Alan Turing.
  • You can play this Lua event in your tribe house using /module #evt_lua_coder .

Gallery[]

Videos[]

External links[]

Advertisement