
btw, Angel mods are one of the best i played


Moderator: Arch666Angel
Code: Select all
/c
local fluids = {}
for k,v in pairs(game.fluid_prototypes) do
table.insert(fluids,'[fluid='..v.name..'] ')
end
local c = game.player.gui.center
if c.fluidnames then c.fluidnames.destroy() end
local x = c.gui.center.add{
name='fluidnames',type='text-box',text=table.concat(fluids,'\n')
}
x.style.width = 400
x.style.height = 400
Code: Select all
/c local c = game.player.gui.center if c.fluidnames then c.fluidnames.destroy() end