Skip to content

Instantly share code, notes, and snippets.

View entuland's full-sized avatar

entuland

View GitHub Profile
@entuland
entuland / init.lua
Created May 26, 2018 00:57
Minetest formspec list -> field interaction test
interact = {}
interact.chosen = {}
function interact.command(playername, param)
minetest.show_formspec(playername, "myform", interact.getform(playername))
end
function interact.receive(player, formname, fields)
local playername = player:get_player_name()
#include <map>
#include <numeric>
#include <vector>
#include <ctime>
#include <cmath>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <string>