Civilization

  • TPT_PL
    8th Jan 2017 Member 2 Permalink
    Note: Yes, I know the code is crap. I want to make a better version some day, but for now, I think it is enough. Also, do not mix this script with others, nor open saves with this one.

    So, one day I was bored (today), so I made this for fun.
    How to use: Make a big field of FILT. Make some irregular spots of PLNT on it. Then choose one of the spots, and put one pixel of WOOD on it. Then sit down and watch or leave the computer on with TPT unpaused and come back after half an hour.

    Legend:
    • FILT - sea
    • PLNT - land
    • SPNG - village
    • WOOD - discoverer
    • IRON - villager
    • WAX - sailor

    Known bugs: IRON bugs (seriously, do not use it), when sailors leave the land, it (the land) breaks at the edges.
    Link: http://pastebin.com/H3GtcggH
    Have fun!
    Edited once by TPT_PL. Last: 8th Jan 2017
  • zaccybot2
    8th Jan 2017 Member 0 Permalink

    uh they never expand upwards for me

  • TPT_PL
    8th Jan 2017 Member 0 Permalink
    Well, it is strange. Yeah, I saw before they don't but... but I don't know wai.
  • zaccybot2
    8th Jan 2017 Member 0 Permalink

    ah well

  • JanKaszanka
    1st Apr 2017 Member 0 Permalink

    How to Make it work in game?

  • QuanTech
    1st Apr 2017 Member 0 Permalink

    @JanKaszanka (View Post)

     shove it into a lua file called "blabla.lua" in the same folder as Powder.exe, then in the console type dofile("blabla.lua"). Obviously it can be anything other than blabla.lua

  • trashgarbage
    8th May 2017 Member 0 Permalink

    Can someone put the lua code here? I can't seem to access Pastebin because the place I'm living makes it so that Pastebin is blocked

     

    By the way, I think I know why IRON is bugged. You're probably making it so that whenever it goes sailing, it's former place turns into water. My suggestion is that you store the info about land / water beneath people with ctype / tmp

    Edited 2 times by deniz1004. Last: 8th May 2017